/* ================================================================
   MAHAVEER HOSPITAL — Modern editorial healthcare theme
   Palette: aubergine · coral · warm mustard · sand · cream (no green)
   Type:   Instrument Serif (display) + Outfit (UI)
   ================================================================ */

:root {
    /* Neutrals */
    --c-cream: #fbf6ef;
    --c-cream-2: #f4ecdf;
    --c-sand: #e8dcc6;
    --c-line: #ded1b7;
    --c-line-soft: #ebe1cc;
    --c-paper: #ffffff;

    /* Ink family */
    --c-ink: #171523;
    --c-ink-soft: #35303f;
    --c-muted: #6a6478;

    /* Signature — deep aubergine + warm coral */
    --c-primary: #3b1f4a;         /* midnight aubergine */
    --c-primary-2: #2a1435;
    --c-primary-soft: #efe6f5;

    --c-accent: #d64a3a;          /* warm coral / brick */
    --c-accent-2: #b93825;
    --c-accent-soft: #fcdfd6;

    --c-highlight: #e5a530;       /* mustard for CTAs */
    --c-highlight-soft: #fbecc6;

    --c-danger: #b93825;
    --c-success: #7a1f38;         /* burgundy (no green) */
    --c-success-soft: #fbe6ec;

    /* Radii, motion */
    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 28px;
    --r-pill: 999px;

    --shadow-1: 0 4px 20px rgba(23,21,35,0.05);
    --shadow-2: 0 18px 44px rgba(23,21,35,0.10);
    --shadow-3: 0 30px 80px rgba(23,21,35,0.16);

    --f-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
    --f-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --f-mono: "JetBrains Mono", ui-monospace, monospace;

    --nav-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.frontend-body {
    margin: 0;
    color: var(--c-ink);
    background: var(--c-cream);
    font-family: var(--f-body);
    font-size: 15.5px;
    line-height: 1.65;
    font-weight: 400;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
::selection { background: var(--c-accent-soft); color: var(--c-ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Typography */
.display, h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--c-ink);
    line-height: 1.08;
    margin: 0;
    font-optical-sizing: auto;
    font-variation-settings: "SOFT" 30, "WONK" 0;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p { color: var(--c-ink-soft); margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .28em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--c-accent);
    display: inline-flex;
    align-items: center;
    gap: .8rem;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--c-accent);
    display: block;
}
.italic-swash { font-style: italic; font-family: var(--f-display); font-weight: 400; }

/* Grid container */
.container-x {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.1rem;
}
@media (min-width: 768px)  { .container-x { padding: 0 1.75rem; } }
@media (min-width: 1200px) { .container-x { padding: 0 2.5rem; } }

/* Buttons */
.btn-mh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .8rem 1.5rem;
    border-radius: var(--r-pill);
    font-family: var(--f-body);
    font-weight: 600;
    font-size: .92rem;
    line-height: 1;
    border: 1px solid transparent;
    background: transparent;
    color: var(--c-ink);
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
    white-space: nowrap;
}
.btn-primary-mh { background: var(--c-primary); color: #fff; }
.btn-primary-mh:hover { background: var(--c-primary-2); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-accent-mh { background: var(--c-accent); color: #fff; }
.btn-accent-mh:hover { background: var(--c-accent-2); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-outline-mh { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn-outline-mh:hover { border-color: var(--c-accent); color: var(--c-accent); transform: translateY(-2px); }
.btn-mh.icon-only { padding: .8rem; width: 46px; height: 46px; }
.btn-mh.icon-only i { font-size: 1rem; }
.btn-mh.sm { padding: .55rem 1rem; font-size: .82rem; }
.btn-danger-mh { background: var(--c-danger); color: #fff; }
.btn-danger-mh:hover { background: #7a1f0f; color: #fff; }

/* ===============================================================
   HEADER  (Mobile first — hamburger up to 1023px)
   =============================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255,255,255,.65);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    border-bottom: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 6px 24px rgba(20,20,40,.06);
}
.site-header .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    height: var(--nav-h);
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    color: var(--c-ink);
    flex-shrink: 0;
    line-height: 0;
}
.site-brand img { max-height: 48px; width: auto; display: block; }
.site-brand .brand-mark svg { display: block; }
.site-brand .brand-mark { display: inline-flex; align-items: center; }

/* Desktop nav (only visible ≥1024px) */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.35rem;
}
.nav-desktop > a,
.nav-desktop .nav-more > button {
    background: none;
    border: 0;
    padding: 0;
    font-family: var(--f-body);
    font-size: .9rem;
    font-weight: 500;
    color: var(--c-ink-soft);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}
.nav-desktop > a:hover,
.nav-desktop > a.active,
.nav-desktop .nav-more > button:hover { color: var(--c-accent); }
.nav-desktop > a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -22px;
    height: 3px;
    background: var(--c-accent);
    border-radius: 3px;
}
.nav-more { position: relative; }
.nav-more > button i { font-size: .62rem; opacity: .7; }
.nav-more-panel {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-md);
    padding: .55rem;
    min-width: 220px;
    box-shadow: var(--shadow-2);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    z-index: 70;
}
.nav-more:hover .nav-more-panel,
.nav-more:focus-within .nav-more-panel,
.nav-more.open .nav-more-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.nav-more-panel a {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem .8rem;
    border-radius: var(--r-sm);
    color: var(--c-ink);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    transition: background .18s, color .18s;
}
.nav-more-panel a i { width: 18px; color: var(--c-accent); font-size: .82rem; }
.nav-more-panel a:hover,
.nav-more-panel a.active { background: var(--c-cream-2); color: var(--c-primary); }

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-shrink: 0;
}
.lang-toggle {
    display: inline-flex;
    align-items: center;
    background: var(--c-cream-2);
    border-radius: var(--r-pill);
    padding: .18rem;
    border: 1px solid var(--c-line-soft);
}
.lang-toggle a {
    padding: .28rem .55rem;
    border-radius: var(--r-pill);
    font-size: .72rem;
    font-weight: 700;
    color: var(--c-muted);
    text-decoration: none;
    letter-spacing: .04em;
    transition: background .2s, color .2s;
    line-height: 1;
}
.lang-toggle a.active { background: var(--c-primary); color: #fff; }

/* Icon-only buttons for Call/Book on desktop */
.icon-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid var(--c-line);
    background: var(--c-paper);
    color: var(--c-ink);
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    flex-shrink: 0;
}
.icon-btn i { font-size: .95rem; }
.icon-call { color: var(--c-accent); border-color: var(--c-accent-soft); background: var(--c-paper); }
.icon-call:hover { background: var(--c-accent); color: #fff; transform: translateY(-2px); border-color: var(--c-accent); }
.icon-book { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.icon-book:hover { background: var(--c-primary-2); transform: translateY(-2px); border-color: var(--c-primary-2); }

/* Mobile toggle (hamburger) */
.mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    cursor: pointer;
    padding: 0 10px;
    align-items: stretch;
}
.mobile-toggle .bar {
    display: block;
    height: 2px;
    background: var(--c-ink);
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
body.menu-open .mobile-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .mobile-toggle .bar:nth-child(2) { opacity: 0; }
body.menu-open .mobile-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ≥1024px : reveal desktop nav + icon buttons */
@media (min-width: 1024px) {
    .nav-desktop { display: inline-flex; }
    .icon-btn { display: inline-flex; }
    .mobile-toggle { display: none; }
}

/* Mobile menu drawer */
.mobile-menu {
    display: none;
    background: var(--c-paper);
    border-top: 1px solid var(--c-line-soft);
    padding: .5rem 0 1.25rem;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .95rem .25rem;
    color: var(--c-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--c-line-soft);
    font-weight: 500;
    font-size: 1rem;
}
.mobile-menu a i { font-size: .75rem; color: var(--c-muted); }
.mobile-menu a.active { color: var(--c-accent); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu-cta {
    display: flex;
    gap: .55rem;
    margin-top: 1rem;
}
.mobile-menu-cta .btn-mh { flex: 1; }

/* ===============================================================
   HERO
   =============================================================== */
.hero {
    position: relative;
    padding: 4rem 0 4.5rem;
    overflow: hidden;
    background: var(--c-cream);
}
.hero::before {
    content: "";
    position: absolute;
    top: -220px;
    left: -180px;
    width: 560px;
    height: 560px;
    background: radial-gradient(closest-side, rgba(214,74,58,0.14), transparent);
    z-index: 0;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: -300px;
    right: -240px;
    width: 620px;
    height: 620px;
    background: radial-gradient(closest-side, rgba(59,31,74,0.15), transparent);
    z-index: 0;
    pointer-events: none;
}
.hero .container-x { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 992px) {
    .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    padding: .5rem 1rem;
    border-radius: var(--r-pill);
    font-size: .78rem;
    font-weight: 600;
    color: var(--c-primary);
    letter-spacing: .04em;
    box-shadow: var(--shadow-1);
}
.hero-badge .dot,
.hero-badge i { color: var(--c-accent); }
@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: .55; }
}
.hero-title {
    margin-top: 1.15rem;
    font-size: clamp(2.4rem, 6.5vw, 5.2rem);
    line-height: .98;
    letter-spacing: -0.015em;
}
.hero-title .accent,
.hero-title .swash {
    font-style: italic;
    color: var(--c-accent);
    display: inline-block;
    position: relative;
}
.hero-title .accent::before,
.hero-title .swash::before {
    content: "";
    position: absolute;
    left: -6%;
    right: -6%;
    bottom: 6%;
    height: .16em;
    background: var(--c-highlight-soft);
    z-index: -1;
    border-radius: 4px;
    transform: rotate(-1deg);
}
.hero-sub {
    margin-top: 1.35rem;
    max-width: 540px;
    font-size: 1.02rem;
    color: var(--c-ink-soft);
    line-height: 1.7;
}
.hero-cta {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}
.hero-stats {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--c-line-soft);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 560px;
}
.hero-stat .val,
.hero-stats > div .value {
    font-family: var(--f-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1;
    color: var(--c-primary);
}
.hero-stat .label,
.hero-stats > div .label {
    margin-top: .4rem;
    font-size: .66rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-muted);
    font-weight: 600;
    line-height: 1.4;
}

/* Hero visual */
.hero-visual { position: relative; }

/* Hero appointment form card — replaces doctor card */
.hero-appt-card {
    position: relative;
    background: var(--c-paper);
    border-radius: var(--r-lg);
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-3);
    border: 1px solid var(--c-line-soft);
    overflow: hidden;
}
@media (min-width: 768px)  { .hero-appt-card { padding: 2rem 1.85rem 1.75rem; } }
@media (min-width: 1200px) { .hero-appt-card { padding: 2.25rem 2.1rem 1.9rem; } }
.hero-appt-card::before {
    content: "";
    position: absolute;
    top: -110px; right: -80px;
    width: 220px; height: 220px;
    background: radial-gradient(closest-side, var(--c-accent-soft), transparent);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.hero-appt-card::after {
    content: "";
    position: absolute;
    bottom: -140px; left: -60px;
    width: 240px; height: 240px;
    background: radial-gradient(closest-side, var(--c-highlight-soft), transparent);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.hero-appt-card > * { position: relative; z-index: 1; }
.hero-appt-card .emergency-pill {
    top: 14px;
    right: 14px;
}
.hero-appt-head {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    margin-bottom: 1.4rem;
    padding-right: 90px; /* clear the emergency pill */
}
.hero-appt-head .mini-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
    color: #fff;
    display: grid; place-items: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(59,31,74,.25);
}
.hero-appt-form { display: grid; gap: .75rem; }
.hero-appt-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}
.hero-appt-form .field-group { display: block; }
.hero-appt-form label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: .05em;
    margin-bottom: .28rem;
    text-transform: uppercase;
}
.hero-appt-form label .req { color: var(--c-accent); }
.hero-appt-form .input-wrap {
    position: relative;
    background: var(--c-paper);
    border: 1.5px solid var(--c-line);
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s, background .2s;
    overflow: hidden;
}
.hero-appt-form .input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-muted);
    font-size: .88rem;
    pointer-events: none;
    z-index: 1;
    transition: color .2s;
}
.hero-appt-form input {
    width: 100%;
    padding: .78rem 1rem .78rem 2.55rem;
    border: 0;
    background: transparent;
    color: var(--c-ink);
    font: inherit;
    font-size: .95rem;
    font-weight: 500;
    outline: none;
}
.hero-appt-form input::placeholder { color: var(--c-muted); font-weight: 400; }
.hero-appt-form .input-wrap:focus-within {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 4px var(--c-accent-soft);
    background: #fff;
}
.hero-appt-form .input-wrap:focus-within i { color: var(--c-accent); }
.hero-appt-form .has-error .input-wrap {
    border-color: var(--c-danger);
    background: #fdefec;
}

/* Beautiful date field */
.hero-appt-form .date-wrap {
    background: linear-gradient(135deg, var(--c-cream-2), var(--c-paper));
    border: 1.5px solid var(--c-highlight);
}
.hero-appt-form .date-wrap i { color: var(--c-accent); }
.hero-appt-form input[type="date"] {
    padding-right: 1rem;
    color-scheme: light;
    cursor: pointer;
    font-variant-numeric: tabular-nums;
}
.hero-appt-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(24%) sepia(78%) saturate(2870%) hue-rotate(343deg) brightness(85%) contrast(85%);
    cursor: pointer;
    opacity: .85;
    transform: scale(1.15);
    margin-right: .1rem;
}
.hero-appt-form input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

.hero-appt-form .hero-appt-submit {
    width: 100%;
    justify-content: center;
    padding: .95rem 1rem;
    font-size: .95rem;
    margin-top: .5rem;
    background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
    box-shadow: 0 10px 26px rgba(214,74,58,.32);
}
.hero-appt-form .hero-appt-submit:hover {
    box-shadow: 0 14px 32px rgba(214,74,58,.42);
    transform: translateY(-2px);
}
.hero-appt-note {
    display: flex;
    align-items: center;
    gap: .5rem;
    justify-content: center;
    font-size: .72rem;
    color: var(--c-muted);
    margin-top: .8rem;
    text-align: center;
}
.hero-appt-note i { color: var(--c-highlight); font-size: .85rem; }
.hero-appt-card .alert-mh { font-size: .82rem; padding: .7rem .9rem; }

/* keep .hero-doctor-* for legacy */
.hero-doctor-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.hero-doctor-placeholder svg {
    width: 78%;
    height: 88%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}
.hero-doctor-card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background:
        linear-gradient(155deg, var(--c-primary) 0%, var(--c-primary-2) 55%, var(--c-accent) 130%);
    box-shadow: var(--shadow-3);
}
.hero-doctor-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px);
    z-index: 1;
}
.hero-doctor-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    z-index: 2;
}
.hero-doctor-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 2rem 1.6rem 1.75rem;
    background: linear-gradient(to top, rgba(0,0,0,.75), transparent 75%);
    color: #fff;
    z-index: 3;
}
.hero-doctor-overlay .name { font-family: var(--f-display); font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.1; }
.hero-doctor-overlay .cred { font-size: .8rem; opacity: .9; margin-top: .3rem; }
.hero-doctor-overlay .role { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; margin-top: .3rem; }
.pill-emergency,
.emergency-pill {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--c-accent);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: var(--r-pill);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    z-index: 4;
    box-shadow: var(--shadow-2);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.safe-badge {
    position: absolute;
    bottom: -18px;
    left: -14px;
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    border-radius: 20px;
    padding: .8rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    box-shadow: var(--shadow-3);
    z-index: 4;
    max-width: 90%;
}
.safe-badge .icn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--c-highlight-soft);
    color: var(--c-highlight);
    display: grid; place-items: center;
    font-size: .95rem;
    flex-shrink: 0;
}
.safe-badge .title { font-family: var(--f-display); font-size: 1.02rem; line-height: 1; }
.safe-badge .sub { font-size: .7rem; color: var(--c-muted); margin-top: .2rem; }

@media (max-width: 767px) {
    .safe-badge { left: 8px; bottom: -20px; padding: .65rem .85rem; }
    .pill-emergency,
    .emergency-pill { right: 10px; top: 10px; font-size: .62rem; padding: .38rem .75rem; }
    .hero { padding: 2.25rem 0 3.5rem; }
    .hero-stats { gap: .6rem; grid-template-columns: repeat(3, 1fr); }
}

/* ===============================================================
   SECTION BASE + EMERGENCY STRIP
   =============================================================== */
.section {
    padding: 4.5rem 0;
    position: relative;
}
.section.compact { padding: 2.5rem 0; }
@media (max-width: 767px) { .section { padding: 3rem 0; } .section.compact { padding: 1.75rem 0; } }
.section.tinted { background: var(--c-cream-2); }
.section.inked { background: var(--c-primary); color: #fff; }
.section.inked h1, .section.inked h2, .section.inked h3 { color: #fff; }
.section.inked p { color: rgba(255,255,255,.78); }
.section.inked .eyebrow { color: var(--c-highlight); }
.section.inked .eyebrow::before { background: var(--c-highlight); }

.section-head { max-width: 780px; margin-bottom: 2.5rem; }
.section-head p { margin-top: 1rem; font-size: 1.02rem; }
.section-head .eyebrow { margin-bottom: 1.1rem; }

.emergency-strip {
    background: var(--c-primary);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 1.75rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.emergency-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 20%, rgba(214,74,58,.30), transparent 55%);
}
.emergency-strip .icon-wrap,
.emergency-strip .ico-wrap {
    width: 72px; height: 72px;
    background: var(--c-accent);
    color: #fff;
    border-radius: 20px;
    display: grid; place-items: center;
    font-size: 1.85rem;
    position: relative;
    box-shadow: 0 0 0 8px rgba(214,74,58,.15);
    z-index: 1;
}
.emergency-strip > *:not(.icon-wrap):not(.ico-wrap):not(::before) { position: relative; z-index: 1; }
.emergency-strip h3 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }
.emergency-strip p { color: rgba(255,255,255,.85); margin-top: .4rem; }
.emergency-strip .phones { display: flex; flex-direction: column; gap: .5rem; position: relative; z-index: 1; }
.emergency-strip .phone {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(255,255,255,.14);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: var(--r-pill);
    text-decoration: none;
    font-weight: 600;
    transition: background .2s;
    font-size: .92rem;
    white-space: nowrap;
}
.emergency-strip .phone:hover { background: rgba(255,255,255,.24); color: #fff; }
@media (max-width: 767px) {
    .emergency-strip { grid-template-columns: 1fr; text-align: center; padding: 1.5rem 1.1rem; }
    .emergency-strip .icon-wrap,
    .emergency-strip .ico-wrap { margin: 0 auto; }
    .emergency-strip .phones { align-items: stretch; }
    .emergency-strip .phone { justify-content: center; }
}

/* ===============================================================
   CARDS / GRIDS
   =============================================================== */
.grid-3, .grid-2, .grid-4 {
    display: grid;
    gap: 1.5rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px)  {
    .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}
@media (min-width: 992px)  {
    .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
    .grid-2 { gap: 2.5rem; }
}

.card-mh {
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-md);
    padding: 1.5rem;
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.card-mh:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    border-color: var(--c-accent-soft);
}

/* Service card */
.service-card {
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: transform .4s, box-shadow .4s;
    text-decoration: none;
    color: inherit;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(to right, var(--c-accent), var(--c-highlight));
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
    color: inherit;
}
.service-card .body,
.service-card .card-body { padding: 1.6rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
@media (min-width: 768px) {
    .service-card .body,
    .service-card .card-body { padding: 2rem 1.75rem; }
}
.service-card .icn,
.service-card .icon-box {
    width: 54px; height: 54px;
    border-radius: 16px;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    display: grid; place-items: center;
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
}
.service-card .num {
    position: absolute;
    top: 1.1rem; right: 1.1rem;
    font-family: var(--f-display);
    color: var(--c-sand);
    font-size: 1.8rem;
    line-height: 1;
}
.service-card h3 { font-size: 1.3rem; }
.service-card .desc { color: var(--c-ink-soft); font-size: .93rem; margin-top: .5rem; }
.service-card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.service-card ul li {
    position: relative;
    padding-left: 1.35rem;
    font-size: .86rem;
    color: var(--c-ink-soft);
    margin-bottom: .4rem;
}
.service-card ul li::before {
    content: "◆";
    color: var(--c-accent);
    position: absolute; left: 0;
    font-size: .68rem;
    top: .18rem;
}
.service-card .footer-link {
    margin-top: auto;
    padding-top: 1.15rem;
    color: var(--c-primary);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: gap .2s;
}
.service-card:hover .footer-link { gap: .6rem; color: var(--c-accent); }

/* Doctor featured */
.doctor-featured {
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: var(--shadow-1);
}
@media (min-width: 992px) { .doctor-featured { grid-template-columns: 5fr 7fr; } }
.doctor-featured .photo {
    background: linear-gradient(155deg, var(--c-primary), var(--c-primary-2) 55%, var(--c-accent));
    min-height: 320px;
    position: relative;
    overflow: hidden;
}
.doctor-featured .photo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: bottom;
}
.doctor-featured .ribbon {
    position: absolute;
    top: 1.15rem; left: 1.15rem;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: .4rem 1rem;
    border-radius: var(--r-pill);
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.24);
    z-index: 2;
}
.doctor-featured .details { padding: 1.75rem 1.4rem; }
@media (min-width: 768px) { .doctor-featured .details { padding: 2.5rem 2rem; } }
@media (min-width: 1200px) { .doctor-featured .details { padding: 3rem 2.75rem; } }
.doctor-featured .role {
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: .24em;
    font-size: .72rem;
    font-weight: 700;
}
.doctor-featured .name { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-top: .7rem; }
.doctor-featured .credentials {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    padding: .5rem 1rem;
    border: 1px solid var(--c-line-soft);
    background: var(--c-cream-2);
    border-radius: var(--r-pill);
    font-size: .82rem;
    color: var(--c-ink);
}
.doctor-featured p { margin-top: 1.15rem; }

/* Doctor small card */
.doctor-card {
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.doctor-card .photo-wrap {
    aspect-ratio: 4/5;
    background: linear-gradient(155deg, var(--c-primary), var(--c-primary-2));
    position: relative;
    overflow: hidden;
}
.doctor-card .photo-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.doctor-card .initial {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-family: var(--f-display);
    color: rgba(255,255,255,.85);
    font-size: 4rem;
}
.doctor-card .body { padding: 1.15rem; }
.doctor-card .name { font-family: var(--f-display); font-size: 1.25rem; }
.doctor-card .role { color: var(--c-accent); text-transform: uppercase; letter-spacing: .2em; font-size: .68rem; font-weight: 700; margin-top: .35rem; }
.doctor-card .qual { font-size: .78rem; color: var(--c-muted); margin-top: .5rem; }
.doctor-card .timing { font-size: .78rem; color: var(--c-ink-soft); margin-top: .5rem; display: flex; align-items: center; gap: .35rem; }

/* Testimonial */
.testimonial-card {
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-md);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.testimonial-card .quote-mark { color: var(--c-accent); font-size: 2.2rem; line-height: 1; margin-bottom: .9rem; opacity: .8; }
.testimonial-card blockquote { font-family: var(--f-display); font-style: italic; font-size: 1.1rem; line-height: 1.55; margin: 0; color: var(--c-ink); }
.testimonial-card .stars { color: var(--c-highlight); font-size: .9rem; margin-bottom: .5rem; }
.testimonial-card .author { margin-top: 1.35rem; padding-top: 1.15rem; border-top: 1px solid var(--c-line-soft); }
.testimonial-card .author .name { font-family: var(--f-display); font-size: 1.1rem; color: var(--c-ink); }
.testimonial-card .author .role { font-size: .72rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .18em; margin-top: .25rem; }

/* Offer card */
.offer-card {
    border-radius: var(--r-md);
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
    color: inherit;
}
.offer-card::after {
    content: "";
    position: absolute;
    bottom: -100px; right: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(closest-side, var(--c-highlight-soft), transparent);
    border-radius: 50%;
}
.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
    color: inherit;
}
.offer-card > * { position: relative; z-index: 1; }
.offer-card .badge-mh {
    align-self: flex-start;
    background: var(--c-accent);
    color: #fff;
    padding: .3rem .9rem;
    border-radius: var(--r-pill);
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
}
.offer-card h3 { font-size: 1.4rem; margin-top: 1rem; }
.offer-card .discount { font-family: var(--f-display); font-size: 1.85rem; color: var(--c-primary); margin: .9rem 0; }
.offer-card .desc { color: var(--c-ink-soft); font-size: .92rem; }

/* Event card */
.event-card {
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform .3s, box-shadow .3s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); color: inherit; }
.event-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--c-cream-2); }
.event-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-card .body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.event-date { display: inline-flex; align-items: center; gap: .5rem; color: var(--c-accent); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.event-card h3 { font-size: 1.25rem; margin: .7rem 0 .5rem; line-height: 1.15; }
.event-card .venue { font-size: .82rem; color: var(--c-muted); display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .7rem; }
.event-card .desc { font-size: .9rem; color: var(--c-ink-soft); flex: 1; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
@media (min-width: 640px)  { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: .8rem; } }
@media (min-width: 992px)  { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--r-md);
    overflow: hidden;
    cursor: zoom-in;
    background: var(--c-cream-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(23,21,35,.75), transparent 55%);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: #fff;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .cat { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.gallery-item .title-mini { margin-top: .3rem; font-family: var(--f-display); font-size: 1.02rem; }

/* Blog card */
.blog-card {
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform .3s, box-shadow .3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); color: inherit; }
.blog-card .cover { aspect-ratio: 16/10; overflow: hidden; background: var(--c-cream-2); }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .cover img { transform: scale(1.05); }
.blog-card .body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta { color: var(--c-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.blog-card h3 { font-size: 1.22rem; margin: .55rem 0 .7rem; line-height: 1.25; }
.blog-card p { font-size: .9rem; flex: 1; }
.blog-card .read-more { color: var(--c-primary); font-weight: 600; margin-top: 1rem; font-size: .88rem; }

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--c-line-soft);
    padding: 1.25rem 0;
    cursor: pointer;
}
.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--f-display);
    font-size: 1.15rem;
    color: var(--c-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.45rem;
    color: var(--c-accent);
    transition: transform .3s;
    flex-shrink: 0;
    font-family: var(--f-body);
    font-weight: 300;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { margin-top: 1rem; color: var(--c-ink-soft); }

/* Page hero */
.page-hero {
    padding: 3.5rem 0 2.5rem;
    background: var(--c-cream-2);
    border-bottom: 1px solid var(--c-line-soft);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    top: -160px; right: -180px;
    width: 480px; height: 480px;
    background: radial-gradient(closest-side, var(--c-accent-soft), transparent);
}
.page-hero .container-x { position: relative; z-index: 1; }
.page-hero .crumbs { color: var(--c-muted); font-size: .8rem; margin-bottom: .8rem; }
.page-hero .crumbs a { color: var(--c-muted); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--c-accent); }
.page-hero p { margin-top: 1rem; max-width: 640px; }

/* Contact form */
.contact-wrap {
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: var(--shadow-1);
}
@media (min-width: 992px) { .contact-wrap { grid-template-columns: 1.1fr 1fr; } }
.contact-info {
    background: var(--c-primary);
    color: #fff;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { .contact-info { padding: 2.75rem 2.25rem; } }
.contact-info::after {
    content: "";
    position: absolute;
    bottom: -140px; right: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(closest-side, rgba(214,74,58,.35), transparent);
}
.contact-info > * { position: relative; z-index: 1; }
.contact-info h3 { color: #fff; }
.contact-info .info-block { margin-top: 1.35rem; display: flex; gap: .9rem; align-items: flex-start; }
.contact-info .info-block .ico {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.contact-info .info-block .lbl {
    color: rgba(255,255,255,.68);
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.contact-info .info-block .val { color: #fff; font-weight: 500; margin-top: .2rem; word-break: break-word; }
.contact-form-panel { padding: 2rem 1.5rem; }
@media (min-width: 768px) { .contact-form-panel { padding: 2.75rem 2.25rem; } }
.contact-form-panel label { display: block; font-size: .8rem; font-weight: 600; color: var(--c-ink); margin-bottom: .4rem; }
.form-control-mh {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--c-line);
    background: var(--c-paper);
    border-radius: 12px;
    color: var(--c-ink);
    font: inherit;
    font-size: .92rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-control-mh:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft); }
textarea.form-control-mh { min-height: 130px; resize: vertical; }
.alert-mh { padding: .95rem 1.2rem; border-radius: 12px; margin-bottom: 1.15rem; font-size: .9rem; }
.alert-success-mh { background: var(--c-highlight-soft); color: var(--c-primary); border: 1px solid var(--c-highlight); }
.alert-danger-mh { background: #fdefec; color: #7f1d1d; border: 1px solid #f5c9c2; }

/* ===============================================================
   FOOTER
   =============================================================== */
.site-footer {
    background: var(--c-primary-2);
    color: rgba(255,255,255,.72);
    padding: 3.5rem 0 1.5rem;
    margin-top: 3.5rem;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: -180px; left: -140px;
    width: 420px; height: 420px;
    background: radial-gradient(closest-side, rgba(214,74,58,.14), transparent);
}
.site-footer .container-x { position: relative; z-index: 1; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.site-footer a:hover { color: var(--c-highlight); }
.site-footer h5 { color: #fff; font-family: var(--f-display); font-size: 1.08rem; margin-bottom: 1rem; letter-spacing: .01em; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; } }
.footer-logo, .footer-mark {
    display: inline-flex;
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    max-height: 62px;
    width: auto;
    margin-bottom: .9rem;
}
.footer-logo { padding: 8px 14px; }
.footer-tagline { max-width: 340px; margin-top: .35rem; color: rgba(255,255,255,.72); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; font-size: .9rem; }
.footer-socials { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: grid; place-items: center;
    color: rgba(255,255,255,.85);
    transition: background .2s, color .2s;
}
.footer-socials a:hover { background: var(--c-accent); color: #fff; }
.footer-bottom { padding-top: 1.6rem; text-align: center; font-size: .8rem; color: rgba(255,255,255,.5); }

/* Floating action buttons */
.floating-wa {
    position: fixed;
    bottom: 22px; right: 22px;
    background: #25d366;
    color: #fff;
    width: 54px; height: 54px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-3);
    z-index: 45;
    text-decoration: none;
    transition: transform .3s;
}
.floating-wa:hover { transform: scale(1.08); color: #fff; }
.floating-em {
    position: fixed;
    bottom: 22px; left: 22px;
    background: var(--c-accent);
    color: #fff;
    padding: .85rem 1.25rem;
    border-radius: var(--r-pill);
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-3);
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
}
.floating-em:hover { color: #fff; background: var(--c-accent-2); }
@media (max-width: 520px) {
    .floating-em { padding: .75rem 1rem; font-size: .74rem; bottom: 16px; left: 12px; }
    .floating-em .lbl { display: none; }
    .floating-wa { width: 50px; height: 50px; font-size: 1.35rem; bottom: 16px; right: 12px; }
}

/* CTA band (bottom of home) */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    background:
        radial-gradient(circle at 15% 25%, rgba(214,74,58,.28), transparent 55%),
        radial-gradient(circle at 85% 90%, rgba(229,165,48,.18), transparent 55%),
        linear-gradient(135deg, #2a1435 0%, #3b1f4a 55%, #1a0d24 100%);
    color: #fff;
    padding: 3.75rem 1.75rem;
    box-shadow: var(--shadow-3);
    border: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 768px)  { .cta-band { padding: 4.5rem 3rem; } }
@media (min-width: 1200px) { .cta-band { padding: 5.5rem 4.5rem; } }
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 1px, transparent 1px 26px);
    pointer-events: none;
}
.cta-band .cta-glow {
    position: absolute;
    top: -160px; right: -140px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(229,165,48,.35), transparent);
    pointer-events: none;
}
.cta-band .cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.cta-band h2 {
    color: #fff;
    font-size: clamp(1.9rem, 4.5vw, 3.4rem);
    margin-top: 1.1rem;
    line-height: 1.05;
}
.cta-band p {
    color: rgba(255,255,255,.82);
    margin-top: 1.15rem;
    font-size: 1.02rem;
}
.cta-band .cta-actions {
    margin-top: 2rem;
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    justify-content: center;
}
.cta-band .cta-ghost {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(6px);
}
.cta-band .cta-ghost:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
    border-color: rgba(255,255,255,.4);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Utilities */
.info-map iframe { width: 100%; height: 100%; border: 0; }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* ==========================
   Flatpickr — brand skin
   Overrides on top of default flatpickr.min.css
   ========================== */
.flatpickr-input.form-control-mh + .flatpickr-input,
.flatpickr-input + .flatpickr-mobile { display: none; }

/* Match the appointment card date-wrap look on the visible altInput */
.hero-appt-form .date-wrap input.flatpickr-input,
.hero-appt-form .date-wrap input.flatpickr-alt,
.hero-appt-form input.flatpickr-alt {
    padding: .78rem 1rem .78rem 2.55rem;
    cursor: pointer;
    background: transparent;
    caret-color: transparent;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: var(--c-ink);
    font-size: .95rem;
    width: 100%;
    border: 0;
    outline: none;
}
.hero-appt-form .date-wrap input.flatpickr-alt::placeholder {
    color: var(--c-muted);
    font-weight: 400;
}
/* Ensure the .date-wrap is relative & icon shows over the visible altInput */
.hero-appt-form .date-wrap { position: relative; }
.hero-appt-form .date-wrap > i { z-index: 2; }
.hero-appt-form .date-wrap input.flatpickr-input[type="hidden"] {
    display: none !important;
}

/* Calendar popup */
.flatpickr-calendar {
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-radius: 18px !important;
    box-shadow: var(--shadow-3);
    padding: .55rem;
    font-family: var(--f-body);
    width: 320px !important;
    color: var(--c-ink);
}
.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after,
.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after { border-color: transparent transparent var(--c-line) transparent !important; }
.flatpickr-calendar.arrowTop::after { border-bottom-color: var(--c-paper) !important; }
.flatpickr-calendar.arrowBottom::after { border-top-color: var(--c-paper) !important; }

/* Header */
.flatpickr-months {
    padding: .5rem .3rem .8rem;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid var(--c-line-soft);
    margin-bottom: .4rem;
    border-radius: 12px 12px 0 0;
}
.flatpickr-month {
    background: transparent !important;
    color: var(--c-ink) !important;
    height: 42px !important;
    border-radius: 12px 12px 0 0;
    overflow: visible;
}
.flatpickr-current-month {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 1.15rem !important;
    color: var(--c-primary) !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    justify-content: center;
    height: 42px !important;
    line-height: 42px !important;
    left: 0 !important;
    right: 0 !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-family: var(--f-display) !important;
    font-weight: 500 !important;
    color: var(--c-primary) !important;
    background: transparent !important;
    font-size: 1.15rem !important;
    padding: 0 .3rem !important;
    border-radius: 8px;
    transition: background .2s;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    background: var(--c-cream-2) !important;
}
.flatpickr-current-month input.cur-year {
    font-family: var(--f-display) !important;
    color: var(--c-primary) !important;
    font-weight: 500 !important;
    font-size: 1.15rem !important;
}
.numInputWrapper span { border: 0 !important; }
.numInputWrapper span.arrowUp::after { border-bottom-color: var(--c-accent) !important; }
.numInputWrapper span.arrowDown::after { border-top-color: var(--c-accent) !important; }

/* Nav arrows */
.flatpickr-prev-month,
.flatpickr-next-month {
    width: 34px !important;
    height: 34px !important;
    top: 8px !important;
    padding: 0 !important;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--c-primary) !important;
    background: var(--c-cream-2);
    border: 1px solid var(--c-line-soft);
    transition: background .2s, color .2s;
}
.flatpickr-prev-month svg,
.flatpickr-next-month svg { width: 12px !important; height: 12px !important; fill: currentColor !important; }
.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: var(--c-accent) !important;
    color: #fff !important;
    border-color: var(--c-accent);
}
.flatpickr-prev-month { left: 8px !important; }
.flatpickr-next-month { right: 8px !important; }

/* Weekdays */
.flatpickr-weekdays { padding: 0 .3rem; margin-top: .35rem; }
.flatpickr-weekdaycontainer {
    display: flex;
    justify-content: space-between;
}
.flatpickr-weekday {
    color: var(--c-muted) !important;
    font-family: var(--f-body) !important;
    font-weight: 700 !important;
    font-size: .68rem !important;
    letter-spacing: .16em;
    text-transform: uppercase;
    background: transparent !important;
}

/* Days */
.flatpickr-days { padding: .35rem; width: 100%; }
.dayContainer {
    padding: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
}
.flatpickr-day {
    color: var(--c-ink);
    font-family: var(--f-body);
    font-weight: 600;
    font-size: .88rem;
    max-width: 40px;
    height: 38px;
    line-height: 36px;
    border-radius: 10px !important;
    margin: 1px 0;
    border: 1px solid transparent !important;
    transition: background .18s, color .18s, transform .12s;
}
.flatpickr-day:hover:not(.flatpickr-disabled):not(.selected) {
    background: var(--c-cream-2);
    color: var(--c-primary);
    border-color: var(--c-line-soft) !important;
}
.flatpickr-day.today {
    color: var(--c-accent);
    background: var(--c-accent-soft);
    border-color: var(--c-accent-soft) !important;
}
.flatpickr-day.today:hover { color: #fff; background: var(--c-accent); border-color: var(--c-accent) !important; }
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--c-primary) !important;
    color: #fff !important;
    border-color: var(--c-primary) !important;
    box-shadow: 0 6px 14px rgba(59,31,74,.25);
    transform: scale(1.02);
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: rgba(23,21,35,.24) !important;
    cursor: not-allowed;
    background: transparent !important;
    pointer-events: none;
}
.flatpickr-day.flatpickr-disabled:hover { background: transparent !important; }
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: rgba(23,21,35,.28) !important;
    pointer-events: auto;
}
.flatpickr-day.prevMonthDay.flatpickr-disabled { color: rgba(23,21,35,.18) !important; }

/* Focus ring accessibility */
.flatpickr-day:focus:not(.flatpickr-disabled) {
    outline: 2px solid var(--c-accent);
    outline-offset: 1px;
}


/* ===============================================================
   Appointment doctor select (hero form)
   =============================================================== */
.hero-appt-form .select-wrap select {
    width: 100%;
    padding: .78rem 2.2rem .78rem 2.55rem;
    border: 0;
    background: transparent;
    color: var(--c-ink);
    font: inherit;
    font-size: .95rem;
    font-weight: 500;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}
.hero-appt-form .select-wrap { position: relative; }
.hero-appt-form .select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--c-muted);
    font-size: .7rem;
    pointer-events: none;
    z-index: 1;
}
.hero-appt-form .select-wrap select:invalid { color: var(--c-muted); font-weight: 400; }

/* Featured doctor bio (renders HTML from admin) */
.featured-doc-bio { margin-top: 1.15rem; }
.featured-doc-bio p { margin: 0 0 .8rem; }
.featured-doc-bio p:last-child { margin-bottom: 0; }
.featured-doc-bio ul, .featured-doc-bio ol { margin: .5rem 0 .8rem 1.1rem; }

/* ===============================================================
   Featured videos (YouTube + Instagram)
   =============================================================== */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 920px;
}
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.video-card {
    display: flex;
    flex-direction: column;
    background: var(--c-paper);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--r-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .3s, box-shadow .3s;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); color: inherit; }
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--c-accent);
    display: grid; place-items: center;
    font-size: 1.35rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    transition: transform .3s, background .3s, color .3s;
}
.video-card:hover .video-play { transform: scale(1.1); background: #fff; }
.video-card.yt .video-play { color: #ff0000; }
.video-tag {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,.65);
    color: #fff;
    padding: .35rem .8rem;
    border-radius: var(--r-pill);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    backdrop-filter: blur(4px);
}
.ig-thumb {
    background: linear-gradient(135deg, #405de6, #833ab4 35%, #c13584 60%, #e1306c 78%, #fd1d1d 92%, #fcb045);
}
.ig-glyph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.9);
    font-size: 4.5rem;
    opacity: .5;
}
.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1.1rem 1.3rem;
}
.video-title {
    font-family: var(--f-display);
    font-size: 1.1rem;
    color: var(--c-ink);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}
.video-card.yt .video-title i { color: #ff0000; }
.video-card.ig .video-title i { color: #c13584; }
.video-meta > i { color: var(--c-muted); font-size: .85rem; transition: color .2s, transform .2s; }
.video-card:hover .video-meta > i { color: var(--c-accent); transform: translate(2px, -2px); }

/* ================================================================
   PREMIUM WHITE THEME · NO GRADIENTS · APP-LIKE MOBILE  (v14 overrides)
   All brand colour derives from admin Primary + Accent.
   ================================================================ */
:root {
    --c-cream:   #ffffff;   /* page background — premium white */
    --c-cream-2: #f5f6f9;   /* tinted sections — soft neutral */
    --c-sand:    #e9ecf1;
    --c-line:    #e6e8ef;
    --c-line-soft: #eef0f5;
    --c-paper:   #ffffff;

    /* Premium layered shadows */
    --shadow-1: 0 2px 10px rgba(20,20,40,0.06), 0 8px 24px rgba(20,20,40,0.05);
    --shadow-2: 0 10px 30px rgba(20,20,40,0.10), 0 20px 48px rgba(20,20,40,0.07);
    --shadow-3: 0 18px 50px rgba(20,20,40,0.14), 0 30px 80px rgba(20,20,40,0.10);
}

body.frontend-body { background: var(--c-cream); }
.hero { background: var(--c-cream); }
.section.tinted { background: var(--c-cream-2); }
.page-hero { background: var(--c-cream-2); }

/* ---- Kill ALL decorative gradient glows ---- */
.hero::before, .hero::after,
.hero-appt-card::before, .hero-appt-card::after,
.offer-card::after,
.page-hero::before,
.contact-info::after,
.site-footer::before,
.emergency-strip::before,
.cta-band::before, .cta-band .cta-glow {
    background: none !important;
    display: none !important;
}

/* ---- Replace functional gradients with solid brand colour ---- */
.hero-appt-head .mini-icon { background: var(--c-primary) !important; box-shadow: var(--shadow-1) !important; }
.hero-appt-form .date-wrap { background: var(--c-paper) !important; border-color: var(--c-line) !important; }
.hero-appt-form .date-wrap i { color: var(--c-accent) !important; }
.hero-appt-form .hero-appt-submit { background: var(--c-accent) !important; box-shadow: var(--shadow-1) !important; }
.hero-appt-form .hero-appt-submit:hover { background: var(--c-accent-2) !important; box-shadow: var(--shadow-2) !important; }
.service-card::before { background: var(--c-accent) !important; }
.doctor-featured .photo { background: var(--c-primary) !important; }
.doctor-card .photo-wrap { background: var(--c-primary) !important; }
.emergency-strip { background: var(--c-primary) !important; }
.ig-thumb { background: var(--c-primary) !important; }

/* ---- CTA band ("Ready when you are") — solid primary from admin ---- */
.cta-band { background: var(--c-primary) !important; }

/* ---- Premium cards: always-on soft shadow ---- */
.card-mh, .service-card, .doctor-card, .testimonial-card,
.offer-card, .event-card, .blog-card, .doctor-featured,
.hero-appt-card, .contact-wrap {
    box-shadow: var(--shadow-1);
    border-color: var(--c-line-soft);
}
.card-mh:hover, .service-card:hover, .doctor-card:hover,
.testimonial-card:hover, .offer-card:hover, .event-card:hover,
.blog-card:hover { box-shadow: var(--shadow-3); }

/* ===============================================================
   TESTIMONIALS — mobile slider (scroll-snap carousel)
   =============================================================== */
@media (max-width: 767px) {
    .testi-grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: .25rem .25rem 1rem;
        margin: 0 -1.1rem;
        padding-left: 1.1rem;
        padding-right: 1.1rem;
        scrollbar-width: none;
    }
    .testi-grid::-webkit-scrollbar { display: none; }
    .testi-grid > .testimonial-card {
        flex: 0 0 86%;
        scroll-snap-align: center;
    }
    .testi-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .4rem;
        font-size: .72rem;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--c-muted);
        margin-top: .25rem;
    }
}
@media (min-width: 768px) {
    .testi-hint { display: none; }
}

/* ===============================================================
   DOCTORS — one card per row on mobile
   =============================================================== */
@media (max-width: 639px) {
    .doctor-grid { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
    .doctor-card .photo-wrap { aspect-ratio: 16/10; }
}

/* ===============================================================
   MOBILE APP-LIKE POLISH + bottom tab bar
   =============================================================== */
.app-tabbar { display: none; }
@media (max-width: 1023px) {
    body.frontend-body { padding-bottom: 74px; }
    .app-tabbar {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 80;
        background: rgba(255,255,255,.96);
        backdrop-filter: saturate(160%) blur(14px);
        -webkit-backdrop-filter: saturate(160%) blur(14px);
        border-top: 1px solid var(--c-line-soft);
        padding: .4rem .4rem calc(.4rem + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 30px rgba(20,20,40,.08);
        justify-content: space-around;
        align-items: flex-end;
    }
    .app-tabbar a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        text-decoration: none;
        color: var(--c-muted);
        font-size: .62rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        padding: .35rem 0;
        transition: color .2s;
    }
    .app-tabbar a i { font-size: 1.15rem; }
    .app-tabbar a.active { color: var(--c-accent); }
    .app-tabbar a.tab-book {
        color: #fff;
    }
    .app-tabbar a.tab-book .tab-book-btn {
        width: 54px; height: 54px;
        border-radius: 50%;
        background: var(--c-accent);
        color: #fff;
        display: grid; place-items: center;
        font-size: 1.35rem;
        margin-top: -26px;
        box-shadow: 0 8px 22px rgba(20,20,40,.22);
        border: 4px solid #fff;
    }
    .app-tabbar a.tab-book span.lbl { color: var(--c-accent); margin-top: 1px; }

    /* Float buttons don't clash with tab bar */
    .floating-em { display: none !important; }
    .floating-wa { bottom: 86px !important; right: 14px !important; }

    /* App-like larger radii + snappier cards */
    .service-card, .doctor-card, .offer-card, .event-card,
    .blog-card, .testimonial-card, .hero-appt-card { border-radius: 20px; }
}

/* ================================================================
   v16 — GLASS CARDS · BOOKING MODAL · IG THUMB · FLOATING MOBILE HEADER
   ================================================================ */

/* ---- Instagram real thumbnail + branded fallback ---- */
.ig-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ig-thumb .ig-glyph { display: none; }
.ig-thumb.ig-fallback { background: var(--c-primary) !important; }
.ig-thumb.ig-fallback .ig-glyph { display: grid; opacity: .55; }
.video-card.ig:not(:has(img)) .ig-thumb .ig-glyph { display: grid; } /* no thumb available */

/* ================================================================
   PREMIUM GLASS CARDS (all cards)
   ================================================================ */
.card-mh, .service-card, .doctor-card, .testimonial-card,
.offer-card, .event-card, .blog-card, .video-card {
    background: rgba(255,255,255,.62);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 10px 34px rgba(20,20,40,.09), inset 0 1px 0 rgba(255,255,255,.75);
}
.hero-appt-card, .doctor-featured, .contact-wrap {
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 20px 60px rgba(20,20,40,.12), inset 0 1px 0 rgba(255,255,255,.8);
}
.card-mh:hover, .service-card:hover, .doctor-card:hover,
.testimonial-card:hover, .offer-card:hover, .event-card:hover,
.blog-card:hover, .video-card:hover {
    box-shadow: 0 24px 60px rgba(20,20,40,.16), inset 0 1px 0 rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.9);
}
/* faint ambient tint so glass frost is visible on white sections */
.section.tinted { background: var(--c-cream-2); }
.section:not(.tinted):not(.inked)::after { content: none; }

/* ================================================================
   FLOATING ROUNDED GLASS HEADER (mobile) + premium menu drawer
   ================================================================ */
@media (max-width: 1023px) {
    .site-header {
        margin: .55rem .6rem 0;
        top: .55rem;
        border-radius: 22px;
        border: 1px solid rgba(255,255,255,.6);
        background: rgba(255,255,255,.55);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        box-shadow: 0 12px 34px rgba(20,20,40,.14);
    }
    .site-header .header-row { height: 60px; }
    .site-brand img { max-height: 40px; }

    /* menu drawer becomes a separate premium rounded glass card */
    .mobile-menu.open {
        margin: .5rem .6rem 0;
        border-radius: 22px;
        border: 1px solid rgba(255,255,255,.6);
        background: rgba(255,255,255,.88);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        box-shadow: 0 16px 40px rgba(20,20,40,.16);
        padding: .35rem 1rem 1.1rem;
        max-height: calc(100vh - 90px);
    }
    /* app tab bar — premium rounded floating pill */
    .app-tabbar {
        left: .6rem; right: .6rem; bottom: .6rem;
        border-radius: 26px;
        border: 1px solid rgba(255,255,255,.6);
        background: rgba(255,255,255,.72);
        box-shadow: 0 16px 40px rgba(20,20,40,.18);
    }
    body.frontend-body { padding-bottom: 90px; }
    .floating-wa { bottom: 100px !important; }
}

/* ================================================================
   BOOKING MODAL POPUP
   ================================================================ */
body.modal-open { overflow: hidden; }
.book-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 4vh 1rem;
    overflow-y: auto;
}
.book-modal.open { display: flex; }
.book-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23,21,35,.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.book-modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 26px;
    padding: 1.3rem 1.3rem 1.3rem;
    box-shadow: 0 40px 100px rgba(20,20,40,.35);
    max-height: 92vh;
    overflow-y: auto;
    animation: bookModalIn .32s cubic-bezier(.2,.8,.2,1);
}
@keyframes bookModalIn {
    from { opacity: 0; transform: translateY(24px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (min-width: 768px) { .book-modal-card { padding: 1.5rem 1.6rem; } }
.book-modal-card .book-modal-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .1rem 2.5rem .9rem 0;
    margin-bottom: .5rem;
    border-bottom: 1px solid var(--c-line-soft);
}
.book-modal-card .book-modal-head .mini-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--c-primary);
    color: #fff;
    display: grid; place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.book-modal-card .book-modal-head h3 {
    font-family: var(--f-display);
    font-size: 1.35rem;
    line-height: 1.1;
}
.book-modal-card .book-modal-head p {
    font-size: .82rem;
    color: var(--c-muted);
    margin: .2rem 0 0;
}
.book-modal-x {
    position: absolute;
    top: 14px; left: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--c-line);
    background: #fff;
    color: var(--c-ink);
    cursor: pointer;
    display: grid; place-items: center;
    font-size: 1rem;
    z-index: 5;
    transition: background .2s, color .2s, transform .2s;
}
.book-modal-x:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); transform: rotate(90deg); }
.book-modal-card .hero-appt-form { display: grid; gap: .7rem; }

/* ---- Success toast ---- */
.book-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 140%);
    z-index: 300;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--c-primary);
    color: #fff;
    padding: .85rem 1.35rem;
    border-radius: var(--r-pill);
    box-shadow: 0 20px 50px rgba(20,20,40,.3);
    font-weight: 600;
    font-size: .9rem;
    max-width: 92vw;
    transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.book-toast.show { transform: translate(-50%, 0); }
.book-toast i { color: #7dffb0; font-size: 1.1rem; }
@media (max-width: 1023px) { .book-toast { bottom: 100px; } }

/* v18 — footer mobile 2-column + developed-by credit */
@media (max-width: 639px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.25rem; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
.footer-credit { margin-top: .55rem; font-size: .78rem; color: rgba(255,255,255,.55); }
.footer-credit a { color: rgba(255,255,255,.8); font-weight: 600; }
.footer-credit a:hover { color: var(--c-highlight); }
