/* =========================================================
   1. Design tokens
   ========================================================= */
:root{
  --navy:#0e1d47; --blue:#1a3fa6; --blue-2:#2457d6; --ink:#24324d; --muted:#5b6a84;
  --red:#e3122f; --green:#13a456; --green-d:#0f8f4a;
  --bg:#f1f7fe; --card:#fff; --line:#e3ebf6;
  --shadow:0 10px 30px rgba(28,66,130,.07); --shadow-lg:0 18px 50px rgba(28,66,130,.11);
  --board-blue:#24399b;                 /* Kannada name, matched to the clinic signboard */
  --c9-plum:#8e3f8c; --c9-magenta:#e6007e; /* Cloudnine reference colours */
  --feature:linear-gradient(120deg,var(--c9-plum) 0%,#b62a86 55%,var(--c9-magenta) 100%);
  --r-xl:24px; --r-lg:20px; --r:16px;
  --gap:16px; --section:72px;
  --pad:clamp(16px,2.6vw,40px);
  --font:'Plus Jakarta Sans','Noto Sans Kannada',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --kn:'Noto Sans Kannada','Plus Jakarta Sans',system-ui,sans-serif;
  --header-h:76px;
}

/* =========================================================
   2. Base
   ========================================================= */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 16px);-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);color:var(--ink);background:#fff;line-height:1.55;font-size:16px;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,p,figure,blockquote{margin:0}
ul{margin:0;padding:0;list-style:none}
button,input,select{font:inherit;color:inherit}
:focus-visible{outline:3px solid #f6a623;outline-offset:3px;border-radius:6px}
.wrap{width:100%;max-width:1520px;margin:0 auto;padding-inline:var(--pad)}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:#fff;padding:10px 14px;border-radius:10px;box-shadow:var(--shadow)}
.skip:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ic{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ic.fill{fill:currentColor;stroke:none}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow)}
.section{padding-block:var(--section)}
.sec-title{font-size:clamp(1.6rem,2.4vw,2.2rem);line-height:1.15;font-weight:800;letter-spacing:-.03em;color:var(--navy)}
.t-pink{background:#ffe2e6;color:#e2455a}
.t-blue{background:#dce8ff;color:var(--blue-2)}
.t-green{background:#d9f4e4;color:#14a058}
.t-amber{background:#fff0dc;color:#f08a16}

/* =========================================================
   3. Buttons
   ========================================================= */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 20px;border-radius:12px;border:1px solid transparent;font-weight:700;font-size:.95rem;text-decoration:none;cursor:pointer;white-space:nowrap;transition:background-color .15s,border-color .15s}
.btn .ic{width:22px;height:22px}
.btn-wa{background:var(--green);color:#fff}
.btn-wa:hover{background:var(--green-d)}
.btn-navy{background:#1c3a9e;color:#fff}
.btn-navy:hover{background:#15307f}
.icon-btn{width:44px;height:44px;border-radius:50%;border:1px solid #d5e0ee;background:#fff;color:var(--navy);display:inline-grid;place-items:center;cursor:pointer}
.icon-btn:hover:not(:disabled){border-color:#9db6dc;color:var(--blue)}
.icon-btn:disabled{opacity:.4;cursor:default}
.icon-btn .ic{width:20px;height:20px}

/* =========================================================
   4. Header
   ========================================================= */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid #edf1f7;padding-top:env(safe-area-inset-top,0px)}
.head{display:flex;align-items:center;gap:20px;min-height:var(--header-h)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex:0 0 auto;min-width:0}
.brand img{width:66px}
.brand-text{display:flex;flex-direction:column;color:var(--red);line-height:1.15;min-width:0}
.brand-kn{font-family:var(--kn);font-weight:800;font-size:1.14rem;white-space:nowrap;color:var(--board-blue)}
.brand-en{font-weight:800;font-size:1.2rem;letter-spacing:-.015em;white-space:nowrap}
.nav{display:flex;align-items:center;gap:22px;margin-left:auto}
.nav a{text-decoration:none;font-size:.92rem;font-weight:500;color:#33415c;padding:8px 0;position:relative;white-space:nowrap}
.nav a:hover{color:var(--blue)}
.nav a.active{color:var(--blue);font-weight:700}
.nav a.active::after{content:"";position:absolute;inset:auto 0 0;height:2px;border-radius:2px;background:var(--blue)}
.actions{display:flex;align-items:center;gap:10px;margin-left:20px}
.lang{min-height:38px;padding:0 12px;border:1px solid #d9e2ee;border-radius:999px;background:#fff;font-weight:700;font-size:.82rem;color:var(--navy);cursor:pointer}
.lang:hover{border-color:#9db6dc}
.wa-icon{width:48px;height:48px;border-radius:50%;background:var(--green);color:#fff;display:inline-grid;place-items:center;flex:none;box-shadow:0 6px 16px rgba(19,164,86,.28);transition:background-color .15s}
.wa-icon:hover{background:var(--green-d)}
.wa-icon .ic{width:26px;height:26px}
.call-icon{background:var(--blue-2);box-shadow:0 6px 16px rgba(36,87,214,.25)}
.call-icon:hover{background:var(--blue)}
.call-icon .ic{width:22px;height:22px}
.btn-call{background:#fff;color:var(--blue);border-color:#c9d8f5}
.btn-call:hover{background:#eef4ff}
.loc-call{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:6px;font-weight:700;color:var(--blue);text-decoration:none}
.loc-call .ic{width:20px;height:20px}
.menu-btn{display:none;width:46px;height:46px;border-radius:12px;border:1px solid #d9e2ee;background:#fff;align-items:center;justify-content:center;cursor:pointer;color:var(--navy)}

/* =========================================================
   5. Hero
   ========================================================= */
.hero{position:relative;overflow:hidden;background:
  radial-gradient(900px 420px at 8% 0%,rgba(255,255,255,.9),transparent 60%),
  radial-gradient(700px 420px at 95% 30%,#e4f0fd,transparent 70%),
  linear-gradient(100deg,#eaf3fd 0%,#f3f8ff 40%,#e8f1fc 100%)}
.hero::before{content:"";position:absolute;left:-120px;bottom:-180px;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.55);pointer-events:none}
.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr) 370px;grid-template-areas:"copy photo card" "feat photo card";padding-block:56px 76px}
.hero-copy{grid-area:copy;position:relative;z-index:2;padding-right:12px;align-self:end}
.hero h1{font-size:clamp(2rem,3vw,2.95rem);line-height:1.08;letter-spacing:-.035em;font-weight:800;color:var(--navy)}
.hero h1 span{display:block}
.hero h1 .h1-blue{color:var(--blue)}
html[lang^="kn"] .hero h1{font-size:clamp(1.8rem,2.6vw,2.5rem);line-height:1.3;letter-spacing:0}
/* Kannada script reads smaller than Latin at the same size: use the Kannada font and lift the small labels */
html[lang^="kn"] body{font-family:'Plus Jakarta Sans','Noto Sans Kannada',system-ui,sans-serif} /* Latin from Jakarta, Kannada from Noto */
html[lang^="kn"] .sl-type,html[lang^="kn"] .ctype small,html[lang^="kn"] .cn-label{font-size:.82rem}
html[lang^="kn"] .field label,html[lang^="kn"] .ctype legend,html[lang^="kn"] .feat-label{font-size:.9rem}
html[lang^="kn"] .chip{border-radius:14px;line-height:1.5}
.hero-sub{margin-top:14px;font-size:1.02rem;font-weight:600;color:var(--muted);line-height:1.5}
.hero-cta{grid-area:feat;position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;align-self:start}
.hero-feats{grid-area:feat;position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:36px;padding-right:12px;align-self:start}
.feat{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.feat-ic{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;box-shadow:0 6px 18px rgba(28,66,130,.08)}
.feat-ic .ic{width:30px;height:30px}
.feat-label{font-size:.86rem;font-weight:700;color:var(--navy);line-height:1.3}
.hero-photo{grid-area:photo;position:relative;margin:-56px -30px -76px -60px;min-height:380px}
.hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 30%;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 94%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 94%,transparent 100%)}

/* Doctor card: the Cloudnine credential is the visual anchor */
.doc-card{grid-area:card;align-self:center;position:relative;z-index:2;background:rgba(255,255,255,.98);border-radius:var(--r-lg);box-shadow:var(--shadow-lg);padding:26px}
.doc-card h2{font-size:1.6rem;font-weight:800;letter-spacing:-.02em;color:var(--navy)}
.doc-role{margin-top:2px;font-weight:600;color:var(--blue);font-size:.95rem}
.doc-quals{margin-top:8px;color:#3c4a66;font-size:.9rem;line-height:1.5}
.cloudnine{display:flex;align-items:center;gap:14px;margin-top:18px;padding:14px 16px;border-radius:14px;background:var(--feature);color:#fff;box-shadow:0 10px 24px rgba(142,63,140,.22)}
.cn-ic{width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,.16);display:grid;place-items:center;flex:none}
.cn-ic .ic{width:24px;height:24px;color:#fff}
.cn-label{display:block;font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.cn-name{display:block;font-size:1.05rem;line-height:1.3;font-weight:800}
html[lang^="kn"] .cn-label{letter-spacing:0;text-transform:none}
.doc-exp{display:flex;gap:12px;align-items:center;margin-top:14px;font-size:.9rem;color:var(--navy);font-weight:600}
.doc-exp .ic{color:var(--blue-2);width:26px;height:26px}

/* =========================================================
   6. Dashboard row: stats, services, booking, location
   ========================================================= */
.dash{position:relative;z-index:3;margin-top:-36px;display:grid;grid-template-columns:minmax(0,1fr) 320px 280px;grid-template-areas:"stats book loc" "services book loc" "timings timings timings";gap:var(--gap)}
.stats{grid-area:stats;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.stat{display:flex;align-items:center;gap:18px;padding:18px 22px;text-decoration:none;min-width:0}
.stat-ic{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;flex:none}
.stat-ic .ic{width:28px;height:28px}
.stat strong{display:flex;align-items:center;gap:10px;font-size:2.2rem;line-height:1.05;font-weight:800;letter-spacing:-.03em;color:var(--blue)}
.stat strong .ic{width:22px;height:22px;color:var(--blue-2)}
.stat-label{display:block;margin-top:4px;color:#3c4a66;font-size:.95rem}
a.stat:hover{border-color:#b9cdee}

.services{grid-area:services;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}
.svc{overflow:hidden;display:flex;flex-direction:column;scroll-margin-top:calc(var(--header-h) + 16px)}
.svc img{width:100%;aspect-ratio:1.4;object-fit:cover;background:#e8eef6}
.svc h3{padding:14px 16px 16px;font-size:1rem;font-weight:700;line-height:1.3;color:var(--blue)}
@media (min-width:1341px){.svc img{aspect-ratio:auto;flex:1 1 0;min-height:150px}}

.book{grid-area:book;padding:22px}
.card-head{display:flex;gap:12px;align-items:center;margin-bottom:18px}
.card-ic{width:42px;height:42px;border-radius:11px;background:#e3edff;color:var(--blue-2);display:grid;place-items:center;flex:none}
.card-ic .ic{width:24px;height:24px}
.book h2{font-size:1.24rem;font-weight:800;letter-spacing:-.015em;color:var(--navy);line-height:1.25}
.field{margin-bottom:14px}
.field label{display:block;font-weight:700;font-size:.84rem;color:var(--navy);margin-bottom:6px}
.field input,.field select{width:100%;min-height:46px;border:1px solid #d5dfec;border-radius:10px;background:#fff;padding:0 12px;font-size:.9rem;color:var(--ink)}
.field select{appearance:none;-webkit-appearance:none;padding-right:34px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2333415c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.field input:focus,.field select:focus{border-color:#7ea2e6;outline:none;box-shadow:0 0 0 3px #dce8ff}
.field-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.field-row select{padding-left:10px;padding-right:28px;background-position:right 10px center;font-size:.86rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.book .btn{width:100%;margin-top:4px}
.form-msg{font-size:.8rem;color:#c0392b;margin-top:8px}
.form-msg:empty{display:none}

.loc{grid-area:loc;padding:18px;display:flex;flex-direction:column;gap:14px;scroll-margin-top:calc(var(--header-h) + 16px)}
.loc .card-head{margin-bottom:0}
.loc address{font-style:normal;font-weight:700;font-size:.88rem;line-height:1.45;color:var(--navy)}
.loc address a{text-decoration:none}
.loc address a:hover{color:var(--blue);text-decoration:underline}
.map{flex:1;min-height:220px;border-radius:12px;width:100%;background:#e7edf4;overflow:hidden;display:flex}
.map iframe{flex:1;width:100%;min-height:220px;border:0;display:block}
/* Consultation timings (rendered from CLINIC.sessions) */
.timings{grid-area:timings;padding:22px;scroll-margin-top:calc(var(--header-h) + 16px)}
.timings-head{display:flex;align-items:center;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;margin-bottom:16px}
.timings .card-head{margin-bottom:0}
.timings h2{font-size:1.24rem;font-weight:800;letter-spacing:-.015em;color:var(--navy);line-height:1.25}
.sched-legend{list-style:none;margin:0;padding:0;display:flex;gap:8px 16px;flex-wrap:wrap}
.sched-legend li{display:flex;align-items:center;gap:7px;font-size:.84rem;font-weight:700;color:var(--navy)}
.sched-legend .sl-ic{width:24px;height:24px;background:#eef4ff}
.sched-legend .sl-video .sl-ic{background:#f4efff}
.sched{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,2fr);gap:12px 24px}
.sched-foot{grid-template-columns:1fr}
.sched-day h3{font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
html[lang^="kn"] .sched-day h3{letter-spacing:0;font-size:.86rem}
.sched-day ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:8px}
.sched-foot .sched-day ul{grid-template-columns:1fr;gap:6px}
.sl{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:10px;background:#eef4ff;border-left:4px solid var(--blue-2)}
.sl-video{background:#f4efff;border-left-color:#7c3aed}
.sl-ic{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex:none;background:#fff;color:var(--blue-2)}
.sl-video .sl-ic{color:#7c3aed}
.sl-ic .ic{width:17px;height:17px}
.sl-time{display:block;font-weight:700;font-size:.9rem;color:var(--navy);line-height:1.25;white-space:nowrap}
.sl-type{display:block;font-size:.76rem;font-weight:600;color:#4b5873}
.sched-foot .sched-day h3{color:#9fb0cf}
.sched-foot{gap:10px}
.sched-foot .sched-day h3{margin-bottom:4px}
.sched-foot .sl{padding:2px 0;background:none;border-left:0}
.sched-foot .sl-ic{width:24px;height:24px;background:rgba(255,255,255,.1);color:#9ec1ff}
.sched-foot .sl-ic .ic{width:14px;height:14px}
.sched-foot .sl > span:last-child{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.sched-foot .sl-video .sl-ic{color:#c4a8ff}
.sched-foot .sl-time{color:#fff}
.sched-foot .sl-type{color:#b8c5dd}

/* Consultation type picker in the booking form */
.ctype{border:0;padding:0;margin:0 0 14px;min-width:0}
.ctype legend{display:block;font-weight:700;font-size:.84rem;color:var(--navy);margin-bottom:6px;padding:0}
.ctype-opts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.ctype label{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;min-height:76px;padding:8px 6px;border:1.5px solid #d5dfec;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .15s,background-color .15s}
.ctype input{position:absolute;opacity:0;pointer-events:none}
.ctype .sl-ic{background:#eef4ff}
.ctype .ct-video .sl-ic{background:#f4efff;color:#7c3aed}
.ctype strong{display:block;font-size:.86rem;color:var(--navy);line-height:1.2}
.ctype small{display:block;font-size:.72rem;color:#4b5873;margin-top:1px}
.ctype label:has(input:checked){border-color:var(--blue-2);background:#f2f6ff;box-shadow:0 0 0 1px var(--blue-2)}
.ctype .ct-video:has(input:checked){border-color:#7c3aed;background:#faf7ff;box-shadow:0 0 0 1px #7c3aed}
.ctype label:has(input:focus-visible){outline:3px solid #9cbcf5;outline-offset:2px}
.form-hint{font-size:.78rem;color:#4b5873;margin:-6px 0 12px;line-height:1.4}
.form-hint:empty{display:none}
.dir-title{font-size:.95rem;font-weight:800;color:var(--navy);margin-bottom:8px}
.dir-btns{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px}
.dir-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:0 10px;border:1.5px solid #c9d8f5;border-radius:12px;background:#fff;font-weight:700;font-size:.88rem;color:var(--blue);text-decoration:none;white-space:nowrap}
.dir-btn:hover{background:#eef4ff;border-color:var(--blue-2)}
.dir-btn .ic{width:17px;height:17px}

/* =========================================================
   7. About: credentials
   ========================================================= */
.about{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:28px;align-items:center;padding:32px;background:linear-gradient(180deg,#f4f8fe,#eef4fc);border:1px solid var(--line);border-radius:var(--r-xl)}
.about h2{font-size:clamp(1.5rem,1.8vw,1.8rem)}
.about h2 span{display:block}
.about .btn{margin-top:24px}
.cred-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
.cred{padding:22px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;font-size:.92rem;font-weight:600;line-height:1.35;color:var(--navy);min-height:150px}
.cred > .ic{width:30px;height:30px;color:#1c3a9e}

/* =========================================================
   8. Doctor + Google reviews carousel
   ========================================================= */
.doc-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.doc-head .doc-role{font-size:1.05rem;margin-top:6px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.chip{background:#eaf1fe;border:1px solid #d6e3fb;color:#1c3a9e;font-weight:700;font-size:.84rem;padding:7px 14px;border-radius:999px}
.chip-feature{background:var(--c9-plum);border-color:var(--c9-plum);color:#fff;display:inline-flex;align-items:center;gap:8px}
.chip-feature .ic{width:16px;height:16px}

.reviews{margin-top:44px}
.reviews-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.reviews-score{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.reviews-score h3{font-size:1.2rem;font-weight:800;color:var(--navy)}
.score{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:var(--navy)}
.stars{color:#f5a623;letter-spacing:2px}
.reviews-ctrl{display:flex;align-items:center;gap:10px}
.reviews-all{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;font-weight:700;font-size:.9rem;color:var(--blue);text-decoration:none}
.reviews-all:hover{text-decoration:underline}
.review-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 3 * var(--gap)) / 3.25);gap:var(--gap);overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;padding:4px 2px 14px;scrollbar-width:none}
.review-track::-webkit-scrollbar{display:none}
.review{scroll-snap-align:start;padding:22px;display:flex;flex-direction:column;gap:14px}
.review-top{display:flex;align-items:center;gap:12px}
.avatar{width:44px;height:44px;border-radius:50%;flex:none;display:grid;place-items:center;color:#fff;font-weight:700;font-size:1.1rem;overflow:hidden;background:var(--av,#5e35b1)}
.avatar img{width:100%;height:100%;object-fit:cover}
.review-who{min-width:0;flex:1}
.review-who strong{display:block;font-size:.98rem;color:var(--navy);line-height:1.3}
.review-who .stars{font-size:.85rem}
.review-src{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:var(--muted);flex:none}
.review-src:hover{background:#eef3fb;color:var(--blue)}
.review-src .ic{width:18px;height:18px}
.review blockquote{font-size:.96rem;line-height:1.7;color:#33415c}

/* Doctor profile: experience timeline, education, languages */
.doc-profile{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:var(--gap);margin-top:32px}
.doc-side{display:grid;gap:var(--gap);align-content:start}
.doc-col{padding:28px}
.doc-col h3{font-size:1.15rem;font-weight:800;color:var(--navy);margin-bottom:20px}
.timeline{list-style:none;margin:0;padding:0}
.timeline li{position:relative;padding:0 0 22px 30px}
.timeline li:last-child{padding-bottom:0}
.timeline li::before{content:"";position:absolute;left:0;top:5px;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--blue-2)}
.timeline li::after{content:"";position:absolute;left:5px;top:21px;bottom:2px;width:2px;background:#dbe5f4}
.timeline li:last-child::after{display:none}
.timeline strong{display:block;font-size:1rem;color:var(--navy);line-height:1.35}
.tl-role{display:block;margin-top:2px;font-weight:600;color:var(--blue);font-size:.93rem;line-height:1.45}
.tl-desc{display:block;margin-top:3px;color:#46546e;font-size:.9rem;line-height:1.5}
.edu li{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-top:1px solid #edf1f7}
.edu li:first-child{padding-top:0;border-top:0}
.edu-ic{width:38px;height:38px;border-radius:10px;background:#e3edff;color:var(--blue-2);display:grid;place-items:center;flex:none}
.edu-ic .ic{width:20px;height:20px}
.edu strong{display:block;font-size:.96rem;color:var(--navy);line-height:1.35}
.edu strong + span{display:block;font-size:.88rem;color:#46546e;margin-top:2px}
.lang-chips{margin-top:0}
.lang-chips .chip{font-weight:600;background:#f3f7fd;border-color:#e0e9f6;color:var(--navy)}

/* Areas served / care list (local search content) */
.areas-sec{padding-top:0}
.areas-lead{margin-top:14px;max-width:820px;color:#46546e;line-height:1.7}
.areas-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--gap);margin-top:28px}
.areas-col{padding:28px}
.areas-col h3{font-size:1.15rem;font-weight:800;color:var(--navy)}
.areas-col .chips .chip{font-weight:600;background:#f3f7fd;border-color:#e0e9f6;color:var(--navy)}
.care-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px}
.care-list li{position:relative;padding-left:26px;color:var(--ink);line-height:1.5}
.care-list li::before{content:"";position:absolute;left:4px;top:.45em;width:10px;height:10px;border-radius:50%;background:var(--blue-2)}
.areas-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}

/* =========================================================
   9. Gallery
   ========================================================= */
.gallery-sec{padding-top:0}
.gallery-sec .sec-title{margin-bottom:24px}
.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}
.gallery figure{overflow:hidden}
.gal-open{position:relative;display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}
.gal-open img{transition:transform .3s ease}
.gal-open:hover img{transform:scale(1.03)}
.gal-zoom{position:absolute;right:10px;top:10px;width:36px;height:36px;border-radius:50%;background:rgba(14,29,71,.6);color:#fff;display:grid;place-items:center;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.gal-zoom .ic{width:18px;height:18px}

/* Lightbox */
.lightbox{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(6,12,30,.96);color:#fff;overflow:hidden}
.lightbox::backdrop{background:rgba(6,12,30,.96)}
.lightbox[open]{display:grid;place-items:center}
.lb-stage{margin:0;display:flex;flex-direction:column;align-items:center;gap:14px;padding:64px 72px calc(24px + env(safe-area-inset-bottom,0px));width:100%;height:100%;justify-content:center;touch-action:pan-y}
.lb-stage img{width:100%;height:calc(100dvh - 150px);object-fit:contain;user-select:none;-webkit-user-drag:none}
.lb-stage figcaption{display:flex;gap:14px;align-items:baseline;font-weight:700;font-size:1rem}
.lb-count{font-weight:500;font-size:.85rem;opacity:.7}
.lb-btn{position:absolute;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff;display:grid;place-items:center;cursor:pointer}
.lb-btn:hover{background:rgba(255,255,255,.2)}
.lb-btn .ic{width:24px;height:24px}
.lb-close{top:calc(14px + env(safe-area-inset-top,0px));right:14px}
.lb-prev{left:14px;top:50%;transform:translateY(-50%)}
.lb-next{right:14px;top:50%;transform:translateY(-50%)}
html.lb-lock{overflow:hidden}
@media (max-width:760px){
  .lb-stage{padding:64px 12px calc(84px + env(safe-area-inset-bottom,0px))}
  .lb-stage img{height:calc(100dvh - 210px)}
  .lb-prev,.lb-next{top:auto;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:none}
  .lb-prev{left:calc(50% - 60px)}.lb-next{right:calc(50% - 60px)}
}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#e8eef6}
.gallery figcaption{padding:12px 16px;font-weight:600;font-size:.92rem;color:var(--navy)}

/* =========================================================
   10. FAQ
   ========================================================= */
.faq-sec{background:var(--bg)}
.faq-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:start}
.faq-aside .btn{margin-top:24px}
.faqs{display:grid;gap:12px}
.faqs details{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:0 20px;box-shadow:0 4px 14px rgba(28,66,130,.04)}
.faqs summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;padding:18px 0;font-weight:700;color:var(--navy)}
.faqs summary::-webkit-details-marker{display:none}
.faqs summary::after{content:"";width:28px;height:28px;flex:none;border-radius:50%;background:#eaf1fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%231a3fa6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;transition:transform .2s}
.faqs details[open] summary::after{transform:rotate(45deg)}
.faqs details p{padding:0 0 18px;color:#46546e;line-height:1.65;font-size:.95rem}

/* =========================================================
   11. Footer + mobile WhatsApp bar
   ========================================================= */
.foot{background:var(--navy);color:#cdd8ee;padding:52px 0 28px;font-size:.92rem}
.foot-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:36px}
.foot-brand{display:flex;gap:14px;align-items:center}
.foot-brand img{width:60px;background:#fff;border-radius:14px;padding:6px}
.foot-brand strong{display:block;color:#fff;font-size:1.05rem;line-height:1.3}
.foot-brand span{font-family:var(--kn);font-size:.86rem;color:#b9c6ff}
.foot h3{font-size:.95rem;color:#fff;margin-bottom:10px}
.foot p{line-height:1.7}
.foot a{color:#fff;text-decoration:none}
.foot a:hover{text-decoration:underline}
.foot-links{display:flex;flex-wrap:wrap;gap:0 18px;margin-top:10px}
.foot-links a{display:inline-flex;align-items:center;min-height:44px}
.foot-links a{color:#cdd8ee}
.foot-wa{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:700}
.foot-wa .ic{width:20px;height:20px;color:#4ade80}
.foot-bottom{margin-top:36px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:.8rem;color:#9fb0cf}
.mobile-cta{display:none}

/* =========================================================
   12. Responsive
   ========================================================= */
@media (max-width:1440px){
  .hero-grid{grid-template-columns:minmax(0,520px) minmax(0,1fr) 350px}
  .dash{grid-template-columns:minmax(0,1fr) 310px 264px}
  .stat{gap:14px;padding:16px 18px}.stat-ic{width:50px;height:50px}.stat-ic .ic{width:24px;height:24px}.stat strong{font-size:1.9rem}
}
@media (max-width:1240px){
  /* Nav collapses into the menu button */
  .menu-btn{display:inline-flex}
  .nav{position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:8px var(--pad) 16px;background:#fff;border-bottom:1px solid #e6ecf4;box-shadow:0 18px 30px rgba(14,29,71,.08);display:none}
  .nav.open{display:flex}
  .nav a{padding:13px 4px;font-size:1rem;border-bottom:1px solid #f0f3f8}
  .nav a:last-child{border-bottom:0}
  .nav a.active::after{display:none}
  .actions{margin-left:auto}
}
@media (max-width:1340px){
  /* Hero: copy | photo, doctor card below as a wide strip */
  .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"copy photo" "feat photo" "card card";padding-bottom:64px}
  .hero-photo{margin:-56px calc(-1 * var(--pad)) 0 -40px}
  .hero-photo img{object-position:58% 30%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18%);mask-image:linear-gradient(90deg,transparent 0,#000 18%)}
  .doc-card{margin-top:24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;align-items:center}
  .doc-card .cloudnine{margin-top:0}
  .dash{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"stats stats" "services services" "book loc" "timings timings"}
  .sched{grid-template-columns:1fr}
  .stat{padding:18px 22px}.stat-ic{width:56px;height:56px}.stat strong{font-size:2.1rem}
  .about{grid-template-columns:1fr;gap:24px}
  .about h2 span{display:inline}
  .about-intro{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap}
  .about .btn{margin-top:0}
  .review-track{grid-auto-columns:calc((100% - 2 * var(--gap)) / 2.2)}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:980px){
  .services{grid-template-columns:repeat(2,minmax(0,1fr))}
    .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .faq-grid{grid-template-columns:1fr;gap:24px}
  .doc-profile{grid-template-columns:1fr}
  .stat{flex-direction:column;align-items:flex-start;gap:10px}
}
@media (max-width:760px){
  :root{--header-h:66px;--section:52px;--gap:12px}
  .head{gap:10px}
  .brand{gap:9px;flex:1 1 auto}
  .brand img{width:46px}
  .brand-kn{font-size:.84rem}.brand-en{font-size:.86rem;white-space:normal}
  .actions{gap:8px}
  .wa-icon{width:44px;height:44px}.wa-icon .ic{width:24px;height:24px}
  .hero-grid{grid-template-columns:1fr;grid-template-areas:"copy" "photo" "card" "feat";padding-block:28px 56px}
  .hero-copy,.hero-feats{padding-right:0}
  .hero h1{font-size:clamp(1.85rem,8.4vw,2.6rem)}
  html[lang^="kn"] .hero h1{font-size:clamp(1.55rem,6.8vw,2.1rem)}
  .hero-photo{margin:22px 0 0;min-height:0;aspect-ratio:1.5;border-radius:22px;overflow:hidden;box-shadow:var(--shadow-lg)}
  .hero-photo img{-webkit-mask-image:none;mask-image:none;object-position:55% 30%}
  .doc-card{display:block;margin:-34px 12px 0;padding:20px}
  .doc-card h2{font-size:1.4rem}
  .doc-card .cloudnine{margin-top:16px}
  .hero-feats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}
  .feat{flex-direction:row;text-align:left;gap:10px;background:rgba(255,255,255,.75);border:1px solid #e1eaf6;border-radius:14px;padding:10px}
  .feat-ic{width:42px;height:42px;flex:none;box-shadow:none}
  .feat-ic .ic{width:22px;height:22px}
  .feat-label{font-size:.8rem}
  .dash{grid-template-columns:1fr;grid-template-areas:"stats" "book" "timings" "services" "loc";margin-top:-28px}
  .timings{padding:20px}
  .sched-day ul,.sched-foot .sched-day ul{grid-template-columns:1fr}
  html[lang^="kn"] .stat-label{font-size:.8rem}
  .stat{align-items:center;text-align:center;padding:14px 6px;gap:8px}
  .stat-ic{width:42px;height:42px}.stat-ic .ic{width:22px;height:22px}
  .stat strong{font-size:1.45rem;justify-content:center;gap:6px}
  .stat strong .ic{width:16px;height:16px}
  .stat-label{font-size:.74rem;margin-top:2px;line-height:1.3}
  .svc h3{padding:12px;font-size:.9rem}
  .about{padding:20px;border-radius:20px}
  .cred-grid{grid-template-columns:1fr}
  .cred{flex-direction:row;justify-content:flex-start;text-align:left;min-height:0;padding:16px 18px;gap:14px}
        .doc-head .btn{display:none}
  .reviews{margin-top:36px}
  .doc-profile{margin-top:24px}
  .doc-col{padding:20px}
  .review-track{grid-auto-columns:86%;margin-inline:calc(-1 * var(--pad));padding-inline:var(--pad);scroll-padding-inline:var(--pad)}
  .gallery img{aspect-ratio:1.1}
  .gallery figcaption{padding:10px 12px;font-size:.84rem}
  .foot{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
  .foot-grid{grid-template-columns:1fr;gap:26px}
  .mobile-cta{display:block;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.97);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 -8px 24px rgba(14,29,71,.1)}
  .mobile-cta{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}
  .mobile-cta .btn{width:100%;min-height:52px;font-size:1rem}
  .mobile-cta .btn-call{padding:0 16px}
  .hero-cta{display:none} /* the fixed bottom bar has the same two actions */
  .actions .call-icon{display:none} /* mobile bar has its own Call button */
  .areas-grid{grid-template-columns:1fr}
  .areas-col{padding:20px}
}
@media (max-width:400px){
  .brand img{width:40px}
  .brand-kn{font-size:.76rem}.brand-en{font-size:.78rem}
  .lang{padding:0 9px;font-size:.76rem}
  .menu-btn{width:42px;height:42px}
  .stat strong{font-size:1.25rem}
  .stat-label{font-size:.68rem}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.gal-open:hover img{transform:none}.review-track{scroll-behavior:auto}*{transition:none!important}}

/* =========================================================
   13. Content pages (doctor profile, guides) + homepage guide cards
   ========================================================= */
a.lang{display:inline-flex;align-items:center;text-decoration:none;font-family:var(--kn)}
.page-hero{background:linear-gradient(100deg,#eaf3fd 0%,#f3f8ff 45%,#e8f1fc 100%);padding:28px 0 34px;border-bottom:1px solid #e3ebf6}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 8px;font-size:.84rem;color:var(--muted)}
.crumbs li+li::before{content:"›";margin-right:8px;color:#9aa7bd}
.crumbs a{color:var(--blue);text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.page-hero h1{margin-top:14px;max-width:900px;font-size:clamp(1.75rem,3.2vw,2.6rem);line-height:1.15;letter-spacing:-.03em;font-weight:800;color:var(--navy)}
.page-lead{max-width:780px;margin-top:12px;font-size:1.05rem;color:#3c4a66;line-height:1.65}
.page-meta{margin-top:12px;font-size:.82rem;color:var(--muted)}
.page-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:36px;padding-block:36px 64px;align-items:start}
.answer{background:#eef4ff;border-left:4px solid var(--blue-2);border-radius:12px;padding:16px 18px;color:var(--ink);line-height:1.65}
.answer strong:first-child{display:block;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--blue-2);margin-bottom:4px}
.prose{max-width:780px;color:var(--ink)}
.prose>*+*{margin-top:14px}
.prose h2{margin-top:36px;font-size:1.45rem;line-height:1.25;font-weight:800;letter-spacing:-.02em;color:var(--navy)}
.prose h3{margin-top:24px;font-size:1.1rem;font-weight:800;color:var(--navy)}
.prose p,.prose li{line-height:1.72}
.prose ul,.prose ol{padding-left:22px}
.prose ul{list-style:disc}
.prose ol{list-style:decimal}
.prose li::marker{color:var(--blue-2)}
.prose .faqs,.prose .related{list-style:none}
.prose li+li{margin-top:6px}
.prose a{color:var(--blue)}
.prose blockquote{margin:0;padding:14px 18px;border-radius:12px;background:#fff;border:1px solid var(--line);font-style:italic;color:#3c4a66}
.prose blockquote cite{display:block;margin-top:6px;font-style:normal;font-weight:700;font-size:.86rem;color:var(--navy)}
.warn{background:#fff6f5;border:1px solid #f6cfcb;border-left:4px solid #d93025;border-radius:12px;padding:14px 18px}
.warn h3{margin-top:0;color:#a3241a}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff}
.prose table{width:100%;border-collapse:collapse;font-size:.92rem;min-width:520px}
.prose th,.prose td{padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #e8eef6}
.prose th{background:#eef4ff;color:var(--navy);font-weight:800}
.prose tr:last-child td{border-bottom:0}
.prose td:first-child{font-weight:700;color:var(--navy);white-space:nowrap}
.prose .faqs{margin-top:16px}
.side{position:sticky;top:calc(var(--header-h) + 16px);display:grid;gap:var(--gap)}
.side-card{padding:22px}
.side-card h2{font-size:1.1rem;font-weight:800;color:var(--navy);margin-bottom:6px}
.side-card p{font-size:.9rem;color:#3c4a66;line-height:1.55}
.side-card .btn{width:100%;margin-top:12px}
.side-card .sched{grid-template-columns:1fr;margin-top:12px}
.side-card .sched-day ul{grid-template-columns:1fr}
.side-card address{font-style:normal;font-size:.9rem;font-weight:600;color:var(--navy);line-height:1.5;margin-top:4px}
.related{display:grid;gap:8px;list-style:none;margin:10px 0 0;padding:0}
.related a{display:block;padding:10px 12px;border-radius:10px;background:#f3f7fd;color:var(--navy);font-weight:700;font-size:.9rem;text-decoration:none}
.related a:hover{background:#e6eefc}
.guides-sec{padding-top:0}
.guides{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:var(--gap);margin-top:24px}
.guide{display:flex;flex-direction:column;gap:8px;padding:22px;text-decoration:none;transition:border-color .15s}
.guide:hover{border-color:#b9cdee}
.guide h3{font-size:1.05rem;font-weight:800;color:var(--navy);line-height:1.3}
.guide p{font-size:.9rem;color:#46546e;line-height:1.55}
.guide span{margin-top:auto;font-weight:700;font-size:.88rem;color:var(--blue)}
@media (max-width:980px){
  .page-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .side{position:static}
}
@media (max-width:760px){
  .page-hero{padding:20px 0 26px}
  .page-grid{padding-block:24px 48px}
  .prose h2{font-size:1.25rem}
  .prose table{min-width:0;font-size:.88rem}
  .prose th,.prose td{padding:9px 10px}
  .prose td:first-child{white-space:normal;width:34%}
}

/* Content page title area: text + facts + actions beside a photo */
.page-hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:40px;align-items:center}
.page-hero h1{font-size:clamp(1.65rem,2.6vw,2.35rem);line-height:1.18;max-width:none}
html[lang^="kn"] .page-hero h1{line-height:1.38;letter-spacing:0;font-size:clamp(1.5rem,2.3vw,2.1rem)}
.page-lead{font-size:1.02rem}
.page-chips{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.page-chips li{padding:6px 12px;border-radius:999px;background:#fff;border:1px solid #d6e3fb;font-size:.82rem;font-weight:700;color:var(--navy)}
html[lang^="kn"] .page-chips li{border-radius:14px;line-height:1.45}
.page-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.page-hero-img{margin:0}
.page-hero-img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:22px;box-shadow:var(--shadow-lg);background:#e8eef6}
.prose .fig{margin:24px 0}
.prose .fig img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px;background:#e8eef6}
.prose .fig figcaption{margin-top:8px;font-size:.85rem;color:var(--muted)}
.nav{gap:clamp(14px,1.5vw,22px)}
@media (max-width:980px){
  .page-hero-grid{grid-template-columns:1fr;gap:22px}
  .page-hero-img img{aspect-ratio:16/9}
}
@media (max-width:760px){
  .page-cta{display:none} /* the fixed bottom bar has the same two actions */
  .page-chips li{font-size:.78rem}
}
