
/* =========================================================
   AFYA BIOMED SOLUTIONS CO. LTD
   CONTACT PAGE STYLESHEET
   Header and footer styles are intentionally excluded.
========================================================= */

/* =========================================================
   1. ROOT VARIABLES & BASE STYLES
========================================================= */

:root {
    --contact-navy: #0B2553;
    --contact-navy-light: #12386F;
    --contact-navy-dark: #071A3D;

    --contact-green: #32B83D;
    --contact-green-dark: #24952F;

    --contact-cyan: #009EDB;
    --contact-cyan-light: #EAF8FF;

    --contact-white: #FFFFFF;
    --contact-bg: #F5F8FC;
    --contact-bg-light: #FAFCFE;

    --contact-text: #26364D;
    --contact-muted: #6C7A90;
    --contact-border: #E1E8F0;

    --contact-shadow-sm: 0 8px 24px rgba(11, 37, 83, 0.06);
    --contact-shadow-md: 0 18px 50px rgba(11, 37, 83, 0.10);
    --contact-shadow-lg: 0 28px 70px rgba(5, 25, 60, 0.16);

    --contact-radius-sm: 10px;
    --contact-radius-md: 18px;
    --contact-radius-lg: 26px;

    --contact-transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

.contact-hero,
.contact-intro,
.contact-information,
.contact-form-section,
.contact-location-section,
.contact-final-cta {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.contact-hero *,
.contact-intro *,
.contact-information *,
.contact-form-section *,
.contact-location-section *,
.contact-final-cta * {
    box-sizing: border-box;
}

.contact-hero .container,
.contact-intro .container,
.contact-information .container,
.contact-form-section .container,
.contact-location-section .container,
.contact-final-cta .container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.contact-hero h1,
.contact-intro h2,
.contact-form-section h2,
.contact-location-section h2,
.contact-final-cta h2 {
    font-family: "Manrope", sans-serif;
}

.contact-hero p,
.contact-intro p,
.contact-information p,
.contact-form-section p,
.contact-location-section p,
.contact-final-cta p {
    font-family: "DM Sans", sans-serif;
}


/* =========================================================
   2. CONTACT HERO
========================================================= */

.contact-hero {
    display: flex;
    align-items: center;
    min-height: 650px;
    padding: 110px 0 100px;
    isolation: isolate;
    background: var(--contact-navy-dark);
    color: var(--contact-white);
}

.contact-hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;

    background-image:
        linear-gradient(
            90deg,
            rgba(5, 20, 48, 0.97) 0%,
            rgba(7, 29, 66, 0.91) 42%,
            rgba(8, 35, 75, 0.70) 100%
        ),
        url("https://images.unsplash.com/photo-1584982751601-97dcc096659c?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.02);
}

.contact-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 480px;
    height: 480px;
    top: -190px;
    right: -100px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;

    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.025),
        0 0 0 110px rgba(255, 255, 255, 0.018);

    pointer-events: none;
}

.contact-hero-inner {
    position: relative;
    z-index: 1;
}

.contact-hero-content {
    max-width: 790px;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 24px;

    color: #A9EAB0;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.contact-eyebrow-line {
    display: inline-block;
    width: 38px;
    height: 2px;
    flex-shrink: 0;

    background: var(--contact-green);
}

.contact-hero h1 {
    max-width: 780px;
    margin: 0;

    color: var(--contact-white);
    font-size: clamp(38px, 5.1vw, 66px);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.12;
}

.contact-hero h1 span {
    display: block;
    margin-top: 8px;
    color: #7FE38A;
}

.contact-hero-content > p {
    max-width: 630px;
    margin: 25px 0 0;

    color: rgba(255, 255, 255, 0.79);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;

    margin-top: 34px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 54px;
    padding: 15px 23px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;

    transition:
        background var(--contact-transition),
        color var(--contact-transition),
        border-color var(--contact-transition),
        transform var(--contact-transition),
        box-shadow var(--contact-transition);
}

.contact-button i {
    font-size: 15px;
}

.contact-button-primary {
    background: var(--contact-green);
    color: var(--contact-white);
    box-shadow: 0 8px 22px rgba(50, 184, 61, 0.20);
}

.contact-button-primary:hover {
    background: var(--contact-green-dark);
    color: var(--contact-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(50, 184, 61, 0.27);
}

.contact-button-outline {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.055);
    color: var(--contact-white);
}

.contact-button-outline:hover {
    border-color: var(--contact-white);
    background: var(--contact-white);
    color: var(--contact-navy);
    transform: translateY(-3px);
}

.contact-button-outline .fa-whatsapp {
    color: #62E879;
    font-size: 18px;
}

.contact-button-outline:hover .fa-whatsapp {
    color: #20A83A;
}

.contact-hero-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 43px;

    color: rgba(255, 255, 255, 0.77);
    font-size: 12px;
    font-weight: 500;
}

.contact-hero-note > i {
    color: #7FE38A;
    font-size: 14px;
}

.contact-note-divider {
    width: 1px;
    height: 17px;
    margin: 0 8px;

    background: rgba(255, 255, 255, 0.28);
}


/* =========================================================
   3. CONTACT INTRODUCTION
========================================================= */

.contact-intro {
    padding: 100px 0 65px;
    background: var(--contact-white);
}

.contact-intro-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: start;
}

.contact-section-eyebrow {
    display: inline-block;
    margin-bottom: 17px;

    color: var(--contact-green-dark);
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.9px;
    line-height: 1.5;
    text-transform: uppercase;
}

.contact-intro h2,
.contact-form-aside h2,
.contact-location-heading h2 {
    margin: 0;

    color: var(--contact-navy);
    font-size: clamp(29px, 3.2vw, 42px);
    font-weight: 800;
    letter-spacing: -1.4px;
    line-height: 1.22;
}

.contact-intro-grid > div:last-child {
    padding-top: 25px;
}

.contact-intro-grid > div:last-child p {
    margin: 0 0 16px;

    color: var(--contact-muted);
    font-size: 15px;
    line-height: 1.9;
}

.contact-intro-grid > div:last-child p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   4. CONTACT INFORMATION CARDS
========================================================= */

.contact-information {
    padding: 20px 0 100px;
    background: var(--contact-white);
}

.contact-information-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
    align-items: stretch;
}

.contact-info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 310px;
    padding: 31px 27px 28px;

    border: 1px solid var(--contact-border);
    border-radius: var(--contact-radius-md);
    background: var(--contact-white);

    box-shadow: var(--contact-shadow-sm);

    transition:
        transform var(--contact-transition),
        box-shadow var(--contact-transition),
        border-color var(--contact-transition);
}

.contact-info-card:hover {
    transform: translateY(-7px);
    border-color: rgba(50, 184, 61, 0.42);
    box-shadow: var(--contact-shadow-md);
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;
    margin-bottom: 25px;

    border-radius: 15px;
    background: rgba(11, 37, 83, 0.08);
    color: var(--contact-navy);

    font-size: 21px;
}

.contact-info-icon-green {
    background: rgba(50, 184, 61, 0.12);
    color: var(--contact-green-dark);
}

.contact-info-icon-cyan {
    background: rgba(0, 158, 219, 0.10);
    color: var(--contact-cyan);
}

.contact-info-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    width: 100%;
}

.contact-info-label {
    display: block;
    margin-bottom: 7px;

    color: var(--contact-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.5;
    text-transform: uppercase;
}

.contact-info-card h3 {
    margin: 0;

    color: var(--contact-navy);
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}

.contact-info-card p {
    margin: 13px 0 22px;

    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.8;
}

.contact-info-link {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: auto;

    color: var(--contact-navy);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.7;
    text-decoration: none;
    overflow-wrap: anywhere;

    transition: color var(--contact-transition);
}

.contact-info-link i {
    color: var(--contact-green-dark);
    font-size: 11px;
    transition: transform var(--contact-transition);
}

.contact-info-link:hover {
    color: var(--contact-green-dark);
}

.contact-info-link:hover i {
    transform: translate(3px, -2px);
}


/* =========================================================
   5. ENQUIRY FORM SECTION
========================================================= */

.contact-form-section {
    padding: 105px 0;
    background: var(--contact-bg);
}

.contact-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 65px;
    align-items: start;
}


/* Left information panel */

.contact-form-aside {
    padding-top: 12px;
}

.contact-form-aside h2 {
    max-width: 450px;
    margin-bottom: 22px;
}

.contact-form-aside h2 span {
    display: block;
    color: var(--contact-green-dark);
}

.contact-form-aside > p {
    max-width: 440px;
    margin: 0;

    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.9;
}

.contact-form-assurances {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

.contact-assurance {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.contact-assurance-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;
    flex-shrink: 0;

    border: 1px solid rgba(50, 184, 61, 0.15);
    border-radius: 12px;
    background: var(--contact-white);

    color: var(--contact-green-dark);
    font-size: 17px;

    box-shadow: 0 5px 15px rgba(11, 37, 83, 0.035);
}

.contact-assurance h3 {
    margin: 1px 0 5px;

    color: var(--contact-navy);
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.contact-assurance p {
    margin: 0;

    color: var(--contact-muted);
    font-size: 12px;
    line-height: 1.8;
}

.contact-direct-card {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 38px;
    padding: 19px;

    border: 1px solid var(--contact-border);
    border-radius: 13px;
    background: var(--contact-white);
}

.contact-direct-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    flex-shrink: 0;

    border-radius: 12px;
    background: var(--contact-navy);
    color: var(--contact-white);

    font-size: 17px;
}

.contact-direct-card > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.contact-direct-card > div > span {
    color: var(--contact-muted);
    font-size: 11px;
    line-height: 1.5;
}

.contact-direct-card a {
    color: var(--contact-navy);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-direct-card a:hover {
    color: var(--contact-green-dark);
}


/* Right form card */

.contact-form-card {
    min-width: 0;
    padding: 38px;

    border: 1px solid rgba(11, 37, 83, 0.055);
    border-radius: var(--contact-radius-lg);
    background: var(--contact-white);

    box-shadow: var(--contact-shadow-md);
}

.contact-form-heading {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--contact-border);
}

.contact-form-step {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 13px;

    color: var(--contact-green-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

.contact-form-step i {
    font-size: 14px;
}

.contact-form-heading h2 {
    margin: 0 0 9px;

    color: var(--contact-navy);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.7px;
    line-height: 1.35;
}

.contact-form-heading p {
    margin: 0;

    color: var(--contact-muted);
    font-size: 12px;
    line-height: 1.8;
}


/* Form layout */

.contact-enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.contact-field label {
    color: var(--contact-navy);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

.contact-field label span {
    color: #E34D59;
}

.contact-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.contact-input-wrap > i {
    position: absolute;
    left: 15px;
    z-index: 1;

    color: #8593A8;
    font-size: 14px;
    pointer-events: none;
    transition: color var(--contact-transition);
}

.contact-input-wrap input,
.contact-input-wrap select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 51px;
    padding: 13px 14px 13px 42px;

    appearance: none;
    -webkit-appearance: none;

    border: 1px solid #DDE5EF;
    border-radius: 8px;
    outline: none;
    background: #FCFDFE;

    color: var(--contact-text);
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    line-height: 1.5;

    transition:
        border-color var(--contact-transition),
        box-shadow var(--contact-transition),
        background var(--contact-transition);
}

.contact-input-wrap input::placeholder,
.contact-enquiry-form textarea::placeholder {
    color: #9AA6B6;
    opacity: 1;
}

.contact-input-wrap input:hover,
.contact-input-wrap select:hover,
.contact-enquiry-form textarea:hover {
    border-color: #B7C8DC;
}

.contact-input-wrap input:focus,
.contact-input-wrap select:focus,
.contact-enquiry-form textarea:focus {
    border-color: var(--contact-cyan);
    background: var(--contact-white);
    box-shadow: 0 0 0 4px rgba(0, 158, 219, 0.10);
}

.contact-input-wrap:focus-within > i {
    color: var(--contact-cyan);
}

.contact-select-wrap select {
    padding-right: 40px;
    cursor: pointer;
}

.contact-select-wrap::after {
    content: "\f107";
    position: absolute;
    right: 15px;

    color: #8290A5;
    font-family: "Font Awesome 6 Free";
    font-size: 13px;
    font-weight: 900;

    pointer-events: none;
}

.contact-select-wrap select:invalid {
    color: #9AA6B6;
}

.contact-select-wrap select option {
    color: var(--contact-text);
    background: var(--contact-white);
}

.contact-enquiry-form textarea {
    display: block;
    width: 100%;
    min-height: 145px;
    padding: 15px;

    border: 1px solid #DDE5EF;
    border-radius: 8px;
    outline: none;
    resize: vertical;
    background: #FCFDFE;

    color: var(--contact-text);
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    line-height: 1.8;

    transition:
        border-color var(--contact-transition),
        box-shadow var(--contact-transition),
        background var(--contact-transition);
}

.contact-field-hint {
    color: var(--contact-muted);
    font-size: 10px;
    line-height: 1.7;
}


/* Form information and submit button */

.contact-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    padding: 14px 15px;

    border: 1px solid #D9EAF7;
    border-radius: 9px;
    background: #F3FAFF;
}

.contact-form-consent > i {
    margin-top: 3px;
    flex-shrink: 0;

    color: var(--contact-cyan);
    font-size: 14px;
}

.contact-form-consent p {
    margin: 0;

    color: #526982;
    font-size: 11px;
    line-height: 1.8;
}

.contact-form-error {
    margin: 0;
    padding: 12px 14px;

    border: 1px solid #F1C3C7;
    border-radius: 8px;
    background: #FFF4F4;

    color: #A82330;
    font-size: 12px;
    line-height: 1.7;
}

.contact-form-error[hidden] {
    display: none !important;
}

.contact-submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    min-height: 56px;
    padding: 15px 20px;

    border: 0;
    border-radius: 8px;
    background: var(--contact-green);
    color: var(--contact-white);

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(50, 184, 61, 0.16);

    transition:
        background var(--contact-transition),
        transform var(--contact-transition),
        box-shadow var(--contact-transition);
}

.contact-submit-button i {
    font-size: 19px;
}

.contact-submit-button:hover {
    background: var(--contact-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(50, 184, 61, 0.23);
}

.contact-submit-button:active {
    transform: translateY(0);
}

.contact-submit-button:focus-visible,
.contact-button:focus-visible,
.contact-map-button:focus-visible,
.contact-final-button:focus-visible {
    outline: 3px solid rgba(0, 158, 219, 0.55);
    outline-offset: 4px;
}

.contact-form-footnote {
    margin: -9px 0 0;

    color: var(--contact-muted);
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
}


/* =========================================================
   6. LOCATION SECTION
========================================================= */

.contact-location-section {
    padding: 100px 0;
    background: var(--contact-white);
}

.contact-location-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 45px;

    margin-bottom: 35px;
}

.contact-location-heading > div {
    flex: 1;
    min-width: 0;
}

.contact-location-heading h2 {
    max-width: 600px;
}

.contact-location-heading > p {
    max-width: 430px;
    margin: 0 0 5px;

    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.9;
}

.contact-location-panel {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    min-height: 420px;
    overflow: hidden;

    border: 1px solid var(--contact-border);
    border-radius: var(--contact-radius-lg);
    background: var(--contact-white);

    box-shadow: var(--contact-shadow-md);
}

.contact-location-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 43px 38px;

    background:
        radial-gradient(
            circle at top right,
            rgba(50, 184, 61, 0.10),
            transparent 42%
        ),
        var(--contact-navy);

    color: var(--contact-white);
}

.contact-location-symbol {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;
    margin-bottom: 28px;

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.09);

    color: #8AE994;
    font-size: 22px;
}

.contact-location-label {
    margin-bottom: 12px;

    color: #9AEAA3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    line-height: 1.5;
}

.contact-location-details h3 {
    margin: 0 0 16px;

    color: var(--contact-white);
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.45;
}

.contact-location-details > p {
    margin: 0;

    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 2;
}

.contact-map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 25px;
    padding: 13px 17px;

    border-radius: 7px;
    background: var(--contact-green);
    color: var(--contact-white);

    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none;

    transition:
        background var(--contact-transition),
        transform var(--contact-transition);
}

.contact-map-button:hover {
    background: var(--contact-green-dark);
    color: var(--contact-white);
    transform: translateY(-2px);
}

.contact-map-button i {
    font-size: 11px;
}

.contact-location-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 23px;

    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
    text-decoration: none;
}

.contact-location-phone i {
    color: #8AE994;
}

.contact-location-phone:hover {
    color: #8AE994;
}

.contact-map-frame {
    position: relative;
    min-height: 420px;
    background: #E8EEF4;
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;

    border: 0;
    filter: saturate(0.82);
}


/* =========================================================
   7. FINAL CALL TO ACTION
========================================================= */

.contact-final-cta {
    padding: 0 0 100px;
    background: var(--contact-white);
}

.contact-final-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;

    padding: 43px 46px;
    overflow: hidden;

    border-radius: var(--contact-radius-lg);

    background:
        radial-gradient(
            circle at 95% 0%,
            rgba(50, 184, 61, 0.18),
            transparent 35%
        ),
        linear-gradient(
            115deg,
            var(--contact-navy-dark),
            var(--contact-navy)
        );

    box-shadow: var(--contact-shadow-md);
}

.contact-final-cta-inner::after {
    content: "";
    position: absolute;
    top: -100px;
    right: 130px;

    width: 230px;
    height: 230px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;

    box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.025);

    pointer-events: none;
}

.contact-final-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;
    flex-shrink: 0;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.08);

    color: #8AE994;
    font-size: 27px;
}

.contact-final-copy {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.contact-final-copy > span {
    display: block;
    margin-bottom: 9px;

    color: #9AEAA3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.6;
}

.contact-final-cta h2 {
    margin: 0;

    color: var(--contact-white);
    font-size: clamp(23px, 2.8vw, 34px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.3;
}

.contact-final-copy > p {
    max-width: 560px;
    margin: 12px 0 0;

    color: rgba(255, 255, 255, 0.73);
    font-size: 12px;
    line-height: 1.9;
}

.contact-final-button {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    min-height: 52px;
    flex-shrink: 0;
    padding: 15px 20px;

    border: 1px solid var(--contact-green);
    border-radius: 8px;
    background: var(--contact-green);
    color: var(--contact-white);

    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;

    transition:
        background var(--contact-transition),
        border-color var(--contact-transition),
        transform var(--contact-transition);
}

.contact-final-button i {
    font-size: 17px;
}

.contact-final-button:hover {
    border-color: #24952F;
    background: #24952F;
    color: var(--contact-white);
    transform: translateY(-3px);
}


/* =========================================================
   8. ACCESSIBILITY & MOTION
========================================================= */

.contact-hero a:focus-visible,
.contact-info-card a:focus-visible,
.contact-direct-card a:focus-visible,
.contact-location-details a:focus-visible {
    outline: 3px solid var(--contact-cyan);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .contact-hero *,
    .contact-intro *,
    .contact-information *,
    .contact-form-section *,
    .contact-location-section *,
    .contact-final-cta * {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   9. LARGE TABLETS / SMALL LAPTOPS
========================================================= */

@media (max-width: 1100px) {
    .contact-hero {
        min-height: 600px;
        padding: 95px 0 85px;
    }

    .contact-hero h1 {
        max-width: 720px;
        font-size: clamp(40px, 5.4vw, 59px);
    }

    .contact-intro-grid {
        gap: 45px;
    }

    .contact-form-layout {
        grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
        gap: 35px;
    }

    .contact-form-card {
        padding: 30px;
    }

    .contact-info-card {
        padding: 27px 23px;
    }

    .contact-final-cta-inner {
        gap: 22px;
        padding: 38px 32px;
    }

    .contact-final-button {
        max-width: 230px;
    }
}


/* =========================================================
   10. TABLET
========================================================= */

@media (max-width: 900px) {
    .contact-hero {
        min-height: 570px;
        padding: 85px 0;
    }

    .contact-hero-background {
        background-position: 60% center;
    }

    .contact-hero h1 {
        max-width: 650px;
        font-size: clamp(38px, 6.2vw, 55px);
        letter-spacing: -1.8px;
    }

    .contact-hero-content > p {
        max-width: 580px;
        font-size: 15px;
    }

    .contact-intro {
        padding: 80px 0 50px;
    }

    .contact-intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .contact-intro h2,
    .contact-form-aside h2,
    .contact-location-heading h2 {
        font-size: 34px;
    }

    .contact-information {
        padding: 20px 0 80px;
    }

    .contact-information-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .contact-info-card {
        min-height: 285px;
    }

    .contact-info-card:last-child {
        grid-column: 1 / -1;
        min-height: auto;
    }

    .contact-form-section {
        padding: 80px 0;
    }

    .contact-form-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-form-aside {
        max-width: 650px;
    }

    .contact-form-aside > p {
        max-width: 600px;
    }

    .contact-form-assurances {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .contact-assurance {
        flex-direction: column;
        gap: 12px;
    }

    .contact-direct-card {
        max-width: 340px;
    }

    .contact-form-card {
        width: 100%;
        padding: 35px;
    }

    .contact-location-section {
        padding: 80px 0;
    }

    .contact-location-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .contact-location-heading > p {
        max-width: 620px;
    }

    .contact-location-panel {
        grid-template-columns: 0.85fr 1.15fr;
    }

    .contact-location-details {
        padding: 32px 26px;
    }

    .contact-location-details h3 {
        font-size: 19px;
    }

    .contact-final-cta {
        padding-bottom: 80px;
    }

    .contact-final-cta-inner {
        flex-wrap: wrap;
        gap: 22px;
        padding: 35px;
    }

    .contact-final-copy {
        flex-basis: calc(100% - 90px);
    }

    .contact-final-button {
        margin-left: 86px;
        max-width: none;
    }
}


/* =========================================================
   11. MOBILE
========================================================= */

@media (max-width: 600px) {
    .contact-hero .container,
    .contact-intro .container,
    .contact-information .container,
    .contact-form-section .container,
    .contact-location-section .container,
    .contact-final-cta .container {
        width: calc(100% - 36px);
    }

    .contact-hero {
        min-height: auto;
        padding: 85px 0 65px;
    }

    .contact-hero-background {
        background-image:
            linear-gradient(
                90deg,
                rgba(5, 20, 48, 0.94),
                rgba(7, 29, 66, 0.86)
            ),
            url("https://images.unsplash.com/photo-1584982751601-97dcc096659c?auto=format&fit=crop&w=1200&q=85");

        background-position: 60% center;
    }

    .contact-hero::before {
        width: 260px;
        height: 260px;
        top: -100px;
        right: -120px;
    }

    .contact-eyebrow {
        gap: 9px;
        margin-bottom: 19px;
        font-size: 10px;
        letter-spacing: 1.7px;
    }

    .contact-eyebrow-line {
        width: 28px;
    }

    .contact-hero h1 {
        font-size: clamp(34px, 9.1vw, 45px);
        letter-spacing: -1.5px;
        line-height: 1.15;
    }

    .contact-hero h1 span {
        margin-top: 6px;
    }

    .contact-hero-content > p {
        margin-top: 20px;
        font-size: 13px;
        line-height: 1.9;
    }

    .contact-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 11px;
        margin-top: 27px;
    }

    .contact-button {
        width: 100%;
        min-height: 51px;
        padding: 14px 18px;
        font-size: 12px;
    }

    .contact-hero-note {
        align-items: center;
        gap: 8px;
        margin-top: 30px;
        font-size: 10px;
        line-height: 1.8;
    }

    .contact-note-divider {
        margin: 0 3px;
    }

    .contact-intro {
        padding: 65px 0 35px;
    }

    .contact-intro-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-intro-grid > div:last-child {
        padding-top: 0;
    }

    .contact-section-eyebrow {
        margin-bottom: 12px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .contact-intro h2,
    .contact-form-aside h2,
    .contact-location-heading h2 {
        font-size: clamp(28px, 7.6vw, 35px);
        letter-spacing: -1px;
        line-height: 1.25;
    }

    .contact-intro-grid > div:last-child p {
        margin-bottom: 12px;
        font-size: 13px;
        line-height: 1.9;
    }

    .contact-information {
        padding: 20px 0 65px;
    }

    .contact-information-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info-card,
    .contact-info-card:last-child {
        min-height: auto;
        padding: 25px 23px;
        grid-column: auto;
    }

    .contact-info-icon {
        width: 49px;
        height: 49px;
        margin-bottom: 20px;
        border-radius: 13px;
        font-size: 19px;
    }

    .contact-info-card h3 {
        font-size: 19px;
    }

    .contact-info-card p {
        margin: 11px 0 19px;
        font-size: 12px;
    }

    .contact-info-link {
        font-size: 11px;
    }

    .contact-form-section {
        padding: 65px 0;
    }

    .contact-form-layout {
        gap: 32px;
    }

    .contact-form-aside {
        padding-top: 0;
    }

    .contact-form-aside h2 {
        margin-bottom: 15px;
    }

    .contact-form-aside > p {
        font-size: 13px;
        line-height: 1.9;
    }

    .contact-form-assurances {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 27px;
    }

    .contact-assurance {
        flex-direction: row;
        gap: 14px;
    }

    .contact-assurance-icon {
        width: 42px;
        height: 42px;
    }

    .contact-assurance h3 {
        font-size: 13px;
    }

    .contact-assurance p {
        font-size: 11px;
    }

    .contact-direct-card {
        margin-top: 27px;
        padding: 16px;
    }

    .contact-direct-icon {
        width: 42px;
        height: 42px;
    }

    .contact-direct-card a {
        font-size: 15px;
    }

    .contact-form-card {
        padding: 24px 19px;
        border-radius: 17px;
    }

    .contact-form-heading {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .contact-form-heading h2 {
        font-size: 22px;
        letter-spacing: -0.5px;
    }

    .contact-form-heading p {
        font-size: 11px;
    }

    .contact-enquiry-form {
        gap: 19px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .contact-field {
        gap: 8px;
    }

    .contact-field label {
        font-size: 12px;
    }

    .contact-input-wrap input,
    .contact-input-wrap select {
        min-height: 49px;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 12px;
    }

    .contact-enquiry-form textarea {
        min-height: 135px;
        font-size: 12px;
    }

    .contact-form-consent {
        padding: 12px;
        gap: 9px;
    }

    .contact-form-consent p {
        font-size: 10px;
    }

    .contact-submit-button {
        min-height: 53px;
        padding: 14px 12px;
        gap: 9px;
        font-size: 11px;
    }

    .contact-submit-button i {
        font-size: 17px;
    }

    .contact-form-footnote {
        font-size: 10px;
    }

    .contact-location-section {
        padding: 65px 0;
    }

    .contact-location-heading {
        gap: 13px;
        margin-bottom: 25px;
    }

    .contact-location-heading > p {
        font-size: 12px;
        line-height: 1.9;
    }

    .contact-location-panel {
        grid-template-columns: 1fr;
        border-radius: 17px;
    }

    .contact-location-details {
        padding: 29px 24px;
    }

    .contact-location-symbol {
        width: 49px;
        height: 49px;
        margin-bottom: 22px;
        font-size: 19px;
    }

    .contact-location-details h3 {
        font-size: 20px;
    }

    .contact-location-details > p {
        font-size: 12px;
    }

    .contact-map-button {
        min-height: 44px;
        margin-top: 21px;
        padding: 12px 15px;
        font-size: 11px;
    }

    .contact-map-frame,
    .contact-map-frame iframe {
        min-height: 300px;
        height: 300px;
    }

    .contact-final-cta {
        padding-bottom: 65px;
    }

    .contact-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding: 27px 23px;
        border-radius: 17px;
    }

    .contact-final-cta-inner::after {
        right: -90px;
        top: -80px;
    }

    .contact-final-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        font-size: 22px;
    }

    .contact-final-copy {
        flex-basis: auto;
        width: 100%;
    }

    .contact-final-copy > span {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .contact-final-cta h2 {
        font-size: 27px;
        letter-spacing: -0.7px;
    }

    .contact-final-copy > p {
        font-size: 12px;
    }

    .contact-final-button {
        width: 100%;
        max-width: none;
        min-height: 50px;
        margin-left: 0;
        padding: 13px 15px;
        font-size: 11px;
    }
}


/* =========================================================
   12. VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {
    .contact-hero .container,
    .contact-intro .container,
    .contact-information .container,
    .contact-form-section .container,
    .contact-location-section .container,
    .contact-final-cta .container {
        width: calc(100% - 28px);
    }

    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-hero-note {
        font-size: 9px;
    }

    .contact-form-card {
        padding: 21px 15px;
    }

    .contact-form-heading h2 {
        font-size: 20px;
    }

    .contact-final-cta h2 {
        font-size: 24px;
    }

    .contact-final-cta-inner {
        padding: 24px 19px;
    }
}
