/* =========================================================
   Amrut Kidney & Surgical Hospital — styles
   Palette taken from the hospital poster & logo
   ========================================================= */
:root {
  --navy: #17378f;
  --navy-2: #0f2763;
  --blue: #2563eb;
  --teal: #2a9ea6;
  --teal-2: #1f8189;
  --sky: #8fe0fb;
  --sky-soft: #e8f8ff;
  --yellow: #ffd23f;
  --red: #e8372c;
  --wa: #25d366;
  --ink: #0f1b3d;
  --text: #46557a;
  --muted: #7a88a8;
  --line: #e3ebf7;
  --bg: #ffffff;
  --bg-soft: #f3f9ff;
  --card: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 4px 14px rgba(23, 55, 143, .08);
  --shadow: 0 14px 40px rgba(23, 55, 143, .12);
  --shadow-lg: 0 30px 70px rgba(23, 55, 143, .18);
  --grad: linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, var(--teal) 100%);
  --grad-teal: linear-gradient(135deg, var(--teal) 0%, #43c6c9 100%);
  --font: "Poppins", "Hind Vadodara", "Hind", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
html[lang="gu"] { --font: "Hind Vadodara", "Poppins", system-ui, sans-serif; }
html[lang="hi"] { --font: "Hind", "Poppins", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.65; font-size: 16px; overflow-x: hidden;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .6em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.ico.sm { width: .9em; height: .9em; }
.w100 { width: 100%; }
::selection { background: var(--navy); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  position: relative; overflow: hidden; white-space: nowrap; isolation: isolate;
}
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .3); background-size: 200% 200%; animation: gradShift 6s ease infinite; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37, 99, 235, .4); }
.btn-ghost { background: #fff; color: var(--navy); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-3px); }
.btn-ghost .ico { transition: transform .3s; }
.btn-ghost:hover .ico { transform: translateX(4px); }
.btn-yellow { background: var(--yellow); color: var(--navy-2); box-shadow: 0 10px 28px rgba(255, 210, 63, .45); }
.btn-yellow:hover { transform: translateY(-3px) scale(1.02); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-3px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.btn-wa:hover { transform: translateY(-3px); }
.ripple-wave { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .5); animation: ripple .65s linear; pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999; background: linear-gradient(160deg, #fff, var(--sky-soft));
  display: grid; place-content: center; justify-items: center; gap: 18px; transition: opacity .6s, visibility .6s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pl-ring { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; position: relative; background: #fff; box-shadow: var(--shadow); }
.pl-ring::before, .pl-ring::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--teal); border-right-color: var(--navy); animation: spin 1.1s linear infinite; }
.pl-ring::after { inset: -18px; border-top-color: var(--yellow); border-right-color: transparent; animation-duration: 1.8s; animation-direction: reverse; }
.pl-ring img { width: 88px; border-radius: 50%; animation: pulse 1.4s ease-in-out infinite; }
.pl-text { font-weight: 700; color: var(--navy); letter-spacing: .02em; text-align: center; padding: 0 16px; }
.pl-bar { width: 180px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pl-bar span { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 4px; animation: load 1.2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(.92); } }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--yellow), var(--teal), var(--blue)); z-index: 1001; box-shadow: 0 0 10px rgba(42, 158, 166, .6); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #dbe6ff; font-size: .84rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.tb-left { display: flex; gap: 22px; align-items: center; min-width: 0; }
.tb-left > * { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-left a:hover { color: var(--yellow); }
.tb-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 210, 63, .15); color: var(--yellow); padding: 3px 12px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255, 210, 63, .7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255, 210, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 63, 0); } }

/* ---------- Header ---------- */
#header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .86); 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; }
#header.scrolled { box-shadow: 0 8px 30px rgba(15, 39, 99, .08); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 78px; transition: height .3s; }
#header.scrolled .nav-in { height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; transition: transform .6s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-12deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
/* brand name uses the logo's typeface (Baloo Bhai 2 ExtraBold) in the logo teal */
.brand-text strong { font-family: "Baloo Bhai 2", var(--font); font-size: 1.65rem; line-height: .95; color: #4aa5a3; font-weight: 800; letter-spacing: .01em; }
.brand-text small { font-size: .72rem; color: var(--navy); font-weight: 600; }
#nav { display: flex; gap: 4px; align-items: center; }
#nav a:not(.btn) { position: relative; padding: 8px 12px; font-weight: 500; color: var(--ink); font-size: .93rem; border-radius: 10px; transition: color .25s; }
#nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
#nav a:not(.btn):hover, #nav a.active { color: var(--blue); }
#nav a:not(.btn):hover::after, #nav a.active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; color: var(--navy); font-size: .88rem; transition: border-color .25s, background .25s; }
.lang-btn:hover { border-color: var(--teal); background: var(--sky-soft); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 150px; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transition: .25s var(--ease); z-index: 10; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { display: block; width: 100%; text-align: left; padding: 9px 14px; border-radius: 10px; font-weight: 500; color: var(--ink); }
.lang-menu button:hover, .lang-menu button.on { background: var(--sky-soft); color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; color: var(--navy); background: var(--sky-soft); }
.burger .ico { width: 22px; height: 22px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal[data-reveal="up"] { transform: translateY(40px); }
.reveal[data-reveal="left"] { transform: translateX(-60px); }
.reveal[data-reveal="right"] { transform: translateX(60px); }
.reveal[data-reveal="zoom"] { transform: scale(.85); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 20%, #c9f1ff 0%, transparent 60%), linear-gradient(180deg, #f2fbff 0%, #ffffff 100%); padding: 60px 0 90px; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: blob 16s ease-in-out infinite; pointer-events: none; }
.b1 { width: 420px; height: 420px; background: #9be7ff; top: -120px; right: -80px; }
.b2 { width: 320px; height: 320px; background: #c7d7ff; bottom: -80px; left: -100px; animation-delay: -5s; }
.b3 { width: 220px; height: 220px; background: #ffe58a; top: 40%; left: 45%; opacity: .35; animation-delay: -9s; }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.1); } 66% { transform: translate(-30px, 30px) scale(.92); } }
.cells { position: absolute; inset: 0; pointer-events: none; }
.cell { position: absolute; bottom: -40px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(143, 224, 251, .5)); border: 1px solid rgba(42, 158, 166, .25); animation: rise linear infinite; }
@keyframes rise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translateY(-110vh) translateX(40px); opacity: 0; } }

.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; z-index: 2; }
.pill-tag { display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.pill-tag .ico { color: #e0a800; }
.hero-tagline { margin: 18px 0 8px; font-weight: 600; color: var(--teal-2); font-size: .98rem; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
html[lang="gu"] .hero h1, html[lang="hi"] .hero h1 { line-height: 1.3; }
.grad { background: linear-gradient(90deg, var(--navy), var(--blue), var(--teal), var(--blue), var(--navy)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradText 8s linear infinite; }
@keyframes gradText { to { background-position: 300% 0; } }
.typer { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; color: var(--ink); margin-bottom: 14px; min-height: 1.6em; }
.typed { color: var(--red); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--red); margin-left: 3px; vertical-align: -.15em; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-desc { font-size: 1.05rem; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--ink); font-size: .92rem; }
.hero-trust .ico { color: #fff; background: var(--teal); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 3; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(23, 55, 143, .2); }
.r1 { width: 470px; height: 470px; animation: spin 40s linear infinite; }
.r2 { width: 540px; height: 540px; border: 1.5px solid rgba(42, 158, 166, .18); animation: spin 60s linear infinite reverse; }
.r1::before, .r2::before { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); top: 50%; left: -7px; box-shadow: 0 0 0 6px rgba(255, 210, 63, .25); }
.r2::before { background: var(--teal); left: auto; right: -7px; top: 30%; box-shadow: 0 0 0 6px rgba(42, 158, 166, .2); }
.doc-frame { position: relative; width: 400px; height: 440px; border-radius: 48% 52% 46% 54% / 55% 50% 50% 45%; overflow: hidden; background: linear-gradient(160deg, #b6eefe, #7fd8f7); box-shadow: var(--shadow-lg), inset 0 0 0 8px rgba(255, 255, 255, .7); animation: morph 12s ease-in-out infinite; transform-style: preserve-3d; transition: transform .2s; }
@keyframes morph { 0%, 100% { border-radius: 48% 52% 46% 54% / 55% 50% 50% 45%; } 50% { border-radius: 55% 45% 52% 48% / 48% 56% 44% 52%; } }
.doc-img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 10%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); padding: 10px 14px; border-radius: 16px; box-shadow: var(--shadow); animation: floaty 5s ease-in-out infinite; z-index: 3; max-width: 230px; }
.float-card b { display: block; color: var(--ink); font-size: .9rem; line-height: 1.2; }
.float-card small { display: block; color: var(--muted); font-size: .74rem; line-height: 1.35; margin-top: 2px; }
.fc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.fc-ico.gold { background: linear-gradient(135deg, #ffcf3f, #f2a500); }
.fc-ico.red { background: linear-gradient(135deg, #ff6a5f, var(--red)); }
.fc-ico.teal { background: var(--grad-teal); }
.fc1 { top: 40px; left: -10px; }
.fc3 { bottom: 70px; left: -30px; animation-delay: -3.2s; max-width: 300px; }
.fc4 { top: 30px; right: -10px; animation-delay: -4.4s; }
.fc2 { top: 52%; right: -40px; animation-delay: -1.6s; }
.fc-ico.navy { background: linear-gradient(135deg, var(--navy), var(--blue)); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.doc-name-tag { position: absolute; bottom: 4px; right: 30px; background: var(--navy); color: var(--yellow); padding: 10px 20px; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow); z-index: 3; text-align: center; line-height: 1.25; }
.doc-name-tag small { display: block; color: #cfe0ff; font-weight: 500; font-size: .72rem; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(23, 55, 143, .35); border-radius: 20px; z-index: 2; }
.scroll-cue span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--navy); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--grad); color: #fff; overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg) scale(1.02); margin-top: -18px; position: relative; z-index: 3; box-shadow: var(--shadow); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; padding: 0 26px; font-weight: 600; white-space: nowrap; font-size: 1.02rem; }
.marquee-item .ico { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding: 70px 0 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--grad); transform: scaleX(0); transition: transform .5s var(--ease); }
.stat:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.stat:hover::before { transform: scaleX(1); }
.stat > .ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--sky-soft); color: var(--blue); margin: 0 auto 10px; display: block; }
.stat b { display: block; font-size: 2.2rem; color: var(--navy); font-weight: 800; line-height: 1.1; }
.stat > span { font-size: .92rem; font-weight: 500; }

/* ---------- Section basics ---------- */
.section { padding: 100px 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.sec-head { max-width: 720px; margin-bottom: 46px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-2); margin-bottom: 12px; }
.sec-tag::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-tag.light { color: var(--yellow); }
html[lang="gu"] .sec-tag, html[lang="hi"] .sec-tag { letter-spacing: .02em; font-size: .95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; padding: 20px 40px 60px 0; }
.about-card.main { background: linear-gradient(160deg, #e6f8ff, #c4efff); border-radius: 30px; padding: 50px; box-shadow: var(--shadow); display: grid; place-items: center; position: relative; overflow: hidden; }
.about-card.main::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .25) 0 2px, transparent 2px 18px); }
.about-card.main img { width: 75%; border-radius: 24px; position: relative; z-index: 1; animation: floaty 6s ease-in-out infinite; mix-blend-mode: multiply; }
.about-logo-card { position: absolute; right: 0; bottom: 10px; background: #fff; padding: 12px 16px; border-radius: 18px; box-shadow: var(--shadow-lg); width: 58%; z-index: 2; }
.about-badge { position: absolute; top: 0; left: -10px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 14px; font-weight: 600; font-size: .85rem; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow); z-index: 2; animation: floaty 5s ease-in-out infinite; }
.about-badge .ico { color: var(--yellow); }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.check-list .ico { color: #fff; background: var(--grad-teal); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 3; margin-top: 2px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); transition: transform .35s var(--ease), background .35s; }
.mv:hover { transform: translateY(-5px); background: #fff; box-shadow: var(--shadow-sm); }
.mv h4 { margin-bottom: 4px; font-size: 1.02rem; }
.mv p { margin: 0; font-size: .9rem; }
.mv-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }

/* ---------- Doctor ---------- */
.doctor { background: linear-gradient(150deg, var(--navy-2) 0%, var(--navy) 55%, #1d4fb8 100%); color: #c9d6f5; overflow: hidden; }
.doctor::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 224, 251, .18), transparent 70%); top: -200px; right: -150px; }
.doctor h2, .doctor h3, .doctor h4 { color: #fff; }
.doctor-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; position: relative; }
.doc-card { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .3); position: sticky; top: 100px; }
.doc-card-img { background: linear-gradient(160deg, #b6eefe, #7fd8f7); aspect-ratio: 1 / 1; overflow: hidden; }
.doc-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 0; transition: transform .8s var(--ease); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%); mask-image: linear-gradient(90deg, transparent 0%, #000 20%); }
.doc-card:hover .doc-card-img img { transform: scale(1.06); }
.doc-card-body { padding: 24px 26px 28px; color: var(--text); }
.doc-card-body h3 { color: var(--navy) !important; font-size: 1.5rem; margin-bottom: 4px; }
.founder-chip { display: inline-flex; gap: 6px; align-items: center; background: #fff6d6; color: #9a6b00; font-weight: 700; font-size: .78rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.doc-role { color: var(--teal-2); font-weight: 600; margin-bottom: 6px; }
.doc-quals { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.doc-info .lead { font-size: 1.06rem; }
.doctor blockquote { margin: 26px 0 34px; padding: 22px 24px 22px 64px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-style: italic; font-size: 1.05rem; position: relative; }
.doctor blockquote .q { position: absolute; left: 20px; top: 22px; width: 30px; height: 30px; color: var(--yellow); fill: var(--yellow); stroke: none; opacity: .9; }
.sub-h { font-size: 1.1rem; margin: 10px 0 18px; display: flex; align-items: center; gap: 10px; }
.sub-h::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .15); }
.edu { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 30px; }
.edu-item { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 16px; transition: transform .35s var(--ease), background .35s; }
.edu-item:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .13); }
.edu-item .e-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--yellow); color: var(--navy-2); display: grid; place-items: center; margin-bottom: 10px; }
.edu-item b { display: block; color: #fff; font-size: 1rem; }
.edu-item small { font-size: .8rem; color: #b5c5ea; line-height: 1.4; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border-radius: 999px; background: rgba(143, 224, 251, .12); border: 1px solid rgba(143, 224, 251, .3); color: #e5f6ff; font-size: .88rem; font-weight: 500; transition: background .3s, transform .3s; }
.chip:hover { background: var(--teal); transform: translateY(-3px); }

/* ---------- Treatments ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters button { padding: 10px 20px; border-radius: 999px; background: var(--bg-soft); border: 1.5px solid var(--line); font-weight: 600; color: var(--ink); font-size: .92rem; transition: .3s var(--ease); }
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(37, 99, 235, .3); }
.treat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.t-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 22px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, opacity .4s, border-color .35s; transform-style: preserve-3d; display: flex; flex-direction: column; overflow: hidden; }
.t-card::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 224, 251, .5), transparent 70%); top: -70px; right: -70px; transition: transform .6s var(--ease); }
.t-card:hover { box-shadow: var(--shadow-lg); border-color: #c9dcff; }
.t-card:hover::before { transform: scale(1.8); }
.t-card.hide { display: none; }
.t-card.pop { animation: popIn .5s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.95); } to { opacity: 1; transform: none; } }
.t-ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--grad); margin-bottom: 18px; position: relative; box-shadow: 0 10px 22px rgba(37, 99, 235, .25); transition: transform .5s var(--ease); }
.t-ico .ico { width: 26px; height: 26px; }
.t-card:hover .t-ico { transform: rotate(-8deg) scale(1.08); }
.t-card[data-cat="kidney"] .t-ico { background: var(--grad-teal); box-shadow: 0 10px 22px rgba(42, 158, 166, .3); }
.t-card[data-cat="prostate"] .t-ico { background: linear-gradient(135deg, #6c5ce7, #a29bfe); box-shadow: 0 10px 22px rgba(108, 92, 231, .3); }
.t-card[data-cat="surgery"] .t-ico { background: linear-gradient(135deg, #ff7a59, var(--red)); box-shadow: 0 10px 22px rgba(232, 55, 44, .28); }
.t-card h3 { font-size: 1.1rem; margin-bottom: 8px; position: relative; }
.t-card p { font-size: .92rem; margin-bottom: 18px; position: relative; flex: 1; }
.t-book { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); font-size: .9rem; position: relative; }
.t-book .ico { transition: transform .3s; }
.t-book:hover .ico { transform: translateX(5px); }
.t-cat { position: absolute; top: 22px; right: 20px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- Facilities ---------- */
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.f-card { position: relative; padding: 26px 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; overflow: hidden; z-index: 0; }
.f-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--a, 0deg), var(--teal), var(--blue), var(--yellow), var(--teal)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; z-index: -1; }
.f-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.f-card:hover::before { opacity: 1; animation: rotA 3s linear infinite; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rotA { to { --a: 360deg; } }
.f-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--sky-soft); color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; transition: background .4s, color .4s, transform .5s var(--ease); }
.f-ico .ico { width: 26px; height: 26px; }
.f-card:hover .f-ico { background: var(--grad); color: #fff; transform: rotateY(180deg); }
.f-card h3 { font-size: 1.04rem; margin-bottom: 6px; }
.f-card p { font-size: .88rem; margin: 0; }
.f-num { position: absolute; top: 16px; right: 18px; font-size: 2.4rem; font-weight: 800; color: rgba(23, 55, 143, .06); line-height: 1; }

/* ---------- Why + process ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.why-list { display: grid; gap: 16px; margin-top: 10px; }
.why-item { display: flex; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.why-item:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: transparent; }
.why-ico { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, #fff2c2, var(--yellow)); color: var(--navy-2); display: grid; place-items: center; flex: none; }
.why-item h4 { margin-bottom: 2px; font-size: 1.04rem; }
.why-item p { margin: 0; font-size: .9rem; }
.timeline { position: relative; margin-top: 16px; padding-left: 70px; }
.tl-line { position: absolute; left: 26px; top: 10px; bottom: 10px; width: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.tl-line span { display: block; width: 100%; height: 0; background: var(--grad); transition: height .2s linear; }
.tl-step { position: relative; padding: 4px 0 30px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -70px; top: 0; width: 55px; height: 55px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: .5s var(--ease); z-index: 1; }
.tl-step.on .tl-dot { border-color: transparent; background: var(--grad); color: #fff; box-shadow: 0 0 0 8px rgba(37, 99, 235, .12); transform: scale(1.05); }
.tl-step .num { font-size: .78rem; font-weight: 700; color: var(--teal-2); letter-spacing: .1em; }
.tl-step h4 { margin: 2px 0 4px; font-size: 1.12rem; }
.tl-step p { margin: 0; font-size: .92rem; }

/* ---------- Appointment ---------- */
.appt { background: linear-gradient(150deg, var(--navy-2), var(--navy) 60%, var(--teal-2)); overflow: hidden; }
.b4 { width: 500px; height: 500px; background: rgba(143, 224, 251, .3); top: -150px; left: -150px; }
.appt-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.appt-side { color: #c9d6f5; }
.appt-side h2 { color: #fff; }
.side-card { margin-top: 28px; padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(6px); }
.side-card h4 { color: #fff; margin-bottom: 4px; }
.side-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.side-hours { margin-top: 18px; padding: 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .22); }
.side-hours h4 { color: #fff; display: flex; gap: 8px; align-items: center; }
.side-hours p { margin: 0 0 4px; }
.appt-form { background: #fff; border-radius: 26px; padding: 34px; box-shadow: 0 40px 80px rgba(0, 0, 0, .25); }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: 7px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-wrap { position: relative; display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg-soft); transition: border-color .25s, box-shadow .25s, background .25s; }
.input-wrap > .ico { position: absolute; left: 14px; color: var(--muted); pointer-events: none; transition: color .25s; }
.input-wrap:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.input-wrap:focus-within > .ico { color: var(--blue); }
.input-wrap input, .input-wrap select { width: 100%; border: 0; background: transparent; padding: 13px 14px 13px 44px; font: inherit; color: var(--ink); outline: none; min-width: 0; appearance: none; -webkit-appearance: none; }
.input-wrap select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a88a8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.prefix { padding-left: 44px; font-weight: 600; color: var(--navy); }
.prefix + input { padding-left: 8px; }
textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg-soft); padding: 13px 14px; font: inherit; color: var(--ink); resize: vertical; outline: none; transition: border-color .25s, box-shadow .25s; }
textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.field.invalid .input-wrap { border-color: var(--red); animation: shake .4s; }
.err { display: none; color: var(--red); font-size: .8rem; margin-top: 5px; font-weight: 500; }
.field.invalid .err { display: block; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.seg { display: flex; gap: 8px; background: var(--bg-soft); padding: 5px; border-radius: 14px; border: 1.5px solid var(--line); }
.seg label { flex: 1; margin: 0; }
.seg input, .slots input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 9px; border-radius: 10px; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--text); transition: .25s; }
.seg input:checked + span { background: var(--grad); color: #fff; box-shadow: 0 6px 14px rgba(37, 99, 235, .25); }
.seg input:focus-visible + span, .slots input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slots label { margin: 0; }
.slots span { display: block; padding: 12px 8px; text-align: center; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: .25s var(--ease); background: var(--bg-soft); }
.slots b { display: block; color: var(--ink); font-size: .92rem; }
.slots small { color: var(--muted); font-size: .74rem; }
.slots span:hover { border-color: var(--blue); transform: translateY(-2px); }
.slots input:checked + span { border-color: var(--blue); background: #eef4ff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.slots input:checked + span b { color: var(--blue); }
.field.invalid .slots span { border-color: #f3b3ae; }
.submit-btn { margin-top: 6px; }
.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.submit-btn.loading .spinner { display: inline-block; }
.submit-btn.loading .ico { display: none; }
.privacy { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-cta { margin-top: 26px; padding: 22px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); }
.faq-cta p { font-weight: 600; color: var(--ink); margin: 0; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; margin-bottom: 14px; background: #fff; transition: box-shadow .3s, border-color .3s; overflow: hidden; }
.faq-item.open { box-shadow: var(--shadow); border-color: transparent; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-weight: 600; color: var(--ink); font-size: 1rem; }
.faq-q .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--sky-soft); color: var(--blue); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq-item.open .pm { transform: rotate(180deg); background: var(--grad); color: #fff; }
.faq-a { height: 0; overflow: hidden; transition: height .4s var(--ease); }
.faq-a p { padding: 0 22px 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; }
.contact-cards { display: grid; gap: 16px; }
.c-card { display: flex; gap: 16px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.c-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.c-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.c-ico .ico { width: 24px; height: 24px; }
.c-card h4 { margin-bottom: 4px; }
.c-card p { margin: 0 0 4px; }
.c-card a:not(.link) { color: var(--navy); font-weight: 700; font-size: 1.1rem; }
.link { display: inline-flex; gap: 6px; align-items: center; color: var(--blue); font-weight: 600; font-size: .9rem; margin-top: 4px; }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--sky-soft); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); color: #b6c4e6; position: relative; padding: 90px 0 0; }
.wave { position: absolute; top: -1px; left: 0; right: 0; height: 70px; transform: rotate(180deg); }
.wave svg { width: 100%; height: 100%; display: block; }
.wave path { fill: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.f-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 16px; margin-bottom: 16px; }
.f-logo img { width: 220px; }
.footer h4 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.f-links a { position: relative; transition: color .25s, padding .25s; }
.f-links a:hover { color: var(--yellow); padding-left: 6px; }
.f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .ico { color: var(--yellow); margin-top: 4px; }
.f-contact a:hover { color: #fff; }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; }
.f-bottom p { margin: 0; }
.disc { color: #8193bf; max-width: 520px; }

/* ---------- Floating ---------- */
.fab-wa, .fab-call { position: fixed; right: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; z-index: 900; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.fab-wa { bottom: 96px; background: var(--wa); }
.fab-call { bottom: 166px; background: var(--grad); }
.fab-wa .ico, .fab-call .ico { width: 28px; height: 28px; }
.fab-wa::before, .fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wave 2s ease-out infinite; }
.fab-wa::after { animation-delay: 1s; }
@keyframes wave { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.fab-wa:hover, .fab-call:hover { transform: scale(1.1); }
.fab-call .ico { animation: ringing 2.5s ease-in-out infinite; }
@keyframes ringing { 0%, 50%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-15deg); } 10%, 20% { transform: rotate(15deg); } }
.to-top { position: fixed; right: 26px; bottom: 30px; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); z-index: 900; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .35s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top > .ico { width: 20px; height: 20px; }
.tt-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tt-ring circle { fill: none; stroke: var(--teal); stroke-width: 3; stroke-dasharray: 125.6; stroke-dashoffset: 125.6; stroke-linecap: round; }
.mobile-bar { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(9, 22, 58, .6); backdrop-filter: blur(6px); animation: fadeIn .3s; }
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card { position: relative; z-index: 2; background: #fff; border-radius: 26px; padding: 34px 30px 28px; width: min(460px, 100%); text-align: center; box-shadow: var(--shadow-lg); animation: modalIn .55s var(--ease); max-height: calc(100vh - 32px); overflow-y: auto; }
@keyframes modalIn { from { opacity: 0; transform: translateY(40px) scale(.9); } }
.check-anim { width: 86px; height: 86px; margin: 0 auto 14px; display: block; }
.check-anim circle { fill: none; stroke: var(--wa); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s .1s var(--ease) forwards; }
.check-anim path { fill: none; stroke: var(--wa); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.modal-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.ok-id b { color: var(--navy); letter-spacing: .05em; }
.ok-summary { background: var(--bg-soft); border-radius: 14px; padding: 12px 16px; text-align: left; font-size: .9rem; margin: 10px 0 14px; display: grid; gap: 4px; }
.ok-summary div { display: flex; justify-content: space-between; gap: 12px; }
.ok-summary span { color: var(--muted); }
.ok-summary b { color: var(--ink); text-align: right; }
.ok-desc { font-size: .9rem; }
.modal-btns { display: grid; gap: 10px; }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* ---------- Google reviews ---------- */
.rev-summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; max-width: 880px; margin: 0 auto; background: #fff; border-radius: 26px; padding: 28px 34px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden; }
.rev-summary::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(180deg, #4285F4, #34A853, #FBBC05, #EA4335); }
.rev-g { width: 84px; height: 84px; border-radius: 22px; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(15, 39, 99, .12); }
.rev-g .ico { width: 46px; height: 46px; }
.rev-score > b { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; display: block; }
.stars { display: flex; gap: 3px; color: #fbbc05; margin: 6px 0 4px; }
.stars .ico { width: 22px; height: 22px; }
.stars.sm .ico { width: 16px; height: 16px; }
.rev-score > span { font-weight: 500; }
.rev-score > span b { color: var(--ink); }
.rev-actions { display: flex; flex-direction: column; gap: 10px; }
.rev-actions .btn .ico { width: 1.1em; height: 1.1em; }
.rev-grid { display: flex; gap: 20px; margin-top: 34px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 16px; scrollbar-width: thin; scrollbar-color: #c9d6ee transparent; }
.rev-grid[hidden] { display: none; }
.rev-card { flex: 0 0 300px; scroll-snap-align: start; background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s; }
.rev-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.rev-head { display: flex; align-items: center; gap: 12px; }
.rev-head img, .rev-head .ini { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.rev-head .ini { display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; }
.rev-head b { display: block; color: var(--ink); line-height: 1.2; }
.rev-head small { color: var(--muted); font-size: .8rem; }
.rev-text { font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rev-card.open .rev-text { -webkit-line-clamp: unset; }
.rev-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: .78rem; color: var(--muted); }
.rev-foot .ico { width: 14px; height: 14px; vertical-align: -2px; }
.rev-foot button { color: var(--blue); font-weight: 600; font-size: .8rem; }
.rev-head a { color: inherit; }
.rev-head a:hover { color: var(--blue); }
.rev-attrib { text-align: right; font-size: .78rem; color: var(--muted); margin: 0; font-family: Roboto, Arial, sans-serif; }
.rev-attrib b { color: #5f6368; font-weight: 500; }

/* ---------- Instagram ---------- */
.ig-profile { display: flex; align-items: center; gap: 16px; max-width: 560px; margin: 0 auto 30px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 12px 10px 10px; box-shadow: var(--shadow-sm); }
.ig-avatar { width: 58px; height: 58px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); flex: none; }
.ig-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: #fff; }
.ig-who { flex: 1; min-width: 0; line-height: 1.25; }
.ig-who b { display: block; color: var(--ink); }
.ig-who small { color: var(--muted); font-size: .8rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-follow { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; box-shadow: 0 8px 20px rgba(220, 39, 67, .3); }
.ig-follow:hover { transform: translateY(-3px); }
.ig-wrap { position: relative; }
.ig-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; scrollbar-width: thin; scrollbar-color: #c9d6ee transparent; }
.ig-item { flex: 0 0 328px; scroll-snap-align: start; min-height: 560px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.ig-item .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; border-radius: 18px !important; border: 0 !important; box-shadow: none !important; }
.ig-item iframe { border-radius: 18px !important; }
.ig-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 560px; padding: 24px; text-align: center; color: #fff; background: linear-gradient(160deg, #833ab4, #fd1d1d 60%, #fcb045); text-decoration: none; font-weight: 600; }
.ig-fallback .play { width: 74px; height: 74px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; animation: pulse 2s ease-in-out infinite; }
.ig-fallback .play .ico { width: 30px; height: 30px; margin-left: 4px; }
.ig-fallback small { opacity: .85; font-weight: 500; }
.ig-nav { position: absolute; top: 45%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .25s; }
.ig-nav:hover { transform: scale(1.08); }
.ig-nav.prev { left: -18px; } .ig-nav.prev .ico { transform: rotate(180deg); }
.ig-nav.next { right: -18px; }
.center-cta { text-align: center; margin-top: 18px; }

/* footer social */
.f-social { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.f-social span { font-weight: 600; color: #fff; margin-right: 4px; font-size: .9rem; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #fff; transition: background .25s, transform .25s; }
.f-social a:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.f-social a .ico { width: 18px; height: 18px; }
a.stat { color: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  #nav a:not(.btn) { padding: 8px 8px; font-size: .88rem; }
  .nav-cta span { display: none; }
  .nav-cta { padding: .8em; }
}
@media (max-width: 960px) {
  .burger { display: grid; }
  .nav-cta { display: none; }
  /* drawer stays inside the viewport and is revealed with clip-path, so the closed
     menu never makes the page wider than the phone (no sideways scroll / zoom-out) */
  #nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: #fff; flex-direction: column; align-items: stretch; padding: 100px 24px 24px; gap: 4px; box-shadow: var(--shadow-lg); clip-path: inset(0 0 0 100%); visibility: hidden; overflow: hidden auto; transition: clip-path .45s var(--ease), visibility 0s .45s; z-index: 999; }
  #nav.open { clip-path: inset(0 0 0 -40px); visibility: visible; transition: clip-path .45s var(--ease), visibility 0s; }
  #nav a:not(.btn) { padding: 13px 14px; font-size: 1.02rem; border-radius: 12px; opacity: 0; transform: translateX(30px); transition: opacity .4s, transform .4s, background .25s; }
  #nav.open a:not(.btn) { opacity: 1; transform: none; }
  #nav a:not(.btn)::after { display: none; }
  #nav a.active { background: var(--sky-soft); }
  .nav-cta-mobile { display: inline-flex; margin-top: 14px; }
  .burger { position: relative; z-index: 1000; }
  .hero-in, .about-grid, .doctor-grid, .why-grid, .appt-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-visual { min-height: 460px; order: -1; }
  .doc-card { position: relative; top: 0; max-width: 460px; margin-inline: auto; }
  .faq-head { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-visual { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: 66px; }
  .tb-hide { display: none !important; }
  .topbar-in { gap: 10px; }
  .tb-left { gap: 12px; flex: none; }
  .tb-right { min-width: 0; display: flex; justify-content: flex-end; }
  .tb-pill { font-size: .72rem; padding: 3px 10px; max-width: 100%; }
  .tb-pill span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-in { justify-content: space-between; }
  .nav-in { height: 66px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-text strong { font-size: 1.4rem; }
  .brand-text small { font-size: .64rem; }
  .lang-btn { padding: 7px 10px; }
  .section { padding: 70px 0; }
  .hero-visual { min-height: 380px; }
  .r1 { width: 330px; height: 330px; }
  .r2 { width: 380px; height: 380px; }
  .doc-frame { width: 280px; height: 310px; }
  .float-card { padding: 8px 10px; gap: 8px; max-width: 170px; }
  .float-card b { font-size: .78rem; }
  .float-card small { font-size: .66rem; }
  .fc-ico { width: 32px; height: 32px; border-radius: 10px; }
  .fc1 { top: 10px; left: 0; }
  .fc3 { bottom: 60px; left: 0; }
  .fc4 { top: 10px; right: 0; }
  .fc2 { top: 40%; right: 0; }
  .doc-name-tag { right: 10px; padding: 8px 14px; font-size: .9rem; }
  .hero-btns .btn { flex: 1 1 100%; }
  .check-list, .mv-grid, .row2 { grid-template-columns: 1fr; }
  .stat b { font-size: 1.8rem; }
  .appt-form { padding: 24px 18px; }
  .slots small { font-size: .66rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab-wa, .fab-call { display: none; }
  .to-top { bottom: 84px; right: 16px; width: 44px; height: 44px; }
  .rev-summary { grid-template-columns: auto 1fr; padding: 22px 20px; gap: 18px; }
  .rev-actions { grid-column: 1 / -1; flex-direction: row; }
  .rev-actions .btn { flex: 1; padding: .8em .6em; font-size: .86rem; }
  .rev-g { width: 64px; height: 64px; }
  .rev-g .ico { width: 36px; height: 36px; }
  .ig-item, .rev-card { flex-basis: 86%; }
  .ig-nav { display: none; }
  .ig-profile { border-radius: 20px; }
  .ig-follow { padding: .7em 1em; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: #fff; box-shadow: 0 -8px 24px rgba(15, 39, 99, .12); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .72rem; font-weight: 600; color: var(--navy); padding: 4px; border-radius: 12px; }
  .mobile-bar a .ico { width: 20px; height: 20px; }
  .mobile-bar a:last-child { color: #128c4b; }
  .mobile-bar .mb-main { background: var(--grad); color: #fff; flex-direction: row; gap: 8px; font-size: .86rem; }
  .marquee-item { font-size: .9rem; padding: 0 18px; }
  .timeline { padding-left: 62px; }
  .tl-dot { left: -62px; width: 48px; height: 48px; }
  .tl-line { left: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
