.contact-page {
    --contact-ink: #102a25;
    --contact-muted: #5c6e69;
    --contact-green: #318c69;
    --contact-green-dark: #176247;
    --contact-mint: #eaf6f0;
    --contact-line: #dce8e3;
    --contact-sand: #f8f6f0;
    color: var(--contact-ink);
    background: #fff;
    overflow: hidden;
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page p {
    margin-top: 0;
}

.contact-hero {
    position: relative;
    padding: 148px 0 92px;
    background: var(--contact-ink);
    color: #fff;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 88%, rgba(75, 188, 143, .22), transparent 31%),
        linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, .055) 50%, transparent 50.1%);
    pointer-events: none;
}

.contact-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: clamp(48px, 7vw, 108px);
    align-items: end;
}

.contact-hero__content,
.contact-hero__panel,
.contact-details,
.contact-form-card {
    min-width: 0;
}

.contact-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 42px;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
}

.contact-breadcrumb a {
    color: #fff;
}

.contact-eyebrow {
    margin-bottom: 16px;
    color: var(--contact-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-hero .contact-eyebrow {
    color: #7bd4af;
}

.contact-hero h1 {
    max-width: 800px;
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(42px, 5.4vw, 76px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.03;
}

.contact-hero__lead {
    max-width: 720px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .73);
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.75;
}

.contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-button {
    display: inline-flex;
    min-height: 52px;
    padding: 13px 22px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
}

.contact-button--primary,
.contact-button--submit {
    background: #59c695;
    color: #0a2c21;
}

.contact-button--primary:hover,
.contact-button--submit:hover {
    background: #78d8ae;
    color: #071e17;
}

.contact-button--secondary {
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}

.contact-button--secondary:hover {
    border-color: rgba(255, 255, 255, .56);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.contact-hero__panel {
    position: relative;
    padding: 34px;
    border-top: 3px solid #59c695;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 28px 60px rgba(0, 0, 0, .2);
    backdrop-filter: blur(8px);
}

.contact-panel__label {
    display: block;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-panel__list {
    display: grid;
    gap: 18px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.contact-panel__list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.contact-panel__list i {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    background: #59c695;
    color: #0b3427;
    font-size: 11px;
}

.contact-hero__panel > p {
    margin-bottom: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
    line-height: 1.7;
}

.contact-main {
    padding: 104px 0;
}

.contact-main__grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: clamp(48px, 7vw, 100px);
    align-items: start;
}

.contact-details h2,
.contact-form-card h2,
.contact-location h2 {
    margin-bottom: 18px;
    color: var(--contact-ink);
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.contact-details__intro,
.contact-form-card__heading > p:last-child {
    margin-bottom: 34px;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.75;
}

.contact-methods {
    border-top: 1px solid var(--contact-line);
}

.contact-method {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--contact-line);
    color: var(--contact-ink);
}

.contact-method:hover {
    color: var(--contact-green-dark);
}

.contact-method__icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 50%;
    background: var(--contact-mint);
    color: var(--contact-green-dark);
    font-size: 18px;
}

.contact-method small,
.contact-address small {
    display: block;
    margin-bottom: 3px;
    color: var(--contact-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-method strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 16px;
    font-weight: 700;
}

.contact-method__arrow {
    color: #95a69f;
    font-size: 13px;
}

.contact-address {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding: 22px;
    background: var(--contact-sand);
}

.contact-address p {
    margin-bottom: 10px;
    color: var(--contact-ink);
    font-size: 15px;
    line-height: 1.7;
}

.contact-address a,
.contact-location__heading > a {
    color: var(--contact-green-dark);
    font-size: 14px;
    font-weight: 700;
}

.contact-form-card {
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid var(--contact-line);
    border-top: 4px solid var(--contact-green);
    background: #fff;
    box-shadow: 0 24px 70px rgba(21, 70, 55, .1);
}

.contact-form-card h2 {
    font-size: clamp(30px, 2.5vw, 42px);
}

.contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-field {
    margin-bottom: 20px;
}

.contact-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--contact-ink);
    font-size: 14px;
    font-weight: 700;
}

.contact-field label span {
    color: #b84646;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #ceddd7;
    border-radius: 7px;
    outline: 0;
    background: #fbfdfc;
    color: var(--contact-ink);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-field textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--contact-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(49, 140, 105, .13);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #92a19c;
}

.contact-button--submit {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.contact-button--submit:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.contact-form__note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 15px 0 0;
    color: var(--contact-muted);
    font-size: 12px;
    line-height: 1.55;
}

.contact-form__note i {
    margin-top: 3px;
    color: var(--contact-green);
}

.contact-location {
    padding: 86px 0 104px;
    background: var(--contact-sand);
}

.contact-location__heading {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 32px;
}

.contact-location__heading h2,
.contact-location__heading .contact-eyebrow {
    margin-bottom: 0;
}

.contact-map {
    min-height: 400px;
    border: 8px solid #fff;
    background: #dfeae5;
    box-shadow: 0 22px 60px rgba(16, 42, 37, .12);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 430px;
    border: 0;
}

.contact-map__fallback {
    display: flex;
    min-height: 400px;
    padding: 48px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: left;
}

.contact-map__fallback > i {
    color: var(--contact-green);
    font-size: 54px;
}

.contact-map__fallback h3 {
    margin-bottom: 8px;
    color: var(--contact-ink);
    font-size: 25px;
}

.contact-map__fallback p {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--contact-muted);
    line-height: 1.7;
}

@media (max-width: 1199px) {
    .contact-hero__grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr);
        gap: 44px;
    }

    .contact-main__grid {
        gap: 48px;
    }
}

@media (max-width: 991px) {
    .contact-hero {
        padding: 118px 0 76px;
    }

    .contact-hero__grid,
    .contact-main__grid {
        grid-template-columns: 1fr;
    }

    .contact-hero__panel {
        max-width: 620px;
    }

    .contact-main {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 100px 0 60px;
    }

    .contact-breadcrumb {
        margin-bottom: 30px;
    }

    .contact-hero h1 {
        font-size: clamp(35px, 9.6vw, 44px);
        letter-spacing: -.05em;
    }

    .contact-hero__actions,
    .contact-button {
        width: 100%;
    }

    .contact-hero__panel {
        padding: 26px;
    }

    .contact-main,
    .contact-location {
        padding: 64px 0;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

    .contact-location__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 340px;
        height: 340px;
    }

    .contact-map__fallback {
        min-height: 324px;
        padding: 28px 20px;
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
