/* Dr Bhushan Kathuria — shared design system
   One stylesheet for every page built by tools/build_site.py.
   Tokens → base → layout → components. */

:root{
  --navy:#0E2235; --navy-2:#16304A; --navy-line:#2E4A66;
  --teal:#0B5D5E; --teal-dark:#073F40; --teal-soft:#E3F0EF; --teal-glow:#8FD3CF;
  --ink:#10202E; --ink-2:#2B3B48; --muted:#4A5B68; --muted-on-dark:#C9D5DD;
  --ground:#F4F6F7; --card:#FFFFFF; --line:#DCE3E6; --line-2:#C5D0D5;
  /* identity marks for the ecosystem */
  --c-santosh:#0B5D5E; --c-scf:#B03A5B; --c-genext:#B4532A; --c-connect:#2D5DA8; --c-writing:#6B4E9B;
  --serif:'Newsreader',Georgia,'Times New Roman',serif;
  --sans:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  --r-sm:12px; --r:18px; --r-lg:26px;
  --wrap:1200px; --gutter:24px;
}

/* ---------- base ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--teal);text-decoration:none}
a:hover{color:var(--teal-dark)}
:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.1;margin:0;letter-spacing:-0.01em}
h1{font-size:clamp(40px,6vw,72px)}
h2{font-size:clamp(30px,4vw,48px)}
h3{font-size:clamp(21px,2.2vw,26px);line-height:1.2}
p{margin:0}
[hidden]{display:none !important}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:12px;z-index:50;background:#fff;padding:8px 14px;border-radius:8px}

/* ---------- layout ---------- */
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.section{padding:96px 0}
.section.tight{padding:64px 0}
.section.white{background:var(--card);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section.mist{background:var(--teal-soft)}
.section.dark{background:var(--navy);color:#fff}
.section.dark .lead,.section.dark .muted{color:var(--muted-on-dark)}
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--min,260px)),1fr))}
.split{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.split>.main{flex:999 1 520px;min-width:0}
.split>.side{flex:1 1 340px;min-width:0}
.stack{display:flex;flex-direction:column;gap:var(--gap,16px)}
.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:40px}
.head>div{max-width:680px}

/* ---------- type helpers ---------- */
.eyebrow{display:block;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin-bottom:12px}
.dark .eyebrow,.hero .eyebrow,.card.dark .label{color:var(--teal-glow)}
.lead{font-size:clamp(17px,1.6vw,19px);color:var(--muted);max-width:640px}
.muted{color:var(--muted)}
.small{font-size:14px}
.serif{font-family:var(--serif)}

/* ---------- header ---------- */
.site-top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.site-top .bar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink)}
.brand:hover{color:var(--ink)}
.mono{width:44px;height:44px;border-radius:50%;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:20px;flex:0 0 auto}
.brand-name{display:flex;flex-direction:column;line-height:1.2}
.brand-name b{font-family:var(--serif);font-weight:500;font-size:20px}
.brand-name small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nav{display:flex;align-items:center;gap:6px}
.nav a{color:var(--ink-2);font-weight:500;font-size:15px;padding:10px 10px;border-radius:10px}
.nav a:hover{background:var(--ground)}
.nav a[aria-current=page]{color:var(--teal);font-weight:700}
.nav .btn{margin-left:8px}
.menu{display:none}
@media (max-width:1180px){
  .site-top{position:static}
  .nav{display:none}
  .menu{display:block;position:relative}
  .menu summary{list-style:none;cursor:pointer;min-height:44px;padding:0 18px;border:1px solid var(--line-2);border-radius:999px;display:flex;align-items:center;font-weight:600}
  .menu summary::-webkit-details-marker{display:none}
  .menu[open] .panel{display:flex}
  .menu .panel{display:none;position:absolute;right:0;top:54px;width:min(86vw,320px);background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:0 18px 40px rgba(14,34,53,.18);padding:10px;flex-direction:column}
  .menu .panel a{padding:12px 14px;border-radius:10px;color:var(--ink);font-weight:600}
  .menu .panel a[aria-current=page]{color:var(--teal);background:var(--teal-soft)}
  .menu .panel .btn{margin-top:8px;justify-content:center;color:#fff}
}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;font-weight:700;font-size:15px;border:1px solid transparent;cursor:pointer;font-family:inherit;white-space:nowrap}
.btn.primary{background:var(--teal);color:#fff}
.btn.primary:hover{background:var(--teal-dark);color:#fff}
.btn.light{background:#fff;color:var(--navy)}
.btn.light:hover{color:var(--navy);background:var(--teal-soft)}
.btn.ghost{border-color:var(--line-2);color:var(--ink);background:transparent}
.btn.ghost:hover{background:#fff;color:var(--ink)}
.dark .btn.ghost,.hero .btn.ghost{border-color:#5B7286;color:#fff}
.dark .btn.ghost:hover,.hero .btn.ghost:hover{background:var(--navy-2);color:#fff}
.btn.big{min-height:54px;padding:0 28px;font-size:16px}
.link{font-weight:700;display:inline-flex;gap:6px;align-items:center;padding:8px 0}
.dark .link{color:var(--teal-glow)}

/* ---------- hero ---------- */
.hero{background:var(--navy);color:#fff;padding:80px 0 88px}
.hero .lead{color:var(--muted-on-dark)}
.hero h1 em{font-style:normal;color:var(--teal-glow)}
.hero-photo{position:relative}
.hero-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--r-lg);border:1px solid var(--navy-line)}
.hero-card{position:absolute;left:-16px;right:24px;bottom:24px;background:#fff;color:var(--ink);border-radius:var(--r);padding:16px 20px;box-shadow:0 18px 40px rgba(5,15,25,.35)}
.hero-card b{display:block;font-family:var(--serif);font-weight:400;font-size:20px}
.creds{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));padding-top:26px;border-top:1px solid var(--navy-line)}
.creds b{display:block;font-family:var(--serif);font-weight:400;font-size:19px}
.creds span{font-size:14px;color:#A6B6C2}
.page-hero{padding:72px 0 64px}
.page-hero.dark{background:var(--navy);color:#fff}
.page-hero.dark .lead{color:var(--muted-on-dark)}
.crumbs{font-size:14px;color:var(--muted);margin-bottom:28px}
.crumbs a{color:var(--muted)}

/* ---------- cards ---------- */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:28px;display:flex;flex-direction:column;gap:10px;color:var(--ink)}
a.card:hover{border-color:var(--teal);color:var(--ink);box-shadow:0 10px 28px rgba(14,34,53,.08)}
.card .go{margin-top:auto;color:var(--teal);font-weight:700;font-size:15px;padding-top:6px}
.card.flush{padding:0;overflow:hidden}
.card.flush .body{padding:24px 26px;display:flex;flex-direction:column;gap:8px;flex:1}
.card.flush>img{width:100%;aspect-ratio:16/10;object-fit:cover}
.card.dark{background:var(--navy);border-color:var(--navy);color:#fff}
.card.dark .muted{color:var(--muted-on-dark)}
.tag{display:inline-flex;align-self:flex-start;padding:4px 11px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.04em;background:var(--teal-soft);color:var(--teal)}
.tag.warm{background:#FDF0E3;color:#8A4B10}
.label{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.illus{display:block;height:170px;margin:-28px -28px 8px;border-radius:calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0;background:var(--teal-soft);overflow:hidden}
.illus svg{width:100%;height:100%}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:6px 13px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:14px;font-weight:600;color:var(--ink-2)}
.check{list-style:none;margin:0;padding:0;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.check li{background:#fff;border-radius:14px;padding:13px 16px;display:flex;gap:12px;align-items:center;font-weight:600}
.check li::before{content:"";flex:0 0 18px;height:18px;border-radius:50%;background:var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat}

/* ---------- photos ---------- */
.photo{margin:0;position:relative;border-radius:var(--r-lg);overflow:hidden;background:var(--navy)}
.photo img{width:100%;height:100%;object-fit:cover}
.photo figcaption{position:absolute;left:14px;bottom:14px;right:14px;max-width:max-content;background:rgba(255,255,255,.95);color:var(--ink);border-radius:12px;padding:9px 14px;font-size:14px;font-weight:600}
.shot{margin:0}
.shot img{width:100%;aspect-ratio:var(--ar,4/3);object-fit:cover;border-radius:var(--r);object-position:var(--pos,center)}
.shot figcaption{font-size:14px;color:var(--muted);margin-top:8px}

/* ---------- steps ---------- */
.steps{list-style:none;margin:0;padding:0;display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));counter-reset:s}
.steps li{background:#fff;border-radius:var(--r);padding:22px;display:flex;flex-direction:column;gap:6px;counter-increment:s;border:1px solid var(--line)}
.steps li::before{content:counter(s,decimal-leading-zero);font-family:var(--serif);font-size:30px;color:var(--teal);line-height:1}
.steps b{font-size:17px}
.steps span{font-size:14px;color:var(--muted)}

/* ---------- timeline ---------- */
.timeline{list-style:none;margin:0;padding:0;position:relative}
.timeline::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;background:linear-gradient(var(--line-2),var(--line-2)) ;transform:translateX(-1px)}
.t-item{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:64px;padding:28px 0;align-items:center}
.t-item::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;border-radius:50%;background:#fff;border:4px solid var(--teal);transform:translate(-50%,-50%);box-shadow:0 0 0 6px var(--ground)}
.t-item.now::after{background:var(--teal);box-shadow:0 0 0 6px var(--ground),0 0 0 12px rgba(11,93,94,.18)}
.t-text{display:flex;flex-direction:column;gap:8px}
.t-item:nth-child(odd) .t-text{grid-column:1;text-align:right;align-items:flex-end}
.t-item:nth-child(odd) .t-media{grid-column:2}
.t-item:nth-child(even) .t-text{grid-column:2;grid-row:1}
.t-item:nth-child(even) .t-media{grid-column:1;grid-row:1}
.t-year{font-family:var(--serif);font-size:clamp(28px,3vw,38px);color:var(--teal);line-height:1}
.t-text h3{font-size:clamp(22px,2.4vw,30px)}
.t-text p{color:var(--muted);max-width:440px}
.t-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r);box-shadow:0 14px 34px rgba(14,34,53,.14)}
.t-media figcaption{font-size:13px;color:var(--muted);margin-top:8px}
.t-media .t-note{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px;display:flex;flex-direction:column;gap:6px}
.t-media .t-note b{font-family:var(--serif);font-weight:400;font-size:21px}
.t-tags{display:flex;flex-wrap:wrap;gap:6px}
.t-item:nth-child(odd) .t-tags{justify-content:flex-end}
@media (max-width:820px){
  .timeline::before{left:11px}
  .t-item{grid-template-columns:1fr;gap:16px;padding:22px 0 22px 40px}
  .t-item::after{left:11px;top:34px}
  .t-item:nth-child(n) .t-text{grid-column:1;grid-row:1;text-align:left;align-items:flex-start}
  .t-item:nth-child(n) .t-media{grid-column:1;grid-row:2}
  .t-item:nth-child(n) .t-tags{justify-content:flex-start}
}

/* ---------- ecosystem ---------- */
.org{border-top:4px solid var(--mark,var(--teal))}
.org .dot{width:12px;height:12px;border-radius:50%;background:var(--mark,var(--teal));display:inline-block;margin-right:8px}
.org .label{display:flex;align-items:center}
.eco-map{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:24px}
.eco-map svg{width:100%;height:auto;max-height:440px}

/* ---------- lists ---------- */
.rows{list-style:none;margin:0;padding:0}
.rows li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;padding:20px 0;border-top:1px solid var(--line)}
.rows li:last-child{border-bottom:1px solid var(--line)}
.rows .k{font-size:14px;font-weight:700;color:var(--teal);white-space:nowrap}
.rows b{display:block;font-family:var(--serif);font-weight:400;font-size:21px;line-height:1.25}
.rows .t{flex:1 1 420px;min-width:0}

/* ---------- forms ---------- */
.form-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(22px,4vw,44px)}
.step{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);font-weight:700}
.sh{margin:6px 0 18px;font-family:var(--serif);font-weight:400;font-size:30px}
.route{position:relative;display:block;text-align:left;padding:18px 20px;border-radius:16px;cursor:pointer;min-height:44px;border:1px solid var(--line-2);background:#fff;color:var(--ink)}
.route input{position:absolute;opacity:0;pointer-events:none}
.route:has(input:checked){border:2px solid var(--teal);background:var(--teal-soft)}
.route:has(input:focus-visible){outline:2px solid var(--teal);outline-offset:2px}
.route .rt{display:block;font-weight:700;font-size:16px}
.route .rd{display:block;font-size:14px;color:var(--muted);margin-top:4px}
.f{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.f input,.f select,.f textarea{font:inherit;font-weight:400;color:var(--ink);border:1px solid var(--line-2);border-radius:12px;background:#fff}
.f input,.f select{min-height:48px;padding:0 14px}
.f textarea{padding:12px 14px;resize:vertical}
.f input:focus,.f select:focus,.f textarea:focus{outline:2px solid var(--teal);outline-offset:1px}
.chk{display:flex;gap:12px;align-items:flex-start;font-size:14px;color:var(--ink-2)}
.chk input{width:20px;height:20px;margin-top:2px;flex:0 0 auto;accent-color:var(--teal)}
.alert{border:1px solid #E8C2B4;background:#FBEDE8;color:#5A2A1A;border-radius:var(--r);padding:20px 22px;font-size:14px}

/* ---------- footer ---------- */
.site-foot{background:#0A1A29;color:#9FB0BD;padding:56px 0 36px;font-size:14px}
.site-foot .cols{display:grid;gap:32px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:36px}
.site-foot h4{margin:0 0 12px;color:#fff;font-family:var(--serif);font-weight:400;font-size:19px}
.site-foot a{color:#C9D5DD;display:block;padding:4px 0}
.site-foot a:hover{color:#fff}
.site-foot .base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;border-top:1px solid #1E3247;padding-top:24px}
.site-foot .base a{display:inline;padding:0;margin-left:16px}

/* ---------- motion ---------- */
@media (prefers-reduced-motion:no-preference){
  .js .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
  .js .reveal.in{opacity:1;transform:none}
}

/* ---------- long-form guide content ---------- */
.prose h2{margin:0 0 16px}
.prose p+p{margin-top:12px}
.prose .wrap>p,.prose .grid>div>p{color:var(--muted);max-width:680px}
.prose .rows,.prose .steps,.prose .wrap>.grid,.prose .row{margin-top:22px}
.prose .rows b{font-size:19px}
.prose .rows .muted{display:block}

/* ===== Santosh Advanced ENT Healthcare theme (logo navy + indigo; white clinical canvas) ===== */
:root{
  --navy:#172150; --navy-2:#222E66; --navy-line:#34418A;
  --teal:#3B4CC9; --teal-dark:#2D3BA3; --teal-soft:#EEF0FE; --teal-glow:#AEB9FF;
  --ground:#FFFFFF; --line:#E1E4F0; --line-2:#C8CDE2; --muted:#4D5570; --ink:#141A33; --ink-2:#2B3150;
  --mint:#1F9E6E;
}
.section.white{background:#F7F8FC}
.site-top .logo{height:46px;width:auto}
.partner{background:#F7F8FC;border-bottom:1px solid var(--line);font-size:14px}
.partner .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;min-height:52px}
.partner img{height:28px;width:auto}
.hero.light{background:#fff;color:var(--ink);padding:64px 0 72px}
.hero.light .lead{color:var(--muted)}
.hero.light h1 em{color:var(--teal)}
.hero.light .eyebrow{color:var(--teal)}
.hero.light .btn.ghost{color:var(--ink);border-color:var(--line-2)}
.hero.light .btn.ghost:hover{background:#F7F8FC;color:var(--ink)}
.hero.light .hero-photo img{border-color:var(--line)}
.facts{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}
.fact{background:#F7F8FC;border:1px solid var(--line);border-radius:var(--r);padding:16px 18px}
.fact b{display:block;font-size:17px;color:var(--ink)}
.fact span{font-size:14px;color:var(--muted)}
.status{align-self:flex-start;display:inline-flex;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.04em}
.status.on{background:#E3F6EE;color:#13734F}
.status.wait{background:#FFF4E0;color:#8A5A00}
/* deep pages */
.art-big{background:var(--teal-soft);border-radius:var(--r-lg);overflow:hidden}
.art-big svg{display:block;width:100%;height:auto}
.page-hero h1 em{font-style:normal;color:var(--teal)}
.rows .t>span{color:var(--ink-2)}
