:root {
    --page-bg: #f4f1ec;
    --card-bg: #ffffff;
    --text-main: #14213d;
    --text-soft: #556070;
    --accent-muted: #c89b4f;
    --border-soft: rgba(15, 23, 42, 0.08);
    --shadow-card: 0 18px 50px rgba(15, 23, 42, 0.08);
    --radius-lg: 26px;
    --radius-md: 22px;
}

/* HERO */
.contact-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.contact-hero--inner {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 0 72px;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.35)
    );
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.contact-hero h1 {
    margin: 0 0 12px;
    font-family: "Cambria", "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.contact-hero p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.92;
}

/* PAGE */
.contact-page {
    padding: 80px 0 100px;
    background: var(--page-bg);
}

/* CARDS */
.contact-card {
    width: 100%;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 2rem;
}

.contact-info-panel {
    border: 1px solid var(--border-soft);
}

.contact-map-panel {
    border: 1px solid transparent;
}

/* DESKTOP LAYOUT FIX */
@media (min-width: 992px) {
    .contact-page .row > [class*="col-"] {
        display: flex;
    }

    .contact-card {
        height: 100%;
    }

    .contact-map-panel {
        display: flex;
        flex-direction: column;
    }

    .contact-map-wrap-large {
        flex: 1 1 auto;
    }
}

/* EYEBROW */
.contact-eyebrow {
    display: inline-block;
    align-self: flex-start;
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #c7a15a;
    color: #7d8491;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

/* TITLES */
.contact-card h2 {
    margin: 0 0 0.75rem;
    font-family: "Cambria", "Times New Roman", serif;
    font-size: clamp(2rem, 2.7vw, 2.5rem);
    line-height: 1.08;
    color: var(--text-main);
}

/* TEXT */
.contact-lead {
    margin: 0 0 1.4rem;
    color: var(--text-soft);
    line-height: 1.75;
    max-width: 46ch;
}

.contact-map-panel .contact-lead {
    max-width: none;
    margin-bottom: 0.85rem;
    white-space: nowrap;
    line-height: 1.65;
}

/* INFO LIST */
.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.contact-info-list li:last-child {
    border-bottom: 0;
}

.contact-info-list i {
    flex: 0 0 auto;
    font-size: 1.2rem;
    color: var(--accent-muted);
    line-height: 1.35;
}

.contact-info-list li > div {
    flex: 1 1 auto;
    min-width: 0;
}

.contact-info-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.contact-info-list a,
.contact-info-list span {
    color: var(--text-soft);
    text-decoration: none;
    line-height: 1.7;
    word-break: normal;
    overflow-wrap: break-word;
}

.contact-info-list a[href^="mailto:"] {
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.contact-info-list a:hover {
    color: var(--accent-muted);
    text-decoration: underline;
}

/* MAP */
.contact-map-wrap {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    background: #e9e4da;
}

.contact-map-wrap-large {
    margin-top: 0.25rem;
    width: 100%;
    min-height: 470px;
    height: 470px;
    display: block;
}

.contact-map-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    filter: saturate(0.9) contrast(0.95);
}

/* LARGE TABLETS / SMALL LAPTOPS */
@media (max-width: 1199.98px) {
    .contact-map-panel .contact-lead {
        white-space: normal;
    }
}

/* TABLET */
@media (max-width: 991.98px) {
    .contact-hero--inner {
        min-height: 290px;
        padding: 88px 0 64px;
    }

    .contact-page {
        padding: 64px 0 28px;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card h2 {
        font-size: clamp(2rem, 4.8vw, 2.3rem);
    }

    .contact-lead,
    .contact-map-panel .contact-lead {
        max-width: none;
        white-space: normal;
    }

    .contact-map-wrap-large {
        min-height: 320px;
        height: 320px;
    }
}

/* MOBILE */
@media (max-width: 575.98px) {
    .contact-hero--inner {
        min-height: 250px;
        padding: 76px 0 56px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 0.84rem;
        line-height: 1.7;
        letter-spacing: 0.08em;
    }

    .contact-page {
        padding: 48px 0 24px;
    }

    .contact-card {
        padding: 1.15rem;
        border-radius: var(--radius-md);
    }

    .contact-card h2 {
        font-size: clamp(1.95rem, 8vw, 2.2rem);
    }

    .contact-lead,
    .contact-map-panel .contact-lead {
        max-width: none;
        white-space: normal;
        line-height: 1.65;
    }

    .contact-info-list li {
        gap: 0.85rem;
        padding: 0.9rem 0;
    }

    .contact-info-list li > div {
        min-width: 0;
        flex: 1 1 auto;
    }

    .contact-info-list a,
    .contact-info-list span {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .contact-info-list a[href^="mailto:"] {
        display: block;
        font-size: 0.95rem;
        line-height: 1.55;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .contact-map-wrap-large {
        min-height: 240px;
        height: 240px;
    }
}

@media (max-width: 390px) {
    .contact-info-list li {
        gap: 0.7rem;
    }

    .contact-info-list i {
        font-size: 1rem;
    }

    .contact-info-list a[href^="mailto:"] {
        display: block;
        font-size: 0.82rem;
        line-height: 1.45;
        white-space: nowrap;
        overflow-wrap: normal;
        word-break: normal;
        letter-spacing: -0.01em;
    }
}