:root {
    --contact-cream: #f6efe3;
    --contact-cream-deep: #eadfcf;
    --contact-surface: #fffdf8;
    --contact-surface-soft: #f9f4ea;
    --contact-border: rgba(110, 95, 63, 0.14);
    --contact-ink: #203728;
    --contact-muted: #66735f;
    --contact-green: #2f6b43;
    --contact-green-deep: #1f5433;
    --contact-green-soft: #e0ebde;
    --contact-shadow: 0 22px 48px rgba(45, 62, 39, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--contact-ink);
    background:
        radial-gradient(circle at top left, rgba(217, 204, 178, 0.24), transparent 28%),
        linear-gradient(180deg, #fdfbf6 0%, #f6efe3 48%, #f9f4ea 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.contact-page {
    width: min(1240px, calc(100% - 40px));
    display: grid;
    gap: 28px;
    margin: 0 auto;
    padding: 0 0 56px;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--contact-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-hero-panel,
.contact-main-panel,
.contact-reasons,
.contact-map-panel {
    border: 1px solid var(--contact-border);
    border-radius: 32px;
    background: rgba(255, 252, 245, 0.94);
    box-shadow: var(--contact-shadow);
}

.contact-hero-panel {
    width: 100vw;
    min-height: 360px;
    overflow: hidden;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(248, 241, 227, 0.90) 0%, rgba(248, 241, 227, 0.84) 18%, rgba(248, 241, 227, 0.48) 34%, rgba(248, 241, 227, 0.10) 56%, rgba(248, 241, 227, 0.02) 100%),
        var(--contact-hero-bg) center center / cover no-repeat;
    box-shadow: none;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    align-items: stretch;
    gap: 20px;
    min-height: 360px;
    padding: 38px max(24px, calc((100vw - 1240px) / 2 + 20px)) 26px;
}

.contact-hero-copy {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 0 0 16px;
}

.contact-hero-copy h1,
.contact-section-title h2,
.contact-map-copy h2,
.contact-cta-copy h2 {
    margin: 0;
    color: #183222;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.08;
}

.contact-hero-copy h1 {
    max-width: 460px;
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.contact-hero-copy p,
.contact-section-title p,
.contact-map-copy p,
.contact-reason-card p,
.contact-stat-card span {
    margin: 0;
    color: var(--contact-muted);
    font-size: 15px;
    line-height: 1.8;
}

.contact-hero-copy p {
    max-width: 340px;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

.contact-hero-actions,
.contact-info-actions,
.contact-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7469;
    font-size: 14px;
    font-weight: 700;
}

.contact-breadcrumbs strong {
    color: var(--contact-green);
}

.contact-primary-btn,
.contact-secondary-btn,
.contact-cta-btn,
.contact-form button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.contact-primary-btn,
.contact-cta-btn {
    color: #fefcf6;
    background: linear-gradient(135deg, var(--contact-green), var(--contact-green-deep));
    box-shadow: 0 14px 28px rgba(47, 107, 67, 0.22);
}

.contact-secondary-btn {
    color: var(--contact-green-deep);
    border-color: rgba(47, 107, 67, 0.2);
    background: rgba(255, 250, 242, 0.94);
}

.contact-primary-btn:hover,
.contact-secondary-btn:hover,
.contact-cta-btn:hover,
.contact-form button:hover {
    transform: translateY(-1px);
}

.contact-primary-btn.is-disabled,
.contact-secondary-btn.is-disabled,
.contact-cta-btn.is-disabled {
    pointer-events: none;
    opacity: 0.55;
}

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

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

.contact-main-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    gap: 0;
    overflow: hidden;
}

.contact-form-shell,
.contact-info-shell {
    padding: 40px;
}

.contact-form-shell {
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(251, 246, 236, 0.96) 100%);
}

.contact-info-shell {
    display: grid;
    align-content: start;
    gap: 22px;
    border-left: 1px solid var(--contact-border);
    background: linear-gradient(180deg, rgba(237, 231, 218, 0.76) 0%, rgba(247, 241, 230, 0.98) 100%);
}

.contact-section-title {
    display: grid;
    gap: 10px;
}

.contact-section-title h2,
.contact-map-copy h2,
.contact-cta-copy h2 {
    font-size: clamp(1.9rem, 2.4vw, 2.8rem);
}

.contact-section-title-center {
    justify-items: center;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 18px;
}

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

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form label span {
    color: #2f4735;
    font-size: 13px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-width: 0;
    color: var(--contact-ink);
    border: 1px solid rgba(58, 84, 56, 0.14);
    border-radius: 20px;
    background: #fffdf9;
    outline: 0;
}

.contact-form input {
    min-height: 54px;
    padding: 0 18px;
}

.contact-form textarea {
    min-height: 170px;
    padding: 16px 18px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(47, 107, 67, 0.4);
    box-shadow: 0 0 0 4px rgba(47, 107, 67, 0.08);
}

.contact-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.contact-form button {
    color: #fffdf9;
    border: 0;
    background: linear-gradient(135deg, var(--contact-green), var(--contact-green-deep));
}

.contact-form-status {
    min-height: 22px;
    color: var(--contact-green-deep);
    font-size: 13px;
    font-weight: 700;
}

.contact-info-stack {
    display: grid;
    gap: 14px;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px;
    border: 1px solid rgba(58, 84, 56, 0.12);
    border-radius: 24px;
    background: rgba(255, 252, 246, 0.94);
}

.contact-info-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--contact-green-deep);
    border-radius: 18px;
    background: var(--contact-green-soft);
}

.contact-info-item strong,
.contact-reason-card strong {
    display: block;
    margin-bottom: 6px;
    color: #203528;
    font-size: 16px;
}

.contact-info-item p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.contact-reasons {
    display: grid;
    gap: 26px;
    padding: 38px 34px;
}

.contact-reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.contact-reason-card {
    display: grid;
    gap: 12px;
    padding: 22px 20px;
    border: 1px solid rgba(58, 84, 56, 0.1);
    border-radius: 26px;
    background: rgba(255, 250, 241, 0.92);
}

.contact-reason-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--contact-green-deep);
    border-radius: 18px;
    background: var(--contact-green-soft);
    font-size: 22px;
}

.contact-cta-strip {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 1.15fr) minmax(360px, 0.9fr) auto;
    gap: 28px;
    align-items: center;
    padding: 38px 36px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 30%),
        linear-gradient(135deg, #2f6b43 0%, #1e5432 100%);
    box-shadow: 0 24px 48px rgba(31, 84, 51, 0.22);
}

.contact-cta-copy h2,
.contact-cta-copy p,
.contact-cta-strip .contact-eyebrow,
.contact-stat-card strong,
.contact-stat-card span,
.contact-cta-btn,
.contact-cta-btn.is-light {
    color: #fffdf7;
}

.contact-cta-copy {
    display: grid;
    gap: 14px;
}

.contact-cta-copy p {
    max-width: 420px;
    color: rgba(255, 253, 247, 0.78);
}

.contact-cta-copy h2 {
    max-width: 520px;
    font-size: clamp(2.15rem, 3.2vw, 3.25rem);
    line-height: 1.03;
}

.contact-cta-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(108px, 1fr));
    gap: 14px;
}

.contact-stat-card {
    display: grid;
    gap: 6px;
    min-height: 104px;
    align-content: center;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
}

.contact-stat-card strong {
    font-size: 24px;
}

.contact-stat-card span {
    font-size: 12px;
    line-height: 1.45;
}

.contact-cta-btn {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.contact-cta-btn.is-light {
    color: var(--contact-green-deep);
    background: #fffaf0;
}

.contact-cta-actions {
    justify-content: flex-end;
    align-items: center;
}

.contact-map-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 20px;
    align-items: center;
    padding: 26px;
}

.contact-map-copy {
    display: grid;
    gap: 10px;
    padding: 10px 8px 10px 6px;
}

.contact-map {
    min-height: 320px;
    overflow: hidden;
    border-radius: 28px;
    background: #f2ece1;
}

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

.contact-map-empty {
    min-height: 320px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: var(--contact-muted);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.contact-map-empty .contact-icon {
    width: 34px;
    height: 34px;
    color: var(--contact-green-deep);
}

@media (max-width: 1180px) {
    .contact-hero-grid,
    .contact-main-panel,
    .contact-cta-strip,
    .contact-map-panel {
        grid-template-columns: 1fr;
    }

    .contact-hero-panel {
        min-height: 320px;
        background-position: 68% center;
    }

    .contact-hero-grid {
        min-height: 320px;
        padding: 30px 20px 26px;
    }

    .contact-info-shell {
        border-left: 0;
        border-top: 1px solid var(--contact-border);
    }

    .contact-cta-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .contact-page {
        width: min(100%, calc(100% - 28px));
        gap: 22px;
        padding-top: 0;
    }

    .contact-form-shell,
    .contact-info-shell,
    .contact-reasons,
    .contact-cta-strip,
    .contact-map-panel {
        padding: 28px 22px;
    }

    .contact-form-grid,
    .contact-reasons-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-stat-card {
        min-height: 92px;
    }
}

@media (max-width: 640px) {
    .contact-page {
        width: min(100%, calc(100% - 18px));
    }

    .contact-main-panel,
    .contact-reasons,
    .contact-map-panel,
    .contact-cta-strip {
        border-radius: 24px;
    }

    .contact-hero-copy {
        padding: 0;
    }

    .contact-hero-copy h1 {
        max-width: none;
        font-size: 2rem;
        line-height: 1.02;
    }

    .contact-hero-panel {
        min-height: 240px;
        background-position: 72% center;
    }

    .contact-hero-grid {
        min-height: 240px;
        padding: 24px 18px;
    }

    .contact-form-shell,
    .contact-info-shell,
    .contact-reasons,
    .contact-cta-strip,
    .contact-map-panel {
        padding: 24px 18px;
    }

    .contact-info-item {
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 16px;
    }

    .contact-info-icon {
        width: 48px;
        height: 48px;
    }

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

    .contact-primary-btn,
    .contact-secondary-btn,
    .contact-cta-btn,
    .contact-form button {
        width: 100%;
    }

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