/* Extracted from app/Views/frontend/pages/contact.php during CSS refactor. */

:root {
        --g: #28a745;
        --gd: #1a7a30;
        --gl: rgba(40, 167, 69, 0.12);
        --black: #0f0f0f;
        --white: #ffffff;
        --gray: rgba(255, 255, 255, 0.45);
    }

    .contact-creative {
        font-family: 'Montserrat', sans-serif;
        background: var(--black);
        min-height: 100vh;
        padding: 40px 20px 80px;
        overflow-x: hidden;
        position: relative;
    }

    .contact-creative::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image:
            linear-gradient(rgba(40, 167, 69, 0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(40, 167, 69, 0.04) 1px, transparent 1px);
        background-size: 48px 48px;
        pointer-events: none;
    }

    .orb {
        position: fixed;
        border-radius: 50%;
        pointer-events: none;
        filter: blur(80px);
        animation: drift 12s ease-in-out infinite alternate;
    }

    .orb-1 {
        width: 500px;
        height: 500px;
        background: rgba(40, 167, 69, 0.12);
        top: -100px;
        left: -100px;
    }

    .orb-2 {
        width: 400px;
        height: 400px;
        background: rgba(40, 167, 69, 0.07);
        bottom: -80px;
        right: -80px;
        animation-delay: -6s;
    }

    .contact-wrap {
        max-width: 860px;
        width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 10;
    }

    .top-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        color: var(--g);
        margin-bottom: 20px;
    }

    .top-label-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--g);
        animation: pulse 2s infinite;
    }

    .contact-heading {
        font-size: clamp(36px, 6vw, 68px);
        font-weight: 900;
        line-height: 1.0;
        letter-spacing: -3px;
        color: var(--white);
        margin-bottom: 52px;
    }

    .contact-heading span {
        color: var(--g);
    }

    .dialog-form {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .dialog-line {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 8px 12px;
        padding: 24px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        opacity: 0;
        transform: translateY(16px);
        animation: slideIn 0.5s ease forwards;
    }

    .dialog-line:nth-child(1) {
        animation-delay: 0.1s;
    }

    .dialog-line:nth-child(2) {
        animation-delay: 0.2s;
    }

    .dialog-line:nth-child(3) {
        animation-delay: 0.3s;
    }

    .dialog-line:nth-child(4) {
        animation-delay: 0.4s;
    }

    .dialog-line:nth-child(5) {
        animation-delay: 0.5s;
    }

    .dialog-line:nth-child(6) {
        animation-delay: 0.6s;
    }

    .dl-text {
        font-size: clamp(18px, 2.8vw, 26px);
        font-weight: 700;
        color: var(--gray);
        line-height: 1.2;
        white-space: nowrap;
    }

    .dl-text.dark {
        color: rgba(255, 255, 255, 0.2);
    }

    .dl-input {
        background: transparent;
        border: none;
        border-bottom: 2px solid rgba(40, 167, 69, 0.35);
        outline: none;
        font-family: 'Montserrat', sans-serif;
        font-size: clamp(18px, 2.8vw, 26px);
        font-weight: 800;
        color: var(--white);
        padding: 2px 4px 4px;
        transition: border-color 0.2s ease, width 0.2s ease;
        min-width: 60px;
        width: auto;
    }

    .dl-input::placeholder {
        color: rgba(255, 255, 255, 0.2);
    }

    .dl-input:focus {
        border-color: var(--g);
    }

    .dl-input--name {
        width: 180px;
    }

    .dl-input--phone,
    .dl-input--email {
        width: 220px;
    }

    .dl-input--message {
        width: 340px;
    }

    .dl-select {
        background: transparent;
        border: none;
        border-bottom: 2px solid rgba(40, 167, 69, 0.35);
        outline: none;
        font-family: 'Montserrat', sans-serif;
        font-size: clamp(18px, 2.8vw, 26px);
        font-weight: 800;
        color: var(--white);
        padding: 2px 28px 4px 4px;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2328a745' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E\");
        background-repeat: no-repeat;
        background-position: right 4px center;
    }

    .dl-select option {
        background: #1a1a1a;
        color: #fff;
        font-size: 16px;
    }

    .messenger-picker {
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .messenger-chip {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.42);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .messenger-chip i {
        font-size: 17px;
    }

    .messenger-chip:hover {
        border-color: rgba(40, 167, 69, 0.4);
        color: #28a745;
        background: rgba(40, 167, 69, 0.12);
    }

    .messenger-chip.is-active {
        border-color: #28a745;
        color: #ffffff;
        background: #28a745;
        box-shadow: 0 0 18px rgba(40, 167, 69, 0.28);
    }

    .chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 4px;
    }

    .chip {
        padding: 7px 18px;
        border-radius: 100px;
        border: 1.5px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.04);
        color: rgba(255, 255, 255, 0.5);
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .chip:hover {
        border-color: var(--g);
        color: var(--g);
        background: var(--gl);
    }

    .chip.sel {
        border-color: var(--g);
        background: var(--g);
        color: #fff;
        box-shadow: 0 0 14px rgba(40, 167, 69, 0.35);
    }

    .dialog-line--stacked {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .preview-box {
        margin: 32px 0 0;
        padding: 24px 28px;
        background: rgba(40, 167, 69, 0.06);
        border-radius: 16px;
        border: 1px solid rgba(40, 167, 69, 0.15);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .preview-label {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: rgba(40, 167, 69, 0.6);
        margin-bottom: 10px;
    }

    .preview-text {
        font-size: 16px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.7;
    }

    .preview-token--name {
        color: #fff;
        font-weight: 800;
    }

    .preview-token--accent {
        color: #28a745;
        font-weight: 800;
    }

    .preview-token--muted {
        color: rgba(255, 255, 255, 0.3);
    }

    .preview-token--contact {
        color: #fff;
        font-weight: 700;
    }

    .cursor {
        display: inline-block;
        width: 2px;
        height: 0.9em;
        background: var(--g);
        vertical-align: text-bottom;
        margin-left: 1px;
        animation: blink-cursor 0.85s step-end infinite;
    }

    .submit-area {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 24px;
        padding-top: 44px;
        opacity: 0;
        animation: slideIn 0.5s ease 0.7s forwards;
    }

    .submit-note {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.25);
        font-weight: 500;
        max-width: 300px;
        line-height: 1.6;
    }

    .submit-btn {
        position: relative;
        overflow: hidden;
        background: var(--g);
        color: #fff;
        border: none;
        padding: 20px 48px;
        border-radius: 100px;
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: -0.3px;
        cursor: pointer;
        transition: all 0.25s ease;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .submit-btn:hover {
        background: var(--gd);
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(40, 167, 69, 0.45);
    }

    .btn-arrow {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

    .response-message {
        margin-top: 14px;
        color: #fff;
        font-size: 14px;
        min-height: 20px;
    }

    .contacts-row {
        display: flex;
        gap: 32px;
        flex-wrap: wrap;
        margin-top: 56px;
        padding-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        opacity: 0;
        animation: slideIn 0.5s ease 0.85s forwards;
    }

    .contact-pill {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        padding: 12px 20px;
        border-radius: 100px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.03);
        transition: all 0.2s ease;
    }

    .contact-pill:hover {
        border-color: rgba(40, 167, 69, 0.4);
        background: var(--gl);
    }

    .cp-text {
        font-size: 14px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.6);
    }

    .contact-pill:hover .cp-text {
        color: var(--white);
    }

    .success-overlay {
        position: fixed;
        inset: 0;
        z-index: 100;
        background: var(--black);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .success-overlay.show {
        opacity: 1;
        pointer-events: all;
    }

    .success-inner {
        text-align: center;
    }

    .success-ico {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: var(--g);
        margin: 0 auto 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 44px;
        box-shadow: 0 0 60px rgba(40, 167, 69, 0.5);
    }

    .success-h {
        font-size: 36px;
        font-weight: 900;
        color: var(--white);
        letter-spacing: -1px;
        margin-bottom: 12px;
    }

    .success-p {
        font-size: 16px;
        color: var(--gray);
        font-weight: 500;
    }

    .success-back {
        margin-top: 32px;
        background: none;
        border: 1.5px solid rgba(40, 167, 69, 0.4);
        color: var(--g);
        padding: 12px 28px;
        border-radius: 100px;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    .success-back:hover {
        background: var(--gl);
    }

    @media (max-width: 991px) {
        .contact-heading {
            margin-bottom: 34px;
        }
    }

    @media (max-width: 768px) {
        .submit-area {
            align-items: flex-start;
        }
    }

    @keyframes drift {
        from {
            transform: translate(0, 0);
        }

        to {
            transform: translate(40px, 30px);
        }
    }

    @keyframes pulse {

        0%,
        100% {
            opacity: 1;
            transform: scale(1);
        }

        50% {
            opacity: .4;
            transform: scale(1.5);
        }
    }

    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes blink-cursor {
        50% {
            opacity: 0;
        }
    }
