/* ===== HERO ===== */
.contact-hero {
    background: var(--onyx);
    padding: 170px 0 110px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 30%, rgba(169, 57, 47, 0.16), transparent 55%);
    pointer-events: none;
}

.contact-hero-inner {
    position: relative;
    z-index: 2;
}

.contact-hero-inner h1 {
    color: var(--white);
    text-transform: uppercase;
    font-size: 72px;
    margin-top: var(--content-gap);
}

.contact-hero-inner h1 .line2 {
    color: var(--terracotta);
    font-weight: 800;
}

.contact-hero-sub {
    margin-bottom: calc(2*var(--content-gap));
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
}

/* ===== ENQUIRY ===== */
.enquiry {
    background: var(--cream);
    padding: var(--extra-large-section-padding);
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.enquiry-info h2 {
    font-family: var(--secondary);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--onyx);
    margin: var(--content-gap) 0;
}

.enquiry-info-lead {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(32, 33, 31, 0.68);
    max-width: 400px;
    margin-bottom: var(--content-gap);
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border: 1px solid var(--terracotta);
    color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail-label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(32, 33, 31, 0.5);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--onyx);
}

a.contact-detail-value:hover {
    color: var(--terracotta);
}

.enquiry-map {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: var(--white);
    border: 1px solid rgba(32, 33, 31, 0.25);
}

.enquiry-map-add {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(32, 33, 31, 0.35);
}

.enquiry-map-add span {
    font-family: var(--tertiary);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-form-panel {
    width: 100%;
    padding: 48px;
    background: var(--white);
    border: 1px solid rgba(32, 33, 31, 0.1);
    box-shadow: var(--shadow);
}

.contact-form-panel .floating-form-header h2 span {
    color: var(--terracotta);
    font-style: italic;
}

.form-group textarea {
    width: 100%;
    min-height: 120px;
    padding: 22px 16px 10px;
    border: 1px solid rgba(32, 33, 31, 0.18);
    border-radius: 0;
    outline: none;
    background: rgba(255, 255, 255, 0.45);
    color: var(--onyx);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-group textarea:hover {
    border-color: rgba(32, 33, 31, 0.35);
}

.form-group textarea:focus {
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(32, 33, 31, 0.04);
}

.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 14px;
    transform: translateY(-50%);
    background: transparent;
    color: var(--terracotta);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-form-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-form-actions .floating-submit {
    flex: 1.3;
}

.contact-schedule-btn {
    flex: 1;
    justify-content: center;
    min-height: 58px;
}

.contact-form-success {
    padding: 40px 0;
    text-align: left;
}

.contact-form-success h2 {
    font-family: var(--secondary);
    font-size: clamp(28px, 3.4vw, 36px);
    text-transform: uppercase;
    color: var(--onyx);
    margin: var(--content-gap) 0 14px;
}

.contact-form-success p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(32, 33, 31, 0.65);
    max-width: 420px;
}

/* ===== WHAT HAPPENS NEXT ===== */
.next-steps {
    background: color-mix(in srgb, var(--onyx) 85%, transparent);
    padding: var(--extra-large-section-padding);
}

.next-steps-head {
    text-align: center;
    margin-bottom: 60px;
}

.next-steps-head h2 {
    font-family: var(--secondary);
    font-size: 34px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--white);
    margin: var(--content-gap) 0;
}

.next-steps-head h2 .fade {
    color: var(--terracotta);
    font-weight: 800;
}

.next-steps-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.next-step {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
}

.next-step-num {
    display: block;
    font-family: var(--tertiary);
    font-size: 22px;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 14px;
}

.next-step h3 {
    font-family: var(--secondary);
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
}

.next-step p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   CONTACT PAGE — RESPONSIVE CSS
   Tablet: 769px - 1024px
   Mobile: 0px - 768px
   Small Mobile: 0px - 480px
========================================================= */


/* =========================================================
   TABLET
   769px — 1024px
========================================================= */

@media (min-width: 769px) and (max-width: 1024px) {

    /* =====================================================
       HERO
    ===================================================== */

    .contact-hero {
        padding: 140px 30px 80px;
        min-height: auto;
    }

    .contact-hero-inner {
        width: 100%;
    }

    .contact-hero-inner h1 {
        font-size: clamp(52px, 7vw, 68px);
        line-height: 1;
        margin-top: var(--content-gap);
    }

    .contact-hero-inner h1 .line2 {
        font-size: inherit;
    }

    .contact-hero-sub {
        max-width: 600px;
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: calc(2 * var(--content-gap));
    }


    /* =====================================================
       ENQUIRY SECTION
    ===================================================== */

    .enquiry {
        padding: 80px 30px;
    }

    .enquiry-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 40px;
    }


    /* =====================================================
       ENQUIRY INFO
    ===================================================== */

    .enquiry-info h2 {
        font-size: 34px;
        line-height: 1.1;
    }

    .enquiry-info-lead {
        font-size: 14px;
        line-height: 1.65;
        max-width: 380px;
    }


    /* =====================================================
       CONTACT DETAILS
    ===================================================== */

    .contact-detail-list {
        gap: 18px;
        margin-bottom: 30px;
    }

    .contact-detail {
        gap: 15px;
    }

    .contact-detail-icon {
        width: 48px;
        height: 48px;
    }

    .contact-detail-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-detail-label {
        font-size: 11px;
    }

    .contact-detail-value {
        font-size: 13px;
    }


    /* =====================================================
       MAP
    ===================================================== */

    .enquiry-map {
        aspect-ratio: 16 / 10;
    }

    .enquiry-map-add span {
        font-size: 9px;
    }


    /* =====================================================
       FORM PANEL
    ===================================================== */

    .contact-form-panel {
        padding: 35px;
    }


    /* =====================================================
       FORM TEXTAREA
    ===================================================== */

    .form-group textarea {
        min-height: 115px;
        padding: 20px 15px 10px;
        font-size: 13px;
    }


    /* =====================================================
       FORM ACTIONS
    ===================================================== */

    .contact-form-actions {
        gap: 12px;
    }

    .contact-form-actions .floating-submit {
        flex: 1;
    }

    .contact-schedule-btn {
        flex: 1;
        min-height: 54px;
    }


    /* =====================================================
       FORM SUCCESS
    ===================================================== */

    .contact-form-success {
        padding: 30px 0;
    }

    .contact-form-success h2 {
        font-size: 32px;
    }

    .contact-form-success p {
        font-size: 13px;
        line-height: 1.7;
    }


    /* =====================================================
       NEXT STEPS
    ===================================================== */

    .next-steps {
        padding: 80px 30px;
    }

    .next-steps-head {
        margin-bottom: 50px;
    }

    .next-steps-head h2 {
        font-size: 32px;
        line-height: 1.1;
    }

    .next-steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .next-step {
        padding-top: 20px;
    }

    .next-step-num {
        font-size: 20px;
    }

    .next-step h3 {
        font-size: 15px;
    }

    .next-step p {
        font-size: 12px;
        line-height: 1.65;
    }

}


/* =========================================================
   MOBILE
   0px — 768px
========================================================= */

@media (max-width: 768px) {

    /* =====================================================
       HERO
    ===================================================== */

    .contact-hero {
        padding: 115px 20px 65px;
        min-height: auto;
    }

    .contact-hero::before {
        background:
            radial-gradient(
                circle at 20% 30%,
                rgba(169, 57, 47, 0.18),
                transparent 65%
            );
    }

    .contact-hero-inner {
        width: 100%;
    }

    .contact-hero-inner h1 {
        font-size: clamp(36px, 9vw, 58px);
        line-height: 0.95;
        letter-spacing: -1px;
        margin-top: 15px;
    }

    .contact-hero-inner h1 .line2 {
        font-size: inherit;
    }

    .contact-hero-sub {
        max-width: 100%;
        margin-bottom: 30px;
        font-size: 13px;
        line-height: 1.7;
    }


    /* =====================================================
       ENQUIRY
    ===================================================== */

    .enquiry {
        padding: 60px 20px;
    }

    .enquiry-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 45px;
    }


    /* =====================================================
       ENQUIRY INFO
    ===================================================== */

    .enquiry-info {
        width: 85%;
    }

    .enquiry-info .eyebrow{
        text-align: center;
    }

    .enquiry-info h2 {
        font-size: clamp(24px, 3.5vw, 36px);
        line-height: 1.05;
        margin: 15px 0 20px;
        text-align: center;
    }

    .enquiry-info-lead {
        max-width: 100%;
        font-size: 12px;
        margin-bottom: 25px;
        text-align: center;
    }


    /* =====================================================
       CONTACT DETAILS
    ===================================================== */

    .contact-detail-list {
        gap: 18px;
        margin-bottom: 30px;
    }

    .contact-detail {
        align-items: center;
        gap: 14px;
    }

    .contact-detail-icon {
        width: 46px;
        height: 46px;
    }

    .contact-detail-icon svg {
        width: 19px;
        height: 19px;
    }

    .contact-detail-label {
        font-size: 10px;
        letter-spacing: 0.8px;
        margin-bottom: 3px;
    }

    .contact-detail-value {
        font-size: 13px;
        line-height: 1.4;
        word-break: break-word;
    }


    /* =====================================================
       MAP
    ===================================================== */

    .enquiry-map {
        aspect-ratio: 16 / 10;
        min-height: 220px;
    }

    .enquiry-map-add {
        padding: 20px;
    }

    .enquiry-map-add span {
        font-size: 9px;
        text-align: center;
    }


    /* =====================================================
       CONTACT FORM
    ===================================================== */

    .contact-form-panel {
        width: 85%;
        padding: 28px 20px;
    }


    /* =====================================================
       TEXTAREA
    ===================================================== */

    .form-group textarea {
        min-height: 130px;
        padding: 20px 14px 10px;
        font-size: 13px;
        line-height: 1.55;
    }

    .form-group textarea:focus + label,
    .form-group textarea:not(:placeholder-shown) + label {
        top: 12px;
        font-size: 9px;
    }


    /* =====================================================
       FORM ACTIONS
    ===================================================== */

    .contact-form-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .contact-form-actions .floating-submit,
    .contact-schedule-btn {
        width: 100%;
        flex: none;
        min-height: 54px;
    }


    /* =====================================================
       FORM SUCCESS
    ===================================================== */

    .contact-form-success {
        padding: 25px 0;
        text-align: left;
    }

    .contact-form-success h2 {
        font-size: clamp(27px, 7vw, 34px);
        line-height: 1.05;
        margin: 15px 0 12px;
    }

    .contact-form-success p {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.65;
    }


    /* =====================================================
       NEXT STEPS
    ===================================================== */

    .next-steps {
        padding: 60px 20px;
    }

    .next-steps-head {
        margin-bottom: 40px;
    }

    .next-steps-head h2 {
        font-size: clamp(28px, 7.5vw, 34px);
        line-height: 1.05;
        margin: 15px 0;
    }

    .next-steps-grid {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .next-step {
        padding-top: 20px;
    }

    .next-step-num {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .next-step h3 {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .next-step p {
        font-size: 12px;
        line-height: 1.65;
    }

}

