/* ==========================================================
   Al Noor Hospital, Tirur — main stylesheet
   ========================================================== */
:root{
  --navy:#0B1E46; --navy-2:#163A7A; --blue:#2552C4; --blue-soft:#EAF0FA;
  --bg:#F2F5FA; --white:#fff; --line:#E1E8F2; --line-2:#D5DDEA;
  --ink:#0B1E46; --text:#2A3546; --muted:#5B6676;
  --red:#D93636; --red-soft:#FDECEC; --red-ink:#C62F2F;
  --green:#17603A; --green-soft:#E3F6E8;
  --radius:24px; --radius-lg:32px;
  --shadow:0 20px 50px rgba(11,30,70,.10);
  --font-head:'Sora',Inter,system-ui,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{color:#1A3E9A}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:500;letter-spacing:-.025em;margin:0;color:var(--ink)}
p{margin:0}
.container{width:100%;max-width:1320px;margin:0 auto;padding:0 32px}
.skip{position:absolute;left:-999px;top:8px;background:#fff;padding:10px 16px;border-radius:10px;z-index:200}
.skip:focus{left:8px}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Type helpers ---------- */
.eyebrow{display:inline-block;font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--blue)}
.eyebrow--red{color:var(--red-ink)}
.h1{font-size:clamp(40px,5.4vw,76px);line-height:1.04;letter-spacing:-.03em}
.h2{font-size:clamp(30px,3.6vw,48px);line-height:1.08}
.h3{font-size:22px;line-height:1.25;letter-spacing:-.015em}
.lead{font-size:17px;color:var(--muted);line-height:1.7}
.muted{color:var(--muted)}
.section{padding:88px 0}
.section--sm{padding:48px 0}
.section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:40px}
.section-head--center{flex-direction:column;align-items:center;text-align:center}
.section-head .eyebrow{margin-bottom:14px}
.section-head p{max-width:440px}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;height:56px;padding:0 26px;border-radius:999px;border:1px solid transparent;font-weight:600;font-size:15px;cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s,color .2s,transform .2s}
.btn:active{transform:scale(.98)}
.btn--primary{background:var(--navy);color:#fff;padding-right:8px}
.btn--primary:hover{background:var(--navy-2);color:#fff}
.btn--white{background:#fff;color:var(--navy);padding-right:8px}
.btn--white:hover{background:#EEF2F7;color:var(--navy)}
.btn--ghost{background:#fff;border-color:var(--line-2);color:var(--navy)}
.btn--ghost:hover{border-color:var(--navy);color:var(--navy)}
.btn--outline-light{background:transparent;border-color:rgba(255,255,255,.45);color:#fff}
.btn--outline-light:hover{background:rgba(255,255,255,.12);color:#fff}
.btn--red{background:var(--red);color:#fff;padding-right:8px}
.btn--red:hover{background:#B92C2C;color:#fff}
.btn--block{width:100%;justify-content:space-between}
.btn--sm{height:46px;font-size:14px;padding:0 18px}
.btn--sm.btn--primary,.btn--sm.btn--white{padding-right:5px}
.btn .arr{width:40px;height:40px;border-radius:50%;background:#fff;color:var(--navy);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.btn--sm .arr{width:36px;height:36px}
.btn--white .arr{background:var(--navy);color:#fff}
.btn--red .arr{color:var(--red)}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.link-pill{display:inline-flex;align-items:center;gap:12px;height:48px;padding:0 5px 0 20px;border-radius:999px;border:1px solid var(--line-2);color:var(--navy);font-weight:500;font-size:14px;background:#fff}
.link-pill:hover{border-color:var(--navy);color:var(--navy)}
.arr-d{width:36px;height:36px;border-radius:50%;background:var(--navy);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}

/* ---------- Top bar & header ---------- */
.topbar{background:var(--navy);color:#C9D2DE;font-size:13px}
.topbar .container{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px}
.topbar__left,.topbar__right{display:flex;align-items:center;gap:20px}
.topbar a{color:#fff;font-weight:600}
.topbar__item{display:inline-flex;align-items:center;gap:7px}
.lang{display:inline-flex;gap:10px}.lang b{color:#fff;font-weight:600}
.dot{width:8px;height:8px;border-radius:50%;background:#FF5A5A;flex:0 0 auto;animation:pulse 1.8s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,90,90,.7)}70%{box-shadow:0 0 0 10px rgba(255,90,90,0)}100%{box-shadow:0 0 0 0 rgba(255,90,90,0)}}

.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line);transition:box-shadow .25s}
.site-header.is-scrolled{box-shadow:0 10px 30px rgba(11,30,70,.08)}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:20px;height:78px}
.logo img{height:46px;width:auto}
.nav{display:flex;align-items:center;gap:2px}
.nav a{padding:10px 16px;border-radius:999px;color:var(--text);font-size:14px;font-weight:500}
.nav a:hover{background:#F2F5FA;color:var(--navy)}
.nav a.active{background:#EAF0FA;color:var(--navy);font-weight:600}
.header-actions{display:flex;align-items:center;gap:10px}
.btn-emergency{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 18px;border-radius:999px;background:var(--red-soft);color:var(--red-ink);font-size:14px;font-weight:600}
.btn-emergency:hover{background:#FADADA;color:var(--red-ink)}
.menu-toggle{display:none;width:46px;height:46px;border-radius:50%;border:0;background:var(--navy);color:#fff;align-items:center;justify-content:center;cursor:pointer}

.mobile-nav{position:fixed;inset:0;z-index:150;background:rgba(11,30,70,.45);opacity:0;pointer-events:none;transition:opacity .25s}
.mobile-nav.open{opacity:1;pointer-events:auto}
.mobile-nav__panel{position:absolute;top:0;right:0;width:min(360px,88vw);height:100%;background:#fff;padding:22px 24px 32px;display:flex;flex-direction:column;gap:6px;transform:translateX(100%);transition:transform .3s ease;overflow-y:auto}
.mobile-nav.open .mobile-nav__panel{transform:none}
.mobile-nav__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.mobile-nav__close{width:44px;height:44px;border-radius:50%;border:1px solid var(--line-2);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.mobile-nav a.m-link{font-family:var(--font-head);font-size:20px;color:var(--navy);padding:14px 0;border-bottom:1px solid #EEF1F6}
.mobile-nav a.m-link.active{color:var(--blue)}
.mobile-nav .btn{margin-top:18px}

/* ---------- Hero (home) ---------- */
.hero{padding:12px}
.hero__media{position:relative;border-radius:30px;overflow:hidden;min-height:760px;display:flex;flex-direction:column;justify-content:center;
  background:linear-gradient(90deg,rgba(9,30,72,.94) 0%,rgba(12,40,92,.74) 38%,rgba(12,40,92,.28) 72%,rgba(12,40,92,.10) 100%),linear-gradient(180deg,rgba(9,30,72,0) 55%,rgba(9,30,72,.7) 100%),url(../img/hero.jpg) 70% 40%/cover no-repeat}
.hero__content{padding:80px clamp(24px,5vw,72px) 48px;display:flex;flex-direction:column;align-items:flex-start;gap:22px;color:#fff}
.hero__eyebrow{font-size:12px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.8)}
.hero h1{color:#fff;max-width:780px}
.hero__lead{max-width:520px;color:rgba(255,255,255,.84);font-size:17px;line-height:1.65}

/* ---------- Booking widget ---------- */
.bw{width:100%;max-width:1180px;margin-top:20px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.tabs{display:inline-flex;gap:4px;padding:5px;border-radius:999px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.tab{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 20px;border:0;border-radius:999px;background:transparent;color:var(--text);font-weight:500;font-size:14px;cursor:pointer}
.tab:hover{background:#EEF1F5}
.tab.active{background:var(--navy);color:#fff}
.bw__card{width:100%;background:#fff;border-radius:24px;box-shadow:0 24px 60px rgba(0,0,0,.25);overflow:hidden;color:var(--ink)}
.bw__row{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:10px}
.bw__field{display:flex;flex-direction:column;gap:4px;padding:10px 18px;flex:1 1 180px;min-width:0;border-radius:16px}
.bw__field:hover{background:#F5F7FA}
.bw__field--wide{flex:1.5 1 260px}
.bw__sep{width:1px;height:40px;background:var(--line)}
.bw__label{font-size:12px;color:var(--muted);font-weight:500}
.ctl{appearance:none;-webkit-appearance:none;border:0;background:transparent;font-weight:600;font-size:15px;color:var(--ink);padding:0;width:100%;outline:none;cursor:pointer;text-overflow:ellipsis}
.ctl::placeholder{color:#7A8494;font-weight:500}
select.ctl{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B1E46' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right center;padding-right:18px}
.bw__submit{margin-left:auto;flex:0 0 auto}
.bw__strip{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 28px;padding:12px 20px;background:var(--green-soft);color:var(--green);font-size:13px;font-weight:500}
.bw__strip span{display:inline-flex;align-items:center;gap:6px}
.bw__error{padding:0 28px 12px;color:#B42318;font-size:13px;font-weight:500}
.bw__success{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:18px 18px 18px 24px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{height:38px;padding:0 15px;border-radius:999px;border:1px solid #D9DEE6;background:#fff;color:var(--text);font-weight:500;font-size:13px;cursor:pointer;white-space:nowrap}
.chip:hover{border-color:var(--navy)}
.chip.active{background:var(--navy);border-color:var(--navy);color:#fff}
.chip--lg{height:44px;padding:0 20px;font-size:14px}
.success-icon{width:52px;height:52px;border-radius:50%;background:var(--green-soft);color:var(--green);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.wa-btn{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 18px;border-radius:999px;background:#E3F6E8;color:var(--green);font-weight:600;font-size:14px}
.wa-btn:hover{background:#CFEFD8;color:var(--green)}
[hidden]{display:none!important}

/* ---------- Quick access ---------- */
.quick{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;padding-top:28px}
.quick a{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 6px;border-radius:18px;color:var(--ink);font-size:13px;font-weight:500;text-align:center;transition:background .2s}
.quick a:hover{background:#fff;color:var(--ink)}
.qa-ic{width:56px;height:56px;border-radius:18px;background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center}
.qa-ic--red{background:var(--red-soft);color:var(--red-ink)}

/* ---------- Cards ---------- */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.grid{display:grid;gap:16px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.dept-card{display:flex;flex-direction:column;gap:14px;padding:26px;border-radius:24px;background:linear-gradient(165deg,#fff 55%,#EAF0FA 100%);border:1px solid var(--line);color:var(--ink);min-height:250px;transition:transform .25s,box-shadow .25s}
.dept-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);color:var(--ink)}
.dept-card p{color:var(--muted);font-size:14px;line-height:1.6}
.dept-card__foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;border-top:1px solid var(--line);font-size:13px;color:var(--text)}
.dept-card--dark{background:var(--navy);border-color:var(--navy);color:#fff}
.dept-card--dark h3{color:#fff}.dept-card--dark p{color:#B8C2D0}
.dept-card--dark:hover{color:#fff}
.icon-tile{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.icon-tile--sm{width:46px;height:46px;border-radius:14px}
.open-now{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;margin-top:auto}

.doc-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:10px;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}
.doc-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.doc-card__img{width:100%;aspect-ratio:4/4.2;object-fit:cover;object-position:center top;border-radius:18px;background:#E9EEF3}
.doc-card__body{padding:16px 10px 10px;display:flex;flex-direction:column;gap:4px;flex:1}
.doc-card__name{font-weight:600;font-size:17px;color:var(--ink)}
.doc-card__dept{font-size:14px;color:var(--muted)}
.doc-card__actions{display:flex;gap:8px;margin-top:auto;padding-top:14px}
.doc-card__actions .link-pill{flex:1;justify-content:center;padding:0 16px}
.doc-card__book{width:48px;height:48px}
.avatar-ph{width:100%;aspect-ratio:4/4.2;border-radius:18px;background:linear-gradient(160deg,#E9EEF3,#D8E1EE);display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-size:56px;color:#7A8AA3}

/* ---------- About split ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.about-box{background:#fff;border:1px solid var(--line);border-radius:32px;padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.about-box__img{position:relative}
.about-box__img img{width:100%;height:520px;object-fit:cover;object-position:62% 50%;border-radius:24px}
.badge-float{position:absolute;left:20px;bottom:20px;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-radius:18px;padding:16px 20px;display:flex;align-items:center;gap:14px}
.badge-float strong{font-family:var(--font-head);font-weight:500;font-size:36px;color:var(--blue);letter-spacing:-.03em}
.badge-float span{font-size:13px;color:var(--text);line-height:1.4}
.about-box__text{padding:20px 28px 20px 8px;display:flex;flex-direction:column;gap:18px}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.stat{background:var(--bg);border-radius:18px;padding:18px}
.stat strong{display:block;font-family:var(--font-head);font-weight:500;font-size:30px;letter-spacing:-.03em}
.stat span{font-size:13px;color:var(--muted)}

/* ---------- Emergency band ---------- */
.em-band{border-radius:32px;padding:clamp(32px,5vw,64px);color:#fff;display:flex;flex-direction:column;gap:22px;min-height:420px;justify-content:center;
  background:linear-gradient(90deg,#0B1E46 0%,rgba(11,30,70,.94) 42%,rgba(11,30,70,.55) 100%),url(../img/hero.jpg) center 85%/cover no-repeat}
.em-band h2{color:#fff;max-width:680px}
.em-band p{color:#C9D2DE;max-width:520px;font-size:17px}
.em-pill{display:inline-flex;align-self:flex-start;align-items:center;gap:10px;padding:8px 16px;border-radius:999px;background:rgba(255,90,90,.16);border:1px solid rgba(255,122,122,.4);font-size:13px;font-weight:600;color:#FFB4B4}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* ---------- Blog ---------- */
.blog-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:26px;padding:10px;color:var(--ink);transition:transform .25s,box-shadow .25s}
.blog-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);color:var(--ink)}
.blog-card__cover{height:220px;border-radius:20px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.blog-card__cover::before,.blog-card__cover::after{content:"";position:absolute;border-radius:50%;border:1px solid currentColor;opacity:.14}
.blog-card__cover::before{width:260px;height:260px;right:-60px;top:-60px}
.blog-card__cover::after{width:180px;height:180px;left:-40px;bottom:-70px}
.blog-card__icon{width:84px;height:84px;border-radius:26px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 30px rgba(11,30,70,.08)}
.blog-card__tag{position:absolute;left:14px;top:14px;padding:6px 12px;border-radius:999px;background:#fff;font-size:12px;font-weight:600;color:var(--ink)}
.blog-card__body{padding:20px 14px 14px;display:flex;flex-direction:column;gap:10px;flex:1}
.blog-card__meta{font-size:13px;color:var(--muted)}
.blog-card h3{font-size:21px;line-height:1.3}
.blog-card p{color:var(--muted);font-size:14px}
.read-more{margin-top:auto;padding-top:10px;display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:14px}

/* ---------- Visit / contact ---------- */
.visit{display:grid;grid-template-columns:1fr 1.4fr;gap:16px}
.info-row{display:flex;gap:14px}
.info-row .qa-ic{width:44px;height:44px;border-radius:14px;flex:0 0 auto}
.info-row small{display:block;font-size:13px;color:var(--muted)}
.info-row strong{font-weight:600;font-size:16px;color:var(--ink)}
.map-card{position:relative;border-radius:28px;overflow:hidden;min-height:440px}
.map-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:30% 75%}
.map-card__overlay{position:absolute;left:20px;right:20px;bottom:20px;background:#fff;border-radius:20px;padding:18px 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 16px 40px rgba(0,0,0,.2)}
.pin{width:44px;height:44px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 auto}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{padding:12px 12px 0}
.page-hero__inner{border-radius:28px;padding:64px clamp(24px,5vw,64px);color:#fff;min-height:360px;display:flex;align-items:flex-end;justify-content:space-between;gap:40px;flex-wrap:wrap;
  background:linear-gradient(90deg,rgba(9,30,72,.96) 0%,rgba(12,40,92,.84) 45%,rgba(12,40,92,.40) 100%),url(../img/hero.jpg) 70% 40%/cover no-repeat}
.page-hero__text{display:flex;flex-direction:column;gap:16px;max-width:720px}
.page-hero h1{color:#fff;font-size:clamp(38px,4.6vw,60px);line-height:1.05;letter-spacing:-.03em}
.page-hero p{color:rgba(255,255,255,.84);font-size:17px;max-width:600px}
.crumbs{font-size:13px;color:rgba(255,255,255,.7)}
.crumbs a{color:rgba(255,255,255,.88)}
.crumbs a:hover{color:#fff}
.hero-tag{align-self:flex-start;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);font-size:13px}

/* ---------- Detail layouts ---------- */
.layout-side{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:48px;align-items:start}
.sticky-side{position:sticky;top:110px;display:flex;flex-direction:column;gap:16px}
.sticky-side:has([data-doc-pick]){position:static}
.stack-56{display:flex;flex-direction:column;gap:56px}
.stack-18{display:flex;flex-direction:column;gap:18px}
.tag{display:inline-flex;padding:10px 16px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:14px;font-weight:500}
.tag--teal{background:#EAF6F4;border-color:#EAF6F4;color:#0E5E56}
.tags{display:flex;flex-wrap:wrap;gap:10px}
.service{display:flex;gap:14px;padding:22px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.service strong{display:block;font-size:16px}
.service p{color:var(--muted);font-size:14px;margin-top:4px}
.tick{width:26px;height:26px;border-radius:50%;background:var(--green-soft);color:var(--green);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.tick--red{background:var(--red-soft);color:var(--red-ink)}
.list-ticks{display:flex;flex-direction:column;gap:16px}
.list-ticks li{display:flex;gap:12px;align-items:flex-start;color:var(--text);font-size:15px;list-style:none}
.list-ticks{padding:0;margin:0}
.faq details{border-bottom:1px solid var(--line);padding:20px 0}
.faq summary{cursor:pointer;font-weight:600;font-size:16px;list-style:none;display:flex;justify-content:space-between;gap:20px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--blue);font-size:22px;line-height:1;transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{margin-top:12px;color:var(--muted);font-size:15px}
.mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mini-stats .card{padding:20px;border-radius:18px}
.mini-stats strong{display:block;font-family:var(--font-head);font-weight:500;font-size:28px}
.mini-stats span{font-size:13px;color:var(--muted)}
.sched-row{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid #EEF1F6;font-size:15px}
.sched-row:last-child{border-bottom:0}

/* ---------- Side booking ---------- */
.side-book{padding:28px;border-radius:28px;display:flex;flex-direction:column;gap:18px;box-shadow:0 20px 50px rgba(11,30,70,.08)}
.day-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.day-grid--7{grid-template-columns:repeat(7,minmax(0,1fr))}
.day{height:66px;border-radius:14px;border:1px solid #D9DEE6;background:#fff;color:var(--ink);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-weight:500}
.day small{font-size:11px;opacity:.75}
.day b{font-size:17px;font-weight:600}
.day:hover,.slot:hover{border-color:var(--navy)}
.day.active,.slot.active{background:var(--navy);border-color:var(--navy);color:#fff}
.slot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.slot-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.slot{height:44px;border-radius:12px;border:1px solid #D9DEE6;background:#fff;color:var(--ink);font-weight:500;font-size:14px;cursor:pointer}
.label{display:block;font-size:13px;font-weight:500;color:var(--text);margin-bottom:8px}
.input{width:100%;height:54px;border:1px solid #D9DEE6;border-radius:14px;padding:0 16px;font-weight:500;font-size:15px;color:var(--ink);background:#fff;outline:none;transition:border-color .2s,box-shadow .2s}
.input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,82,196,.15)}
textarea.input{height:120px;padding:14px 16px;resize:vertical}
select.input{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B1E46' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.form-error{color:#B42318;font-size:13px;font-weight:500}
.call-row{display:flex;align-items:center;gap:12px;padding-top:16px;border-top:1px solid var(--line)}
.call-row small{display:block;font-size:12px;color:var(--muted)}
.call-row a{font-weight:600;color:var(--ink)}
.doc-pick{display:flex;flex-direction:column;gap:8px}
.doc-pick .sel{padding:10px 12px;border-radius:14px;gap:12px;font-size:14px}
.doc-pick .sel img,.doc-pick .sel .ini{width:40px;height:40px;border-radius:12px;font-size:14px}
.doc-pick .sel small{font-size:12px}
.doc-pick .sel .chk{margin-left:auto;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--line-2);flex:0 0 auto;display:flex;align-items:center;justify-content:center;color:#fff}
.doc-pick .sel.active .chk{background:var(--navy);border-color:var(--navy)}
.done-box{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:14px 0}

/* ---------- Booking flow ---------- */
.stepper{display:flex;align-items:center;gap:16px;margin-bottom:36px}
.stepper__line{flex:1;height:1px;background:var(--line)}
.step{display:flex;align-items:center;gap:12px;color:#7A8494;font-weight:500;font-size:15px}
.step .n{width:36px;height:36px;border-radius:50%;border:1px solid var(--line-2);display:inline-flex;align-items:center;justify-content:center;font-size:14px;background:#fff}
.step.active{color:var(--ink)}.step.active .n{background:var(--navy);border-color:var(--navy);color:#fff}
.step.done{color:var(--green)}.step.done .n{background:var(--green-soft);border-color:var(--green-soft);color:var(--green)}
.sel{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:18px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:500;font-size:15px;cursor:pointer;text-align:left;width:100%}
.sel:hover{border-color:#9FB0C8}
.sel.active{border-color:var(--navy);box-shadow:inset 0 0 0 2px var(--navy);background:#F6F8FC}
.sel img,.sel .ini{width:52px;height:52px;border-radius:14px;object-fit:cover;object-position:center top;background:#E9EEF3;flex:0 0 auto}
.sel .ini{display:flex;align-items:center;justify-content:center;font-family:var(--font-head);color:#6B7C96}
.sel small{display:block;font-size:13px;color:var(--muted);font-weight:400}
.flow-foot{display:flex;justify-content:space-between;align-items:center;margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}
.summary{background:var(--navy);color:#fff;border-radius:28px;padding:28px;display:flex;flex-direction:column;gap:16px}
.summary h3{color:#fff;font-size:20px}
.summary dl{margin:0;display:flex;flex-direction:column;gap:14px;font-size:14px}
.summary dl div{display:flex;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.12)}
.summary dl div:last-child{border:0;padding:0}
.summary dt{color:#9FB0C8}.summary dd{margin:0;font-weight:600;text-align:right}
.ref-box{background:var(--bg);border-radius:20px;padding:20px 28px;display:grid;grid-template-columns:repeat(3,auto);gap:32px;text-align:left}
.ref-box small{display:block;font-size:12px;color:var(--muted)}
.ref-box b{font-size:16px}
.alert-red{display:flex;align-items:center;gap:14px;padding:20px 24px;border-radius:24px;background:var(--red-soft);color:#9B1C1C;font-size:14px}
.alert-red:hover{color:#9B1C1C}

/* ---------- CTA band ---------- */
.cta-band{border-radius:32px;padding:56px clamp(24px,5vw,64px);color:#fff;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:32px;
  background:linear-gradient(90deg,#0B1E46 0%,rgba(11,30,70,.94) 42%,rgba(11,30,70,.55) 100%),url(../img/hero.jpg) center 85%/cover no-repeat}
.cta-band h2{color:#fff;font-size:clamp(28px,3vw,40px);margin-bottom:12px}
.cta-band p{color:#C9D2DE;max-width:600px}

/* ---------- Search bar ---------- */
.searchbar{display:flex;align-items:center;gap:12px;padding:10px 12px 10px 24px;border-radius:999px;background:#fff;border:1px solid var(--line);margin-bottom:20px}
.searchbar input{flex:1;border:0;outline:none;height:48px;font-weight:500;font-size:16px;color:var(--ink);background:transparent;min-width:0}
.empty{padding:48px;text-align:center}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy);color:#B8C2D0}
.site-footer .container{padding-top:72px;padding-bottom:28px}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr 1.6fr;gap:48px}
.footer-logo{display:inline-flex;align-self:flex-start;background:#fff;border-radius:14px;padding:8px 12px}
.footer-logo img{height:36px;width:auto}
.site-footer h4{color:#fff;font-family:var(--font-body);font-weight:600;font-size:15px;letter-spacing:0;margin-bottom:6px}
.footer-col{display:flex;flex-direction:column;gap:12px}
.footer-col a{color:#B8C2D0;font-size:14px}
.footer-col a:hover{color:#fff}
.footer-phone{color:#fff!important;font-family:var(--font-head);font-size:28px!important;letter-spacing:-.02em}
.socials{display:flex;gap:8px;flex-wrap:wrap}
.socials a{padding:8px 14px;border:1px solid rgba(255,255,255,.18);border-radius:999px;font-size:13px}
.footer-map{position:relative;height:190px;border-radius:20px;overflow:hidden}
.footer-map img{width:100%;height:100%;object-fit:cover;object-position:30% 75%}
.footer-map .pin{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);box-shadow:0 0 0 8px rgba(217,54,54,.25)}
.footer-info{display:flex;gap:12px;align-items:flex-start;font-size:14px;color:#DCE3EC}
.footer-info svg{color:#fff;margin-top:3px;flex:0 0 auto}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:56px;padding-top:24px;border-top:1px solid rgba(255,255,255,.12);font-size:13px;color:#8A96A8}
.footer-bottom a{color:#8A96A8}

/* ---------- Mobile action bar ---------- */
.mobile-bar{display:none}

/* ---------- Reveal animation ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}.dot{animation:none}}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width:1180px){
  .nav a{padding:10px 11px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:40px}
  .layout-side{grid-template-columns:minmax(0,1fr) 360px;gap:32px}
  .grid-4{grid-template-columns:repeat(3,minmax(0,1fr))}
  .quick{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:980px){
  .nav,.header-actions .btn-emergency,.header-actions .btn--primary{display:none}
  .menu-toggle{display:inline-flex}
  .topbar .hide-md{display:none}
  .split,.about-box,.visit,.layout-side{grid-template-columns:1fr}
  .about-box{gap:20px}
  .about-box__text{padding:8px 12px 16px}
  .sticky-side{position:static}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bw__sep{display:none}
  .bw__field{border:1px solid var(--line);flex:1 1 calc(50% - 8px)}
  .bw__submit{width:100%}
  .bw__submit .btn{width:100%;justify-content:space-between}
  .section{padding:64px 0}
  .stack-md{grid-template-columns:1fr!important;gap:32px!important}
}
@media (max-width:720px){
  body{padding-bottom:84px}
  .container{padding:0 18px}
  .site-header .container{height:68px}
  .logo img{height:38px}
  .hero{padding:10px}
  .hero__media{min-height:0;border-radius:24px;background-position:68% 40%}
  .hero__content{padding:44px 20px 24px}
  .tabs{width:100%}.tab{flex:1;justify-content:center;padding:0 10px}
  .bw__field{flex:1 1 100%}
  .bw__strip{display:grid;grid-template-columns:1fr 1fr;justify-items:start;font-size:12px}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .tab svg{display:none}.tab{font-size:13px}
  .hide-sm{display:none!important}
  .dept-pick{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dept-pick .sel{flex-direction:column;align-items:flex-start;gap:10px;font-size:14px}
  .grid-4.doctors-grid,.grid-3.dept-grid,.grid-4.dept-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .dept-grid .dept-card{padding:18px;min-height:0;gap:10px}
  .dept-grid .dept-card p{display:none}
  .dept-grid .dept-card h3{font-size:16px}
  .dept-grid .icon-tile{width:46px;height:46px;border-radius:14px}
  .doctors-grid .doc-card__name{font-size:15px}
  .doctors-grid .doc-card__actions .link-pill{display:none}
  .doctors-grid .doc-card__book{width:100%;border-radius:999px;height:44px}
  .quick{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  .quick a{font-size:12px;padding:8px 2px}
  .qa-ic{width:52px;height:52px;border-radius:16px}
  .about-box__img img{height:280px}
  .stats,.mini-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .stat{padding:12px}.stat strong{font-size:22px}
  .map-card{min-height:380px}
  .page-hero__inner{min-height:0;padding:40px 22px}
  .footer-grid{grid-template-columns:1fr}
  .stepper .step span.t{display:none}
  .day-grid--7{grid-template-columns:repeat(4,minmax(0,1fr))}
  .slot-grid--4{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ref-box{grid-template-columns:1fr;gap:12px}
  .flow-foot .btn{height:52px}
  .cta-band{padding:36px 22px}
  .section-head{margin-bottom:28px}
  .mobile-bar{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:8px;position:fixed;left:10px;right:10px;bottom:10px;z-index:90;padding:6px;background:#fff;border-radius:999px;box-shadow:0 10px 30px rgba(11,30,70,.25)}
  .mobile-bar a{display:flex;align-items:center;justify-content:center;gap:6px;height:48px;border-radius:999px;font-weight:600;font-size:13px}
  .mobile-bar .mb-call{background:var(--red-soft);color:var(--red-ink)}
  .mobile-bar .mb-wa{background:var(--green-soft);color:var(--green)}
  .mobile-bar .mb-book{background:var(--navy);color:#fff}
}
@media (max-width:420px){
  .topbar__right .lang{display:none}
  .h1{font-size:36px}
}
