/* ==========================================================================
   Dr. Sujit Nair — Homepage Stylesheet
   Palette: Navy #0B3450 · Blue #14669E · Crimson #D62839 · Cream #FBFAF7
   Signature motif: the ECG "pulse line" — scroll progress, dividers, hero
   ========================================================================== */

:root{
  --navy: #0B3450;
  --navy-soft: #123A5C;
  --blue: #14669E;
  --blue-bright: #1C7FC2;
  --blue-light: #EAF3FB;
  --red: #D62839;
  --red-dark: #A3182A;
  --cream: #FBFAF7;
  --cream-dim: #F3EFE6;
  --ink: #16232E;
  --ink-soft: #4C5C68;
  --ink-faint: #7C8A96;
  --line: rgba(11,52,80,0.12);
  --white: #ffffff;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --shadow-sm: 0 2px 10px rgba(11,52,80,0.08);
  --shadow-md: 0 10px 30px rgba(11,52,80,0.12);
  --shadow-red: 0 10px 24px rgba(214,40,57,0.28);

  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none), (pointer: coarse){
  body{ cursor: auto; }
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); margin: 0; color: var(--navy); font-weight: 600; }
p{ margin: 0; }

.container{
  width: min(1180px, 92%);
  margin-inline: auto;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 1.5px;
  background: var(--red);
  display: inline-block;
}

/* ==========================================================================
   Custom cursor
   ========================================================================== */
.cursor-dot, .cursor-ring{
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot{
  width: 6px; height: 6px;
  background: var(--red);
  transition: opacity .2s ease;
}
.cursor-ring{
  width: 34px; height: 34px;
  border: 1.5px solid var(--red);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s ease, background .25s ease, opacity .2s ease;
}
.cursor-ring.is-hover{
  width: 38px; height: 38px;
  background: transparent;
  border-color: var(--red);
}
@media (hover: none), (pointer: coarse){
  .cursor-dot, .cursor-ring{ display: none; }
}

/* ==========================================================================
   Scroll progress — pulse line
   ========================================================================== */
.pulse-progress{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1001;
  background: transparent;
}
.pulse-progress__fill{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--blue-bright));
  transition: width .08s linear;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 94%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: 100px;
  background: rgb(11,52,80);
  box-shadow: var(--shadow-md);
  transition: padding .3s var(--ease), background .3s var(--ease), border-radius .3s var(--ease), top .3s var(--ease);
  border: 1px solid rgba(255,255,255,0.08);
}
.site-header.scrolled{
  top: 8px;
  padding: 8px 16px;
  background: rgb(9,45,70);
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--blue-bright), var(--navy) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  flex-shrink: 0;
}
.brand__mark::after{
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--red);
  opacity: 0.6;
  animation: brand-pulse 2.6s ease-in-out infinite;
}
@keyframes brand-pulse{
  0%, 100%{ transform: scale(1); opacity: .55; }
  50%{ transform: scale(1.12); opacity: 0; }
}
.brand__text{ display: flex; flex-direction: column; line-height: 1.15; }
.brand__name{ color: var(--white); font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; letter-spacing: .01em; }
.brand__role{ color: rgba(255,255,255,0.6); font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: .08em; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}
.nav-links a{
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0%; height: 1.5px;
  background: var(--red);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after{ width: 100%; }
.nav-links a:hover{ color: var(--white); }
.nav-links a.is-active{ color: var(--white); }
.nav-links a.is-active::after{ width: 100%; background: var(--red); }

/* ==========================================================================
   Services mega dropdown (desktop hover)
   ========================================================================== */
.nav-item{ position: static; display: flex; align-items: center; }
.nav-item > a{
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem; font-weight: 500;
  padding: 4px 0; position: relative;
}
.nav-item > a::after{
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0%; height: 1.5px;
  background: var(--red);
  transition: width .3s var(--ease);
}
.nav-item > a:hover::after,
.nav-item > a.is-active::after{ width: 100%; background: var(--red); }
.nav-item > a:hover,
.nav-item > a.is-active{ color: var(--white); }
.nav-item .chev{ transition: transform .25s var(--ease); }
.nav-item:hover .chev, .nav-item:focus-within .chev{ transform: rotate(180deg); }

.mega-dropdown{
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 780px;
  max-width: calc(100vw - 40px);
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 26px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .12s ease, visibility .12s;
  z-index: 1001;
}
.nav-item.has-mega:hover .mega-dropdown,
.nav-item.has-mega:focus-within .mega-dropdown{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-columns{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.mega-col__title{
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--blue-light);
  transition: color .2s ease, border-color .2s ease;
}
.mega-col__title:hover{ color: var(--red); border-color: var(--red); }
.mega-col ul li a{
  display: block;
  padding: 8px 6px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.mega-col ul li a:hover{ background: var(--blue-light); color: var(--red); }

.mega-dropdown--narrow{ width: 280px; }
.mega-dropdown--narrow .mega-col ul li a{ padding: 10px 8px; font-size: 0.88rem; }

@media (max-width: 1280px){
  .mega-dropdown{ left: auto; right: 0; transform: translateY(6px); }
  .nav-item.has-mega:hover .mega-dropdown,
  .nav-item.has-mega:focus-within .mega-dropdown{ transform: translateY(0); }
}
@media (max-width: 900px){
  .mega-columns{ grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
}

.header-cta{
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-primary{
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover{ transform: translateY(-2px); background: var(--red-dark); box-shadow: 0 14px 30px rgba(214,40,57,0.36); }
.btn-ghost{
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-outline-navy{
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover{ background: var(--navy); color: var(--white); }
.pulse-dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #58E08A;
  box-shadow: 0 0 0 rgba(88,224,138,.6);
  animation: dot-ping 1.8s infinite;
  flex-shrink: 0;
}
@keyframes dot-ping{
  0%{ box-shadow: 0 0 0 0 rgba(88,224,138,.55); }
  70%{ box-shadow: 0 0 0 7px rgba(88,224,138,0); }
  100%{ box-shadow: 0 0 0 0 rgba(88,224,138,0); }
}

.nav-toggle{
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(20,102,158,0.16), transparent 55%),
    radial-gradient(circle at 8% 90%, rgba(214,40,57,0.08), transparent 45%),
    var(--cream);
}
.hero__blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.5;
  z-index: 0;
  will-change: transform;
}
.hero__blob--1{ width: 480px; height: 480px; top: -120px; right: -140px; background: radial-gradient(circle at 30% 30%, rgba(20,102,158,0.22), transparent 70%); }
.hero__blob--2{ width: 320px; height: 320px; bottom: -80px; left: -100px; background: radial-gradient(circle at 60% 40%, rgba(214,40,57,0.14), transparent 70%); }

.hero__grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero__title{
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1.06;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.hero__title em{
  font-style: italic;
  color: var(--red);
  position: relative;
}
.hero__lede{
  margin-top: 22px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero__actions{
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.badge-row{
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.badge{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-soft);
}
.badge svg{ width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }

/* Hero visual: pulse card */
.hero__visual{
  position: relative;
}
.pulse-card{
  position: relative;
  background: var(--navy);
  border-radius: 28px;
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.pulse-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(20,102,158,0.5), transparent 60%);
  pointer-events: none;
}
.pulse-card__top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  position: relative;
}
.pulse-card__avatar{
  margin: 26px 0 18px;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--blue-bright), var(--navy-soft) 75%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
  position: relative;
  border: 2px solid rgba(255,255,255,0.15);
}
.pulse-card svg.ekg{
  width: 100%;
  height: 70px;
  display: block;
  margin: 10px 0 6px;
}
.ekg path{
  fill: none;
  stroke: var(--red);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: draw-ekg 3.2s var(--ease) infinite;
}
@keyframes draw-ekg{
  0%{ stroke-dashoffset: 500; }
  55%{ stroke-dashoffset: 0; }
  100%{ stroke-dashoffset: 0; opacity: 0;}
}
.pulse-card__name{ color: var(--white); font-family: var(--font-display); font-size: 1.3rem; margin-top: 4px; }
.pulse-card__role{ color: rgba(255,255,255,0.65); font-size: 0.86rem; margin-top: 4px; }
.pulse-card__stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
  position: relative;
}
.pulse-card__stat{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}
.pulse-card__stat b{
  display: block;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 1.2rem;
}
.pulse-card__stat span{
  color: rgba(255,255,255,0.55);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pulse-card__floater{
  position: absolute;
  bottom: -18px; right: -14px;
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  box-shadow: var(--shadow-red);
  transform: rotate(-3deg);
}

.scroll-cue{
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-cue__line{
  width: 1px; height: 34px;
  background: linear-gradient(var(--red), transparent);
  animation: cue-move 1.8s ease-in-out infinite;
}
@keyframes cue-move{
  0%{ transform: scaleY(0.4); opacity: .3; }
  50%{ transform: scaleY(1); opacity: 1; }
  100%{ transform: scaleY(0.4); opacity: .3; }
}

/* ==========================================================================
   Page hero — banner used on About / Contact
   ========================================================================== */
.page-hero{
  position: relative;
  padding: 158px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(20,102,158,0.16), transparent 55%),
    radial-gradient(circle at 6% 95%, rgba(214,40,57,0.09), transparent 45%),
    var(--cream);
}
.breadcrumb{
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.breadcrumb a{ color: var(--blue); }
.breadcrumb a:hover{ color: var(--red); }
.page-hero__title{
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: var(--navy);
  line-height: 1.1;
  max-width: 16ch;
}
.page-hero__lede{
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 58ch;
}
.page-hero .badge-row{ margin-top: 34px; }

/* ==========================================================================
   Section divider — pulse line SVG (draws on scroll)
   ========================================================================== */
.divider{
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--cream);
}
.divider svg{ width: 100%; height: 60px; display: block; }
.divider path{
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
}
.divider path.accent{
  stroke: var(--red);
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.divider.in-view path.accent{ stroke-dashoffset: 0; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }
.reveal-stagger > *{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-stagger.in-view > *{ opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(1){ transition-delay: .05s; }
.reveal-stagger.in-view > *:nth-child(2){ transition-delay: .14s; }
.reveal-stagger.in-view > *:nth-child(3){ transition-delay: .23s; }
.reveal-stagger.in-view > *:nth-child(4){ transition-delay: .32s; }
.reveal-stagger.in-view > *:nth-child(5){ transition-delay: .41s; }
.reveal-stagger.in-view > *:nth-child(6){ transition-delay: .5s; }
.reveal-stagger.in-view > *:nth-child(7){ transition-delay: .59s; }

/* ==========================================================================
   Section basics
   ========================================================================== */
section{ padding: 100px 0; position: relative; }
.section-head{
  max-width: 640px;
  margin-bottom: 54px;
}
.section-head h2{ font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.15; }
.section-head p{ margin-top: 14px; color: var(--ink-soft); font-size: 1.02rem; }
.section-head.center{ margin-inline: auto; text-align: center; }

/* ==========================================================================
   About
   ========================================================================== */
.about{ background: var(--white); }
.about__grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about__visual{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--navy), var(--blue) 120%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__visual svg{ width: 62%; opacity: 0.92; }
.about__photo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  position: relative;
  z-index: 1;
}
.about__visual--photo::after{
  background: linear-gradient(190deg, rgba(11,52,80,0) 45%, rgba(11,52,80,0.55) 100%);
}
.about__visual--photo .about__ring{ z-index: 2; }
.about__visual--photo .about__badge-float{ z-index: 2; }
.about__visual::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 85%, rgba(214,40,57,0.35), transparent 55%);
}
.about__ring{
  position: absolute;
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 50%;
  width: 78%; height: 78%;
  animation: spin 30s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }
.about__badge-float{
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(255,255,255,0.94);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  box-shadow: var(--shadow-sm);
}
.about__text p{ color: var(--ink-soft); margin-bottom: 16px; font-size: 1.02rem; }
.about__text p:first-of-type::first-letter{
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--red);
  float: left;
  line-height: 0.8;
  margin: 8px 8px 0 0;
}
.about__credentials{
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.credential{
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  transition: border-color .3s ease, transform .3s var(--ease);
}
.credential:hover{ border-color: var(--red); transform: translateY(-4px); }
.credential b{ display: block; font-family: var(--font-mono); color: var(--blue); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.credential span{ font-size: 0.88rem; color: var(--ink); }

/* ==========================================================================
   Stat strip — marquee
   ========================================================================== */
.stat-strip{
  background: var(--navy);
  padding: 0;
  overflow: hidden;
}
.marquee{
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__group{
  display: flex;
  align-items: center;
}
.marquee-item{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 30px 46px;
  white-space: nowrap;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.marquee-item b{ color: var(--white); font-family: var(--font-display); font-size: 1.3rem; }
.marquee-item svg{ width: 18px; height: 18px; color: var(--red); }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.stat-strip:hover .marquee{ animation-play-state: paused; }

/* ==========================================================================
   Expertise — icon grid
   ========================================================================== */
.expertise{ background: var(--blue-light); }
.expertise__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.exp-card{
  background: var(--white);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.exp-card::before{
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0%;
  background: var(--red);
  transition: height .35s var(--ease);
}
.exp-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.exp-card:hover::before{ height: 100%; }
.exp-card__icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--blue);
  transition: background .35s ease, color .35s ease, transform .35s var(--ease);
}
.exp-card:hover .exp-card__icon{ background: var(--red); color: var(--white); transform: rotate(-6deg) scale(1.05); }
.exp-card__icon svg{ width: 26px; height: 26px; }
.exp-card h3{ font-size: 1.08rem; margin-bottom: 8px; }
.exp-card p{ color: var(--ink-soft); font-size: 0.92rem; }

/* ==========================================================================
   Procedures — alternating list
   ========================================================================== */
.procedures{ background: var(--white); }
.proc-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.proc-item{
  background: var(--white);
  padding: 26px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background .3s ease;
}
.proc-item:hover{ background: var(--blue-light); }
.proc-item__num{
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 0.78rem;
  padding-top: 3px;
  flex-shrink: 0;
}
.proc-item h4{ font-size: 1rem; margin-bottom: 4px; }
.proc-item p{ font-size: 0.86rem; color: var(--ink-soft); }

/* ==========================================================================
   Timeline — qualifications
   ========================================================================== */
.timeline{ background: var(--navy); color: var(--white); }
.timeline .section-head h2{ color: var(--white); }
.timeline .section-head p{ color: rgba(255,255,255,0.65); }
.tl-track{
  position: relative;
  padding-left: 34px;
  border-left: 1px solid rgba(255,255,255,0.16);
}
.tl-item{
  position: relative;
  padding-bottom: 44px;
}
.tl-item:last-child{ padding-bottom: 0; }
.tl-item::before{
  content: "";
  position: absolute;
  left: -40px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(214,40,57,0.18);
}
.tl-year{ font-family: var(--font-mono); color: var(--red); font-size: 0.78rem; letter-spacing: .08em; }
.tl-item h4{ color: var(--white); margin: 6px 0 6px; font-size: 1.15rem; }
.tl-item p{ color: rgba(255,255,255,0.65); max-width: 60ch; font-size: 0.94rem; }

/* ==========================================================================
   Locations
   ========================================================================== */
.locations{ background: var(--cream-dim); }
.loc-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.loc-card{
  background: var(--white);
  border-radius: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.loc-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }
.loc-card__top{ display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.loc-card__icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.loc-card__icon svg{ width: 22px; height: 22px; }
.loc-card h3{ font-size: 1.12rem; margin-bottom: 4px; }
.loc-card__addr{ color: var(--ink-soft); font-size: 0.88rem; margin-top: 6px; }
.loc-card__meta{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 6px 10px;
  border-radius: 100px;
  background: var(--blue-light);
  color: var(--blue);
}
.tag.red{ background: rgba(214,40,57,0.1); color: var(--red-dark); }
.loc-card__phone{
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}
.loc-card__phone svg{ width: 16px; height: 16px; color: var(--red); }
.loc-card__map{
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(0.15);
  transition: filter .3s ease;
}
.loc-card:hover .loc-card__map{ filter: grayscale(0); }
.loc-card__map iframe{ width: 100%; height: 170px; display: block; border: 0; }
.loc-card__directions{
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--blue);
}
.loc-card__directions:hover{ color: var(--red); }

/* Quick info cards (contact page) */
.info-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  text-align: left;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.info-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.info-card__icon{
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.info-card__icon svg{ width: 22px; height: 22px; }
.info-card h3{ font-size: 1.02rem; margin-bottom: 6px; }
.info-card p{ color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 10px; }
.info-card a.info-card__link{ color: var(--red); font-weight: 600; font-size: 0.9rem; }

/* Hours table */
.hours-table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.hours-table th, .hours-table td{
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.hours-table th{
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: .06em;
  color: var(--ink-faint);
  font-weight: 500;
}
.hours-table td:first-child{ color: var(--navy); font-weight: 600; }
.hours-table td.time{ color: var(--red); font-family: var(--font-mono); font-size: 0.84rem; }

/* ==========================================================================
   Why choose
   ========================================================================== */
.why{ background: var(--white); }
.why__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-item{
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  transition: background .3s ease;
}
.why-item:hover{ background: var(--blue-light); }
.why-item__check{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-item__check svg{ width: 15px; height: 15px; }
.why-item p{ font-size: 0.94rem; color: var(--ink); }

/* ==========================================================================
   Services — category grid (homepage teaser + hub page)
   ========================================================================== */
.svc-cat-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.svc-cat-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-cat-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc-cat-card__icon{
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.svc-cat-card__icon svg{ width: 22px; height: 22px; }
.svc-cat-card h3{ font-size: 1.04rem; margin-bottom: 6px; }
.svc-cat-card > p{ color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 12px; }
.svc-cat-card ul{ display: flex; flex-direction: column; }
.svc-cat-card ul li a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 2px;
  font-size: 0.86rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
  transition: color .2s ease;
}
.svc-cat-card ul li:first-child a{ border-top: none; }
.svc-cat-card ul li a:hover{ color: var(--red); }
.svc-cat-card ul li a .arrow{ opacity: 0; transform: translateX(-4px); transition: .25s var(--ease); }
.svc-cat-card ul li a:hover .arrow{ opacity: 1; transform: translateX(0); }

/* ==========================================================================
   Individual service page
   ========================================================================== */
.svc-banner{
  position: relative;
  height: 380px;
  overflow: hidden;
}
.svc-banner__svg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.svc-banner::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,52,80,0.25) 0%, rgba(11,52,80,0.55) 55%, rgba(11,52,80,0.92) 100%);
}
.svc-banner__content{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 40px 0 34px;
}
.svc-banner .breadcrumb{ color: rgba(255,255,255,0.7); }
.svc-banner .breadcrumb a{ color: #fff; }
.svc-banner .breadcrumb a:hover{ color: var(--red); }
.svc-banner h1{
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  max-width: 22ch;
  line-height: 1.12;
}
.svc-banner .tag{ background: rgba(255,255,255,0.16); color: #fff; margin-top: 14px; display: inline-flex; }

.svc-layout{
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 54px;
  align-items: start;
}
.svc-content > p.lede{ font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 28px; }
.svc-content h2{ font-size: 1.5rem; margin-top: 6px; margin-bottom: 14px; }
.svc-content p{ color: var(--ink-soft); margin-bottom: 16px; font-size: 0.98rem; }

.svc-inline-img{
  float: right;
  width: 300px;
  margin: 4px 0 20px 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.svc-inline-img img, .svc-inline-img svg{ width: 100%; height: auto; display: block; }
.clearfix{ clear: both; }
@media (max-width: 640px){
  .svc-inline-img{ float: none; width: 100%; margin: 0 0 22px; }
}

.point-list{ margin: 6px 0 32px; }
.point-list li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 13px;
  font-size: 0.95rem;
  color: var(--ink);
}
.point-list li .dot{
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.point-list li .dot svg{ width: 11px; height: 11px; }
.point-list.red li .dot{ background: rgba(214,40,57,0.1); color: var(--red); }

.svc-sidebar{
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.svc-side-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.svc-side-card h4{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.svc-side-card .btn{ width: 100%; justify-content: center; margin-top: 8px; }
.svc-side-card p{ color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 10px; }
.svc-side-phone{
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.84rem;
  color: var(--navy); margin-bottom: 8px;
}
.svc-side-phone svg{ width: 14px; height: 14px; color: var(--red); }
.svc-related li{ margin-bottom: 4px; }
.svc-related a{
  font-size: 0.88rem;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 8px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.svc-related a:hover{ background: var(--blue-light); color: var(--blue); }
.svc-related a.is-current{ color: var(--red); font-weight: 600; background: rgba(214,40,57,0.06); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq{ background: var(--blue-light); }
.faq-list{ max-width: 800px; margin-inline: auto; }
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-item summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary .plus{
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s var(--ease), background .3s ease, color .3s ease;
  font-size: 1rem;
  margin-left: 16px;
}
.faq-item[open] summary .plus{ transform: rotate(45deg); background: var(--red); border-color: var(--red); color: var(--white); }
.faq-item__body{
  padding: 0 4px 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 68ch;
}

/* ==========================================================================
   CTA / appointment
   ========================================================================== */
.cta{
  background: linear-gradient(135deg, var(--navy), var(--blue) 130%);
  color: var(--white);
  border-radius: 32px;
  padding: 64px 50px;
  position: relative;
  overflow: hidden;
  margin-inline: auto;
}
.cta::before{
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(214,40,57,0.35), transparent 70%);
  top: -100px; right: -80px;
  border-radius: 50%;
}
.cta__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.cta h2{ color: var(--white); font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 14px; }
.cta p{ color: rgba(255,255,255,0.72); max-width: 44ch; }
.cta__phones{ margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.cta__phone{ display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.92rem; }
.cta__phone svg{ width: 16px; height: 16px; color: var(--red); }

.form-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(6px);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field{ display: flex; flex-direction: column; gap: 6px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,0.6); }
.field input, .field select, .field textarea{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color .25s ease, background .25s ease;
}
.field input::placeholder, .field textarea::placeholder{ color: rgba(255,255,255,0.4); }
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--red); background: rgba(255,255,255,0.12); }
.field select option{ color: var(--ink); }
.form-submit{
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.form-note{ margin-top: 12px; font-size: 0.76rem; color: rgba(255,255,255,0.5); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  position: relative;
  padding-top: 0;
}
.footer-wave{ line-height: 0; }
.footer-wave svg{ width: 100%; height: 70px; display: block; }
.footer-top{
  padding: 20px 0 60px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.footer-brand .brand__name{ font-size: 1.2rem; }
.footer-brand p{ margin-top: 14px; font-size: 0.88rem; color: rgba(255,255,255,0.55); max-width: 32ch; }
.footer-social{ display: flex; gap: 10px; margin-top: 20px; }
.footer-social a{
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.footer-social a:hover{ background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-social svg{ width: 16px; height: 16px; }
.footer-col h5{
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.footer-col ul li{ margin-bottom: 11px; font-size: 0.88rem; }
.footer-col ul li a:hover{ color: var(--white); }
.footer-col ul li a{ color: rgba(255,255,255,0.72); transition: color .25s ease; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .disclaimer{ max-width: 60ch; font-size: 0.74rem; }

/* Back to top */
.back-to-top{
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  border: none;
  z-index: 500;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
}
.back-to-top.show{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover{ background: var(--red); }
.back-to-top svg{ width: 18px; height: 18px; }

/* ==========================================================================
   Mobile nav drawer
   ========================================================================== */
.mobile-drawer{
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 110px 28px 50px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
}
.mobile-drawer.open{ transform: translateY(0); }
.mobile-drawer > a{ color: var(--white); font-family: var(--font-display); font-size: 1.5rem; padding: 8px 0; }
.mobile-drawer .btn{ margin-top: 14px; }
.drawer-close{
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.3rem;
}

/* Mobile services accordion */
.mobile-services{ width: 100%; max-width: 360px; }
.mobile-services > summary{
  list-style: none;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-services > summary::-webkit-details-marker{ display: none; }
.mobile-services > summary::after{ content: "+"; font-size: 1.1rem; color: var(--red); transition: transform .25s ease; }
.mobile-services[open] > summary::after{ transform: rotate(45deg); }
.mobile-cat{ width: 100%; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 8px; padding-top: 4px; }
.mobile-cat > summary{
  list-style: none;
  cursor: pointer;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 12px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-cat > summary::-webkit-details-marker{ display: none; }
.mobile-cat > summary::after{ content: "›"; font-size: 1rem; transition: transform .25s ease; }
.mobile-cat[open] > summary::after{ transform: rotate(90deg); }
.mobile-cat ul{ padding-bottom: 10px; }
.mobile-cat ul li a{
  display: block;
  padding: 10px 6px;
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
}
.mobile-cat ul li a:hover{ color: var(--red); }

.mobile-services > ul{ width: 100%; max-width: 300px; margin-inline: auto; padding-top: 6px; }
.mobile-services > ul li a{
  display: block;
  padding: 11px 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-services > ul li:first-child a{ border-top: none; }
.mobile-services > ul li a:hover{ color: var(--red); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__visual{ max-width: 420px; margin-inline: auto; }
  .about__grid{ grid-template-columns: 1fr; }
  .about__visual{ max-width: 380px; margin-inline: auto; }
  .expertise__grid{ grid-template-columns: repeat(2, 1fr); }
  .loc-grid{ grid-template-columns: 1fr; }
  .why__grid{ grid-template-columns: 1fr; }
  .cta__grid{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .info-grid{ grid-template-columns: 1fr; }
  .svc-cat-grid{ grid-template-columns: repeat(2, 1fr); }
  .svc-layout{ grid-template-columns: 1fr; }
  .svc-sidebar{ position: static; }
}
@media (max-width: 760px){
  .nav-links, .header-cta{ display: none; }
  .nav-toggle{ display: flex; }
  section{ padding: 70px 0; }
  .expertise__grid{ grid-template-columns: 1fr; }
  .proc-list{ grid-template-columns: 1fr; }
  .about__credentials{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; }
  .cta{ padding: 40px 24px; }
  .svc-cat-grid{ grid-template-columns: 1fr; }
  .svc-banner{ height: 300px; }
}
