.section-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--sjhi-medical-blue);
}

.section-eyebrow-light {
    color: rgba(255, 255, 255, 0.9);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sjhi-primary-green);
}

.section-copy {
    color: #4a6357;
    max-width: 72ch;
}

.contact-hero {
    background:
        linear-gradient(130deg, rgba(8, 49, 27, 0.84) 0%, rgba(15, 78, 43, 0.8) 45%, rgba(30, 65, 142, 0.72) 100%),
        url('../images/contact.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.contact-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.05rem);
    line-height: 1.06;
}

.contact-copy {
    max-width: 62ch;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-actions .btn i {
    margin-right: 0.35rem;
}

.hero-actions .btn-outline-light {
    border-width: 1.5px;
}

.hero-image-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 16px 30px rgba(2, 24, 13, 0.25);
}

.hero-image-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.quick-contacts {
    background: #fff;
}

.quick-contact-card {
    display: block;
    text-decoration: none;
    border: 1px solid var(--sjhi-border);
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(10, 40, 21, 0.05);
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.quick-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(10, 40, 21, 0.1);
    border-color: #bfd8c8;
}

.quick-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(27, 115, 64, 0.14);
    color: var(--sjhi-primary-green);
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
}

.quick-contact-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sjhi-primary-green);
    font-size: 1.08rem;
    margin-bottom: 0.35rem;
}

.quick-value {
    color: #335748;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.quick-subtitle {
    color: #5c7368;
    font-size: 0.9rem;
}

.department-contacts {
    background: var(--sjhi-surface);
}

.department-card {
    border: 1px solid var(--sjhi-border);
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(10, 40, 21, 0.05);
}

.department-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: #2c4e3d;
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
}

.department-copy {
    color: #4e675a;
    margin-bottom: 0.7rem;
}

.dept-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: #2f5a45;
    font-weight: 700;
    margin-right: 0.65rem;
    margin-bottom: 0.25rem;
}

.dept-link:hover {
    color: var(--sjhi-primary-green);
}

.map-and-form {
    background: #fff;
}

.map-card,
.contact-form-card {
    border: 1px solid var(--sjhi-border);
    border-radius: 14px;
    padding: 1rem;
    background: #fff;
}

.map-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dce8df;
}

.map-wrap iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

.map-note {
    color: #546f62;
    font-size: 0.92rem;
}

.form-notice {
    color: #3f5f50;
}

.form-disclaimer {
    color: #6a4a1f;
    background: #fff8e8;
    border: 1px solid #f0ddb4;
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
}

.form-disclaimer i {
    margin-right: 0.35rem;
}

.form-label {
    font-weight: 700;
    color: #335648;
}

.inquiry-type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.inquiry-pill {
    border: 1px solid #d8e6dc;
    background: #fff;
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #365e48;
    transition: all 0.2s ease;
}

.inquiry-pill:hover,
.inquiry-pill.active {
    background: var(--sjhi-primary-green);
    border-color: var(--sjhi-primary-green);
    color: #fff;
}

.contact-social {
    background: var(--sjhi-surface);
}

.social-pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: #2f5a45;
    border: 1px solid #d6e3da;
    border-radius: 999px;
    background: #fff;
    padding: 0.35rem 0.7rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.social-pill:hover {
    color: #fff;
    background: var(--sjhi-primary-green);
    border-color: var(--sjhi-primary-green);
}

.final-contact-cta {
    background: #fff;
}

.final-cta-card {
    border: 1px solid var(--sjhi-border);
    border-radius: 16px;
    background: linear-gradient(150deg, #f8fcf9 0%, #edf7f1 100%);
    padding: 1.4rem;
}

.final-cta-card .section-copy {
    margin-inline: auto;
}

@media (max-width: 767px) {
    .hero-actions .btn {
        width: 100%;
    }

    .map-wrap iframe {
        height: 260px;
    }

    .inquiry-type-grid {
        gap: 0.35rem;
    }

    .inquiry-pill {
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    .contact-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .contact-copy,
    .section-copy {
        font-size: 0.94rem;
    }

    .quick-contact-card,
    .department-card,
    .map-card,
    .contact-form-card {
        padding: 0.82rem;
        border-radius: 12px;
    }

    .map-wrap iframe {
        height: 220px;
    }

    .social-pill {
        width: 100%;
        justify-content: flex-start;
    }
}
