/* =========================================================
   AFFLEADHUB — CONTACT PAGE
========================================================= */

:root {
    --contact-accent: #c8ff00;
    --contact-bg: #050505;
    --contact-card: rgba(255, 255, 255, 0.045);
    --contact-border: rgba(255, 255, 255, 0.09);
    --contact-muted: rgba(255, 255, 255, 0.45);
    --contact-soft: rgba(255, 255, 255, 0.68);
}


/* =========================================================
   PAGE
========================================================= */

.contact-page {
    min-height: 100vh;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(200, 255, 0, 0.055),
            transparent 34%
        ),
        #050505;

    color: #fff;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    position: relative;

    min-height: 72vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding:
        160px 24px
        90px;

    text-align: center;
}


.contact-hero::before {
    content: "";

    position: absolute;

    top: 10%;
    left: 50%;

    width: 500px;
    height: 500px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(200, 255, 0, 0.07),
            transparent 68%
        );

    pointer-events: none;
}


.contact-hero-inner {
    position: relative;

    z-index: 1;

    width: min(900px, 100%);
}


.contact-eyebrow {
    display: inline-block;

    margin-bottom: 22px;

    color: var(--contact-accent);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.22em;
}


.contact-hero h1 {
    margin: 0;

    font-size: clamp(
        54px,
        8vw,
        112px
    );

    font-weight: 500;

    line-height: 0.94;

    letter-spacing: -0.055em;
}


.contact-hero h1 span {
    display: block;

    color: var(--contact-accent);
}


.contact-hero p {
    max-width: 600px;

    margin: 32px auto 0;

    color: var(--contact-muted);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    position: relative;

    padding:
        80px 24px
        130px;
}


.contact-grid {
    width: min(
        1180px,
        100%
    );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        0.85fr 1.15fr;

    gap: 80px;

    align-items: start;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-info {
    padding-top: 30px;
}


.contact-info h2 {
    max-width: 500px;

    margin: 0;

    font-size: clamp(
        40px,
        5vw,
        68px
    );

    font-weight: 500;

    line-height: 0.98;

    letter-spacing: -0.045em;
}


.contact-info h2 span {
    display: block;

    color: rgba(
        255,
        255,
        255,
        0.35
    );
}


.contact-info-description {
    max-width: 420px;

    margin:
        28px 0
        55px;

    color: var(--contact-muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-detail {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 28px;
}


.contact-detail-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        var(--contact-border);

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.025
        );

    color: var(--contact-accent);

    font-size: 16px;
}


.contact-detail span {
    display: block;

    margin-bottom: 5px;

    color:
        rgba(
            255,
            255,
            255,
            0.3
        );

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.18em;
}


.contact-detail a,
.contact-detail p {
    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.8
        );

    font-size: 13px;

    text-decoration: none;
}


.contact-detail a {
    transition:
        color 0.25s ease;
}


.contact-detail a:hover {
    color:
        var(--contact-accent);
}


/* =========================================================
   FORM CARD
========================================================= */

.contact-form-card {
    position: relative;

    padding: 42px;

    border:
        1px solid
        var(--contact-border);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        0 40px 100px
        rgba(0, 0, 0, 0.4);

    backdrop-filter:
        blur(22px);

    -webkit-backdrop-filter:
        blur(22px);
}


.contact-form-header {
    margin-bottom: 35px;
}


.contact-form-header span {
    display: block;

    margin-bottom: 8px;

    color: var(--contact-accent);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.2em;
}


.contact-form-header p {
    margin: 0;

    color: var(--contact-muted);

    font-size: 13px;
}


/* =========================================================
   FORM ROW
========================================================= */

.contact-form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;
}


.form-group {
    position: relative;

    margin-bottom: 22px;
}


.form-group label {
    display: block;

    margin-bottom: 9px;

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.06em;
}


.form-group label span {
    color:
        var(--contact-accent);
}


/* =========================================================
   INPUTS
========================================================= */

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    box-sizing: border-box;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.1
        );

    border-radius: 12px;

    outline: none;

    background:
        rgba(
            255,
            255,
            255,
            0.035
        );

    color: #fff;

    font-family: inherit;

    font-size: 13px;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.form-group input,
.form-group select {
    height: 54px;

    padding:
        0 16px;
}


.form-group textarea {
    min-height: 145px;

    padding: 16px;

    resize: vertical;

    line-height: 1.6;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color:
        rgba(
            255,
            255,
            255,
            0.23
        );
}


.form-group select {
    appearance: none;

    -webkit-appearance: none;

    cursor: pointer;
}


.form-group select option {
    background: #111;

    color: #fff;
}


.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color:
        rgba(
            200,
            255,
            0,
            0.45
        );

    background:
        rgba(
            255,
            255,
            255,
            0.055
        );

    box-shadow:
        0 0 0 3px
        rgba(
            200,
            255,
            0,
            0.05
        );
}


/* =========================================================
   MESSAGE COUNTER
========================================================= */

.message-counter {
    position: absolute;

    right: 13px;
    bottom: 10px;

    color:
        rgba(
            255,
            255,
            255,
            0.25
        );

    font-size: 9px;
}


/* =========================================================
   CONSENT
========================================================= */

.contact-consent {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin:
        4px 0
        25px;

    cursor: pointer;
}


.contact-consent input {
    width: 16px;
    height: 16px;

    margin-top: 1px;

    accent-color:
        var(--contact-accent);

    cursor: pointer;
}


.contact-consent span {
    color:
        rgba(
            255,
            255,
            255,
            0.35
        );

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit {
    width: 100%;
    min-height: 58px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding:
        7px 8px
        7px 22px;

    border: none;

    border-radius: 999px;

    background:
        var(--contact-accent);

    color: #050505;

    font-family: inherit;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.contact-submit:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 18px 40px
        rgba(
            200,
            255,
            0,
            0.14
        );
}


.contact-submit-arrow {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #050505;

    color:
        var(--contact-accent);

    font-size: 17px;

    transition:
        transform 0.3s ease;
}


.contact-submit:hover
.contact-submit-arrow {
    transform:
        translateX(3px);
}


.contact-form-note {
    margin: 15px 0 0;

    text-align: center;

    color:
        rgba(
            255,
            255,
            255,
            0.22
        );

    font-size: 9px;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.contact-bottom-cta {
    position: relative;

    padding:
        130px 24px
        150px;

    text-align: center;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.055
        );
}


.contact-bottom-cta h2 {
    margin: 0;

    font-size: clamp(
        44px,
        6vw,
        82px
    );

    font-weight: 500;

    line-height: 0.96;

    letter-spacing: -0.05em;
}


.contact-bottom-cta h2 span {
    color:
        var(--contact-accent);
}


.contact-bottom-cta p {
    margin:
        24px 0
        30px;

    color:
        var(--contact-muted);

    font-size: 13px;
}


.contact-cta-button {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    min-height: 50px;

    padding:
        5px 7px
        5px 20px;

    border:
        1px solid
        rgba(
            200,
            255,
            0,
            0.35
        );

    border-radius: 999px;

    background:
        rgba(
            200,
            255,
            0,
            0.07
        );

    color:
        var(--contact-accent);

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.contact-cta-button span {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--contact-accent);

    color: #050505;

    font-size: 15px;
}


.contact-cta-button:hover {
    transform:
        translateY(-3px);

    background:
        rgba(
            200,
            255,
            0,
            0.12
        );
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .contact-info {
        padding-top: 0;

        text-align: center;
    }


    .contact-info h2 {
        margin: 0 auto;
    }


    .contact-info-description {
        margin-left: auto;
        margin-right: auto;
    }


    .contact-detail {
        width: fit-content;

        margin-left: auto;
        margin-right: auto;

        text-align: left;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-hero {
        min-height: 65vh;

        padding:
            140px 20px
            70px;
    }


    .contact-hero h1 {
        font-size: clamp(
            48px,
            14vw,
            72px
        );
    }


    .contact-hero p {
        font-size: 13px;
    }


    .contact-section {
        padding:
            55px 16px
            90px;
    }


    .contact-grid {
        gap: 45px;
    }


    .contact-info {
        text-align: left;
    }


    .contact-info h2 {
        font-size: 44px;
    }


    .contact-info-description {
        margin:
            22px 0
            40px;
    }


    .contact-detail {
        width: 100%;

        margin-left: 0;

        margin-right: 0;
    }


    .contact-form-card {
        padding: 25px 18px;

        border-radius: 22px;
    }


    .contact-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .form-group input,
    .form-group select {
        height: 52px;
    }


    .contact-bottom-cta {
        padding:
            90px 20px
            110px;
    }


    .contact-bottom-cta h2 {
        font-size: 46px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .contact-hero h1 {
        font-size: 44px;
    }


    .contact-info h2 {
        font-size: 39px;
    }


    .contact-form-card {
        padding:
            22px 15px;
    }

}

/* =========================================================
   OFFICE LOCATION
========================================================= */

.contact-location {
    position: relative;

    padding:
        100px 24px
        130px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.055
        );

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(
                200,
                255,
                0.035
            ),
            transparent 45%
        );
}


.contact-location-inner {
    width: min(
        1180px,
        100%
    );

    margin: 0 auto;
}


.contact-location-header {
    max-width: 620px;

    margin-bottom: 55px;
}


.contact-location-header h2 {
    margin: 0;

    font-size: clamp(
        45px,
        6vw,
        78px
    );

    font-weight: 500;

    line-height: 0.95;

    letter-spacing: -0.05em;
}


.contact-location-header h2 span {
    color:
        var(--contact-accent);
}


.contact-location-header p {
    max-width: 520px;

    margin:
        24px 0 0;

    color:
        var(--contact-muted);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   LOCATION GRID
========================================================= */

.contact-location-grid {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 22px;

    align-items: stretch;
}


/* =========================================================
   OFFICE CARD
========================================================= */

.contact-office-card {
    padding: 38px;

    border:
        1px solid
        var(--contact-border);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(
                255,
                255,
                255,
                0.06
            ),
            rgba(
                255,
                255,
                255,
                0.018
            )
        );

    box-shadow:
        0 35px 80px
        rgba(
            0,
            0,
            0,
            0.35
        );

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);
}


.contact-office-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border-radius: 50%;

    background:
        rgba(
            200,
            255,
            0,
            0.08
        );

    border:
        1px solid
        rgba(
            200,
            255,
            0,
            0.25
        );

    color:
        var(--contact-accent);
}


.contact-office-label {
    display: block;

    margin-bottom: 10px;

    color:
        var(--contact-accent);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.18em;
}


.contact-office-card h3 {
    margin: 0;

    font-size: 25px;

    font-weight: 500;

    letter-spacing: -0.025em;
}


.contact-office-address {
    margin:
        15px 0 38px;

    color:
        var(--contact-soft);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   OFFICE DETAILS
========================================================= */

.contact-office-detail {
    padding:
        17px 0;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.07
        );
}


.contact-office-detail span {
    display: block;

    margin-bottom: 5px;

    color:
        rgba(
            255,
            255,
            255,
            0.3
        );

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.18em;
}


.contact-office-detail a {
    color:
        rgba(
            255,
            255,
            255,
            0.8
        );

    font-size: 13px;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.contact-office-detail a:hover {
    color:
        var(--contact-accent);
}

.contact-whatsapp-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;
}


.whatsapp-icon {
    width: 17px;
    height: 17px;

    fill: currentColor;

    flex-shrink: 0;
}

/* Contact channel icons */
.contact-channel-icon {
    width: 30px;
    height: 30px;

    display: inline-block;
    flex: 0 0 18px;

    fill: currentColor;
    vertical-align: middle;
}

/* =========================================================
   DIRECTIONS BUTTON
========================================================= */

.contact-directions-button {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 20px;

    padding:
        6px 7px
        6px 18px;

    border:
        1px solid
        rgba(
            200,
            255,
            0,
            0.3
        );

    border-radius: 999px;

    background:
        rgba(
            200,
            255,
            0,
            0.06
        );

    color:
        var(--contact-accent);

    font-size: 10px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.contact-directions-button span {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--contact-accent);

    color: #050505;

    font-size: 14px;
}


.contact-directions-button:hover {
    transform:
        translateY(-2px);

    background:
        rgba(
            200,
            255,
            0,
            0.1
        );
}


/* =========================================================
   MAP
========================================================= */

.contact-map {
    min-height: 500px;

    overflow: hidden;

    border:
        1px solid
        var(--contact-border);

    border-radius: 25px;

    background:
        #111;

    box-shadow:
        0 35px 80px
        rgba(
            0,
            0,
            0,
            0.35
        );
}


.contact-map img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    min-height: 500px;
}








/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .contact-location-grid {
        grid-template-columns: 1fr;
    }


    .contact-map,
    .contact-map iframe {
        min-height: 420px;
    }

}


@media (max-width: 600px) {

    .contact-location {
        padding:
            80px 16px
            100px;
    }


    .contact-location-header {
        margin-bottom: 35px;
    }


    .contact-location-header h2 {
        font-size: 48px;
    }


    .contact-office-card {
        padding: 27px 20px;

        border-radius: 22px;
    }


    .contact-map,
    .contact-map iframe {
        min-height: 350px;

        border-radius: 22px;
    }

}



/* =========================================================
   CONTACT SUCCESS MODAL
========================================================= */

.contact-success-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.contact-success-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   OVERLAY
========================================================= */

.contact-success-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.78);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* =========================================================
   MODAL BOX
========================================================= */

.contact-success-modal-box {
    position: relative;
    z-index: 2;

    width: min(620px, 100%);

    padding: 45px 35px;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transform:
        translateY(20px)
        scale(0.97);

    transition:
        transform 0.35s ease;
}

.contact-success-modal.active
.contact-success-modal-box {
    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.contact-success-modal-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.025);

    color: rgba(255, 255, 255, 0.6);

    font-size: 24px;
    font-weight: 300;

    cursor: pointer;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.contact-success-modal-close:hover {
    color: #c8ff00;

    border-color:
        rgba(200, 255, 0, 0.3);

    transform: rotate(90deg);
}


/* =========================================================
   CONTENT
========================================================= */

.contact-success-content {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}


/* =========================================================
   SUCCESS ICON
========================================================= */

.contact-success-icon {
    width: 76px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border: 1px solid
        rgba(200, 255, 0, 0.35);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(200, 255, 0, 0.12),
            rgba(200, 255, 0, 0.025)
        );

    color: #c8ff00;

    font-size: 34px;
    font-weight: 400;

    box-shadow:
        0 0 40px
        rgba(200, 255, 0, 0.08);
}


/* =========================================================
   LABEL
========================================================= */

.contact-success-label {
    margin-bottom: 12px;

    color: #c8ff00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.18em;
}


/* =========================================================
   HEADING
========================================================= */

.contact-success-content h3 {
    margin: 0;

    color: #fff;

    font-size: clamp(38px, 5vw, 52px);

    line-height: 1;

    letter-spacing: -0.045em;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.contact-success-content p {
    max-width: 470px;

    margin: 18px auto 30px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   BACK TO SITE BUTTON
========================================================= */

.contact-success-btn {
    width: min(100%, 240px);

    min-height: 52px;

    padding: 6px 7px 6px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid
        rgba(200, 255, 0, 0.35);

    border-radius: 999px;

    background: #c8ff00;

    color: #080808;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-success-btn strong {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #080808;

    color: #c8ff00;

    font-size: 17px;
    font-weight: 400;

    transition:
        transform 0.3s ease;
}

.contact-success-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 35px
        rgba(200, 255, 0, 0.12);
}

.contact-success-btn:hover strong {
    transform: translateX(3px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .contact-success-modal {
        padding: 16px;
    }

    .contact-success-modal-box {
        padding: 40px 22px 30px;

        border-radius: 20px;
    }

    .contact-success-icon {
        width: 68px;
        height: 68px;

        font-size: 30px;
    }

    .contact-success-content h3 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .contact-success-content p {
        font-size: 12px;
    }

    .contact-success-btn {
        width: min(100%, 280px);
    }

}

/* =========================================================
   CONTACT ERROR STATE
========================================================= */

.contact-success-modal.error
.contact-success-icon {
    border-color: rgba(255, 90, 90, 0.35);

    background:
        radial-gradient(
            circle,
            rgba(255, 90, 90, 0.12),
            rgba(255, 90, 90, 0.025)
        );

    color: #ff6b6b;

    box-shadow:
        0 0 40px rgba(255, 90, 90, 0.08);
}

.contact-success-modal.error
.contact-success-label {
    color: #ff6b6b;
}

.contact-success-modal.error
.contact-success-btn {
    background: #fff;
    color: #080808;
}

.contact-success-modal.error
.contact-success-btn strong {
    background: #080808;
    color: #fff;
}