/* =========================================================
   components.css — Professor Dr. S.M.G. Kibria
   Nav · Hero · Stats · Services · Reviews · Footer
   ========================================================= */

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding-block: 18px;
  background: transparent;
  transition: background var(--dur-base) var(--ease-out),
              padding var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo img {
  height: 72px;
  width: auto;
  /* White logo for dark hero — inverts original to white */
  filter: brightness(0) invert(1);
  transition: height var(--dur-base), filter var(--dur-base) var(--ease-out);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 28px);
  margin: 0;
  padding: 0;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  padding: 10px 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--dur-base) var(--ease-out);
  text-decoration: none;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px; bottom: 4px;
  height: 2px;
  background: var(--gold-500);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--dur-base) var(--ease-out);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--gold-300);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__chevron {
  transition: transform var(--dur-base);
}

/* Scrolled state */
.nav--scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-block: 10px;
  box-shadow: var(--shadow-sm);
}
.nav--scrolled .nav__logo img { height: 56px; filter: none; }
.nav--scrolled .nav__link { color: var(--gray-800); }
.nav--scrolled .nav__link:hover,
.nav--scrolled .nav__link[aria-current="page"] { color: var(--blue-700); }

/* Mega dropdown */
.nav__dropdown { position: relative; }

.nav__mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(880px, 90vw);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base);
}
.nav__dropdown:hover .nav__mega,
.nav__dropdown:focus-within .nav__mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown:hover .nav__chevron { transform: rotate(180deg); }

.nav__mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.nav__mega-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: background var(--dur-base);
  color: var(--gray-900);
  text-decoration: none;
}
.nav__mega-link:hover {
  background: var(--surface-2);
  color: var(--blue-700);
}
.nav__mega-link svg {
  width: 26px; height: 26px;
  color: var(--blue-700);
  flex-shrink: 0;
}
.nav__mega-link span {
  font-size: var(--text-sm);
  font-weight: 500;
}

.btn--nav { padding: 12px 24px; font-size: var(--text-sm); }

/* Hamburger */
.nav__hamburger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  transition: transform var(--dur-base), opacity var(--dur-base);
}
.nav--scrolled .nav__hamburger {
  background: var(--blue-50);
  border-color: var(--border);
}
.nav--scrolled .nav__hamburger span { background: var(--blue-700); }

/* Mobile overlay */
.nav__mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity var(--dur-base), transform 0.4s var(--ease-out), visibility var(--dur-base);
  overflow-y: auto;
}
.nav__mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav__mobile-inner {
  padding: 80px 32px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav__mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__mobile-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav__mobile-overlay a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav__mobile-overlay a:hover { color: var(--gold-300); }
.nav__mobile-overlay .btn {
  display: inline-flex;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  border-bottom: none;
  margin-top: 12px;
}

.nav__mobile-contact {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: var(--text-sm);
  line-height: 1.9;
}
.nav__mobile-contact a { color: var(--gold-300); }

@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__hamburger { display: flex; }
}

/* =========================================================
   HERO — brand-blue background, softly blurred surgery scene,
   portrait emerging from a glowing circular disc, orbiting
   credential cards on animated rings
   ========================================================= */
.hero {
  position: relative;
  min-height: auto;
  padding: clamp(110px, 12vh, 130px) 0 clamp(40px, 5vh, 70px);
  background: linear-gradient(135deg, var(--blue-900) 0%, #0c3a68 50%, var(--blue-800) 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* Blurred surgery scene — visible as atmospheric texture */
.hero__bg-image {
  position: absolute;
  inset: -4%;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.42;
  filter: blur(6px) saturate(1.15);
  transform-origin: center;
  animation: ken-burns 30s ease-in-out infinite alternate;
}

/* Brand-blue wash + gold rim-light */
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 50%, rgba(24,103,166,0.45) 0%, transparent 55%),
    radial-gradient(circle at 18% 85%, rgba(201,168,76,0.12), transparent 45%),
    linear-gradient(180deg, rgba(10,46,80,0.4) 0%, rgba(10,46,80,0.28) 50%, rgba(10,46,80,0.6) 100%);
}

.hero__bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  mix-blend-mode: screen;
}

@keyframes ken-burns {
  0%   { transform: scale(1.04) translate(0, 0); }
  50%  { transform: scale(1.12) translate(-1.5%, -1%); }
  100% { transform: scale(1.08) translate(1%, 1%); }
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border: 1px solid rgba(201,168,76,0.38);
  background: rgba(201,168,76,0.08);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-300);
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 12px var(--gold-500);
  animation: pulse-aura 2s ease-in-out infinite;
}

/* Title — smaller so the whole hero fits in one screen */
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 16px;
}
.hero__line {
  display: block;
  padding-bottom: 0.1em;  /* keeps descenders (g, y) from clipping */
  white-space: nowrap;    /* force each line to stay on one row */
  word-spacing: 0.15em;   /* extra breathing room between words */
}
.hero__line--gold {
  background: linear-gradient(135deg, #f0d98a 0%, var(--gold-500) 50%, #b08a30 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 24px rgba(201,168,76,0.35));
}

.hero__name {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 600;
  color: rgba(255,255,255,0.94);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.62);
  margin-bottom: 24px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero buttons */
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.hero__btn--gold {
  background: var(--gold-500);
  color: var(--gray-900);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}
.hero__btn--gold:hover {
  background: var(--gold-300);
  border-color: var(--gold-300);
  color: var(--gray-900);
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}
.hero__btn--outline {
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================================
   PORTRAIT — head at top, disc centered with equal top/bottom
   gap, image bottom clipped inside the disc's bottom arc.
   Strong layered glow halo; fast visible ring rotation.
   ========================================================= */
.hero__portrait {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1.15;
}

/* Stage — holds disc + rings + image */
.hero__portrait-stage {
  position: absolute;
  inset: 0;
}

/* Glowing disc — centered vertically for equal top/bottom gap.
   A mask fades the top of the disc out so it doesn't render across
   the face (the PNG is transparent around the face and the disc
   would otherwise show through). */
.hero__portrait-disc {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(96,190,255,0.75) 0%, rgba(24,103,166,0.92) 50%, rgba(10,46,80,0.99) 100%);
  /* Only inset + downward shadow — NO outer glow here, since
     box-shadow is not affected by mask and would spread above the face.
     Glow comes from ::before instead (which IS masked). */
  box-shadow:
    0 0 0 1.5px rgba(201,168,76,0.55) inset,
    0 0 0 6px rgba(201,168,76,0.08) inset;
  z-index: 0;
  overflow: hidden;
  animation: disc-glow 3.6s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 68%, rgba(0,0,0,0.35) 78%, #000 90%);
          mask-image: linear-gradient(to bottom, transparent 0%, transparent 68%, rgba(0,0,0,0.35) 78%, #000 90%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}
/* Outer rotating halo — strong colored glow, also masked at top
   so it doesn't bleed up into the face zone */
/* ::before halo removed — was creating a soft blue bleed above the face. */

/* Ring + orbit system — centered with the disc. Mask fades the
   top of the rings so they never appear above the shoulders. */
.hero__portrait-rings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* Per-ring mask so each ring is clipped at its own bounds,
     regardless of negative insets extending it outside the container. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 58%, rgba(0,0,0,0.35) 70%, #000 82%);
          mask-image: linear-gradient(to bottom, transparent 0%, transparent 58%, rgba(0,0,0,0.35) 70%, #000 82%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}
.hero__ring--1 {
  inset: -4%;
  border: 1.5px dashed rgba(201,168,76,0.75);
  animation: ring-rotate 7s linear infinite;
}
.hero__ring--2 {
  inset: -12%;
  border: 1.5px dashed rgba(255,255,255,0.5);
  animation: ring-rotate 11s linear infinite reverse;
}
.hero__ring--3 {
  inset: -22%;
  border: 1.5px dashed rgba(96,190,255,0.55);
  animation: ring-rotate 16s linear infinite;
}

.hero__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: ring-rotate 14s linear infinite;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 58%, rgba(0,0,0,0.35) 70%, #000 82%);
          mask-image: linear-gradient(to bottom, transparent 0%, transparent 58%, rgba(0,0,0,0.35) 70%, #000 82%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}
.hero__orbit--1 { inset: -4%;  animation-duration: 5s; }
.hero__orbit--2 { inset: -12%; animation-duration: 8s; animation-direction: reverse; }
.hero__orbit--3 { inset: -22%; animation-duration: 11s; }

.hero__orbit-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 14px var(--gold-500);
  transform: translateX(-50%);
}
.hero__orbit-dot--opp {
  top: auto;
  bottom: -5px;
}
.hero__orbit-dot--gold {
  background: var(--gold-300);
  box-shadow: 0 0 16px var(--gold-300);
  width: 9px; height: 9px;
  top: -4.5px;
}
.hero__orbit-dot--small {
  width: 6px; height: 6px;
  top: -3px;
  background: var(--blue-500);
  box-shadow: 0 0 10px var(--blue-500);
}
.hero__orbit-dot--small.hero__orbit-dot--opp {
  top: auto;
  bottom: -3px;
}

@keyframes disc-spin {
  to { transform: rotate(360deg); }
}
@keyframes ring-rotate {
  to { transform: rotate(360deg); }
}
@keyframes disc-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1.5px rgba(201,168,76,0.55) inset,
      0 0 0 6px rgba(201,168,76,0.08) inset;
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(201,168,76,0.85) inset,
      0 0 0 10px rgba(201,168,76,0.14) inset;
  }
}

/* Portrait image — head reaches the top of the stage, bottom
   is clipped to match the disc's bottom arc. Mask = top rect +
   bottom ellipse sized to match the disc's circle. */
.hero__portrait img {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 82%;
  height: 88%;
  z-index: 2;
  object-fit: contain;
  object-position: bottom center;
  /* Single continuous mask — image fully opaque from the top down to
     ~78%, then fades softly to transparent at the very bottom. No more
     gap in the face/neck region where the disc could show through. */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}

/* =========================================================
   CREDENTIAL CARDS — float around the portrait on the rings
   ========================================================= */
.hero__creds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.hero__cred {
  position: absolute;
  pointer-events: auto;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.06) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 0 0 1px rgba(201,168,76,0.15),
    0 10px 28px rgba(0,0,0,0.38),
    0 0 28px rgba(201,168,76,0.22);
  will-change: transform;
}
/* Dance animation runs constantly. GSAP's inline transform during the
   reveal phase covers it; once GSAP clears its inline transform via
   clearProps in onComplete, this animation becomes visible. Using
   longhand properties so per-card delay/duration overrides work. */
.hero__cred {
  animation-name: cred-dance;
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: -2s;
}
.hero__cred--p2,
.hero__cred--p4,
.hero__cred--p6 {
  animation-name: cred-dance-alt;
}
.hero__cred span {
  color: var(--gold-300);
  font-weight: 600;
  margin-left: 4px;
}
.hero__cred:hover {
  animation-play-state: paused;
  transform: scale(1.12) translateY(-4px);
  border-color: rgba(201,168,76,0.85);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 0 0 1px rgba(201,168,76,0.35),
    0 14px 36px rgba(0,0,0,0.45),
    0 0 40px rgba(201,168,76,0.5);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Cards distributed on the LEFT and RIGHT sides of the portrait —
   none above the doctor's head; bottom pair lifted closer to the disc */
.hero__cred--p1 { top: 32%; left: -10%;  animation-delay:  0s;   animation-duration: 5.5s; }  /* FRCS England   — left upper */
.hero__cred--p2 { top: 32%; right: -10%; animation-delay: -0.8s; animation-duration: 6s;   }  /* FRCS Glasgow   — right upper */
.hero__cred--p3 { top: 52%; left: -14%;  animation-delay: -1.6s; animation-duration: 6.5s; }  /* FRCS Edinburgh — left middle */
.hero__cred--p4 { top: 52%; right: -8%;  animation-delay: -2.4s; animation-duration: 5.8s; }  /* FRCS General   — right middle */
.hero__cred--p5 { top: 72%; left: 4%;    animation-delay: -3.2s; animation-duration: 6.2s; }  /* MSc Leeds      — left lower */
.hero__cred--p6 { top: 72%; right: 4%;   animation-delay: -4s;   animation-duration: 5.7s; }  /* MBBS DMC       — right lower */

/* Lively "dancing" cards — bobbing up/down, swaying side to side,
   tilt + subtle scale pulse for a playful, alive feel. */
@keyframes cred-dance {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  15%  { transform: translate(8px, -14px) rotate(2deg) scale(1.03); }
  30%  { transform: translate(-6px, -22px) rotate(-1.5deg) scale(1.05); }
  45%  { transform: translate(10px, -10px) rotate(2.5deg) scale(1.02); }
  60%  { transform: translate(-8px, -18px) rotate(-2deg) scale(1.04); }
  75%  { transform: translate(6px, -6px) rotate(1.5deg) scale(1.01); }
  90%  { transform: translate(-4px, -10px) rotate(-1deg) scale(1.02); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}
/* Mirror version — moves opposite direction so left/right pairs
   dance toward and away from each other instead of in sync. */
@keyframes cred-dance-alt {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  15%  { transform: translate(-8px, -12px) rotate(-2deg) scale(1.03); }
  30%  { transform: translate(6px, -24px) rotate(2deg) scale(1.05); }
  45%  { transform: translate(-10px, -8px) rotate(-2.5deg) scale(1.02); }
  60%  { transform: translate(8px, -20px) rotate(2deg) scale(1.04); }
  75%  { transform: translate(-6px, -4px) rotate(-1.5deg) scale(1.01); }
  90%  { transform: translate(4px, -12px) rotate(1deg) scale(1.02); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

/* =========================================================
   HERO — responsive
   ========================================================= */
@media (max-width: 1100px) {
  .hero__cred--p5 { right: 10%; }
  .hero__cred--p6 { left: 5%; }
}

@media (max-width: 900px) {
  .hero {
    padding: clamp(100px, 13vh, 130px) 0 60px;
  }
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__portrait {
    grid-row: 1;
    max-width: 320px;
  }
  .hero__creds { display: none; }
  .hero__actions { justify-content: center; }
  .hero__badge { margin-inline: auto; }
  .hero__scroll { display: none; }
}

/* =========================================================
   TRUST / CREDENTIAL STRIP
   ========================================================= */
.trust-strip {
  background: var(--surface-1);
  border-block: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
}

.trust-strip__track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue-800);
  letter-spacing: 0.04em;
}
.trust-strip__item svg {
  width: 20px; height: 20px;
  color: var(--gold-500);
}
.trust-strip__item .sep {
  width: 1px; height: 18px;
  background: var(--border);
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  background:
    linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-600) 100%);
  padding-block: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(201,168,76,0.12), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(201,168,76,0.08), transparent 40%);
  pointer-events: none;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.stats__item {
  text-align: center;
  padding: clamp(28px, 4vw, 48px) 20px;
  background: linear-gradient(180deg, rgba(24,103,166,0.4), rgba(15,74,122,0.6));
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}

.stats__item:hover {
  background: linear-gradient(180deg, rgba(24,103,166,0.55), rgba(10,46,80,0.7));
  transform: translateY(-4px);
}

.stats__number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--gold-500);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.02em;
}
.stats__suffix {
  font-size: 0.6em;
  color: var(--gold-300);
  margin-left: 2px;
}

.stats__label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 12px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__label { font-size: var(--text-xs); }
}

/* =========================================================
   ABOUT SNIPPET
   ========================================================= */
.about-snippet__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.about-snippet__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--blue-100), var(--blue-200));
}
.about-snippet__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(24,103,166,0.15);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.about-snippet__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-snippet__badge {
  position: absolute;
  bottom: 24px; right: -16px;
  background: var(--gold-500);
  color: var(--gray-900);
  padding: 18px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
  font-family: var(--font-serif);
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
}
.about-snippet__badge strong {
  font-size: 1.75rem;
  display: block;
}
.about-snippet__badge span {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  display: block;
}

.about-snippet__content p {
  font-size: var(--text-lg);
  margin-bottom: 20px;
  color: var(--gray-700);
}

.about-snippet__eyebrow {
  color: var(--gold-700);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
}

.about-snippet__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  color: var(--gray-900);
}

.about-snippet__cta { margin-top: 12px; }

@media (max-width: 860px) {
  .about-snippet__grid { grid-template-columns: 1fr; }
  .about-snippet__image { max-width: 420px; margin-inline: auto; }
  .about-snippet__badge { right: 16px; }
}

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap-grid);
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out),
              box-shadow 0.45s var(--ease-out),
              border-color 0.45s var(--ease-out);
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--blue-700) 0%, var(--blue-900) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  z-index: 0;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(201,168,76,0.2), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-500);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-card__inner {
  position: relative;
  z-index: 1;
  transition: color 0.4s;
}

.service-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.4s, color 0.4s, transform 0.4s var(--ease-bounce);
}
.service-card__icon svg { width: 28px; height: 28px; }

.service-card:hover .service-card__icon {
  background: var(--gold-500);
  color: var(--blue-900);
  transform: scale(1.08) rotate(-6deg);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color 0.4s;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.65;
  transition: color 0.4s;
}

.service-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
  transition: color 0.4s, transform 0.4s;
}
.service-card__arrow svg {
  width: 14px; height: 14px;
  transition: transform 0.3s;
}

.service-card:hover .service-card__title,
.service-card:hover .service-card__desc,
.service-card:hover .service-card__arrow { color: var(--white); }
.service-card:hover .service-card__arrow svg { transform: translateX(4px); }

/* =========================================================
   WHY SECTION
   ========================================================= */
.why {
  background: var(--surface-1);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(24,103,166,0.08), transparent 70%);
  pointer-events: none;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-grid);
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border-left: 3px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  position: relative;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.why-card__icon {
  width: 52px; height: 52px;
  color: var(--blue-700);
  margin-bottom: 20px;
}
.why-card__icon svg { width: 100%; height: 100%; }

.why-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.25;
}

.why-card__desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.7;
}

.why-card--quote {
  background: linear-gradient(160deg, var(--blue-700), var(--blue-900));
  border-left-color: var(--gold-500);
}
.why-card--quote .why-card__title,
.why-card--quote .why-card__desc { color: var(--white); }
.why-card--quote .why-card__icon { color: var(--gold-300); }
.why-card--quote .why-card__attribution {
  display: block;
  margin-top: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--gold-300);
}

/* =========================================================
   YOUTUBE VIDEOS
   ========================================================= */
.videos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap-grid);
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--dur-base), box-shadow var(--dur-base);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  overflow: hidden;
}
.video-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,46,80,0.55), transparent 40%);
  transition: background var(--dur-base);
}
.video-card:hover .video-card__thumb::after {
  background: linear-gradient(to top, rgba(10,46,80,0.7), rgba(24,103,166,0.3) 60%);
}

.video-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: var(--radius-full);
  background: var(--blue-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  transition: transform var(--dur-base) var(--ease-bounce), background var(--dur-base);
  z-index: 1;
}
.video-card__play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-card:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold-500);
  color: var(--blue-900);
}

.video-card__body { padding: 22px 24px; }
.video-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.video-card__meta {
  font-size: var(--text-xs);
  color: var(--gray-500);
  letter-spacing: 0.05em;
}

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap-grid);
  margin-bottom: 40px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--dur-base), box-shadow var(--dur-base);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.review-card__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold-500);
}
.review-card__stars svg { width: 18px; height: 18px; }

.review-card__google {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.review-card__google svg { width: 18px; height: 18px; }

.review-card__body {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
}
.review-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--gray-900);
}
.review-card__date {
  font-size: var(--text-xs);
  color: var(--gray-500);
}

.reviews__cta {
  text-align: center;
}

/* =========================================================
   MAP SECTION
   ========================================================= */
.map {
  background: var(--surface-2);
}

.map__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.map__chambers {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chamber-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base), box-shadow var(--dur-base);
}
.chamber-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.chamber-card__label {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 600;
  margin-bottom: 8px;
}

.chamber-card__name {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 14px;
  line-height: 1.3;
}

.chamber-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chamber-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.55;
}
.chamber-card__list svg {
  width: 18px; height: 18px;
  color: var(--blue-700);
  flex-shrink: 0;
  margin-top: 2px;
}
.chamber-card__list a { color: var(--blue-700); font-weight: 500; }
.chamber-card__list a:hover { color: var(--blue-600); text-decoration: underline; }

.chamber-card__directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue-700);
}
.chamber-card__directions svg {
  width: 16px; height: 16px;
  transition: transform var(--dur-base);
}
.chamber-card__directions:hover svg { transform: translateX(3px); }

.map__frame {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  min-height: 460px;
}
.map__frame iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

@media (max-width: 860px) {
  .map__grid { grid-template-columns: 1fr; }
  .map__frame { min-height: 360px; }
  .map__frame iframe { min-height: 360px; }
}

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta-strip {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(201,168,76,0.15), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(201,168,76,0.1), transparent 40%);
}

.cta-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  position: relative;
}

.cta-strip__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  color: var(--white);
  max-width: 720px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.cta-strip__desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.82);
  max-width: 680px;
  line-height: 1.7;
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: linear-gradient(180deg, var(--blue-900) 0%, #061a2e 100%);
  color: rgba(255,255,255,0.78);
  font-size: var(--text-sm);
  position: relative;
}

.footer__top {
  padding-block: clamp(60px, 7vw, 96px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.3fr;
  gap: clamp(32px, 4vw, 60px);
}

.footer__brand { max-width: 320px; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}
.footer__logo img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.footer__logo-text {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--white);
  font-size: var(--text-lg);
  line-height: 1.1;
}
.footer__logo-text small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-top: 3px;
}

.footer__tagline {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social-link {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-base);
}
.footer__social-link:hover {
  background: var(--gold-500);
  color: var(--blue-900);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}
.footer__social-link svg { width: 16px; height: 16px; }

.footer__heading {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  transition: color var(--dur-base), padding-left var(--dur-base);
  display: inline-block;
}
.footer__col a:hover {
  color: var(--gold-300);
  padding-left: 4px;
}

.footer__address {
  font-style: normal;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
}
.footer__address strong {
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.footer__address a { color: var(--gold-300); }
.footer__address a:hover { color: var(--gold-500); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 22px;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}
.footer__bottom-links {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.footer__bottom-links a { color: rgba(255,255,255,0.65); }
.footer__bottom-links a:hover { color: var(--gold-300); }

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}
