/* ==========================================================================
   Jawahar Eye Hospital — Design System
   --------------------------------------------------------------------------
   1. Tokens          6. Hero              11. Doctors          16. Footer
   2. Base            7. Section heads     12. Process          17. Floating widget
   3. Utilities       8. Cards             13. Counters         18. Chatbot
   4. Buttons         9. About/Why         14. Testimonials     19. Modals & forms
   5. Header/Nav     10. Technology        15. Reviews/Blog/FAQ 20. Inner pages
   ========================================================================== */

/* 1. TOKENS --------------------------------------------------------------- */
:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --blue-600: #1559c7;
  --blue-500: #1d6fe0;
  --blue-100: #e7f0fd;
  --blue-50:  #f3f8ff;
  --cyan-400: #4cc3e6;
  --cyan-100: #dff5fb;
  --green-500:#13a07a;
  --green-50: #e8f7f2;
  --ink-900:  #0f1d2e;
  --ink-700:  #364659;
  --ink-500:  #5d6d80;
  --ink-300:  #a9b5c3;
  --line:     #e3eaf2;
  --surface:  #ffffff;
  --surface-2:#f6f9fc;
  --wa:       #1fae5b;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif:"Instrument Serif", Georgia, "Times New Roman", serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 28px;

  --sh-1: 0 1px 2px rgba(11,37,69,.05), 0 2px 8px rgba(11,37,69,.05);
  --sh-2: 0 6px 24px rgba(11,37,69,.08);
  --sh-3: 0 18px 50px rgba(11,37,69,.14);

  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 76px;
  --section-y: clamp(64px, 9vw, 112px);
}

/* 2. BASE ----------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4,h5,h6 { color: var(--ink-900); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy-800); }
img { max-width: 100%; height: auto; }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
::selection { background: var(--blue-100); color: var(--navy-800); }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }

/* 3. UTILITIES ------------------------------------------------------------ */
.section { padding: var(--section-y) 0; position: relative; }
.section-alt { background: var(--surface-2); }
.section-navy { background: var(--navy-800); color: #c9d6e6; }
.section-navy h2, .section-navy h3 { color: #fff; }
.text-ink { color: var(--ink-900) !important; }
.text-muted-2 { color: var(--ink-500) !important; }
.lead-lg { font-size: 1.125rem; color: var(--ink-500); }
.mw-640 { max-width: 640px; } .mw-760 { max-width: 760px; }

/* Placeholder marker: anything awaiting verified hospital data.
   Set PLACEHOLDER_HIGHLIGHT=false in assets/js/config.js to hide the outline. */
.ph { background: #fff7e0; outline: 1px dashed #e0a800; border-radius: 4px; padding: 0 .3em; color: #6b4e00; }
html.ph-off .ph { background: none; outline: 0; padding: 0; color: inherit; }

/* Reveal-on-scroll (motion-safe) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; }
  .reveal[data-delay="3"] { transition-delay: .24s; } .reveal[data-delay="4"] { transition-delay: .32s; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* 4. BUTTONS -------------------------------------------------------------- */
.btn { white-space: nowrap; font-weight: 600; border-radius: 999px; padding: .78rem 1.5rem; letter-spacing: -.005em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s, border-color .25s; display: inline-flex; align-items: center; gap: .5rem; justify-content: center; }
.btn i { font-size: 1.05em; }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-primary { background: var(--blue-600); border-color: var(--blue-600); box-shadow: 0 8px 20px -8px rgba(21,89,199,.6); }
.btn-primary:hover, .btn-primary:focus { background: var(--navy-800); border-color: var(--navy-800); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(11,37,69,.55); }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink-900); background: #fff; }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; border: 0; }
.btn-wa:hover { background: #178a48; color: #fff; transform: translateY(-2px); }
.btn-light-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.35); background: transparent; }
.btn-light-ghost:hover { background: #fff; color: var(--navy-800); }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; color: var(--blue-600); }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* 5. HEADER / NAV --------------------------------------------------------- */
.topbar { background: var(--navy-900); color: #b8c7da; font-size: .84rem; }
.topbar a { color: #dfe8f3; }
.topbar a:hover { color: #fff; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar-list { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar-list i { color: var(--cyan-400); margin-right: .35rem; }
.social { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.social a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; transition: background .25s, transform .25s var(--ease); }
.social a:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(11,37,69,.35); border-color: var(--line); }
.site-header .navbar { min-height: var(--header-h); padding: 0; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy-800); }
.brand:hover { color: var(--navy-800); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { line-height: 1.05; }
.brand-text { white-space: nowrap; }
.brand-text strong { display: block; font-size: 1.08rem; letter-spacing: -.02em; }
.brand-text small { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-500); font-weight: 600; }
.main-nav .nav-link { color: var(--ink-900); font-weight: 600; font-size: .93rem; padding: .6rem .8rem !important; border-radius: 8px; position: relative; }
.main-nav .nav-link:hover, .main-nav .nav-link.active, .main-nav .show > .nav-link { color: var(--blue-600); }
.main-nav .nav-link.active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--blue-600); border-radius: 2px; }
.main-nav .dropdown-toggle::after { border: 0; content: "\F282"; font-family: "bootstrap-icons"; font-size: .7rem; vertical-align: middle; margin-left: .3rem; transition: transform .25s; }
.main-nav .show > .dropdown-toggle::after { transform: rotate(180deg); }
.dropdown-menu { border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-3); padding: .6rem; }
.dropdown-item { border-radius: 8px; padding: .55rem .8rem; font-weight: 500; color: var(--ink-700); font-size: .93rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--blue-50); color: var(--blue-600); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--navy-800); background: #fff; transition: all .25s var(--ease); font-size: 1.1rem; }
.icon-btn:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.icon-btn.wa { color: var(--wa); }
.icon-btn.wa:hover { border-color: var(--wa); color: var(--wa); }

/* Mega menu */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .main-nav .nav-link { font-size: .88rem; padding: .55rem .55rem !important; }
  .main-nav .nav-link.active::after { left: .55rem; right: .55rem; }
}
@media (min-width: 1200px) {
  .mega { position: static; }
  .mega-menu { width: min(1080px, calc(100vw - 48px)); left: 50% !important; transform: translateX(-50%); padding: 1.6rem; margin-top: 0 !important; top: 100%; }
  .main-nav .dropdown:hover > .dropdown-menu { display: block; }
}
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; gap: 1.4rem; }
.mega-col h6 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); margin: 0 0 .6rem .8rem; }
.mega-col .dropdown-item { display: flex; align-items: center; gap: .55rem; white-space: normal; }
.mega-col .dropdown-item i { color: var(--blue-600); }
.mega-feature { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); border-radius: var(--r-md); padding: 1.3rem; color: #c9d6e6; display: flex; flex-direction: column; gap: .7rem; }
.mega-feature h5 { color: #fff; font-size: 1.05rem; margin: 0; }
.mega-feature p { font-size: .88rem; margin: 0; line-height: 1.55; }

/* Offcanvas mobile nav */
.offcanvas-nav { max-width: 340px; }
.offcanvas-nav .nav-link { font-weight: 600; color: var(--ink-900); padding: .8rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.offcanvas-nav .sub { list-style: none; padding: .3rem 0 .6rem .8rem; margin: 0; }
.offcanvas-nav .sub a { display: block; padding: .45rem 0; color: var(--ink-700); font-size: .94rem; }
.offcanvas-nav .accordion-button { padding: .8rem 0; font-weight: 600; color: var(--ink-900); background: none; box-shadow: none; border-bottom: 1px solid var(--line); }
.offcanvas-nav .accordion-button:not(.collapsed) { color: var(--blue-600); }

/* 6. HERO ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); background:
  radial-gradient(1100px 520px at 88% 10%, var(--cyan-100) 0%, transparent 60%),
  radial-gradient(800px 500px at 0% 100%, var(--blue-50) 0%, transparent 70%),
  #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(21,89,199,.09) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 0%, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); background: var(--blue-100); padding: .42rem .9rem; border-radius: 999px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(19,160,122,.18); }
.hero h1 { margin: 1.1rem 0 1rem; }
.hero h1 .serif { color: var(--blue-600); }
.hero .sub-h { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-900); font-weight: 600; margin-bottom: .6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.8rem 0 1.6rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem 1.2rem; }
.check-list li { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink-900); font-size: .94rem; }
.check-list i { color: var(--green-500); font-size: 1.1rem; }

.hero-visual { position: relative; max-width: 560px; margin-inline: auto; }
.hero-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/4.4; background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-700) 55%, var(--blue-600) 130%); box-shadow: var(--sh-3); }
.hero-frame img, .hero-frame svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.float-card { position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-3); padding: .85rem 1rem; display: flex; align-items: center; gap: .75rem; font-size: .88rem; line-height: 1.3; }
.float-card strong { color: var(--ink-900); display: block; font-size: .95rem; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); font-size: 1.2rem; flex: none; }
.float-card.fc-1 { left: -28px; top: 14%; }
.float-card.fc-2 { right: -22px; bottom: 16%; }
.float-card.fc-2 .ic { background: var(--green-50); color: var(--green-500); }
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: bob 6s ease-in-out infinite; }
  .float-card.fc-2 { animation-delay: -3s; }
  @keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .iris-ring { transform-origin: 50% 50%; animation: spin 60s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
@media (max-width: 575.98px) { .float-card.fc-1 { left: 8px; top: 8px; } .float-card.fc-2 { right: 8px; bottom: 8px; } .check-list { grid-template-columns: 1fr; } }

/* Trust strip */
.trust-strip { margin-top: -44px; position: relative; z-index: 3; }
.trust-grid { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-2); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: .9rem; align-items: center; padding: 1.4rem 1.5rem; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item i { font-size: 1.5rem; color: var(--blue-600); width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); display: grid; place-items: center; flex: none; }
.trust-item strong { display: block; color: var(--ink-900); font-size: .98rem; line-height: 1.3; }
.trust-item span { font-size: .84rem; color: var(--ink-500); line-height: 1.4; }
@media (max-width: 991.98px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } .trust-item:nth-child(3) { border-left: 0; } .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 575.98px) { .trust-grid { grid-template-columns: 1fr; } .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); } }

/* 7. SECTION HEADS -------------------------------------------------------- */
.sec-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-label { display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .8rem; }
.sec-label::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-navy .sec-label { color: var(--cyan-400); }
.sec-head h2 .serif { color: var(--blue-600); }
.section-navy .sec-head h2 .serif { color: var(--cyan-400); }
.sec-head p { color: var(--ink-500); font-size: 1.06rem; margin-top: .9rem; }
.section-navy .sec-head p { color: #a8b9cd; }

/* 8. CARDS ---------------------------------------------------------------- */
.svc-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.5rem 1.4rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.svc-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.45rem; background: var(--blue-50); color: var(--blue-600); margin-bottom: 1.1rem; transition: background .35s, color .35s, transform .35s var(--ease); }
.svc-card:hover .svc-icon { background: var(--blue-600); color: #fff; transform: rotate(-6deg); }
.svc-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.svc-card h3 a { color: inherit; }
.svc-card h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-card p { font-size: .93rem; color: var(--ink-500); margin-bottom: 1.1rem; flex: 1; line-height: 1.6; }
.svc-card .link-arrow { font-size: .9rem; }
.svc-card.is-feature { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); border: 0; color: #b8c7da; }
.svc-card.is-feature h3 { color: #fff; } .svc-card.is-feature p { color: #b8c7da; }
.svc-card.is-feature .svc-icon { background: rgba(255,255,255,.1); color: var(--cyan-400); }
.svc-card.is-feature .link-arrow { color: var(--cyan-400); }

.feat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.feat-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-size: 1.3rem; margin-bottom: 1rem; transition: transform .3s var(--ease); }
.feat-card:hover .ic { transform: scale(1.08); }
.feat-card h3 { font-size: 1.04rem; margin-bottom: .4rem; }
.feat-card p { font-size: .92rem; color: var(--ink-500); margin: 0; line-height: 1.6; }
.section-navy .feat-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); }
.section-navy .feat-card h3 { color: #fff; } .section-navy .feat-card p { color: #a8b9cd; }
.section-navy .feat-card .ic { background: rgba(76,195,230,.12); color: var(--cyan-400); }
.section-navy .feat-card:hover { background: rgba(255,255,255,.07); box-shadow: none; }

/* 9. ABOUT ---------------------------------------------------------------- */
.about-visual { position: relative; }
.about-visual .frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/5.4; background: var(--blue-50); box-shadow: var(--sh-2); }
.about-visual .frame svg, .about-visual .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge { position: absolute; right: -14px; bottom: 32px; background: var(--navy-800); color: #fff; border-radius: var(--r-lg); padding: 1.2rem 1.4rem; box-shadow: var(--sh-3); max-width: 220px; }
.about-badge .big { font-family: var(--font-serif); font-size: 2.8rem; line-height: 1; color: var(--cyan-400); }
.about-badge small { display: block; color: #b8c7da; font-size: .84rem; margin-top: .3rem; line-height: 1.4; }
@media (max-width: 575.98px) { .about-badge { right: 10px; bottom: 10px; } }
.tick-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .65rem; }
.tick-list li { display: flex; gap: .65rem; align-items: flex-start; }
.tick-list i { color: var(--green-500); margin-top: .2rem; }
.tick-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 575.98px) { .tick-list.cols-2 { grid-template-columns: 1fr; } }

/* 10. TECHNOLOGY ---------------------------------------------------------- */
.tech-card { border-radius: var(--r-lg); padding: 1.5rem; height: 100%; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: .6rem; transition: box-shadow .3s, transform .3s var(--ease); }
.tech-card:hover { box-shadow: var(--sh-2); transform: translateY(-4px); }
.tech-card .ic { font-size: 1.4rem; color: var(--blue-600); }
.tech-card h3 { font-size: 1.05rem; margin: 0; }
.tech-card p { font-size: .9rem; color: var(--ink-500); margin: 0; line-height: 1.6; }
.tech-card dl { margin: .3rem 0 0; font-size: .84rem; display: grid; gap: .3rem; }
.tech-card dt { font-weight: 700; color: var(--ink-900); display: inline; }
.tech-card dd { display: inline; margin: 0; color: var(--ink-500); }
.tech-illus { border-radius: var(--r-xl); overflow: hidden; background: var(--navy-800); }
.tech-illus svg { display: block; width: 100%; height: auto; }

/* 12. PROCESS TIMELINE ---------------------------------------------------- */
.process { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 31px; left: 8%; right: 8%; height: 2px; background: var(--line); }
.process-line { position: absolute; top: 31px; left: 8%; height: 2px; width: 0; background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); transition: width 1.6s var(--ease); }
.process.is-in .process-line { width: 84%; }
.step { position: relative; text-align: center; }
.step-num { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 800; color: var(--blue-600); position: relative; z-index: 1; transition: border-color .5s, background .5s, color .5s; font-size: 1.05rem; }
.process.is-in .step-num { border-color: var(--blue-600); }
.step:hover .step-num { background: var(--blue-600); color: #fff; }
.step h3 { font-size: 1rem; margin-bottom: .35rem; }
.step p { font-size: .87rem; color: var(--ink-500); margin: 0; line-height: 1.55; }
@media (max-width: 991.98px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { top: 0; bottom: 0; left: 31px; right: auto; width: 2px; height: auto; }
  .process-line { top: 0; left: 31px; width: 2px !important; height: 0; transition: height 1.6s var(--ease); }
  .process.is-in .process-line { height: 100%; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; text-align: left; padding-bottom: 1.6rem; }
  .step-num { margin: 0; }
}

/* 13. COUNTERS ------------------------------------------------------------ */
.counters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--r-lg); overflow: hidden; }
.counter { background: var(--navy-800); padding: 2rem 1.2rem; text-align: center; }
.counter .num { font-family: var(--font-serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: #fff; }
.counter .num .suffix { color: var(--cyan-400); }
.counter .lbl { color: #a8b9cd; font-size: .9rem; margin-top: .6rem; }
@media (max-width: 991.98px) { .counters { grid-template-columns: repeat(2, 1fr); } .counter:last-child { grid-column: span 2; } }

/* 11. DOCTORS ------------------------------------------------------------- */
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.doc-photo { aspect-ratio: 4/3.6; background: linear-gradient(160deg, var(--blue-100), var(--cyan-100)); position: relative; overflow: hidden; }
.doc-photo img, .doc-photo svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.doc-card:hover .doc-photo img, .doc-card:hover .doc-photo svg { transform: scale(1.04); }
.doc-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.94); color: var(--navy-800); font-size: .74rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; letter-spacing: .02em; }
.doc-body { padding: 1.4rem 1.4rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.doc-body h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.doc-body h3 a { color: inherit; }
.doc-qual { font-weight: 600; color: var(--blue-600); font-size: .9rem; }
.doc-meta { list-style: none; padding: 0; margin: .8rem 0; font-size: .88rem; color: var(--ink-500); display: grid; gap: .3rem; }
.doc-meta i { color: var(--blue-600); margin-right: .4rem; }
.doc-body p { font-size: .91rem; color: var(--ink-500); line-height: 1.6; flex: 1; }
.doc-actions { display: flex; gap: .5rem; flex-wrap: wrap; padding-top: .9rem; border-top: 1px solid var(--line); }
.doc-actions .btn { flex: 1; }
.doc-actions .icon-btn { width: 42px; height: 42px; flex: none; }

/* 14. TESTIMONIALS -------------------------------------------------------- */
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1.4rem) / 3); gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .4rem .2rem 1.4rem; }
.t-track::-webkit-scrollbar { display: none; }
@media (max-width: 991.98px) { .t-track { grid-auto-columns: calc((100% - 1.4rem) / 2); } }
@media (max-width: 575.98px) { .t-track { grid-auto-columns: 88%; } }
.t-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.t-card .quote { font-family: var(--font-serif); font-size: 3rem; line-height: .5; color: var(--cyan-400); height: 18px; }
.t-card blockquote { margin: 0; font-size: .98rem; color: var(--ink-700); flex: 1; }
.stars { color: #f2b01e; letter-spacing: .1em; font-size: .9rem; }
.t-person { display: flex; gap: .8rem; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); font-weight: 800; flex: none; }
.t-person strong { display: block; color: var(--ink-900); line-height: 1.3; }
.t-person small { color: var(--ink-500); }
.t-controls { display: flex; gap: .5rem; }

/* 15. REVIEWS / BLOG / FAQ ------------------------------------------------ */
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; height: 100%; display: flex; flex-direction: column; gap: .8rem; transition: transform .3s var(--ease), box-shadow .3s; }
.rv-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.rv-logo { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--ink-900); }
.rv-logo .lg { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; color: #fff; }
.rv-score { font-size: 2rem; font-weight: 800; color: var(--ink-900); line-height: 1; }
.rv-card small { color: var(--ink-500); }

.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; position: relative; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.blog-thumb { aspect-ratio: 16/9.5; overflow: hidden; background: var(--blue-50); }
.blog-thumb svg, .blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.blog-card:hover .blog-thumb svg, .blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: .8rem; align-items: center; font-size: .8rem; color: var(--ink-500); margin-bottom: .6rem; }
.chip { display: inline-block; background: var(--blue-50); color: var(--blue-600); font-weight: 700; font-size: .74rem; padding: .28rem .7rem; border-radius: 999px; letter-spacing: .02em; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.blog-body h3 a { color: inherit; }
.blog-body h3 a::before { content: ""; position: absolute; inset: 0; }
.blog-body p { font-size: .92rem; color: var(--ink-500); flex: 1; line-height: 1.6; }

.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--r-md) !important; margin-bottom: .75rem; overflow: hidden; background: #fff; }
.faq .accordion-button { font-weight: 600; color: var(--ink-900); padding: 1.15rem 1.3rem; font-size: 1rem; background: #fff; box-shadow: none; gap: 1rem; }
.faq .accordion-button:not(.collapsed) { color: var(--blue-600); background: var(--blue-50); }
.faq .accordion-button::after { background-image: none; content: "\F4FE"; font-family: "bootstrap-icons"; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); display: grid; place-items: center; color: var(--blue-600); font-size: .9rem; flex: none; transform: none; transition: transform .3s var(--ease), background .3s; }
.faq .accordion-button:not(.collapsed)::after { content: "\F2EA"; background: #fff; transform: rotate(180deg); }
.faq .accordion-body { padding: 0 1.3rem 1.2rem; color: var(--ink-500); background: var(--blue-50); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 55%, #18508f 100%); color: #c9d6e6; }
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; border: 60px solid rgba(76,195,230,.08); }
.cta-band::before { content: ""; position: absolute; width: 260px; height: 260px; right: 60px; bottom: -140px; border-radius: 50%; border: 30px solid rgba(255,255,255,.05); }
.cta-band h2 { color: #fff; } .cta-band .serif { color: var(--cyan-400); }
.cta-band > * { position: relative; z-index: 1; }

/* Contact block */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.contact-line { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: none; font-size: 1.1rem; }
.contact-line strong { display: block; color: var(--ink-900); font-size: .95rem; }
.contact-line span, .contact-line a { font-size: .93rem; }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 380px; height: 100%; background: var(--blue-50); position: relative; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-wrap .map-load { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1rem; }
.notice { border-radius: var(--r-md); padding: 1rem 1.2rem; display: flex; gap: .8rem; align-items: flex-start; font-size: .93rem; }
.notice i { font-size: 1.2rem; margin-top: .1rem; }
.notice-warn { background: #fff4f0; border: 1px solid #ffd8cc; color: #7a2e16; }
.notice-info { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--navy-700); }

/* 16. FOOTER -------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #93a6bd; padding-top: clamp(56px, 7vw, 88px); font-size: .93rem; }
.site-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1.2rem; }
.site-footer a { color: #c1cfdf; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { display: inline-flex; gap: .4rem; align-items: center; transition: transform .25s var(--ease), color .2s; }
.footer-links a:hover { transform: translateX(3px); }
.footer-brand .brand { color: #fff; } .footer-brand .brand-text small { color: #93a6bd; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; }
.footer-contact i { color: var(--cyan-400); margin-top: .2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding: 1.4rem 0; font-size: .85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 1.2rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.site-footer .social a { background: rgba(255,255,255,.06); width: 38px; height: 38px; }
.site-footer .social a:hover { background: var(--blue-600); color: #fff; }
.newsletter { display: flex; gap: .5rem; margin-top: .8rem; }
.newsletter .form-control { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; border-radius: 999px; }
.newsletter .form-control::placeholder { color: #8094ab; }

/* 17. FLOATING WIDGET + MOBILE BAR --------------------------------------- */
.fab-stack { position: fixed; right: 20px; bottom: 22px; z-index: 1040; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; color: #fff; border: 0; box-shadow: 0 10px 24px -8px rgba(11,37,69,.45); transition: transform .25s var(--ease), box-shadow .25s; position: relative; }
.fab:hover, .fab:focus-visible { transform: translateY(-3px) scale(1.04); color: #fff; }
.fab-wa { background: var(--wa); }
.fab-main { background: var(--navy-800); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31,174,91,.5); }
@media (prefers-reduced-motion: no-preference) { .fab-wa::before { animation: pulse 2.6s infinite; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,174,91,.45); } 70%,100% { box-shadow: 0 0 0 16px rgba(31,174,91,0); } } }
.fab-label { position: absolute; right: 64px; white-space: nowrap; background: var(--ink-900); color: #fff; font-size: .8rem; font-weight: 600; padding: .35rem .7rem; border-radius: 8px; opacity: 0; transform: translateX(6px); transition: all .2s; pointer-events: none; }
.fab:hover .fab-label, .fab:focus-visible .fab-label { opacity: 1; transform: none; }
.fab-panel { position: absolute; right: 0; bottom: 66px; width: 290px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--line); padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: bottom right; transition: all .25s var(--ease); }
.fab-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.fab-panel h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-500); margin: .5rem .7rem .6rem; }
.fab-panel a, .fab-panel button.fp-item { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .7rem; border-radius: 12px; color: var(--ink-900); font-weight: 600; font-size: .94rem; border: 0; background: none; text-align: left; }
.fab-panel a:hover, .fab-panel button.fp-item:hover { background: var(--blue-50); color: var(--blue-600); }
.fab-panel .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); flex: none; }
.fab-panel .ic.wa { background: #e7f7ee; color: var(--wa); }
.fab-main .bi-x-lg { display: none; }
.fab-main[aria-expanded="true"] .bi-x-lg { display: block; }
.fab-main[aria-expanded="true"] .bi-grid-fill { display: none; }

.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11,37,69,.2); display: grid; grid-template-columns: 1fr 1fr 1.4fr; padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom)); gap: .5rem; }
.mobile-cta a, .mobile-cta button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; font-size: .76rem; font-weight: 700; border-radius: 12px; padding: .45rem; min-height: 50px; border: 0; }
.mobile-cta i { font-size: 1.15rem; }
.mobile-cta .m-call { background: var(--blue-50); color: var(--blue-600); }
.mobile-cta .m-wa { background: #e7f7ee; color: #157a42; }
.mobile-cta .m-book { background: var(--blue-600); color: #fff; flex-direction: row; font-size: .9rem; gap: .45rem; }
@media (max-width: 991.98px) {
  body { padding-bottom: 76px; } /* keeps the CTA bar from covering content */
  .fab-stack { bottom: 88px; right: 14px; }
  .fab { width: 50px; height: 50px; }
}
@media (min-width: 992px) { .mobile-cta { display: none; } }

/* 18. CHATBOT ------------------------------------------------------------- */
.chatbot { position: fixed; right: 20px; bottom: 156px; width: min(360px, calc(100vw - 28px)); z-index: 1045; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); background: #efeae2; opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s var(--ease); }
.chatbot.is-open { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 991.98px) { .chatbot { right: 14px; bottom: 150px; max-height: calc(100vh - 170px); overflow-y: auto; } }
.chat-head { background: #075e54; color: #fff; padding: .9rem 1rem; display: flex; align-items: center; gap: .75rem; }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.chat-head .av svg { width: 30px; height: 30px; }
.chat-head strong { display: block; font-size: .95rem; line-height: 1.2; }
.chat-head small { opacity: .8; font-size: .76rem; }
.chat-head .close-chat { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.2rem; width: 36px; height: 36px; border-radius: 50%; }
.chat-head .close-chat:hover { background: rgba(255,255,255,.14); }
.chat-body { padding: 1rem; max-height: 52vh; overflow-y: auto; display: flex; flex-direction: column; gap: .6rem; }
.bubble { background: #fff; border-radius: 0 12px 12px 12px; padding: .7rem .9rem; font-size: .92rem; color: #1f2c34; max-width: 88%; box-shadow: 0 1px 1px rgba(0,0,0,.08); line-height: 1.5; }
.bubble.me { align-self: flex-end; background: #d9fdd3; border-radius: 12px 0 12px 12px; }
.chat-options { display: grid; gap: .4rem; }
.chat-options button { background: #fff; border: 1px solid #d5e5dd; color: #075e54; font-weight: 600; font-size: .88rem; text-align: left; border-radius: 10px; padding: .6rem .8rem; transition: background .2s; }
.chat-options button:hover { background: #f0faf4; }
.chat-foot { background: #f0f2f5; padding: .7rem; }

/* 19. MODALS & FORMS ------------------------------------------------------ */
.modal-content { border: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); }
.modal-header { border: 0; padding: 1.5rem 1.6rem .4rem; align-items: flex-start; }
.modal-header .modal-title { font-size: 1.35rem; }
.modal-header p { font-size: .9rem; color: var(--ink-500); margin: .2rem 0 0; }
.modal-body { padding: 1rem 1.6rem 1.6rem; }
.modal-side { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: #b8c7da; padding: 2rem 1.6rem; }
.modal-side h3 { color: #fff; font-size: 1.2rem; }
.form-label { font-weight: 600; color: var(--ink-900); font-size: .88rem; margin-bottom: .35rem; }
.form-label .req { color: #c0392b; }
.form-control, .form-select { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .72rem .95rem; font-size: .95rem; color: var(--ink-900); background-color: #fff; transition: border-color .2s, box-shadow .2s; min-height: 48px; }
.form-control:focus, .form-select:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(29,111,224,.12); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #d64545; background-image: none; }
.invalid-feedback { font-size: .82rem; font-weight: 500; }
.form-check-input { width: 1.15em; height: 1.15em; }
.form-check-label { font-size: .86rem; color: var(--ink-500); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; border-radius: var(--r-md); padding: 1rem 1.1rem; font-size: .93rem; margin-top: 1rem; }
.form-status.ok { display: flex; gap: .7rem; background: var(--green-50); color: #0b5e47; border: 1px solid #bfe8da; }
.form-status.err { display: flex; gap: .7rem; background: #fff1f1; color: #8a1f1f; border: 1px solid #f5c9c9; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--sh-2); }
.form-privacy { font-size: .8rem; color: var(--ink-500); display: flex; gap: .4rem; align-items: center; }

.appt-section { background: linear-gradient(180deg, var(--surface-2), #fff); }

/* 20. INNER PAGES --------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--navy-800) 0%, var(--navy-700) 60%, #18508f 120%); color: #b8c7da; padding: clamp(44px, 6vw, 80px) 0 clamp(48px, 6vw, 84px); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 480px; height: 480px; border-radius: 50%; border: 56px solid rgba(76,195,230,.08); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin: .8rem 0 .8rem; }
.page-hero h1 .serif { color: var(--cyan-400); }
.page-hero p { max-width: 720px; font-size: 1.08rem; }
.page-hero > .container { position: relative; z-index: 1; }
.breadcrumb { font-size: .84rem; margin: 0; }
.breadcrumb-item a { color: #cfdcec; }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item.active { color: var(--cyan-400); }
.breadcrumb-item + .breadcrumb-item::before { color: #6f86a3; content: "\F285"; font-family: "bootstrap-icons"; font-size: .7rem; }
.page-hero .hero-ctas { margin: 1.5rem 0 0; }

.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 2.6rem 0 1rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.6rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-700); }
.prose ul.dot-list { padding-left: 0; list-style: none; display: grid; gap: .55rem; }
.prose ul.dot-list li { position: relative; padding-left: 1.6rem; }
.prose ul.dot-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100); }
.prose .lead-box { background: var(--blue-50); border-left: 4px solid var(--blue-600); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1.2rem 1.4rem; font-size: 1.06rem; color: var(--navy-700); }
.grid-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin: 1rem 0; }
@media (max-width: 575.98px) { .grid-cards { grid-template-columns: 1fr; } }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.mini-card h3 { font-size: 1rem; margin: 0 0 .3rem; display: flex; gap: .5rem; align-items: center; }
.mini-card h3 i { color: var(--blue-600); }
.mini-card p { font-size: .92rem; margin: 0; color: var(--ink-500); }
.steps-list { counter-reset: s; list-style: none; padding: 0; display: grid; gap: .9rem; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 42px 1fr; gap: .9rem; align-items: start; }
.steps-list li::before { content: counter(s, decimal-leading-zero); width: 42px; height: 42px; border-radius: 12px; background: var(--navy-800); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.steps-list strong { color: var(--ink-900); display: block; }

.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.2rem; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; }
.aside-card h2 { font-size: 1rem; margin-bottom: .8rem; }
.aside-card.dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); border: 0; color: #b8c7da; }
.aside-card.dark h2 { color: #fff; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.toc a { display: block; padding: .4rem .6rem; border-radius: 8px; color: var(--ink-700); font-size: .9rem; border-left: 2px solid transparent; }
.toc a:hover, .toc a.is-active { background: var(--blue-50); color: var(--blue-600); border-left-color: var(--blue-600); }

.doc-hero-card { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: center; }
.doc-hero-card .doc-photo { border-radius: var(--r-xl); aspect-ratio: 1/1.1; }
@media (max-width: 767.98px) { .doc-hero-card { grid-template-columns: 1fr; } .doc-hero-card .doc-photo { max-width: 240px; } }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 767.98px) { .fact-grid { grid-template-columns: 1fr; } }
.fact { background: var(--surface-2); border-radius: var(--r-md); padding: 1rem 1.2rem; }
.fact small { color: var(--ink-500); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.fact strong { display: block; color: var(--ink-900); margin-top: .2rem; }

.article-body { font-size: 1.06rem; }
.article-body p { margin-bottom: 1.2rem; }
.sitemap-list { columns: 3 240px; column-gap: 2rem; list-style: none; padding: 0; }
.sitemap-list li { break-inside: avoid; padding: .3rem 0; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-bar button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .88rem; color: var(--ink-700); }
.filter-bar button.is-active, .filter-bar button:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* Keep large Bootstrap gutters from causing horizontal scroll on phones */
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2.25rem; }
  .container { padding-left: 16px; padding-right: 16px; }
}

.eyebrow-dark { background: rgba(255,255,255,.1); color: #bfe9f7; margin-top: 1rem; }
.prose .cta-band h2 { color: #fff; margin: 0; }
.prose .cta-band p { color: #c9d6e6; }
.cta-band.cta-inline { padding: 1.6rem 1.8rem; }
@media (max-width: 575.98px) {
  .hero-ctas .btn { flex: 1 1 calc(50% - .35rem); }
  .hero-ctas .btn:first-child { flex-basis: 100%; }
  .header-actions { gap: .4rem; }
  .icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 399.98px) {
  .brand-mark { width: 38px; height: 38px; }
  .brand-text strong { font-size: .95rem; }
  .brand-text small { font-size: .6rem; letter-spacing: .1em; }
}

/* 21. LOCATIONS ----------------------------------------------------------- */
.loc-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.3rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.loc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.loc-card h3 { font-size: 1.15rem; margin: 0; }
.loc-card h3 a { color: inherit; }
.loc-card h3 a::before { content: ""; position: absolute; inset: 0; }
.loc-card p { font-size: .9rem; color: var(--ink-500); margin: 0; line-height: 1.55; flex: 1; }
.loc-card .link-arrow { font-size: .88rem; margin-top: .2rem; }
.loc-top { display: flex; align-items: center; gap: .6rem; }
.loc-pin { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); flex: none; }
.loc-district { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); line-height: 1.3; }
.loc-chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.loc-chips .chip { font-size: .7rem; padding: .2rem .55rem; background: var(--surface-2); color: var(--ink-700); }
.loc-card.is-home { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); border: 0; }
.loc-card.is-home h3, .loc-card.is-home .link-arrow { color: #fff; }
.loc-card.is-home p, .loc-card.is-home .loc-district { color: #b8c7da; }
.loc-card.is-home .loc-pin { background: rgba(76,195,230,.15); color: var(--cyan-400); }
.loc-card.is-home .chip { background: rgba(255,255,255,.08); color: #dfe8f3; }
.loc-more { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; align-items: center; margin-top: 1.6rem; }
.loc-link { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-900); font-weight: 600; font-size: .88rem; transition: all .2s var(--ease); }
.loc-link i { color: var(--blue-600); }
.loc-link:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.focus-card { display: flex; align-items: center; gap: .9rem; height: 100%; padding: 1rem 1.1rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--ink-900); transition: all .25s var(--ease); }
.focus-card .svc-icon { width: 44px; height: 44px; margin: 0; font-size: 1.15rem; flex: none; }
.focus-card strong { display: block; font-size: .96rem; line-height: 1.3; }
.focus-card small { display: block; color: var(--ink-500); font-size: .82rem; line-height: 1.4; margin-top: .15rem; }
.focus-card > .bi-arrow-right { color: var(--blue-600); transition: transform .25s var(--ease); }
.focus-card:hover { border-color: var(--blue-600); color: var(--ink-900); box-shadow: var(--sh-1); }
.focus-card:hover > .bi-arrow-right { transform: translateX(4px); }
.hero-badges { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .88rem; color: #cfdcec; }
.hero-badges i { color: var(--cyan-400); margin-right: .4rem; }
.prose-list li, .dot-list.prose-list li { font-size: .92rem; }
.dot-list { list-style: none; padding-left: 0; display: grid; gap: .5rem; }
.dot-list li { position: relative; padding-left: 1.4rem; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-600); }
.footer-areas { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-top: 2.2rem; }
.footer-areas p { font-size: .88rem; margin-bottom: 1rem; }
.footer-area-list { list-style: none; padding: 0; margin: 0; columns: 5 140px; column-gap: 1.5rem; }
.footer-area-list li { padding: .22rem 0; break-inside: avoid; font-size: .9rem; }
.footer-areas + .footer-bottom { margin-top: 2rem; }
.loc-menu { min-width: 380px; padding: .8rem; }
.loc-menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .4rem; }
.loc-menu .dropdown-item { padding: .4rem .7rem; font-size: .9rem; }
@media (min-width: 1200px) { .main-nav .dropdown:hover > .loc-menu { display: block; } .main-nav .dropdown:last-of-type .loc-menu { right: 0; left: auto; } }

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .main-nav .nav-link { font-size: .86rem; padding: .5rem .45rem !important; }
  .main-nav .dropdown-toggle::after { margin-left: .15rem; }
  .site-header .brand-text small { display: none; }
  .header-actions .btn { padding: .65rem 1.05rem; font-size: .9rem; }
}
@media (min-width: 1400px) { .main-nav .nav-link { font-size: .9rem; padding: .55rem .62rem !important; } }
.prose .sec-label + h2 { margin-top: 0; }
