/* ==========================================================================
   Dr. Rohit Modi — Eye Surgeon | Premium personal-doctor brand
   Palette: Deep Navy / Medical Blue / Soft Cyan / White / Light Grey / Gold
   ========================================================================== */

:root {
  --navy: #0b1f3a;
  --navy-2: #10294a;
  --navy-3: #16335c;
  --blue: #1a5fb4;
  --blue-dark: #144b8f;
  --cyan: #35c4dd;
  --cyan-soft: #e6f7fb;
  --gold: #c9a24b;
  --gold-soft: #f7f0df;
  --ink: #14263f;
  --muted: #5b6b80;
  --bg: #f6f9fc;
  --white: #ffffff;
  --line: #e2eaf3;
  --danger: #b3352c;
  --danger-soft: #fdecea;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 31, 58, .06);
  --shadow-md: 0 10px 30px rgba(11, 31, 58, .10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, .16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.22; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .45em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--cyan); color: var(--navy); }

.container { width: min(100%, 92%); margin-inline: auto; }
.container-wide { width: min(100%, 94%); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-grey { background: var(--bg); }
.section-navy { background: var(--navy); color: #dbe6f3; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a { color: var(--cyan); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--cyan); }
.section-navy .eyebrow { color: var(--cyan); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.section-navy .lead { color: #b9c9dd; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(26, 95, 180, .35); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(26, 95, 180, .45); }
.btn-cyan { background: var(--cyan); color: var(--navy); }
.btn-cyan:hover { background: #57d3e8; color: var(--navy); transform: translateY(-2px); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { filter: brightness(1.07); color: var(--navy); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------------- Top bar ---------------- */
.topbar {
  background: var(--navy); color: #c6d5e8; font-size: .82rem;
  padding: 8px 0; position: relative; z-index: 60;
}
.topbar .container-wide { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #dbe6f3; }
.topbar a:hover { color: var(--cyan); }
.topbar .topbar-group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar .sentra-link { font-weight: 700; color: var(--cyan); }
.topbar .sentra-link:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; margin: 0; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 5px; padding: 12px 13px;
  font-size: .86rem; font-weight: 600; color: var(--ink); letter-spacing: .01em;
  border-radius: 8px; white-space: nowrap;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--blue); background: var(--bg); }
.main-nav .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.main-nav li.has-sub:hover .caret, .main-nav li.has-sub:focus-within .caret { transform: rotate(-135deg) translateY(-1px); }
.nav-sentra > a { color: var(--blue) !important; font-weight: 800 !important; }
.nav-sentra > a::after { content: "↗"; font-size: .8em; margin-left: 2px; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.main-nav li.has-sub:hover > .dropdown,
.main-nav li.has-sub:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: .88rem;
  color: var(--ink); font-weight: 500;
}
.dropdown li a:hover { background: var(--cyan-soft); color: var(--navy); }
.dropdown .drop-heading { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding: 10px 14px 4px; font-weight: 700; }
.dropdown-mega { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #143257 100%);
  color: #e8eff8; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 480px at 82% 30%, rgba(53,196,221,.16), transparent 65%),
              radial-gradient(560px 420px at 8% 88%, rgba(26,95,180,.25), transparent 60%);
  pointer-events: none;
}
.hero-retina-lines { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 70px); align-items: center;
  padding: clamp(60px, 8vw, 110px) 0;
}
.hero .credential-line {
  display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
  border: 1px solid rgba(53,196,221,.35); border-radius: 999px; padding: 8px 18px; margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 6px; }
.hero h1 .subtitle { display: block; font-size: clamp(1.15rem, 2.4vw, 1.7rem); color: #a9c4e2; font-weight: 500; margin-top: 10px; font-family: var(--font-body); }
.hero p { color: #c2d3e8; max-width: 54ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero .link-sentra { color: var(--cyan); font-weight: 600; font-size: .95rem; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-eye-orbit {
  position: absolute; width: min(520px, 120%); aspect-ratio: 1;
  border: 1px solid rgba(53,196,221,.18); border-radius: 50%;
  transform: rotate(-18deg); pointer-events: none;
}
.hero-eye-orbit::before {
  content: ""; position: absolute; inset: 12%; border: 1px dashed rgba(53,196,221,.28);
  border-radius: 50%; animation: hero-spin 18s linear infinite;
}
.hero-orbit-ring { position: absolute; border: 1px solid rgba(53,196,221,.45); border-radius: 50%; }
.ring-one { inset: 24% 8%; transform: rotate(32deg); }
.ring-two { inset: 8% 24%; transform: rotate(-32deg); }
.hero-orbit-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 7px rgba(53,196,221,.12), 0 0 22px rgba(53,196,221,.8); }
.dot-one { top: 12%; right: 20%; animation: hero-float 4s ease-in-out infinite; }
.dot-two { bottom: 18%; left: 11%; animation: hero-float 5s ease-in-out -1.5s infinite; }
.hero-blink-eye {
  position: absolute; z-index: 4; top: 16%; right: -15%; width: 190px;
  padding: 12px 12px 10px; border: 1px solid rgba(53,196,221,.32);
  border-radius: 24px; background: rgba(7,25,50,.8); box-shadow: 0 18px 45px rgba(0,0,0,.25);
  backdrop-filter: blur(12px); animation: hero-float 5s ease-in-out -1s infinite;
}
.hero-blink-eye svg { display: block; width: 100%; overflow: visible; }
.eye-sclera { fill: #eafaff; stroke: #35c4dd; stroke-width: 2; }
.eye-iris { transform-origin: 120px 70px; animation: iris-look 6s ease-in-out infinite; }
.eye-pupil { fill: #071932; }
.eye-highlight { fill: #fff; opacity: .9; }
.eye-lid { fill: none; stroke: #35c4dd; stroke-width: 8; stroke-linecap: round; }
.eye-lid-top { transform-origin: 120px 70px; animation: blink-top 5.5s ease-in-out infinite; }
.eye-lid-bottom { transform-origin: 120px 70px; animation: blink-bottom 5.5s ease-in-out infinite; }
.blink-label { display: block; margin-top: 2px; color: #bdebf4; font-size: .68rem; font-weight: 800; text-align: center; letter-spacing: .06em; text-transform: uppercase; }
@keyframes blink-top {
  0%, 84%, 91%, 100% { transform: scaleY(1); }
  87.5%, 89.5% { transform: scaleY(6); }
}
@keyframes blink-bottom {
  0%, 84%, 91%, 100% { transform: scaleY(1); }
  87.5%, 89.5% { transform: scaleY(5); }
}
@keyframes iris-look {
  0%, 18%, 100% { transform: translateX(0); }
  28%, 48% { transform: translateX(7px); }
  58%, 78% { transform: translateX(-6px); }
}
.hero-care-icon {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  padding: 9px 12px 9px 9px; border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px; background: rgba(16,41,74,.82); color: #e8f7ff;
  box-shadow: 0 14px 35px rgba(0,0,0,.2); backdrop-filter: blur(10px);
  font-size: .72rem; font-weight: 800; letter-spacing: .03em; white-space: nowrap;
}
.hero-care-icon img { width: 32px; height: 32px; object-fit: contain; filter: brightness(0) invert(1); }
.icon-oct { top: 8%; left: -4%; animation: hero-float 4.5s ease-in-out infinite; }
.icon-eye { top: 43%; right: -10%; animation: hero-float 5.2s ease-in-out -1s infinite; }
.icon-topography { bottom: 9%; left: 1%; animation: hero-float 4.8s ease-in-out -2s infinite; }
@keyframes hero-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(2deg); } }
@keyframes hero-spin { to { transform: rotate(360deg); } }
.hero-photo {
  position: relative; width: min(420px, 100%); border-radius: 200px 200px 24px 24px;
  overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.18);
  background: var(--navy-3);
}
.hero-photo img { display: block; width: 100%; }
.hero-badge {
  position: absolute; bottom: 22px; left: -18px; background: #fff; color: var(--navy);
  border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow-md);
  font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: 10px;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47,191,113,.2); }

/* ---------------- Credential bar ---------------- */
.credential-bar { background: #fff; border-bottom: 1px solid var(--line); }
.credential-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.credential-item { padding: 34px 20px; text-align: center; border-left: 1px solid var(--line); }
.credential-item:first-child { border-left: 0; }
.credential-item .num { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; color: var(--navy); }
.credential-item .num .accent { color: var(--blue); }
.credential-item .lbl { font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.credential-note { text-align: center; font-size: .75rem; color: var(--muted); padding-bottom: 14px; }

/* ---------------- Cards & grids ---------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #c9d9ec; }
.card .card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--cyan-soft); color: var(--blue); margin-bottom: 18px;
}
.card .card-icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .card-link { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card .card-link::after { content: "→"; transition: transform .25s; }
.card:hover .card-link::after { transform: translateX(4px); }
.card-navy { background: var(--navy-2); border-color: rgba(255,255,255,.1); color: #c9d8ea; }
.card-navy h3 { color: #fff; }
.card-navy p { color: #a9bddd; }

/* ---------------- Split / media rows ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split.reverse > .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.split-media .clinical-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-media .img-caption { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.image-library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
.image-library-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.image-library-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.image-library-card figcaption { padding: 12px 14px 14px; color: var(--muted); font-size: .78rem; line-height: 1.4; }

/* ---------------- Quick answer / key facts (AEO) ---------------- */
.quick-answer {
  background: var(--cyan-soft); border-left: 4px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 26px 0;
}
.quick-answer strong { color: var(--navy); }
.key-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 26px 0; }
.key-fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.key-fact .kf-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.key-fact .kf-value { font-weight: 700; color: var(--navy); margin-top: 4px; }

.emergency-callout {
  background: var(--danger-soft); border: 1px solid #f2c7c2; border-left: 5px solid var(--danger);
  border-radius: var(--radius); padding: 22px 26px; margin: 30px 0;
}
.emergency-callout h3 { color: var(--danger); font-family: var(--font-body); font-size: 1.05rem; display: flex; gap: 10px; align-items: center; }
.emergency-callout p { margin: 0; color: #6e2a24; }

.disclaimer-box {
  background: var(--bg); border: 1px dashed #c3d2e4; border-radius: var(--radius);
  padding: 18px 22px; font-size: .85rem; color: var(--muted); margin: 30px 0;
}

/* ---------------- Timeline ---------------- */
.timeline { position: relative; margin: 40px 0; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), var(--blue)); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before {
  content: ""; position: absolute; left: -31px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 0 0 4px var(--cyan-soft);
}
.timeline-item .tl-tag { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.timeline-item h3 { margin: 4px 0 6px; }
.timeline-item p { color: var(--muted); margin: 0; }
.timeline-item.gold::before { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.timeline-item.gold .tl-tag { color: var(--gold); }

/* ---------------- FAQ accordion ---------------- */
.faq-list { max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font-size: 1rem; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-body);
}
.faq-q .faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--cyan-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.1rem; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); }

/* ---------------- Video cards ---------------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.video-card {
  background: var(--navy-2); border-radius: var(--radius-lg); overflow: hidden; position: relative;
  border: 1px solid rgba(255,255,255,.08); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-thumb { position: relative; aspect-ratio: 9/16; background: var(--navy-3); overflow: hidden; }
.video-thumb.landscape { aspect-ratio: 16/9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(11,31,58,.75));
}
.video-play .play-btn {
  width: 58px; height: 58px; border-radius: 50%; background: rgba(53,196,221,.92);
  display: grid; place-items: center; transition: transform .3s ease, background .3s;
}
.video-card:hover .play-btn { transform: scale(1.12); background: var(--cyan); }
.play-btn svg { width: 22px; height: 22px; fill: var(--navy); margin-left: 3px; }
.video-duration { position: absolute; top: 12px; right: 12px; background: rgba(11,31,58,.8); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.video-cat { position: absolute; top: 12px; left: 12px; background: var(--cyan); color: var(--navy); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.video-body { padding: 16px 18px 20px; color: #c9d8ea; flex: 1; display: flex; flex-direction: column; }
.video-body h3 { color: #fff; font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 6px; }
.video-body p { font-size: .82rem; color: #9fb4cf; flex: 1; }
.video-body .video-watch { font-size: .82rem; font-weight: 700; color: var(--cyan); }

/* ---------------- Video modal ---------------- */
.video-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.video-modal.open { display: flex; }
.video-modal .modal-backdrop { position: absolute; inset: 0; background: rgba(6,15,29,.85); backdrop-filter: blur(6px); }
.video-modal .modal-box { position: relative; width: min(920px, 100%); background: #000; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-modal .modal-box.tall { width: min(420px, 100%); }
.video-modal .modal-embed { aspect-ratio: 16/9; width: 100%; }
.video-modal .modal-box.tall .modal-embed { aspect-ratio: 9/16; }
.video-modal .modal-embed iframe, .video-modal .modal-embed video { width: 100%; height: 100%; border: 0; display: block; }
.video-modal .modal-close {
  position: absolute; top: -46px; right: 0; background: #fff; border: 0; width: 38px; height: 38px;
  border-radius: 50%; font-size: 1.2rem; cursor: pointer; color: var(--navy); font-weight: 700;
}

/* ---------------- Filter pills ---------------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; }
.filter-pill {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 20px;
  font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: .25s;
}
.filter-pill:hover { border-color: var(--blue); color: var(--blue); }
.filter-pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------------- Blog cards ---------------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .post-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-card .post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .post-meta { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 8px; }
.post-card h3 { font-size: 1.15rem; }
.post-card p { color: var(--muted); font-size: .92rem; flex: 1; }

/* ---------------- Tables ---------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); margin: 26px 0; }
table.compare { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; min-width: 640px; }
table.compare th { background: var(--navy); color: #fff; text-align: left; padding: 14px 18px; font-family: var(--font-body); font-size: .85rem; }
table.compare td { padding: 13px 18px; border-top: 1px solid var(--line); vertical-align: top; }
table.compare tr:nth-child(even) td { background: var(--bg); }

/* ---------------- Forms ---------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .85rem; font-weight: 700; color: var(--navy); }
.form-field label .req { color: var(--danger); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fbfdff; color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,95,180,.12);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.form-consent input { margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-success { background: #e9f9ef; border: 1px solid #bfe8cd; color: #1d6b3a; border-radius: var(--radius); padding: 22px 26px; }
.form-error { background: var(--danger-soft); border: 1px solid #f2c7c2; color: var(--danger); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 20px; }

/* ---------------- Doctor profile card ---------------- */
.doctor-card { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.doctor-card img { border-radius: var(--radius); }
.cred-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.cred-tag { background: var(--gold-soft); color: #7a5f1d; font-size: .76rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 1px solid #e8d9b5; }
.cred-tag.blue { background: var(--cyan-soft); color: var(--blue-dark); border-color: #c3ecf4; }

/* ---------------- CTA band ---------------- */
.cta-band { position: relative; background: linear-gradient(135deg, var(--navy), var(--navy-3)); border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); color: #dbe6f3; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(53,196,221,.25), transparent 70%); }
.cta-band h2 { color: #fff; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; position: relative; z-index: 1; }

/* ---------------- Sentra section ---------------- */
.sentra-band { background: var(--navy); color: #cfdeef; border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 50px); display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.sentra-band h2, .sentra-band h3 { color: #fff; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: #a9bddd; margin-top: 0; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.1); padding: 44px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 34px; padding: 56px 0 40px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #a9bddd; font-size: .9rem; }
.footer-grid a:hover { color: var(--cyan); }
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; }
.footer-sentra { margin-top: 18px; padding: 16px; border: 1px solid rgba(53,196,221,.3); border-radius: var(--radius); font-size: .85rem; }
.footer-sentra a { color: var(--cyan); font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: #7e93b1; }
.footer-bottom a { color: #a9bddd; }
.footer-disclaimer { font-size: .76rem; color: #6e84a5; padding-bottom: 26px; max-width: 900px; }

/* ---------------- Mobile sticky bar ---------------- */
.mobile-cta-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(11,31,58,.12);
}
.mobile-cta-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; font-size: .72rem; font-weight: 700; color: var(--navy); }
.mobile-cta-bar a svg { width: 20px; height: 20px; }
.mobile-cta-bar a.book { background: var(--blue); color: #fff; }

/* ---------------- Breadcrumbs ---------------- */
.breadcrumbs { padding: 18px 0 0; font-size: .82rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 8px; color: #b6c6da; }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero { background: linear-gradient(150deg, var(--navy), var(--navy-2) 70%, #14355f); color: #dbe6f3; padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 20%, rgba(53,196,221,.14), transparent 65%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: #b9c9dd; max-width: 64ch; font-size: 1.06rem; }
.page-hero .breadcrumbs { padding-top: 0; margin-bottom: 16px; }
.page-hero .breadcrumbs ol, .page-hero .breadcrumbs a { color: #8fa8c6; }

/* ---------------- Article body ---------------- */
.article-body { max-width: 780px; }
.article-body h2 { margin-top: 1.6em; }
.article-body h3 { margin-top: 1.4em; }
.article-body img { border-radius: var(--radius); margin: 18px 0; }
.article-body blockquote { border-left: 4px solid var(--cyan); margin: 24px 0; padding: 6px 0 6px 22px; color: var(--muted); font-style: italic; }
.byline { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 26px 0; font-size: .86rem; color: var(--muted); flex-wrap: wrap; }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.byline .reviewed { color: #1d6b3a; font-weight: 700; }

/* ---------------- Gallery ---------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; background: var(--bg); border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .g-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(11,31,58,.85)); color: #fff; font-size: .8rem; font-weight: 600; }

/* ---------------- Reveal animations ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.6,.05,.2,1); }
.reveal-img.in { clip-path: inset(0 0 0 0); }
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .08s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .24s; }
.stagger.in > *:nth-child(5) { transition-delay: .32s; }
.stagger.in > *:nth-child(6) { transition-delay: .4s; }

/* Retina particle canvas */
.retina-canvas { position: absolute; inset: 0; pointer-events: none; opacity: .55; }

/* ---------------- Misc ---------------- */
.tag { display: inline-block; background: var(--cyan-soft); color: var(--blue-dark); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.two-col-text { columns: 2; column-gap: 44px; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--ink); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.search-hero input { width: 100%; padding: 18px 24px; font-size: 1.05rem; border-radius: 999px; border: 1.5px solid var(--line); }
.not-found { text-align: center; padding: 100px 0; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dropdown-mega { min-width: 480px; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; max-height: calc(100vh - var(--header-h));
    overflow-y: auto; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-110%); transition: transform .35s ease; margin: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 14px; gap: 2px; }
  .main-nav > ul > li > a { padding: 14px 16px; font-size: 1rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 18px; display: none; min-width: 0; }
  .main-nav li.has-sub.expanded > .dropdown { display: block; }
  .header-cta .btn { display: inline-flex; padding: 9px 14px; font-size: .76rem; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 64px; }
  .hero-visual { order: -1; }
  .hero-photo { width: min(320px, 80%); }
  .hero-eye-orbit { width: min(390px, 105%); }
  .hero-blink-eye { right: -1%; top: 11%; width: 155px; }
  .hero-care-icon { transform: scale(.9); }
  .icon-oct { left: 0; }
  .icon-eye { right: -2%; }
  .icon-topography { left: 0; }
  .split { grid-template-columns: 1fr; }
  .split.reverse > .split-media { order: 0; }
  .image-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doctor-card { grid-template-columns: 1fr; }
  .credential-grid { grid-template-columns: repeat(2, 1fr); }
  .credential-item:nth-child(3) { border-left: 0; }
  .sentra-band { grid-template-columns: 1fr; }
  .two-col-text { columns: 1; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 62px; }
}
@media (min-width: 1181px) and (max-width: 1360px) {
  .header-inner { gap: 12px; }
  .main-nav > ul { gap: 0; }
  .main-nav > ul > li > a { padding-inline: 9px; font-size: .78rem; }
  .nav-sentra { display: none; }
  .brand-doctor { font-size: .9rem; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 0; }
  .hero-care-icon { display: none; }
  .hero-blink-eye { right: -2%; width: 132px; border-radius: 18px; }
  .blink-label { font-size: .58rem; }
  .topbar .topbar-group:first-child { display: none; }
  .image-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .image-library-card figcaption { padding: 9px 10px 11px; font-size: .7rem; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .stagger > *, .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero-blink-eye, .hero-eye-orbit::before, .eye-iris, .eye-lid-top, .eye-lid-bottom { animation: none !important; }
}

/* ---------------- Sentra brand refresh ---------------- */
:root {
  --navy: #073e68;
  --navy-2: #075991;
  --navy-3: #0b6fa6;
  --blue: #07639d;
  --blue-dark: #064a78;
  --cyan: #25b5b0;
  --cyan-soft: #e6f7f6;
  --gold: #f5a623;
  --gold-soft: #fff4dd;
  --ink: #12334d;
  --muted: #607487;
  --bg: #f5f9fb;
  --line: #dbe8ee;
  --shadow-md: 0 14px 34px rgba(7, 62, 104, .12);
  --shadow-lg: 0 28px 70px rgba(7, 62, 104, .2);
}
.topbar { background: var(--navy); }
.site-header { background: rgba(255,255,255,.98); }
.brand { gap: 10px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-divider { height: 34px; width: 1px; background: var(--line); }
.brand-doctor { color: var(--navy); font: 700 1rem/1.1 var(--font-display); white-space: nowrap; }
.brand-doctor small { display: block; margin-top: 4px; color: var(--blue); font: 700 .58rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.hero {
  min-height: 600px;
  background: linear-gradient(115deg, #063b63 0%, #075991 58%, #0b789f 100%);
}
.hero::before {
  background: radial-gradient(720px 520px at 84% 12%, rgba(37,181,176,.3), transparent 62%),
              radial-gradient(640px 500px at 4% 100%, rgba(245,166,35,.16), transparent 62%);
}
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 5.1rem); letter-spacing: -.04em; line-height: 1.02; }
.hero h1 em { color: #f7c649; font-style: normal; }
.hero h1 .subtitle { color: #d3ebf1; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.45; max-width: 30ch; }
.hero p { color: #d9edf2; font-size: 1.05rem; }
.hero .credential-line { border-color: rgba(255,255,255,.28); color: #a8eee2; }
.sentra-mark-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #f5a623; box-shadow: 0 0 0 5px rgba(245,166,35,.18); }
.hero-visual { min-height: 500px; align-items: center; }
.hero-photo { width: min(560px, 100%); border-radius: 34px; background: #eff8f7; border: 8px solid rgba(255,255,255,.16); box-shadow: 0 28px 70px rgba(2,33,57,.3); }
.hero-photo img { aspect-ratio: 1.23 / 1; object-fit: cover; object-position: center top; }
.hero-photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 26px; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(.2px); }
.hero-orb-one { width: 220px; height: 220px; right: -12%; top: 7%; border: 1px solid rgba(255,255,255,.24); box-shadow: 0 0 0 26px rgba(255,255,255,.03), 0 0 0 56px rgba(255,255,255,.025); }
.hero-orb-two { width: 14px; height: 14px; left: 2%; bottom: 15%; background: #f5a623; box-shadow: 0 0 0 10px rgba(245,166,35,.14), 0 0 26px rgba(245,166,35,.65); }
.hero-badge { left: -28px; bottom: 24px; padding: 16px 20px; color: var(--navy); }
.hero-badge strong { color: var(--blue); }
.hero-floating-card { position: absolute; top: 42px; right: -30px; display: flex; align-items: center; gap: 10px; padding: 13px 17px; border-radius: 16px; background: #fff; color: var(--navy); box-shadow: var(--shadow-md); font-size: .82rem; }
.hero-floating-card small { display: block; color: var(--muted); font-size: .7rem; margin-top: 2px; }
.floating-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--gold-soft); color: #db8a00; font-size: 1.1rem; }
.hero-trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #c9e5ea; font-size: .8rem; font-weight: 700; }
.hero-trust-row span::before { content: "✓"; color: #8de2d1; margin-right: 6px; }
.footer-brand-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand-lockup img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 16px; padding: 5px; }
.footer-brand-lockup strong { display: block; color: #fff; font: 600 1.35rem var(--font-display); }
.footer-brand-lockup span { display: block; color: var(--cyan); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 5px; }
.page-hero { background: linear-gradient(115deg, #063b63 0%, #075991 68%, #0b789f 100%); }
.page-hero::before { background: radial-gradient(560px 260px at 85% 20%, rgba(37,181,176,.24), transparent 68%); }
.btn-primary { background: var(--blue); }
.btn-cyan { background: #77ddd0; }
.btn-cyan:hover { background: #9be9df; }

@media (max-width: 1180px) {
  .hero-visual { min-height: 400px; }
  .hero-floating-card { right: 0; }
}
@media (max-width: 600px) {
  .brand-doctor, .brand-divider { display: none; }
  .hero { min-height: 0; }
  .hero-visual { min-height: 310px; }
  .hero-photo { width: min(360px, 92%); }
  .hero-badge { left: -4px; bottom: 8px; }
  .hero-floating-card { top: 8px; right: -2px; }
  .hero-trust-row { gap: 7px 14px; font-size: .72rem; }
}

/* Keep clinical media visible even if JavaScript is delayed or disabled. */
.split-media.reveal-img {
  clip-path: none;
  opacity: 1;
}
.split-media .clinical-photo {
  display: block;
  min-height: 300px;
  object-fit: cover;
}

@media (max-width: 760px) {
  .header-inner { height: 68px; gap: 8px; }
  .brand { min-width: 0; }
  .brand img { width: 42px; height: 42px; }
  .brand-doctor { font-size: .82rem; }
  .brand-doctor small { font-size: .5rem; letter-spacing: .04em; }
  .header-cta { margin-left: auto; gap: 3px; }
  .header-cta .btn { padding: 9px 11px; font-size: .7rem; }
  .nav-toggle { padding: 10px 7px; }
  .nav-toggle span { width: 26px; height: 3px; border-radius: 3px; }
}
@media (max-width: 420px) {
  .brand-doctor { display: none; }
  .header-cta .btn { font-size: 0; width: 38px; padding: 9px; }
  .header-cta .btn::before { content: "✦"; font-size: 1rem; }
}

/* ---------------- Full Sentra visual system ---------------- */
:root {
  --sentra-red: #ed1c24;
  --sentra-orange: #f7941d;
  --sentra-yellow: #ffc20e;
  --sentra-teal: #1bb3ab;
  --sentra-green: #8dc63f;
  --sentra-rainbow: linear-gradient(90deg, var(--sentra-red), var(--sentra-orange), var(--sentra-yellow), var(--sentra-teal), var(--sentra-green));
}
body {
  background:
    radial-gradient(circle at 4% 22%, rgba(27,179,171,.055) 0 3px, transparent 4px),
    radial-gradient(circle at 96% 64%, rgba(141,198,63,.06) 0 3px, transparent 4px),
    #fbfdfd;
  background-size: 38px 38px, 44px 44px, auto;
}
.section {
  position: relative;
  overflow: hidden;
}
.section::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -100px;
  top: 18%;
  border: 1px solid rgba(27,179,171,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(247,148,29,.035), 0 0 0 38px rgba(141,198,63,.025);
  pointer-events: none;
}
.section > .container { position: relative; z-index: 1; }
.section-grey {
  background:
    linear-gradient(135deg, rgba(230,247,246,.68), rgba(247,250,251,.9) 48%, rgba(255,248,229,.52));
  border-top: 1px solid rgba(219,232,238,.75);
  border-bottom: 1px solid rgba(219,232,238,.75);
}
.section-navy {
  background:
    radial-gradient(circle at 78% 22%, rgba(27,179,171,.3), transparent 23%),
    radial-gradient(circle at 12% 88%, rgba(247,148,29,.17), transparent 25%),
    linear-gradient(135deg, #063b63, #075991 62%, #087895);
}
.section-navy::before {
  border-color: rgba(255,255,255,.13);
  box-shadow: 0 0 0 18px rgba(255,255,255,.035), 0 0 0 38px rgba(255,194,14,.03);
}
.section-navy .split-media {
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.24), rgba(27,179,171,.08));
}
.section-navy .split-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px;
  pointer-events: none;
}
.eyebrow::before { background: var(--sentra-rainbow); height: 3px; border-radius: 3px; }
.section-navy .eyebrow { color: #8de2d1; }
.section-navy .check-list li::before { color: #8de2d1; }
.credential-bar {
  background: linear-gradient(180deg, #fff, #f4fbfb);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(7,62,104,.06);
}
.credential-item {
  position: relative;
  min-height: 140px;
  border-left-color: rgba(219,232,238,.9);
}
.credential-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: var(--sentra-teal);
}
.credential-item:nth-child(2)::before { background: var(--sentra-orange); }
.credential-item:nth-child(3)::before { background: var(--sentra-yellow); }
.credential-item:nth-child(4)::before { background: var(--sentra-green); }
.credential-item .num { color: var(--navy); }
.credential-item:nth-child(2) .accent { color: var(--sentra-orange); }
.credential-item:nth-child(3) .accent { color: var(--sentra-yellow); }
.credential-item:nth-child(4) .num { color: var(--sentra-teal); }
.card {
  border: 1px solid rgba(183,211,221,.8);
  box-shadow: 0 8px 24px rgba(7,62,104,.06);
  background: rgba(255,255,255,.92);
}
.card::before,
.post-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: var(--sentra-rainbow);
  opacity: .78;
}
.card:hover {
  border-color: rgba(27,179,171,.5);
  box-shadow: 0 18px 38px rgba(7,62,104,.13);
}
.card .card-icon {
  background: linear-gradient(135deg, #e3f8f5, #fff2d9);
  color: var(--blue);
  border: 1px solid rgba(27,179,171,.16);
  box-shadow: 0 8px 16px rgba(27,179,171,.1);
}
.card:nth-child(5n + 2) .card-icon { background: linear-gradient(135deg, #fff0e6, #fff9db); color: var(--sentra-orange); }
.card:nth-child(5n + 3) .card-icon { background: linear-gradient(135deg, #fff9d9, #eaf8d8); color: #ba8b00; }
.card:nth-child(5n + 4) .card-icon { background: linear-gradient(135deg, #e5f7f5, #e6f0ff); color: var(--sentra-teal); }
.split-media {
  padding: 10px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(27,179,171,.16), rgba(247,148,29,.12));
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(27,179,171,.3);
  border-radius: 26px;
  pointer-events: none;
}
.split-media .clinical-photo {
  border: 4px solid #fff;
  border-radius: 23px;
  box-shadow: 0 20px 42px rgba(7,62,104,.17);
}
.doctor-card {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(230,247,246,.88)),
    #fff;
  border: 1px solid rgba(27,179,171,.25);
  box-shadow: 0 18px 42px rgba(7,62,104,.1);
  overflow: hidden;
}
.doctor-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--sentra-rainbow);
}
.doctor-card img {
  border: 8px solid #fff;
  box-shadow: 0 14px 28px rgba(7,62,104,.16);
}
.cred-tag {
  background: linear-gradient(135deg, #fff5db, #fffdf3);
  border-color: rgba(247,148,29,.35);
}
.cred-tag.blue {
  background: linear-gradient(135deg, #e4f8f5, #effaff);
  border-color: rgba(27,179,171,.3);
}
.timeline-item {
  padding: 18px 22px 22px;
  margin-bottom: 14px;
  border: 1px solid rgba(183,211,221,.72);
  border-radius: 18px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 8px 22px rgba(7,62,104,.045);
}
.timeline-item::before { left: -41px; top: 22px; border-color: var(--sentra-teal); }
.timeline-item.gold::before { border-color: var(--sentra-orange); }
.faq-item {
  border-color: rgba(183,211,221,.9);
  box-shadow: 0 6px 18px rgba(7,62,104,.045);
}
.faq-item:hover { border-color: rgba(27,179,171,.55); }
.faq-q .faq-icon {
  background: linear-gradient(135deg, #dff7f3, #fff2d8);
  color: var(--blue);
}
.faq-item.open { border-left: 4px solid var(--sentra-teal); }
.form-card {
  border: 1px solid rgba(27,179,171,.27);
  box-shadow: 0 18px 42px rgba(7,62,104,.1);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--sentra-rainbow);
}
.form-field input, .form-field select, .form-field textarea {
  border-color: #cfe1e6;
  background: #fcffff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--sentra-teal);
  box-shadow: 0 0 0 4px rgba(27,179,171,.13);
}
.cta-band, .sentra-band {
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 22px 48px rgba(7,62,104,.18);
  background:
    radial-gradient(circle at 88% 12%, rgba(255,194,14,.24), transparent 18%),
    radial-gradient(circle at 8% 100%, rgba(27,179,171,.24), transparent 24%),
    linear-gradient(135deg, #063b63, #075991 66%, #087895);
}
.cta-band::before, .sentra-band::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: 8%;
  bottom: -105px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(255,255,255,.04), 0 0 0 34px rgba(255,194,14,.04);
}
.sentra-band { position: relative; overflow: hidden; }
.post-card {
  position: relative;
  border-color: rgba(183,211,221,.8);
  box-shadow: 0 8px 24px rgba(7,62,104,.06);
}
.filter-pill.active { background: linear-gradient(90deg, var(--blue), var(--sentra-teal)); border-color: var(--blue); }
.page-hero {
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.15);
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: 5%;
  top: -120px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255,255,255,.035), 0 0 0 38px rgba(255,194,14,.035);
}
.site-footer {
  background:
    radial-gradient(circle at 86% 10%, rgba(27,179,171,.2), transparent 22%),
    linear-gradient(135deg, #042e4d, #063f68 68%, #07547a);
}
.mobile-cta-bar {
  border-top: 3px solid transparent;
  border-image: var(--sentra-rainbow) 1;
}

@media (max-width: 760px) {
  .section { padding-top: 58px; padding-bottom: 58px; }
  .section::before { right: -130px; opacity: .55; }
  .split-media { margin-top: 12px; }
  .timeline-item { margin-left: 10px; }
}

/* Prevent the full desktop navigation from being squeezed on tablets. */
@media (max-width: 1240px) {
  .header-inner {
    gap: 12px;
    min-width: 0;
  }
  .brand {
    min-width: 0;
  }
  .brand img {
    height: 42px;
    width: auto;
  }
  .brand-doctor {
    font-size: .9rem;
  }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: block;
    width: 100%;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform .35s ease;
  }
  .main-nav.open {
    transform: translateY(0);
  }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
  }
  .main-nav > ul > li > a {
    padding: 14px 16px;
    font-size: 1rem;
  }
  .main-nav .dropdown {
    position: static;
    min-width: 0;
    display: none;
    padding: 0 0 0 18px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-nav li.has-sub.expanded > .dropdown {
    display: block;
  }
  .nav-toggle {
    display: flex;
  }
  .header-cta {
    margin-left: auto;
    gap: 8px;
  }
  .header-cta .btn {
    display: inline-flex;
    white-space: nowrap;
    padding: 9px 13px;
    font-size: .74rem;
  }
}

@media (max-width: 900px) {
  .brand-doctor {
    display: none;
  }
  .brand-divider {
    display: none;
  }
  .header-inner {
    height: 70px;
  }
}
