/* Dr. Kapil Tejaswy - surgical gastroenterology
   site styles. built on bootstrap 5.3, everything below is ours.
   ------------------------------------------------------------ */

:root {
  --ink: #101f38;
  --ink-2: #24374f;
  --body: #4a5a6e;
  --teal: #0d9b8a;
  --teal-dark: #087d6f;
  --teal-soft: #e7f6f3;
  --sand: #f7f4ef;
  --line: #e3e8ee;
  --white: #fff;

  --shadow-sm: 0 2px 10px rgba(16, 31, 56, .05);
  --shadow: 0 14px 40px rgba(16, 31, 56, .08);
  --shadow-lg: 0 30px 70px rgba(16, 31, 56, .14);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;

  --head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --text: "Inter", "Segoe UI", system-ui, sans-serif;

  --shell: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

/* NB: no overflow-x here. Setting it on the root turns the viewport into a
   clipped scroll container and vertical scrolling stops working - the
   off-canvas menu is kept inside the viewport instead (see .mainnav). */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--text);
  color: var(--body);
  font-size: 1rem;
  line-height: 1.72;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--head);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.42rem); }

p { margin-bottom: 1.1rem; }

a { color: var(--teal-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 20px; }

/* generic section rhythm */
.band { padding: clamp(56px, 7vw, 104px) 0; }
.band-tint { background: var(--sand); }
.band-mint { background: var(--teal-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--head);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 100px;
  padding: .42rem 1rem;
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.band-head { max-width: 720px; margin-bottom: 2.8rem; }
.band-head.centered { margin-inline: auto; text-align: center; }
.band-head p { margin-bottom: 0; font-size: 1.05rem; }

/* ---- buttons ------------------------------------------------ */

.btn-book,
.btn-ghost,
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--head);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 100px;
  padding: .82rem 1.7rem;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
  line-height: 1.4;
}

.btn-book {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 155, 138, .28);
}

.btn-book:hover {
  background: var(--teal-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(13, 155, 138, .34);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }

.btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.btn-line:hover { background: #fff; color: var(--ink); }

.on-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.on-dark .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---- top strip + header ------------------------------------- */

.topline {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  padding: .55rem 0;
}

.topline a { color: rgba(255, 255, 255, .82); }
.topline a:hover { color: #fff; }

.topline .row-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.topline .bits { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topline .bits span,
.topline .bits a { display: inline-flex; align-items: center; gap: .45rem; }
.topline i { color: var(--teal); font-size: .95rem; }

.site-head {
  position: sticky;
  top: 0;
  /* must outrank .nav-scrim (1040): the header is a stacking context, so
     the drawer nested inside it cannot beat the scrim on its own */
  z-index: 1050;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}

.site-head.stuck { box-shadow: var(--shadow-sm); }

.head-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
}

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand:hover .brand-name { color: var(--teal-dark); }

.monogram {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--teal) 0%, #0b7f75 100%);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .02em;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(13, 155, 138, .3);
}

.brand-name {
  display: block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.25;
  transition: color .18s ease;
}

.brand-role {
  display: block;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8493a6;
}

.mainnav { display: flex; align-items: center; gap: .2rem; }

.mainnav > li { position: relative; list-style: none; }

.mainnav > li > a {
  display: block;
  font-family: var(--head);
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink-2);
  padding: .7rem .85rem;
  border-radius: 8px;
}

.mainnav > li > a:hover,
.mainnav > li.here > a { color: var(--teal-dark); }

.mainnav .caret::after {
  content: "";
  display: inline-block;
  width: .38em;
  height: .38em;
  margin-left: .45em;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

/* the treatments mega panel */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(860px, 92vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.mainnav > li:hover > .mega,
.mainnav > li.open > .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .3rem 1rem;
}

.mega-grid a {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .6rem .7rem;
  border-radius: 12px;
  color: var(--ink-2);
  font-size: .9rem;
  line-height: 1.4;
}

.mega-grid a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.mega-grid i { color: var(--teal); font-size: 1rem; margin-top: .12rem; }

.mega-foot {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .88rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  color: var(--ink);
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
}

/* ---- hero ---------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(48px, 6vw, 86px) 0 clamp(56px, 7vw, 100px);
  background:
    radial-gradient(900px 460px at 88% -8%, rgba(13, 155, 138, .13), transparent 60%),
    linear-gradient(180deg, #f9fbfb 0%, #fff 68%);
  overflow: hidden;
}

.hero::after {
  /* soft blob behind the portrait, purely decorative */
  content: "";
  position: absolute;
  right: -8%;
  top: 8%;
  width: 520px;
  height: 520px;
  border-radius: 46% 54% 60% 40% / 42% 46% 54% 58%;
  background: linear-gradient(140deg, rgba(13, 155, 138, .16), rgba(16, 31, 56, .06));
  filter: blur(6px);
  z-index: 0;
}

.hero > .shell { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* the SEO h1 is a long one, so it gets its own smaller scale here */
.hero h1 {
  font-size: clamp(1.85rem, 1.25rem + 1.9vw, 2.7rem);
  margin-bottom: 1.15rem;
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 33rem;
  margin-bottom: 1.7rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.3rem; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.6rem;
  justify-content: start;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.hero-facts b {
  display: block;
  font-family: var(--head);
  font-size: 1.62rem;
  color: var(--ink);
  line-height: 1.1;
}

.hero-facts span { font-size: .84rem; color: #7b8a9c; }

/* portrait side */
.hero-shot { position: relative; }

.shot-frame {
  position: relative;
  border-radius: 200px 200px var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: linear-gradient(165deg, #dff0ec 0%, #eef4f3 100%);
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lg);
}

.shot-frame img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: .85rem 1.05rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .84rem;
  line-height: 1.35;
}

.float-card b { font-family: var(--head); color: var(--ink); display: block; font-size: .93rem; }
.float-card .ic {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.float-card.tl { top: 12%; left: -34px; }
.float-card.br { bottom: 9%; right: -26px; }

/* ---- trust strip --------------------------------------------- */

.trust {
  border-block: 1px solid var(--line);
  padding: 1.6rem 0;
  background: #fff;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.6rem;
}

.trust-row div {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-2);
}

.trust-row i { color: var(--teal); font-size: 1.25rem; }

/* ---- care areas grid ----------------------------------------- */

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.care-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.care-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.care-card .ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
  transition: background .22s ease, color .22s ease;
}

.care-card:hover .ic { background: var(--teal); color: #fff; }

.care-card h3 { margin-bottom: .6rem; font-size: 1.16rem; }
.care-card p { font-size: .93rem; margin-bottom: 1.2rem; }

.care-card .go {
  margin-top: auto;
  font-family: var(--head);
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.care-card .go i { transition: transform .2s ease; }
.care-card:hover .go i { transform: translateX(4px); }

/* ---- split feature (about / why) ----------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}

.split.narrow-left { grid-template-columns: .9fr 1.1fr; }

.frame-soft {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #e4f2ef, #f3f7f6);
  aspect-ratio: 5 / 5.4;
  box-shadow: var(--shadow);
}

.frame-soft img { width: 100%; height: 100%; object-fit: cover; }

.badge-years {
  position: absolute;
  right: -18px;
  bottom: 34px;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 1.15rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.badge-years b {
  display: block;
  font-family: var(--head);
  font-size: 2rem;
  line-height: 1;
}

.badge-years span { font-size: .76rem; color: rgba(255, 255, 255, .7); letter-spacing: .04em; }

.ticks { list-style: none; padding: 0; margin: 1.5rem 0 1.8rem; display: grid; gap: .75rem; }

.ticks li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .97rem;
}

.ticks i { color: var(--teal); margin-top: .22rem; flex: none; }
.ticks b { font-family: var(--head); color: var(--ink); font-weight: 600; }

/* numbered "why" rows */
.edge-list { display: grid; gap: 1.1rem; }

.edge {
  display: flex;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem 1.35rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.edge:hover { border-color: rgba(13, 155, 138, .45); box-shadow: var(--shadow-sm); }

.edge .num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: .92rem;
  display: grid;
  place-items: center;
}

.edge h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.edge p { font-size: .92rem; margin-bottom: .4rem; }
.edge a { font-family: var(--head); font-weight: 600; font-size: .86rem; }

/* ---- dark tech band ------------------------------------------ */

.on-dark {
  background:
    radial-gradient(700px 380px at 12% 10%, rgba(13, 155, 138, .22), transparent 60%),
    var(--ink);
  color: rgba(255, 255, 255, .74);
}

.on-dark h2, .on-dark h3, .on-dark b { color: #fff; }
.on-dark a { color: #7fd8cb; }
.on-dark a:hover { color: #fff; }
.on-dark .eyebrow { background: rgba(255, 255, 255, .1); color: #7fd8cb; }

.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.6rem;
  padding-top: 2.3rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.counters b {
  display: block;
  font-family: var(--head);
  font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.7rem);
  line-height: 1;
  margin-bottom: .35rem;
}

.counters span { font-size: .86rem; }

/* ---- journey steps ------------------------------------------- */

.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}

.jstep {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 2.2rem 1.6rem 1.7rem;
  border: 1px solid var(--line);
}

.jstep::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -18px;
  left: 1.6rem;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  background: var(--teal);
  width: 44px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(13, 155, 138, .3);
}

.jstep h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.jstep p { font-size: .92rem; margin-bottom: 0; }

/* ---- faq accordion ------------------------------------------- */

.faq { border-top: 1px solid var(--line); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem .2rem;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  transition: color .18s ease;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-dark); }

.faq summary::after {
  content: "\F4FE"; /* bootstrap-icons plus */
  font-family: "bootstrap-icons";
  font-weight: 400;
  flex: none;
  color: var(--teal-dark);
  transition: transform .2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

/* height is driven by js so the panel can slide - padding lives on the
   paragraph, otherwise it would still show at height 0 */
.faq .answer {
  overflow: hidden;
  transition: height .34s cubic-bezier(.4, 0, .2, 1);
}

.faq .answer p {
  margin: 0;
  padding: 0 2.5rem 1.4rem .2rem;
  font-size: .97rem;
}

.faq-group h3 {
  font-size: 1.2rem;
  margin: 2.6rem 0 .4rem;
  padding-bottom: .1rem;
}

.faq-group:first-child h3 { margin-top: 0; }

/* ---- quotes / testimonials ----------------------------------- */

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem;
  height: 100%;
}

.quote-card .mark { color: var(--teal); font-size: 1.7rem; line-height: 1; margin-bottom: .8rem; display: block; }
.quote-card p { font-size: .98rem; }
.quote-card .who { font-family: var(--head); font-weight: 600; color: var(--ink); font-size: .92rem; }

.empty-note {
  border: 1px dashed #c7d4dd;
  background: #fbfdfd;
  border-radius: var(--r-lg);
  padding: 2.4rem 2rem;
  text-align: center;
}

.empty-note i { font-size: 2rem; color: var(--teal); }

/* ---- cta band ------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(13, 155, 138, .3), transparent 62%),
    var(--ink);
  color: rgba(255, 255, 255, .76);
  border-radius: var(--r-lg);
  padding: clamp(2.4rem, 4vw, 3.6rem);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
}

.cta-band h2 { color: #fff; margin-bottom: .7rem; }
.cta-band p { margin-bottom: 0; max-width: 44rem; }
.cta-band .acts { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---- inner page head ------------------------------------------ */

.page-head {
  background:
    radial-gradient(760px 400px at 82% 0%, rgba(13, 155, 138, .24), transparent 62%),
    var(--ink);
  color: rgba(255, 255, 255, .78);
  padding: clamp(2.6rem, 5vw, 4.6rem) 0 clamp(2.8rem, 5vw, 4.4rem);
}

.page-head h1 {
  color: #fff;
  max-width: 40ch;
  margin-bottom: .9rem;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.85rem);
}
.page-head .lead-line { max-width: 80ch; font-size: 1.03rem; margin-bottom: 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .84rem;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, .55);
}

.crumbs a { color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: #fff; }
.crumbs span.sep { opacity: .45; }

/* ---- article body / prose -------------------------------------- */

.prose h2 {
  font-size: clamp(1.4rem, 1.15rem + .9vw, 1.85rem);
  margin: 2.6rem 0 .95rem;
}

.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.01rem; }

.prose > ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: .55rem;
}

.prose > ul > li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
}

.prose > ul > li::before {
  content: "\F26E"; /* check-circle */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: .05rem;
  color: var(--teal);
  font-size: .95rem;
}

.prose > ul > li b,
.prose > ul > li strong { font-family: var(--head); color: var(--ink); font-weight: 600; }

.prose .callout {
  background: var(--teal-soft);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0;
}

.prose .callout p:last-child { margin-bottom: 0; }

.inline-more {
  font-family: var(--head);
  font-weight: 600;
}

/* keep the arrow glued to the last word, but let the phrase itself wrap */
.inline-more i { margin-left: .15em; }

/* ---- sidebar ---------------------------------------------------- */

.rail { position: sticky; top: 100px; display: grid; gap: 1.2rem; }

.rail-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.45rem;
  background: #fff;
}

.rail-card h4 {
  font-size: .8rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #8493a6;
  margin-bottom: 1rem;
}

.mini-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }

.mini-nav a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 10px;
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.mini-nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.mini-nav li.current a { background: var(--teal); color: #fff; font-weight: 600; }

.rail-card.book {
  background:
    radial-gradient(420px 240px at 80% 0%, rgba(13, 155, 138, .32), transparent 65%),
    var(--ink);
  color: rgba(255, 255, 255, .75);
  border-color: transparent;
}

.rail-card.book h4 { color: rgba(255, 255, 255, .55); }
.rail-card.book p { font-size: .93rem; }
.rail-card.book .btn-book { width: 100%; justify-content: center; }

.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; font-size: .92rem; }
.contact-lines li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-lines i { color: var(--teal); margin-top: .18rem; }
.contact-lines b { display: block; font-family: var(--head); color: var(--ink); font-weight: 600; font-size: .87rem; }

/* ---- appointment form -------------------------------------------- */

.book-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}

.book-form label {
  display: block;
  font-family: var(--head);
  font-weight: 600;
  font-size: .86rem;
  color: var(--ink);
  margin-bottom: .4rem;
}

.book-form .form-control,
.book-form .form-select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .78rem 1rem;
  font-size: .95rem;
  color: var(--ink);
  background-color: #fcfdfd;
}

.book-form .form-control:focus,
.book-form .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 155, 138, .12);
  background-color: #fff;
}

.form-note { font-size: .82rem; color: #8493a6; }

/* ---- blog / cards ------------------------------------------------ */

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}

.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.post-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, #dff0ec, #eef4f3);
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  font-size: 2rem;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-tag {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: .6rem;
}
.post-body h3 { font-size: 1.1rem; margin-bottom: .55rem; }
.post-body p { font-size: .93rem; margin-bottom: 1.1rem; }
.post-body .go { margin-top: auto; font-family: var(--head); font-weight: 600; font-size: .88rem; }

.topic-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }

.topic-list li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: .95rem 1.15rem;
  font-size: .96rem;
}

.topic-list i { color: var(--teal); margin-top: .22rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; }

.chip {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .45rem 1rem;
  font-size: .87rem;
  font-family: var(--head);
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
}

.chip:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---- footer -------------------------------------------------------- */

.foot {
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
  padding: clamp(3rem, 5vw, 4.6rem) 0 0;
  font-size: .93rem;
}

.foot a { color: rgba(255, 255, 255, .68); }
.foot a:hover { color: #fff; }

.foot-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 2.4rem;
  padding-bottom: 2.8rem;
}

.foot h5 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 1.15rem;
  letter-spacing: -.01em;
}

.foot-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
/* footer contact block: icon column + text column, aligned */
.foot .contact-lines { gap: 1rem; }
.foot .contact-lines li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  column-gap: .75rem;
  align-items: start;
}
.foot .contact-lines i {
  margin: 0;
  line-height: 1.35;
  font-size: 1rem;
  text-align: center;
}
.foot .contact-lines span { min-width: 0; line-height: 1.45; overflow-wrap: anywhere; }
.foot .contact-lines b { display: none; }
.foot .contact-lines a { display: inline-block; }

.foot .brand-name { color: #fff; }
.foot .brand-role { color: rgba(255, 255, 255, .5); }
.foot .brand { margin-bottom: 1.2rem; }

.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.socials a:hover { background: var(--teal); color: #fff; }

.foot-base {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.4rem 0 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255, 255, 255, .48);
}

.disclaimer {
  background: rgba(255, 255, 255, .04);
  border-radius: var(--r);
  padding: 1.1rem 1.3rem;
  font-size: .83rem;
  line-height: 1.65;
  margin-bottom: 2.4rem;
}

/* floating whatsapp/call dock on mobile */
.dock { display: none; }

/* ---- responsive ------------------------------------------------------ */

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shot { max-width: 460px; margin-inline: auto; }
  .float-card.tl { left: -10px; }
  .float-card.br { right: -6px; }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .burger { display: flex; }

  .mainnav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 88vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.4rem 1.1rem 3rem;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(16, 31, 56, .16);
    z-index: 1050;

    /* fades down into place rather than sliding in from off-screen:
       a closed drawer parked past the right edge widens the document
       and gives phones a sideways scroll */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .26s ease, transform .28s ease, visibility .28s;
  }

  .mainnav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .mainnav > li > a { padding: .8rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; }

  .mega {
    position: static;
    transform: none;
    width: auto;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    padding: .4rem 0 .8rem;
    display: none;
  }

  .mainnav > li.open > .mega { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-foot { display: none; }

  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(16, 31, 56, .4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
    z-index: 1040;
  }

  .nav-scrim.on { opacity: 1; visibility: visible; }

  .split,
  .split.narrow-left { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .rail { position: static; margin-top: 2.6rem; }
}

@media (max-width: 640px) {
  body { font-size: .97rem; }
  .topline .bits span.hide-xs { display: none; }
  .care-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(2, auto); gap: 1.2rem; }
  .float-card.tl,
  .float-card.br { position: static; margin-top: .8rem; }
  .shot-frame { border-radius: var(--r-lg); aspect-ratio: 4 / 4; }
  .badge-years { right: 8px; bottom: 8px; padding: .9rem 1.1rem; }

  .dock {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1035;
    gap: .6rem;
    background: #fff;
    border-radius: 100px;
    padding: .5rem;
    box-shadow: var(--shadow-lg);
  }

  .dock a {
    flex: 1;
    text-align: center;
    padding: .68rem;
    border-radius: 100px;
    font-family: var(--head);
    font-weight: 600;
    font-size: .88rem;
  }

  .dock .call { background: var(--teal-soft); color: var(--teal-dark); }
  .dock .book { background: var(--teal); color: #fff; }

  .foot { padding-bottom: 76px; }
}

/* =====================================================================
   motion
   Everything here is wrapped in a reduced-motion guard, and nothing is
   hidden until js has tagged it - so the page still reads fine if the
   script never runs.
   ===================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1100;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), #58d3c2);
  transform-origin: left;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 1032;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: var(--shadow);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease;
}

.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal); }

@media (prefers-reduced-motion: no-preference) {

  /* --- scroll reveal ------------------------------------------------ */
  [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity .72s cubic-bezier(.22, .61, .36, 1),
      transform .72s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--d, 0ms);
  }

  [data-reveal].seen { opacity: 1; transform: none; }

  /* --- hero comes in on load ---------------------------------------- */
  .hero-copy > * {
    animation: rise .85s cubic-bezier(.22, .61, .36, 1) backwards;
  }

  .hero-copy > :nth-child(1) { animation-delay: .06s; }
  .hero-copy > :nth-child(2) { animation-delay: .14s; }
  .hero-copy > :nth-child(3) { animation-delay: .22s; }
  .hero-copy > :nth-child(4) { animation-delay: .30s; }
  .hero-copy > :nth-child(5) { animation-delay: .38s; }

  .hero-shot .shot-frame {
    animation: settle 1.1s cubic-bezier(.22, .61, .36, 1) backwards;
    animation-delay: .18s;
  }

  .float-card { animation: pop .55s cubic-bezier(.34, 1.36, .64, 1) backwards; }
  .float-card.tl { animation-delay: .72s; }
  .float-card.br { animation-delay: .86s; }

  .page-head > .shell > * { animation: rise .7s cubic-bezier(.22, .61, .36, 1) backwards; }
  .page-head .crumbs { animation-delay: .04s; }
  .page-head h1 { animation-delay: .12s; }
  .page-head .lead-line { animation-delay: .2s; }

  /* --- mega menu items stagger in ----------------------------------- */
  .mega-grid a {
    opacity: 0;
    transform: translateY(7px);
    transition: opacity .3s ease, transform .3s ease, background .18s ease, color .18s ease;
  }

  .mainnav > li:hover > .mega .mega-grid a,
  .mainnav > li.open > .mega .mega-grid a { opacity: 1; transform: none; }

  .mega-grid a:nth-child(3n+2) { transition-delay: .04s; }
  .mega-grid a:nth-child(3n+3) { transition-delay: .08s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes settle {
  from { opacity: 0; transform: translateY(30px) scale(.965); }
  to   { opacity: 1; transform: none; }
}

@keyframes pop {
  from { opacity: 0; transform: translateY(10px) scale(.92); }
  to   { opacity: 1; transform: none; }
}

/* --- header tightens up once you start scrolling --------------------- */

.head-inner { transition: min-height .28s ease; }
.site-head.stuck .head-inner { min-height: 66px; }

.monogram { transition: transform .28s ease, box-shadow .28s ease; }
.site-head.stuck .monogram { transform: scale(.92); }

/* --- nav underline ---------------------------------------------------- */

.mainnav > li > a { position: relative; }

.mainnav > li > a::before {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .34rem;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .32s cubic-bezier(.22, .61, .36, 1);
}

.mainnav > li > a:hover::before,
.mainnav > li.here > a::before { transform: scaleX(1); transform-origin: left center; }

/* --- buttons ---------------------------------------------------------- */

.btn-book { position: relative; overflow: hidden; isolation: isolate; }

.btn-book::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .28) 50%, transparent 68%);
  transform: translateX(-110%);
  transition: transform .65s cubic-bezier(.22, .61, .36, 1);
}

.btn-book:hover::after { transform: translateX(110%); }

.btn-book i, .btn-ghost i, .btn-line i { transition: transform .25s ease; }
.btn-ghost:hover i, .btn-line:hover i { transform: translateX(3px); }

/* --- images breathe on hover ------------------------------------------ */

.frame-soft, .shot-frame, .post-thumb { overflow: hidden; }
.frame-soft img, .shot-frame img { transition: transform .8s cubic-bezier(.22, .61, .36, 1); }
.split:hover .frame-soft img, .shot-frame:hover img { transform: scale(1.045); }

.post-card .post-thumb img { transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.post-card:hover .post-thumb img { transform: scale(1.06); }

/* --- small stuff ------------------------------------------------------- */

.mini-nav a { transition: background .2s ease, color .2s ease, padding-left .2s ease; }
.mini-nav a:hover { padding-left: 1rem; }

.care-card .ic, .rail-card, .chip, .topic-list li, .edge, .jstep {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}

.topic-list li:hover, .jstep:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.care-card:hover .ic { transform: rotate(-6deg) scale(1.06); }
.chip { transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.chip:hover { transform: translateY(-2px); }

.faq summary::after { transition: transform .3s cubic-bezier(.4, 0, .2, 1), color .2s ease; }
.socials a { transition: background .22s ease, transform .22s ease; }
.socials a:hover { transform: translateY(-3px); }

/* =====================================================================
   home page, 2026 pass
   Scroll-driven animations where the browser has them, kinetic headline,
   drifting aurora, ticker, pointer-lit cards. All of it optional - the
   page is complete and readable with every effect below switched off.
   ===================================================================== */

/* soft cross-fade between pages. chrome/edge/safari honour it, the rest
   just navigate normally */
@view-transition { navigation: auto; }

/* --- aurora field behind the hero -------------------------------------- */

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -15% auto -15%;
  height: 140%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 44% at 20% 30%, rgba(13, 155, 138, .20), transparent 62%),
    radial-gradient(34% 40% at 76% 18%, rgba(88, 211, 194, .22), transparent 64%),
    radial-gradient(40% 46% at 62% 76%, rgba(16, 31, 56, .10), transparent 66%);
  filter: blur(38px);
  opacity: .85;
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: drift 26s ease-in-out infinite alternate; }
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

/* --- kinetic headline --------------------------------------------------- */

.hero h1 .w { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  /* the whole block no longer rises as one - the words do it themselves */
  .hero .hero-copy > h1 { animation: none; }

  .hero h1 .w {
    opacity: 0;
    transform: translateY(.5em);
    animation: wordUp .78s cubic-bezier(.22, .61, .36, 1) forwards;
    animation-delay: calc(140ms + var(--i) * 40ms);
  }
}

@keyframes wordUp {
  from { opacity: 0; transform: translateY(.5em); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* --- floating cards keep breathing after they land ---------------------- */

@media (prefers-reduced-motion: no-preference) {
  .float-card.tl { animation: pop .55s cubic-bezier(.34, 1.36, .64, 1) .72s backwards, bob 6s ease-in-out 1.4s infinite; }
  .float-card.br { animation: pop .55s cubic-bezier(.34, 1.36, .64, 1) .86s backwards, bob 7s ease-in-out 1.6s infinite reverse; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* --- treatment ticker ---------------------------------------------------- */

.ticker {
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  padding: .9rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track { display: flex; width: max-content; }

@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: slide 46s linear infinite; }
  .ticker:hover .ticker-track,
  .ticker:focus-within .ticker-track { animation-play-state: paused; }
}

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-row { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; }

.ticker-row a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  white-space: nowrap;
  font-family: var(--head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-2);
}

.ticker-row a:hover { color: var(--teal-dark); }
.ticker-row i { color: var(--teal); font-size: 1.05rem; }

.ticker-row .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
}

/* --- cards lit by the pointer -------------------------------------------- */

.care-card { position: relative; isolation: isolate; overflow: hidden; }
.care-card > * { position: relative; z-index: 1; }

.care-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(13, 155, 138, .13), transparent 62%);
}

.care-card:hover::before { opacity: 1; }

/* --- scroll-driven work -------------------------------------------------- */

.journey-rail {
  position: relative;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  margin: 0 0 2.6rem;
  overflow: hidden;
}

.journey-rail span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--teal), #58d3c2);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    /* the rail fills as the section crosses the screen */
    .journey-rail span {
      transform: scaleX(0);
      animation: fill linear both;
      animation-timeline: view();
      animation-range: entry 60% cover 60%;
    }

    /* gentle parallax on the two section photographs. this overrides the
       hover zoom on these images, which is the trade we want */
    .frame-soft img {
      animation: pan linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}

@keyframes fill { to { transform: scaleX(1); } }

@keyframes pan {
  from { transform: scale(1.14) translateY(-2.2%); }
  to   { transform: scale(1.14) translateY(2.2%); }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

@media print {
  .topline, .site-head, .foot, .cta-band, .dock, .rail { display: none !important; }
  .page-head { background: none; color: #000; }
  .page-head h1 { color: #000; }
}
