/* ==================================================
   CONTACT PAGE
================================================== */


/* ==================================================
   HERO
================================================== */

.contact-hero-section {
    position: relative;
    padding: 105px 0 115px;
    background:
        linear-gradient(
            110deg,
            #f7faf8 0%,
            #ffffff 58%,
            #f0f6f1 100%
        );
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.contact-hero-section::before {
    content: "";
    position: absolute;
    top: -260px;
    right: -170px;
    width: 690px;
    height: 690px;
    border: 1px solid rgba(46, 125, 50, 0.11);
    border-radius: 50%;
}

.contact-hero-section::after {
    content: "";
    position: absolute;
    right: 110px;
    bottom: -250px;
    width: 450px;
    height: 450px;
    background: rgba(46, 125, 50, 0.04);
    border-radius: 50%;
}

.contact-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 90px;
}

.contact-hero-content h1 {
    max-width: 820px;
    font-size: clamp(3rem, 5vw, 4.7rem);
}

.contact-hero-description {
    max-width: 710px;
    margin-top: 27px;
    font-size: 1.08rem;
    line-height: 1.85;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.contact-response-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 34px;
}

.response-indicator {
    width: 9px;
    height: 9px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(46, 125, 50, 0.10);
}

.contact-response-note p {
    color: #7d8881;
    font-size: 0.78rem;
}


/* ==================================================
   HERO VISUAL
================================================== */

.contact-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.communication-panel {
    width: min(100%, 530px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.communication-panel-header {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 22px;
    color: #849087;
    background: #f4f7f5;
    border-bottom: 1px solid var(--border);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.communication-center {
    display: grid;
    place-items: center;
    padding: 45px 30px;
    background:
        radial-gradient(
            circle at center,
            rgba(46, 125, 50, 0.07) 0,
            rgba(46, 125, 50, 0.02) 47%,
            transparent 48%
        );
}

.communication-core {
    width: 220px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-small);
}

.communication-core span {
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.communication-core strong {
    margin-top: 11px;
    color: var(--dark);
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.communication-core small {
    margin-top: 8px;
    color: var(--text);
    font-size: 0.69rem;
}

.communication-channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.channel-item {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 21px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.channel-item span {
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
}

.channel-item strong {
    margin-top: 7px;
    color: var(--dark);
    font-size: 0.82rem;
}

.channel-item small {
    margin-top: 4px;
    color: #8b958f;
    font-size: 0.65rem;
}


/* ==================================================
   COMMON HEADINGS
================================================== */

.contact-section-heading {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 58px;
}

.contact-section-heading h2 {
    max-width: 720px;
}

.contact-section-heading > p {
    max-width: 510px;
    line-height: 1.85;
}

.centered-contact-heading {
    max-width: 790px;
    margin: 0 auto 58px;
    text-align: center;
}

.centered-contact-heading > p:last-child {
    max-width: 650px;
    margin: 20px auto 0;
    line-height: 1.85;
}


/* ==================================================
   PRIMARY CONTACT
================================================== */

.primary-contact-section {
    padding: 115px 0;
    background: var(--white);
}

.primary-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.primary-contact-card {
    position: relative;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    background: var(--off-white);
    border: 1px solid var(--border);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.primary-contact-card:hover {
    background: var(--white);
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.contact-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.contact-card-number {
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
}

.contact-card-status {
    padding: 5px 9px;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 100px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-top: 34px;
    color: var(--white);
    background: var(--primary);
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
}

.contact-card-label {
    margin-top: 28px;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.primary-contact-card h3 {
    margin-top: 10px;
    font-size: 1.13rem;
    overflow-wrap: anywhere;
}

.primary-contact-card > p:not(.contact-card-label) {
    margin-top: 15px;
    font-size: 0.86rem;
    line-height: 1.8;
}

.contact-card-action {
    margin-top: auto;
    padding-top: 28px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
}


/* ==================================================
   ENQUIRY ROUTING
================================================== */

.enquiry-routing-section {
    padding: 110px 0;
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.enquiry-routing-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: start;
    gap: 85px;
}

.enquiry-routing-heading h2 {
    max-width: 580px;
}

.enquiry-routing-heading > p:last-child {
    max-width: 500px;
    margin-top: 22px;
    line-height: 1.85;
}

.enquiry-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.enquiry-type-card {
    min-height: 235px;
    padding: 30px;
    background: var(--white);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.enquiry-number {
    display: block;
    margin-bottom: 30px;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
}

.enquiry-type-card h3 {
    margin-bottom: 14px;
    font-size: 1.07rem;
}

.enquiry-type-card p {
    font-size: 0.85rem;
    line-height: 1.8;
}


/* ==================================================
   APPOINTMENT PROCESS
================================================== */

.appointment-process-section {
    padding: 115px 0;
    background: #18211c;
}

.appointment-process-section .centered-contact-heading h2 {
    color: var(--white);
}

.appointment-process-section .centered-contact-heading > p:last-child {
    color: #aeb9b2;
}

.appointment-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.appointment-step {
    min-height: 285px;
    padding: 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.appointment-step-number {
    display: block;
    margin-bottom: 38px;
    color: #65b869;
    font-size: 0.7rem;
    font-weight: 700;
}

.appointment-step h3 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 1.08rem;
}

.appointment-step p {
    color: #aeb9b2;
    font-size: 0.85rem;
    line-height: 1.8;
}


/* ==================================================
   LOCATION
================================================== */

.location-section {
    padding: 115px 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 90px;
}

.location-content h2 {
    max-width: 600px;
}

.location-content > p {
    max-width: 560px;
    margin-top: 19px;
    line-height: 1.85;
}

.location-details {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 34px;
    border-top: 1px solid var(--border);
}

.location-details > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 70px;
    border-bottom: 1px solid var(--border);
}

.location-details span {
    color: #87918b;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.location-details strong {
    color: var(--dark);
    font-size: 0.86rem;
}

.location-visual {
    position: relative;
    min-height: 500px;
    background: #edf3ef;
    border: 1px solid var(--border);
    overflow: hidden;
}

.location-map-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(46, 125, 50, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(46, 125, 50, 0.08) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
}

.location-map-pattern::before {
    content: "";
    position: absolute;
    top: 12%;
    left: 18%;
    width: 65%;
    height: 72%;
    border: 2px solid rgba(46, 125, 50, 0.24);
    border-radius:
        48% 52% 58% 42%
        / 38% 45% 55% 62%;
    transform: rotate(-8deg);
}

.location-map-pattern::after {
    content: "";
    position: absolute;
    top: 30%;
    left: 34%;
    width: 34%;
    height: 43%;
    background: rgba(46, 125, 50, 0.05);
    border-radius: 50%;
}

.location-marker {
    position: absolute;
    top: 46%;
    left: 51%;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 245px;
    padding: 17px 19px;
    background: var(--white);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-medium);
    transform: translate(-50%, -50%);
}

.marker-point {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: var(--primary);
    border: 4px solid var(--primary-light);
    border-radius: 50%;
}

.location-marker small {
    display: block;
    color: var(--primary);
    font-size: 0.63rem;
    font-weight: 700;
    text-transform: uppercase;
}

.location-marker strong {
    display: block;
    margin-top: 3px;
    color: var(--dark);
    font-size: 0.82rem;
}

.location-coordinate {
    position: absolute;
    padding: 8px 11px;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    font-size: 0.66rem;
    font-weight: 600;
}

.coordinate-one {
    top: 24px;
    left: 24px;
}

.coordinate-two {
    right: 24px;
    bottom: 24px;
}


/* ==================================================
   CONTACT SUMMARY
================================================== */

.contact-summary-section {
    background: var(--primary);
}

.contact-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.contact-summary-item {
    min-height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-summary-item:last-child {
    border-right: 0;
}

.contact-summary-item span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-summary-item strong {
    margin-top: 9px;
    color: var(--white);
    font-family: "Poppins", sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}


/* ==================================================
   SOCIAL
================================================== */

.social-contact-section {
    padding: 110px 0;
    background: var(--off-white);
}

.social-contact-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 85px;
}

.social-contact-heading h2 {
    max-width: 580px;
}

.social-contact-heading > p:last-child {
    max-width: 500px;
    margin-top: 22px;
    line-height: 1.85;
}

.social-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.social-placeholder {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    background: var(--white);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.social-index {
    color: var(--primary);
    font-size: 0.67rem;
    font-weight: 700;
}

.social-placeholder strong {
    margin-top: 14px;
    color: var(--dark);
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.social-placeholder small {
    margin-top: 5px;
    color: #8a948e;
    font-size: 0.7rem;
}


/* ==================================================
   CTA
================================================== */

.contact-cta-section {
    padding: 100px 0;
    background: #edf3ef;
}

.contact-cta-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 70px;
}

.contact-cta-layout h2 {
    max-width: 770px;
}

.contact-cta-layout p:last-child {
    max-width: 650px;
    margin-top: 20px;
    line-height: 1.8;
}

.contact-cta-actions {
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1050px) {

    .contact-hero-grid {
        grid-template-columns: 1fr 0.85fr;
        gap: 50px;
    }

    .enquiry-routing-layout,
    .location-grid,
    .social-contact-layout {
        gap: 55px;
    }

}


@media (max-width: 900px) {

    .contact-hero-section {
        padding: 80px 0;
    }

    .contact-hero-grid,
    .enquiry-routing-layout,
    .location-grid,
    .social-contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .primary-contact-grid {
        grid-template-columns: 1fr;
    }

    .primary-contact-card {
        min-height: 330px;
    }

    .appointment-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-summary-item:nth-child(2) {
        border-right: 0;
    }

    .contact-summary-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .contact-cta-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-cta-actions {
        min-width: 0;
        max-width: 330px;
    }

}


@media (max-width: 620px) {

    .contact-hero-section,
    .primary-contact-section,
    .enquiry-routing-section,
    .appointment-process-section,
    .location-section,
    .social-contact-section,
    .contact-cta-section {
        padding: 75px 0;
    }

    .contact-hero-content h1 {
        font-size: clamp(2.45rem, 11vw, 3.5rem);
    }

    .contact-hero-actions {
        flex-direction: column;
    }

    .contact-hero-visual {
        display: none;
    }

    .enquiry-types-grid,
    .appointment-process-grid,
    .contact-summary-grid,
    .social-placeholder-grid {
        grid-template-columns: 1fr;
    }

    .enquiry-type-card,
    .appointment-step {
        min-height: 230px;
    }

    .location-visual {
        min-height: 390px;
    }

    .location-marker {
        width: calc(100% - 50px);
        min-width: 0;
    }

    .location-details > div {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .contact-summary-item {
        min-height: 120px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .contact-summary-item:last-child {
        border-bottom: 0;
    }

    .contact-cta-actions {
        max-width: none;
    }

}