/* ==========================================================================
   Swastik Hospital, Veraval
   ICU & Rehabilitation Center
   Main stylesheet
   ========================================================================== */

:root {
    /* Brand palette, taken from the hospital logo */
    --ink: #12284C;
    --navy: #1E4082;
    --navy-light: #2D5296;
    --red: #D8291F;
    --red-dark: #B01F17;

    /* Neutrals */
    --paper: #FFFFFF;
    --mist: #F1F5FA;
    --mist-deep: #E6EDF6;
    --line: #DCE6F2;
    --slate: #4A5B72;
    --muted: #6E7F96;

    /* Type */
    --font-display: 'Archivo', 'Segoe UI', sans-serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

    /* Scale */
    --fs-hero: clamp(2.05rem, 4.6vw, 3.5rem);
    --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
    --fs-h3: clamp(1.12rem, 1.6vw, 1.32rem);
    --fs-body: 1.0625rem;
    --fs-sm: 0.9375rem;
    --fs-xs: 0.8125rem;

    /* Space */
    --gap: 1rem;
    --gap-lg: 1.75rem;
    --section-y: clamp(3.5rem, 7vw, 6rem);
    --container: 1200px;

    /* Shape */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(18, 40, 76, 0.06), 0 2px 8px rgba(18, 40, 76, 0.04);
    --shadow-md: 0 4px 12px rgba(18, 40, 76, 0.08), 0 12px 32px rgba(18, 40, 76, 0.07);

    --header-h: 74px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--slate);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.16;
    letter-spacing: -0.017em;
    margin: 0 0 0.5em;
    font-weight: 700;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 650; }
h4 { font-size: 1.02rem; font-weight: 650; }

p { margin: 0 0 1.1em; max-width: 68ch; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }
strong { color: var(--ink); font-weight: 650; }

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
    border-radius: 3px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    z-index: 999;
    border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Emergency strip (desktop). Red is reserved for urgent, always-on items.
   -------------------------------------------------------------------------- */

.emergency-strip {
    background: var(--red);
    color: #fff;
    font-size: var(--fs-xs);
    letter-spacing: 0.01em;
}

.emergency-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
    min-height: 38px;
    flex-wrap: wrap;
}

.emergency-strip__left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.emergency-strip__pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.75);
    animation: pulse 2.4s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70%  { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.emergency-strip a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.emergency-strip a:hover { text-decoration: underline; color: #fff; }

.emergency-strip__right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.emergency-strip__meta { opacity: 0.9; }

@media (max-width: 760px) {
    .emergency-strip__meta { display: none; }
    .emergency-strip .container { justify-content: center; min-height: 34px; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand img { height: 44px; width: auto; }

.brand__text { display: flex; flex-direction: column; line-height: 1.05; }

.brand__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.brand__sub {
    font-size: 0.6rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 650;
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 0.35rem; }

.nav a {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    padding: 0.5rem 0.7rem;
    border-radius: var(--r-sm);
    white-space: nowrap;
}
.nav a:hover { background: var(--mist); color: var(--navy); }
.nav a[aria-current="page"] {
    color: var(--navy);
    box-shadow: inset 0 -2px 0 var(--red);
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    width: 42px; height: 42px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}
.nav-toggle span {
    display: block;
    width: 19px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
    .nav {
        position: fixed;
        inset: calc(var(--header-h) + 38px) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border-bottom: 0;
        padding: 0 clamp(1rem, 4vw, 2rem);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: none;
    }
    .nav.is-open {
        max-height: 80vh;
        overflow-y: auto;
        padding: 0.5rem clamp(1rem, 4vw, 2rem) 1.25rem;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
    }
    .nav a {
        padding: 0.85rem 0.35rem;
        border-bottom: 1px solid var(--mist-deep);
        border-radius: 0;
    }
    .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: 0.8rem; }
    .nav-toggle { display: flex; }
    .header-actions .btn--sm { display: none; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.005em;
    padding: 0.85rem 1.5rem;
    border-radius: var(--r-sm);
    border: 1.5px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}

.btn--emergency { background: var(--red); color: #fff; }
.btn--emergency:hover { background: var(--red-dark); color: #fff; }

.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--ink); color: #fff; }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); background: var(--mist); }

.btn--ghost-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: var(--section-y) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: rgba(255,255,255,0.82); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--tight { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.is-center p { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--slate); font-size: 1.08rem; margin-bottom: 0; }
.section-head h2 { margin-bottom: 0.45rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    background: linear-gradient(180deg, var(--mist) 0%, #fff 100%);
    padding: clamp(2.75rem, 5.5vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
    border-bottom: 1px solid var(--line);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.hero h1 { margin-bottom: 1rem; }
.hero__lede { font-size: 1.14rem; color: var(--slate); margin-bottom: 1.6rem; }

.hero__where {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: var(--fs-sm);
    color: var(--muted);
    margin-bottom: 1.5rem;
}
.hero__where svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--navy); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }

/* Specialty markers: the three things this hospital actually does */
.hero__specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.hero__specialties li {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
}
.hero__specialties li::before {
    content: "";
    width: 6px; height: 6px;
    background: var(--navy);
    border-radius: 50%;
    flex-shrink: 0;
}
.hero__specialties li.is-urgent::before { background: var(--red); }

.hero__media { position: relative; }
.hero__media img {
    width: 100%;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Hours badge over hero image */
.hours-badge {
    position: absolute;
    left: -14px;
    bottom: -18px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
    border-radius: var(--r-md);
    padding: 0.85rem 1.15rem;
    box-shadow: var(--shadow-md);
    max-width: 260px;
}
.hours-badge__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    margin-bottom: 0.15rem;
}
.hours-badge__line { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { margin-top: 0.5rem; }
    .hours-badge { left: auto; right: 10px; bottom: -14px; }
}

/* --------------------------------------------------------------------------
   Quick actions
   -------------------------------------------------------------------------- */

.quick-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.quick-card {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.25rem 1.35rem;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.quick-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.quick-card.is-urgent { border-left: 4px solid var(--red); }

.quick-card__icon {
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
    background: var(--mist);
    color: var(--navy);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.quick-card.is-urgent .quick-card__icon { background: #FDECEA; color: var(--red); }
.quick-card__icon svg { width: 20px; height: 20px; }

.quick-card > span:last-child { display: block; }

.quick-card__title {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    font-size: 1rem;
    margin-bottom: 0.1rem;
}
.quick-card__meta { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }

@media (max-width: 780px) { .quick-row { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Departments
   -------------------------------------------------------------------------- */

.dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-lg);
}

.dept-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.dept-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow-md); }

.dept-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.dept-card__media img { width: 100%; height: 100%; object-fit: cover; }

.dept-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.dept-card__body h3 { margin-bottom: 0.4rem; }
.dept-card__body p { font-size: var(--fs-sm); margin-bottom: 1rem; }

.dept-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: var(--fs-sm);
}
.dept-card__list li {
    padding-left: 1.25rem;
    position: relative;
    color: var(--slate);
    margin-bottom: 0.3rem;
}
.dept-card__list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.62em;
    width: 7px; height: 2px;
    background: var(--navy-light);
}

.dept-card__link {
    margin-top: auto;
    font-family: var(--font-display);
    font-weight: 650;
    font-size: var(--fs-sm);
    color: var(--navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.dept-card__link:hover { color: var(--red); }
.dept-card__link svg { width: 15px; height: 15px; }

@media (max-width: 980px) { .dept-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Facilities, grouped by department rather than numbered
   -------------------------------------------------------------------------- */

.fac-group + .fac-group { margin-top: clamp(2.25rem, 4vw, 3.25rem); }

.fac-group__head {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 1.5rem;
}
.fac-group__head h3 { margin: 0; font-size: 1.18rem; }
.fac-group__count { font-size: var(--fs-xs); color: var(--muted); margin-left: auto; white-space: nowrap; }

.fac-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.fac-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}
.fac-item__media { aspect-ratio: 4 / 3; background: var(--mist); }
.fac-item__media img { width: 100%; height: 100%; object-fit: cover; }
.fac-item__label {
    padding: 0.7rem 0.85rem 0.85rem;
    font-family: var(--font-display);
    font-weight: 650;
    font-size: 0.9rem;
    color: var(--ink);
    line-height: 1.3;
}
.fac-item__note { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-xs); color: var(--muted); margin-top: 0.15rem; }

@media (max-width: 940px) { .fac-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .fac-grid { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Doctors
   -------------------------------------------------------------------------- */

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-lg);
}

.doctor-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.doctor-card__media { aspect-ratio: 1 / 1; background: var(--mist); }
.doctor-card__media img { width: 100%; height: 100%; object-fit: cover; }

.doctor-card__body { padding: 1.25rem 1.35rem 1.45rem; flex: 1; display: flex; flex-direction: column; }
.doctor-card__body h3 { margin-bottom: 0.2rem; font-size: 1.14rem; }

.doctor-card__qual {
    font-size: var(--fs-sm);
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.doctor-card__role {
    display: inline-block;
    align-self: flex-start;
    font-size: var(--fs-xs);
    font-weight: 650;
    color: var(--ink);
    background: var(--mist);
    border-radius: 100px;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.8rem;
}
.doctor-card__role.is-award { background: #FDECEA; color: var(--red-dark); }

.doctor-card__body p { font-size: var(--fs-sm); margin-bottom: 0; }

@media (max-width: 980px) { .doctor-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* --------------------------------------------------------------------------
   Trust points
   -------------------------------------------------------------------------- */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-lg);
}

.trust-item { padding-top: 1.1rem; border-top: 3px solid var(--navy); }
.trust-item.is-urgent { border-top-color: var(--red); }
.trust-item h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.trust-item p { font-size: var(--fs-sm); margin-bottom: 0; color: var(--slate); }

.section--ink .trust-item { border-top-color: rgba(255,255,255,0.28); }
.section--ink .trust-item.is-urgent { border-top-color: var(--red); }
.section--ink .trust-item p { color: rgba(255,255,255,0.72); }

@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Location and hours
   -------------------------------------------------------------------------- */

.locate-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(1.75rem, 3.5vw, 3rem);
    align-items: start;
}

.info-block + .info-block { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.info-block h3 { font-size: 1.02rem; margin-bottom: 0.6rem; }
.info-block p { font-size: var(--fs-sm); margin-bottom: 0.35rem; }
.info-block a { font-weight: 600; }

.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours-table th, .hours-table td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours-table th { font-family: var(--font-display); font-weight: 650; color: var(--ink); font-weight: 600; }
.hours-table td { color: var(--slate); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .is-urgent td, .hours-table .is-urgent th { color: var(--red); font-weight: 700; }

.map-frame {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--mist);
}
.map-frame iframe { display: block; width: 100%; height: 430px; border: 0; }

@media (max-width: 900px) {
    .locate-grid { grid-template-columns: 1fr; }
    .map-frame iframe { height: 340px; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 820px; }

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 0;
}
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1.1rem 2.5rem 1.1rem 0;
    font-family: var(--font-display);
    font-weight: 650;
    font-size: 1.02rem;
    color: var(--ink);
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    position: absolute;
    right: 6px; top: 1.5rem;
    width: 10px; height: 10px;
    border-right: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--navy); }
.faq__answer { padding: 0 2.5rem 1.25rem 0; }
.faq__answer p { font-size: var(--fs-sm); margin-bottom: 0.7rem; }
.faq__answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band { background: var(--ink); color: #fff; padding: clamp(2.75rem, 5vw, 4rem) 0; }
.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-lg);
    flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255,255,255,0.76); margin-bottom: 0; font-size: 1.05rem; }
.cta-band__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
    background: var(--mist);
    border-bottom: 1px solid var(--line);
    padding: clamp(2.25rem, 4.5vw, 3.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.page-hero h1 { margin-bottom: 0.7rem; max-width: 20ch; }
.page-hero p { font-size: 1.1rem; color: var(--slate); margin-bottom: 0; }

.breadcrumb { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Prose and split content
   -------------------------------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 4vw, 3.25rem);
    align-items: start;
}
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.split img { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); width: 100%; }

@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } }

.prose h2 { margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.15em; }
.prose li { font-size: var(--fs-body); }

.callout {
    background: var(--mist);
    border-left: 4px solid var(--navy);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: 1.1rem 1.35rem;
    margin: 1.5rem 0;
}
.callout.is-urgent { border-left-color: var(--red); background: #FDECEA; }
.callout p { margin-bottom: 0; font-size: var(--fs-sm); }
.callout h3 { font-size: 1rem; margin-bottom: 0.3rem; }

/* Sticky side card on service pages */
.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-h) + 20px);
}
.side-card h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.side-card p { font-size: var(--fs-sm); margin-bottom: 1rem; }
.side-card .btn { margin-bottom: 0.6rem; }
.side-card__note { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 0; }

@media (max-width: 900px) { .side-card { position: static; } }

/* Checklist used on service pages */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li {
    position: relative;
    padding-left: 1.9rem;
    margin-bottom: 0.65rem;
    font-size: var(--fs-body);
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.42em;
    width: 8px; height: 14px;
    border-right: 2.5px solid var(--navy);
    border-bottom: 2.5px solid var(--navy);
    transform: rotate(42deg);
}

/* Two column service list */
.cols-2 { columns: 2; column-gap: 2.5rem; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 700px) { .cols-2 { columns: 1; } }

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--ink);
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: var(--fs-xs); color: var(--muted); }

@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: clamp(2.75rem, 5vw, 4rem) 0 0; font-size: var(--fs-sm); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding-bottom: 2.5rem;
}

.footer-brand img { height: 62px; width: auto; background: #fff; padding: 8px 10px; border-radius: var(--r-sm); margin-bottom: 0.9rem; }
.footer-brand p { font-size: var(--fs-sm); color: rgba(255,255,255,0.66); margin-bottom: 0.9rem; max-width: 34ch; }

.site-footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 0.9rem; letter-spacing: 0.01em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.72); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; line-height: 1.5; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: rgba(255,255,255,0.5); }
.footer-contact strong { color: #fff; }

.footer-emergency {
    display: block;
    background: var(--red);
    color: #fff;
    border-radius: var(--r-sm);
    padding: 0.7rem 0.9rem;
    margin-bottom: 1rem;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-display);
}
.footer-emergency:hover { background: var(--red-dark); color: #fff; text-decoration: none; }
.footer-emergency span { display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 400; opacity: 0.9; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.13);
    padding: 1.25rem 0 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: var(--gap);
    flex-wrap: wrap;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.5);
}
.footer-bottom ul { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-bottom li { margin: 0; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Mobile action bar. Emergency access stays within thumb reach.
   -------------------------------------------------------------------------- */

.mobile-bar { display: none; }

@media (max-width: 780px) {
    .mobile-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 120;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -4px 18px rgba(18, 40, 76, 0.1);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        padding: 0.9rem 0.5rem;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 0.92rem;
        text-decoration: none;
        color: var(--ink);
    }
    .mobile-bar a.is-urgent { background: var(--red); color: #fff; }
    .mobile-bar svg { width: 17px; height: 17px; }
    body { padding-bottom: 62px; }
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

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

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
    .site-header, .mobile-bar, .emergency-strip, .cta-band, .map-frame { display: none; }
    body { color: #000; }
    a { text-decoration: underline; }
}
