/* 111 Vet Clinic — shared stylesheet
   Used by every page in /site (index, services, service-detail, emergency,
   book, contact, about, integrative-care, privacy, styleguide). */

:root {
    --bs-primary: #1b3d9e;
    --bs-primary-rgb: 27, 61, 158;
    --bs-danger: #d42b2b;
    --bs-danger-rgb: 212, 43, 43;
    --bs-success: #2b8b52;
    --bs-body-font-family: "Albert Sans", system-ui, sans-serif;
    --bs-body-color: #323242;
    --bs-body-font-size: 16px;
    --bs-link-color-rgb: 27, 61, 158;
    --bs-link-hover-color-rgb: 19, 44, 119;
    --c-blue-dark: #132c77;
    --c-blue-light: #e8edf8;
    --c-blue-muted: #6b82c4;
    --c-ink: #0f1629;
    --c-ink-2: #1a1a2e;
    --c-bg: #f4f4f9;
    --c-border: #e8e8ec;
    --f-head: "Poppins", system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--f-head);
}

/* ════════════════════════════════════════════════════════════
   BUTTONS
   Brand-token overrides for Bootstrap 5.3 button variants.
   ──────────────────────────────────────────────────────── */
.btn {
    font-weight: 600;
}

/* Bootstrap 5.3 hardcodes per-component CSS variables to its default palette
   (e.g. --bs-btn-bg: #0d6efd) and ignores --bs-primary set at :root.
   Re-point each variant we use at our brand tokens. */

/* Filled blue */
.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--c-blue-dark);
    --bs-btn-hover-border-color: var(--c-blue-dark);
    --bs-btn-active-bg: var(--c-blue-dark);
    --bs-btn-active-border-color: var(--c-blue-dark);
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}
/* Outline blue (border + text in primary, fills on hover) */
.btn-outline-primary {
    border-width: 2px;
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}
/* Filled red */
.btn-danger {
    --bs-btn-bg: var(--bs-danger);
    --bs-btn-border-color: var(--bs-danger);
    --bs-btn-hover-bg: #b42222;
    --bs-btn-hover-border-color: #b42222;
    --bs-btn-active-bg: #b42222;
    --bs-btn-active-border-color: #b42222;
    --bs-btn-disabled-bg: var(--bs-danger);
    --bs-btn-disabled-border-color: var(--bs-danger);
}
/* Outline red (used by 'Emergency' nav pill) */
.btn-outline-danger {
    border-width: 2px;
    --bs-btn-color: var(--bs-danger);
    --bs-btn-border-color: var(--bs-danger);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-danger);
    --bs-btn-hover-border-color: var(--bs-danger);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-danger);
    --bs-btn-active-border-color: var(--bs-danger);
    --bs-btn-disabled-color: var(--bs-danger);
    --bs-btn-disabled-border-color: var(--bs-danger);
}
/* btn-light / btn-outline-light: Bootstrap's defaults are already neutral.
   We only customise the border-width to match the project's outline-button convention. */
.btn-outline-light {
    border-width: 2px;
}

/* Trinidad orange — the 'Send Email' brand-accent variant.
   Defined here so book.html doesn't need to inline the colour. */
.btn-warning-orange {
    --bs-btn-color: #fff;
    --bs-btn-bg: #e8741b;
    --bs-btn-border-color: #e8741b;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #cd5e0a;
    --bs-btn-hover-border-color: #cd5e0a;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #cd5e0a;
    --bs-btn-active-border-color: #cd5e0a;
}

/* ── Button sizes (padding-based, text auto-centred) ── */
/* ~40px tall — nav-sized */
.btn-pill-sm {
    padding: 7.5px 22px;
    font-size: 14.5px;
}
/* ~54px tall — default CTA */
.btn-pill-md {
    padding: 14px 28px;
}
/* ~58px tall — hero/featured CTA */
.btn-pill-lg {
    padding: 16px 28px;
}

/* ════════════════════════════════════════════════════════════
   TYPOGRAPHY HELPERS — eyebrow, section-title, section-lead
   ──────────────────────────────────────────────────────── */
.eyebrow {
    font-family: "Albert Sans", sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin: 0;
}

.section-title {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.5px;
    color: var(--c-ink-2);
    line-height: 1.15;
    margin: 0;
}

.section-lead {
    font-family: "Albert Sans", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #565664;
    max-width: 610px;
    margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════
   GLOBAL CHROME — topbar, navbar, footer
   ──────────────────────────────────────────────────────── */

/* ── Top announcement bar ── */
.topbar {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

    .topbar strong {
        font-weight: 700;
        font-size: 13px;
    }

    .topbar a {
        color: #fff;
        text-decoration: underline;
        font-weight: 500;
        white-space: nowrap;
    }

/* ── Sticky navigation ── */
.site-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border);
    min-height: 72px;
}

    .site-nav .navbar-brand {
        font-family: var(--f-head);
        font-weight: 700;
        font-size: 22px;
        letter-spacing: -0.3px;
        color: var(--bs-primary);
    }

        .site-nav .navbar-brand .logo {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
        }

    .site-nav .nav-link {
        font-family: var(--f-head);
        font-weight: 500;
        font-size: 15px;
        color: #323242;
    }

        .site-nav .nav-link:hover,
        .site-nav .nav-link.active {
            color: var(--bs-primary);
        }

/* ════════════════════════════════════════════════════════════
   HOME PAGE — hero with full-bleed image, why-tiles, services grid,
   what-sets-us-apart, testimonials, find-us
   ──────────────────────────────────────────────────────── */

/* ── Hero (image, gradient overlay, CTA pill) ── */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    display: flex;
    align-items: center;
    color: #fff;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(15, 22, 41, 0.75) 0%, rgba(15, 22, 41, 0.35) 55%, transparent 80%);
        z-index: 1;
    }

.hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding: 80px 0 96px;
}

.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-bg);
    color: var(--bs-danger);
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
}

.hero__pill-dot {
    width: 8px;
    height: 8px;
    background: var(--bs-danger);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: clamp(38px, 5vw, 52px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0;
    color: #fff;
}

.hero p {
    font-size: 20px;
    line-height: 1.5;
    max-width: 437px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* ── Why-tile (4 colour-circle variants) ── */
.why-tile {
    text-align: center;
    padding: 20px 10px;
}

.why-tile__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

    .why-tile__icon.variant-1 {
        background: var(--bs-primary);
        border-radius: 50%;
        font-family: "Albert Sans", sans-serif;
        font-weight: 700;
        line-height: 1;
        padding-top: 6px;
        flex-direction: column;
    }

        .why-tile__icon.variant-1 .lg {
            font-size: 18px;
            display: block;
        }

        .why-tile__icon.variant-1 .sm {
            font-size: 10px;
            letter-spacing: 0.5px;
            display: block;
            margin-top: 2px;
        }

    .why-tile__icon.variant-2 {
        background: var(--bs-danger);
        border-radius: 50%;
        font-size: 30px;
    }

    .why-tile__icon.variant-3 {
        background: var(--bs-primary);
        border-radius: 50%;
        font-size: 30px;
    }

        .why-tile__icon.variant-3 i:first-child {
            position: absolute;
            left: 14px;
            top: 14px;
            font-size: 20px;
            color: #fff;
        }

        .why-tile__icon.variant-3 i:last-child {
            position: absolute;
            right: 14px;
            bottom: 14px;
            font-size: 20px;
            color: #fff;
        }

    .why-tile__icon.variant-4 {
        background: var(--bs-success);
        border-radius: 50%;
        font-size: 30px;
    }

.why-tile h3 {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.6;
    color: var(--c-ink-2);
    margin: 0 0 10px;
}

.why-tile p {
    font-size: 16px;
    line-height: 1.6;
    color: #323242;
    margin: 0;
}

/* ── Service home cards (vertical) ── */
.service-home {
    background: var(--c-bg);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .service-home:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(15, 22, 41, 0.08);
    }

.service-home__media {
    height: 200px;
    background: #d8dce2;
    overflow: hidden;
    position: relative;
}

    .service-home__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(rgba(71, 92, 110, 0.12), rgba(177, 177, 177, 0.12));
        mix-blend-mode: multiply;
    }

    .service-home__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.service-home__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 30px 30px;
    flex: 1;
}

.service-home__title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.6;
    color: var(--c-ink);
    margin: 0;
    transition: color 0.2s;
}

.service-home__desc {
    font-size: 16px;
    line-height: 1.6;
    color: #323242;
    margin: 0;
}

.service-home__link {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 15px;
    color: var(--bs-primary);
    margin-top: auto;
    transition: color 0.2s;
}

    .service-home__link::after {
        content: "  →";
        white-space: pre;
        transition: margin-left 0.2s;
    }

.service-home:hover .service-home__title {
    color: var(--bs-primary);
}

.service-home:hover .service-home__link {
    color: var(--bs-danger);
}

    .service-home:hover .service-home__link::after {
        margin-left: 4px;
    }

/* ── What Sets Us Apart ── */
.apart-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(27, 61, 158, 0.08);
    height: 430px;
}

    .apart-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.apart-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.apart-row__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(27, 61, 158, 0.08);
}

.apart-row h4 {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.67;
    color: var(--c-ink-2);
    margin: 0 0 10px;
}

.apart-row p {
    font-size: 16px;
    line-height: 1.4;
    color: #323242;
    margin: 0;
}

/* ── Testimonials ── */
.testimonials {
    background: var(--bs-primary);
    color: #fff;
    padding: 96px 0;
}

    .testimonials .eyebrow {
        color: rgba(255, 255, 255, 0.85);
    }

    .testimonials .section-title {
        color: #fff;
    }

    .testimonials .section-lead {
        color: rgba(255, 255, 255, 0.85);
    }

.testi-card {
    background: rgba(26, 26, 46, 0.3);
    border-radius: 16px;
    padding: 27px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.testi-card__stars {
    color: #f4b63e;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 1px;
}

    .testi-card__stars > span {
        display: inline-flex;
        width: 20px;
        height: 20px;
        align-items: center;
        justify-content: center;
    }

    .testi-card__stars img {
        width: 14.27px;
        height: 13.63px;
        display: block;
    }

.testi-card blockquote {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
    color: #fff;
}

.testi-card cite {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    font-style: normal;
}

/* ── Find Us section ── */
.find-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(27, 61, 158, 0.08);
}

    .find-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.find-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.find-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.find-item__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: var(--c-blue-light);
    color: var(--bs-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.find-item h4 {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    color: var(--c-ink-2);
    margin: 0 0 2px;
}

.find-item p,
.find-item a {
    font-size: 20px;
    line-height: 1.5;
    color: #323242;
    margin: 0;
    text-decoration: none;
}

.find-item a {
    transition: color 0.15s;
}

    .find-item a:hover {
        color: var(--bs-primary);
        text-decoration: underline;
    }

.find-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

    .find-actions .btn {
        padding: 12px 24px;
    }

/* ── Site footer ── */
.site-footer {
    background: var(--c-blue-dark);
    color: #fff;
    padding: 64px 0 32px;
}

    .site-footer h4 {
        font-family: var(--f-head);
        font-weight: 400;
        font-size: 20px;
        letter-spacing: -0.3px;
        margin: 0 0 10px;
    }

    .site-footer .tagline {
        color: var(--c-blue-muted);
        font-size: 18px;
        font-weight: 500;
        line-height: 1.5;
        max-width: 281px;
        margin: 0 0 40px;
    }

    .site-footer .footer-heading {
        font-family: var(--f-head);
        font-weight: 600;
        font-size: 15px;
        color: var(--c-blue-muted);
        margin: 0 0 16px;
    }

    .site-footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        .site-footer ul a {
            color: #fff;
            font-weight: 500;
            font-size: 16px;
            text-decoration: none;
            transition: opacity 0.15s;
        }

            .site-footer ul a:hover {
                opacity: 0.7;
            }

.footer-emergency {
    background: var(--bs-danger);
    border: 1px solid rgba(212, 43, 43, 0.2);
    border-radius: 10px;
    padding: 20px 21px;
    color: #fff;
}

    .footer-emergency .title {
        font-family: var(--f-head);
        font-size: 22px;
        font-weight: 400;
        letter-spacing: -0.3px;
        margin: 0;
        color: #fff;
    }

    .footer-emergency .caption {
        font-weight: 600;
        font-size: 15px;
        display: block;
        margin: 0 0 7px;
        color: #fff;
    }

    .footer-emergency .phone {
        font-family: var(--f-head);
        font-weight: 400;
        font-size: 36px;
        line-height: 1.2;
        letter-spacing: -0.3px;
        color: #fff;
        text-decoration: none;
        display: block;
    }

.footer-base {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 25px;
    font-size: 14px;
    font-weight: 500;
}

    .footer-base .copy {
        color: var(--c-blue-muted);
        font-weight: 500;
    }

    .footer-base .sep {
        width: 1px;
        height: 14px;
        background: #d9d9d9;
        opacity: 0.2;
        display: inline-block;
    }

    .footer-base .social a {
        color: #fff;
        display: inline-flex;
        transition: opacity 0.15s;
    }

        .footer-base .social a:hover {
            opacity: 0.7;
        }

        .footer-base .social a > * {
            width: 25px;
            height: 24px;
            display: block;
        }

/* ── Footer heartbeat logo composite ── */
.logo-mark {
    position: relative;
    width: 127.2px;
    height: 55.6px;
    color: #fff;
}

    .logo-mark > * {
        position: absolute;
    }

    .logo-mark .mark-primary {
        left: 0;
        top: 2px;
        width: 73.5px;
        height: 53.6px;
    }

    .logo-mark .mark-paw {
        left: 69.18%;
        top: 26.97%;
        width: 16.84%;
        height: 35.32%;
    }

    .logo-mark .mark-cross {
        left: 55.03%;
        top: 0;
        width: 44.97%;
        height: 89.89%;
    }

@media (max-width: 767.98px) {
    .hero {
        min-height: 560px;
    }

        .hero::before {
            background: linear-gradient(rgba(15, 22, 41, 0.65), rgba(15, 22, 41, 0.45));
        }

    .apart-img {
        height: 280px;
    }
}

.ico-stack {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.ico-layer {
    position: absolute;
    display: block;
    line-height: 0;
}

    .ico-layer svg {
        width: 100%;
        height: 100%;
        display: block;
    }

.ico-inner {
    display: inline-block;
    line-height: 0;
}

    .ico-inner svg {
        width: 100%;
        height: 100%;
        display: block;
    }

.why-tile__icon.variant-3 {
    background: #1b3d9e;
}

    .why-tile__icon.variant-3 svg {
        overflow: visible;
    }

/* ── Services page additions ───────────────────────── */

.hero-banner {
    background: var(--bs-primary);
    color: #fff;
    padding: 80px 24px;
    text-align: center;
}

    .hero-banner h1 {
        font-weight: 400;
        font-size: clamp(32px, 5vw, 48px);
        letter-spacing: -0.5px;
        margin: 0 0 16px;
        line-height: 1.1;
    }

    .hero-banner p {
        font-family: var(--f-head);
        font-weight: 400;
        font-size: clamp(17px, 2vw, 20px);
        letter-spacing: -0.3px;
        max-width: 560px;
        margin: 0 auto;
    }

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    margin: 0;
}

    .breadcrumb .breadcrumb-item a {
        color: var(--bs-primary);
        font-weight: 600;
        text-decoration: none;
    }

        .breadcrumb .breadcrumb-item a:hover {
            text-decoration: underline;
        }

    .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        color: #565664;
    }

/* Services grid (horizontal cards) */
.services {
    background: var(--c-bg);
}

.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 0;
    height: 100%;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .service-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(15, 22, 41, 0.08);
    }

.service-card__media {
    flex-shrink: 0;
    width: 100%;
    height: 200px;
    position: relative;
}

    .service-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.service-card__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 30px 30px;
    flex: 1;
}

.service-card__title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.6;
    color: var(--c-ink);
    margin: 0;
    transition: color 0.2s;
}

.service-card__desc {
    font-size: 16px;
    line-height: 1.6;
    color: #323242;
    margin: 0;
}

.service-card__link {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 15px;
    color: var(--bs-primary);
    margin-top: auto;
    transition: color 0.2s;
}

    .service-card__link::after {
        content: "  →";
        white-space: pre;
        transition: margin-left 0.2s;
    }

.service-card:hover .service-card__title {
    color: var(--bs-primary);
}

.service-card:hover .service-card__link {
    color: var(--bs-danger);
}

    .service-card:hover .service-card__link::after {
        margin-left: 4px;
    }

@media (min-width: 576px) {
    .service-card {
        flex-direction: row;
    }

    .service-card__media {
        width: 240px;
        height: auto;
    }
}

/* Tag pills */
.tag {
    display: inline-block;
    background: var(--c-blue-light);
    color: var(--bs-primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tag--urgent {
    color: var(--bs-danger);
}

/* CTA */
.cta {
    background: var(--c-bg);
    text-align: center;
    padding: 56px 24px 72px;
}

    .cta h2 {
        font-weight: 400;
        font-size: 36px;
        letter-spacing: -0.3px;
        color: var(--c-ink-2);
        margin: 0 0 16px;
    }

    .cta p {
        font-size: 16px;
        color: #323242;
        margin: 0 0 32px;
    }

    .cta .btn {
        padding: 14px 28px;
    }

/* ════════════════════════════════════════════════════════════
   PER-PAGE STYLES
   ──────────────────────────────────────────────────────── */
/* ── Privacy / legal text page ─────────────────────── */
.legal-h2 {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.6;
    color: var(--c-ink-2);
    margin: 36px 0 16px;
}

.legal-list {
    padding-left: 20px;
    margin-bottom: 16px;
}

    .legal-list li {
        margin-bottom: 8px;
        line-height: 1.6;
    }

.legal-contact {
    background: var(--c-blue-light);
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
}

    .legal-contact a {
        color: var(--bs-primary);
        text-decoration: none;
        font-weight: 600;
    }

        .legal-contact a:hover {
            text-decoration: underline;
        }

/* ── Book Appointment cards ────────────────────────── */
.book-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 22, 41, 0.04);
}

.book-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.book-card h3 {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 18px;
    color: var(--c-ink-2);
    margin: 0 0 12px;
}

.book-card > p {
    font-size: 15px;
    color: #565664;
    line-height: 1.6;
    margin: 0 0 16px;
}

.book-card__small {
    font-size: 14px;
    color: #565664;
    margin-bottom: 20px;
}

    .book-card__small strong {
        color: var(--c-ink-2);
    }

    .book-card__small a {
        color: inherit;
        text-decoration: none;
        transition: color 0.15s;
    }

        .book-card__small a:hover {
            color: var(--bs-primary);
            text-decoration: underline;
        }

.emergency-callout {
    background: var(--bs-danger);
    color: #fff;
    padding: 28px 32px;
    border-radius: 16px;
    text-align: center;
}

.emergency-callout__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}

.emergency-callout h3 {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 22px;
    margin: 0 0 8px;
    color: #fff;
}

.emergency-callout p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* ── Emergency page ────────────────────────────────── */
.hero-emergency {
    background: linear-gradient(134.8deg, rgb(139, 26, 26) 0%, rgb(212, 43, 43) 50%, rgb(192, 57, 43) 100%);
    color: #fff;
    padding: 64px 48px 80px;
}

    .hero-emergency h1 {
        font-family: var(--f-head);
        font-weight: 400;
        font-size: clamp(34px, 5vw, 48px);
        line-height: 1.6;
        margin: 0 0 16px;
        letter-spacing: -1px;
        color: #fff;
    }

    .hero-emergency p {
        font-size: 20px;
        line-height: 1.5;
        max-width: 560px;
        margin: 0 auto 32px;
    }

        .hero-emergency p strong {
            font-weight: 700;
        }

.emergency-phone-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 16px 38px;
    border-radius: 60px;
    font-family: var(--f-head);
    font-weight: 400;
    text-decoration: none;
    transition: background 0.15s;
}

    .emergency-phone-pill:hover {
        background: rgba(255, 255, 255, 0.22);
        color: #fff;
    }

    .emergency-phone-pill .dot {
        width: 12px;
        height: 12px;
        background: #4ade80;
        border-radius: 50%;
        box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
        animation: pulse 2s infinite;
        flex-shrink: 0;
    }

    .emergency-phone-pill .num {
        font-size: clamp(28px, 4vw, 36px);
        line-height: 1.2;
    }

.triage-callout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--bs-danger);
    border-radius: 10px;
    padding: 25px 49px;
    text-align: center;
}

.triage-callout__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.triage-callout p {
    margin: 0;
    font-size: 18px;
    line-height: 1.78;
    color: var(--c-ink);
    font-weight: 600;
    max-width: 747px;
}

.warning-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
}

    .warning-row i {
        color: var(--bs-danger);
        font-size: 20px;
        flex-shrink: 0;
        line-height: 1.2;
    }

/* Desktop (≥992px): 6 cards in a single row with arrows between, no wrapping (cards shrink to fit). */
.emergency-process {
    display: flex;
    align-items: stretch;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
}

    .emergency-process .step {
        flex: 1 1 0;
        min-width: 0;
        max-width: 200px;
    }

.emergency-process__arrow {
    width: 14px;
    height: 18px;
    opacity: 0.3;
    align-self: center;
    flex-shrink: 0;
}

/* Tablet (576–991px): force 3 per row (so 6 cards = 2 even rows, never an orphan).
   Hide arrows since they don't make sense between wrapped rows. */
@media (max-width: 991.98px) {
    .emergency-process {
        flex-wrap: wrap;
    }

    .emergency-process__arrow {
        display: none;
    }

    .emergency-process .step {
        flex: 0 0 calc((100% - 24px) / 3);
        max-width: none;
    }
}

/* Mobile (<576px): force 2 per row (so 6 cards = 3 even rows, never an orphan). */
@media (max-width: 575.98px) {
    .emergency-process .step {
        flex: 0 0 calc((100% - 12px) / 2);
    }
}

.step {
    background: #fff;
    border-radius: 16px;
    padding: 30px 12px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 22, 41, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.step__icon {
    width: 56px;
    height: 56px;
}

.step h4 {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 17px;
    margin: 0;
    color: var(--c-ink-2);
    line-height: 1.6;
}

.step p {
    font-size: 14px;
    color: #323242;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.info-block {
    padding: 40px;
    border-radius: 16px;
}

    .info-block h3 {
        font-family: var(--f-head);
        font-weight: 500;
        font-size: 28px;
        line-height: 1.6;
        color: var(--c-ink-2);
        margin: 0 0 12px;
    }

    .info-block p,
    .info-block ul {
        font-size: 17px;
        line-height: 1.7;
        color: #323242;
        margin: 0 0 12px;
    }

    .info-block ul {
        padding-left: 25px;
        list-style: disc;
    }

    .info-block li {
        margin-bottom: 12px;
    }

.cta-emergency {
    background: var(--bs-danger);
    color: #fff;
    padding: 55px 48px 96px;
}

    .cta-emergency h2 {
        font-family: var(--f-head);
        font-weight: 400;
        font-size: clamp(26px, 3.5vw, 32px);
        line-height: 1.6;
        margin: 0 0 10px;
        color: #fff;
        letter-spacing: 0;
    }

    .cta-emergency p {
        font-size: 16px;
        font-weight: 500;
        opacity: 0.95;
        margin: 0;
    }

    .cta-emergency .btn-light {
        background: #fff;
        color: var(--bs-danger);
        font-weight: 600;
    }

        .cta-emergency .btn-light:hover {
            background: rgba(255, 255, 255, 0.92);
            color: var(--bs-danger);
        }

    .cta-emergency .btn-outline-light {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.7);
    }

/* ── Contact page ──────────────────────────────────── */
.contact-photo {
    border-radius: 16px;
    overflow: hidden;
    max-height: 360px;
}

    .contact-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(15, 22, 41, 0.04);
}

.contact-card__title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 28px;
    color: var(--c-ink-2);
    margin: 0 0 12px;
}

.contact-card__lead {
    color: #565664;
    font-size: 15px;
    margin: 0 0 28px;
}

.contact-form .form-label {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 14px;
    color: var(--c-ink-2);
    margin-bottom: 6px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--c-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
}

    .contact-form .form-control:focus,
    .contact-form .form-select:focus {
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 3px rgba(27, 61, 158, 0.12);
    }

.recaptcha-stub {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    background: #f9f9fc;
    font-size: 14px;
    color: #323242;
}

    .recaptcha-stub label {
        margin: 0;
    }

.recaptcha-stub__logo {
    margin-left: auto;
    padding-left: 30px;
    font-size: 11px;
    color: #888;
    letter-spacing: 0.5px;
}

.contact-social {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
}

    .contact-social h3 {
        font-family: var(--f-head);
        font-weight: 600;
        font-size: 18px;
        color: var(--c-ink-2);
        margin: 0 0 12px;
    }

.contact-social__links {
    display: flex;
    gap: 10px;
}

    .contact-social__links a {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--c-blue-light);
        color: var(--bs-primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s;
        text-decoration: none;
    }

        .contact-social__links a:hover {
            background: var(--bs-primary);
            color: #fff;
        }

        .contact-social__links a img,
        .contact-social__links a svg {
            width: 18px;
            height: 18px;
            display: block;
        }

.contact-info {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 2px 8px rgba(15, 22, 41, 0.04);
}

.hours-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 2px 8px rgba(15, 22, 41, 0.04);
}

    .hours-card h3 {
        font-family: var(--f-head);
        font-weight: 600;
        font-size: 16px;
        color: var(--c-ink-2);
        margin: 0 0 16px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.hours-card__title {
    flex: 1;
}
/* pushes the OPEN NOW pill to the right */
.open-now {
    background: #d4f4dd;
    color: var(--bs-success);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 50px;
    flex-shrink: 0;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid var(--c-border);
    font-size: 14px;
}

    .hours-row strong {
        color: var(--c-ink-2);
        font-weight: 600;
    }

.map-stub {
    border-radius: 16px;
    overflow: hidden;
    height: 220px;
    background: #d8e8d4;
    box-shadow: 0 2px 8px rgba(15, 22, 41, 0.04);
}

    .map-stub img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    color: #565664;
    background: linear-gradient(135deg, #e8f1d8, #d8e8d4);
}

    .map-placeholder i {
        color: var(--bs-danger);
        font-size: 22px;
    }

/* ── About page ────────────────────────────────────── */
.team-feature {
    background: var(--bs-primary);
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.team-feature__photo {
    width: 100%;
    height: 100%;
    min-height: 260px;
}

    .team-feature__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        min-height: 260px;
    }

.team-feature__body {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .team-feature__body h3 {
        font-family: var(--f-head);
        font-weight: 500;
        font-size: 36px;
        color: #fff;
        margin: 0;
        letter-spacing: -0.5px;
    }

.team-feature__creds {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin: 0;
}

.team-feature__bio {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.team-feature__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

    .team-feature__tags .dot {
        width: 4px;
        height: 4px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        display: inline-block;
    }

.badge-pill {
    display: inline-block;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    gap: 0;
    box-shadow: 0 2px 8px rgba(15, 22, 41, 0.04);
    height: 100%;
}

.team-card__photo {
    flex: 0 0 140px;
    width: 140px;
}

    .team-card__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.team-card__body {
    padding: 20px 24px;
    flex: 1;
}

    .team-card__body h4 {
        font-family: var(--f-head);
        font-weight: 600;
        font-size: 18px;
        color: var(--c-ink-2);
        margin: 0 0 4px;
    }

    .team-card__body .role {
        color: var(--bs-primary);
        font-size: 13px;
        font-weight: 600;
        margin: 0 0 8px;
    }

    .team-card__body p {
        font-size: 14px;
        line-height: 1.5;
        color: #565664;
        margin: 0;
    }

/* ── Integrative Care page ─────────────────────────── */
.reason-tile {
    background: #fff;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 8px rgba(15, 22, 41, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.reason-tile__icon-bg {
    width: 56px;
    height: 56px;
    background: var(--c-blue-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reason-tile i {
    color: var(--bs-primary);
    font-size: 28px;
    display: block;
}

.reason-tile h4 {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 16px;
    color: var(--c-ink-2);
    margin: 0 0 8px;
}

.reason-tile p {
    font-size: 13px;
    line-height: 1.55;
    color: #565664;
    margin: 0;
}

.modality-card {
    background: var(--c-bg);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
}

.modality-card__media {
    height: 200px;
    overflow: hidden;
}

    .modality-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.modality-card__body {
    padding: 24px 28px;
}

    .modality-card__body h4 {
        font-family: var(--f-head);
        font-weight: 600;
        font-size: 17px;
        color: var(--c-ink-2);
        margin: 0 0 8px;
    }

    .modality-card__body p {
        font-size: 15px;
        line-height: 1.6;
        color: #323242;
        margin: 0;
    }

.cta-blue {
    background: var(--bs-primary);
    color: #fff;
    padding: 80px 16px;
    text-align: center;
}

    .cta-blue h2 {
        font-family: var(--f-head);
        font-weight: 500;
        font-size: clamp(28px, 4vw, 36px);
        color: #fff;
        margin: 0 0 12px;
        letter-spacing: -0.3px;
    }

    .cta-blue p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 16px;
        max-width: 560px;
        margin: 0 auto 24px;
        line-height: 1.6;
    }

.cta-blue__phone {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 36px;
    letter-spacing: -0.3px;
    margin: 0 0 16px;
}

    .cta-blue__phone a {
        color: #fff;
        text-decoration: none;
    }

.cta-blue .btn-light {
    background: #fff;
    color: var(--bs-primary);
}

    .cta-blue .btn-light:hover {
        background: rgba(255, 255, 255, 0.92);
        color: var(--bs-primary);
    }

/* ── Service Detail ────────────────────────────────── */
.service-detail-title {
    font-family: var(--f-head);
    font-weight: 400;
    font-size: clamp(34px, 4.5vw, 44px);
    letter-spacing: -1px;
    color: var(--c-ink-2);
    margin: 0 0 16px;
    line-height: 1.6;
}

.service-detail-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #323242;
    margin: 0;
    max-width: 528px;
}

/* ── Composite icon images (used in about/integrative/emergency/book) ── */
.ico-layer img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.ico-inner img {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Generic icon size utilities ─────────────────────
   Use on <img src="media/icons/*.svg"> for inline icons.
   .icon-16: small (button-text, list-bullet sizing)
   .icon-20: medium (testimonial stars, pill labels)
   .icon-24: standard (find-item, body-content icons)
   .icon-32: large (card-header icons)
   `flex-shrink: 0` prevents them collapsing inside flex containers.
*/

/* ════════════════════════════════════════════════════════════
   ICON UTILITIES
   ──────────────────────────────────────────────────────── */
.icon-16 {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-block;
}

.icon-20 {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-block;
}

.icon-24 {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-block;
}

/* ── Service Detail: Related Services section ──
   Per Figma: white background, 1px Athens Gray top border (acts as page divider),
   28px Poppins Medium centred heading. */
.related-services {
    background: #fff;
    border-top: 1px solid var(--c-border);
    padding: 65px 0 96px;
}

.related-services__heading {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.6;
    color: var(--c-ink-2);
    text-align: center;
    margin: 0 0 32px;
}

/* ── Section background utility ──
   Replaces inline style="background: var(--c-bg);" on full-width <section> elements. */
.section-grey {
    background: var(--c-bg);
}


/* Collapsible richtext sections */
/* Collapsible legal sections */
.legal-section {
    border-bottom: 1px solid var(--c-border);
    margin: 0;
}

.legal-section:last-child {
    border-bottom: 0;
}

.legal-section summary {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.6;
    color: var(--c-ink-2);

    cursor: pointer;
    list-style: none;
    position: relative;

    margin: 36px 0 16px;
    padding-right: 40px;
}

.legal-section summary::-webkit-details-marker {
    display: none;
}

.legal-section summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    
    font-size: 24px;
    font-weight: 300;
    color: var(--bs-primary);
    line-height: 1;

    transition: transform 0.2s ease;
}

.legal-section[open] summary::after {
    content: "−";
}

/* Content spacing */
.legal-section > *:not(summary) {
    margin-bottom: 16px;
}

.legal-section > *:last-child {
    margin-bottom: 24px;
}

/* Remove the big gap caused by the original h2 margin */
.legal-section summary + * {
    margin-top: 0;
}

/* Contact Form result toast */
.contact-toast {
    position: fixed;
    z-index: 9999;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
    padding: 16px 48px 16px 16px;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(20px);
    animation: contact-toast-show 0.3s ease forwards;
}

.contact-toast--success {
    background: #198754;
}

.contact-toast--error {
    background: #b02a37;
}

.contact-toast__icon {
    display: flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.contact-toast__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .contact-toast__content strong {
        font-size: 16px;
    }

    .contact-toast__content span {
        font-size: 14px;
        line-height: 1.4;
    }

.contact-toast__close {
    position: absolute;
    top: 8px;
    right: 12px;
    padding: 4px;
    color: inherit;
    font-size: 26px;
    line-height: 1;
    background: transparent;
    border: 0;
    opacity: 0.8;
    cursor: pointer;
}

    .contact-toast__close:hover {
        opacity: 1;
    }

.contact-toast.is-hiding {
    animation: contact-toast-hide 0.3s ease forwards;
}

@keyframes contact-toast-show {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contact-toast-hide {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

@media (max-width: 575px) {
    .contact-toast {
        right: 16px;
        bottom: 16px;
        left: 16px;
        width: auto;
    }
}
