/* =========================================================
   AXIS-C — Artificial Cervical Disc Replacement Cage
   Design tokens — ILT Spine brand
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,500&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* ── ILT Spine Palette ──────────────────────────────── */
  --ink: #010885;
  /* deep navy — primary text / headers */
  --blue: #0A5DA6;
  /* ILT mid-blue — primary brand / actions */
  --blue-deep: #021066;
  /* pressed / dark navy */
  --blue-soft: #E6EDF8;
  /* tinted blue surface */
  --ivory: #F2F5FC;
  /* cool blue-white — base background */
  --ivory-deep: #E2E8F4;
  /* slightly deeper panel */
  --red: #D90D1E;
  /* ILT vivid red — accent / highlight */
  --red-deep: #A60815;
  /* ILT deep red — pressed / shadow */
  --red-soft: #FBEAEC;
  /* tinted red surface */
  --titanium: #A0ADBC;
  /* implant material grey */
  --titanium-d: #6B7A8A;
  /* implant shadow grey */
  --slate: #3A4B6B;
  /* secondary text (blue-tinted slate) */
  --line: #C8D4E8;
  /* hairline rule on ivory */
  --line-cool: #B8C8DC;
  /* hairline rule on blue surfaces */
  --white: #FFFFFF;
  --danger: #A60815;
  /* reuse red-deep for danger */

  /* Type */
  --f-display: 'Newsreader', Georgia, serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow-1: 0 1px 2px rgba(3, 10, 140, 0.06), 0 4px 14px rgba(3, 10, 140, 0.06);
  --shadow-2: 0 10px 30px rgba(3, 10, 140, 0.14);
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
  color: var(--slate);
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--red);
  /* red accent bar — ILT brand mark echo */
  display: inline-block;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

@media (max-width:640px) {
  .wrap {
    padding: 0 20px;
  }
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

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

/* ---------------------------------------------------------
   Top bar
   --------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 245, 252, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 90px;
  height: 40px;
  flex: none;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 30px;
  background: var(--line);
}

.brand-name {
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}

.brand-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--blue-deep);
  letter-spacing: 0.06em;
  margin-left: 12px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.top-links .nav-item {
  position: relative;
}

.top-links .nav-item > a {
  color: var(--slate);
  position: relative;
  padding: 6px 10px;
}

.top-links .nav-item > a:hover {
  color: var(--ink);
}

.top-links a {
  color: var(--slate);
  position: relative;
  padding: 6px 10px;
}

.top-links a:hover {
  color: var(--ink);
}

.top-links a.current {
  color: var(--blue-deep);
}

.top-links a.current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--red);
}

.pill-link {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--ink);
}

.pill-link:hover {
  background: var(--ink);
  color: var(--ivory) !important;
}

.menu-toggle {
  display: none;
}

@media (max-width:760px) {
  .top-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: none;
  }
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
footer {
  background: var(--ink);
  color: #B8C4E0;
  padding: 56px 0 28px;
  margin-top: 60px;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

footer h4 {
  color: var(--ivory);
  font-size: 15px;
}

footer .foot-col p,
footer .foot-col a {
  color: #8A9DC0;
  font-size: 14px;
}

footer .foot-col a:hover {
  color: var(--ivory);
}

.foot-bottom {
  max-width: var(--maxw);
  margin: 36px auto 0;
  padding: 20px 32px 0;
  border-top: 1px solid #141E5C;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #5C6E99;
  font-family: var(--f-mono);
}

/* ===========================================================
   HOME — split chooser
   =========================================================== */
.home-hero {
  padding: 48px 0 60px;
  background: var(--ivory);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.home-hero .eyebrow {
  display: inline-block;
  margin-bottom: 20px;
}

.home-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 20px;
  line-height: 1.2;
}

.home-hero p.lede {
  max-width: none;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  background: transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .home-hero .eyebrow {
    justify-content: center;
  }

  .hero-image {
    min-height: 350px;
  }
}

.chooser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  margin: 36px auto 60px;
  max-width: var(--maxw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

@media (max-width:760px) {
  .chooser {
    grid-template-columns: 1fr;
    margin-left: 20px;
    margin-right: 20px;
  }
}

.choice-card {
  position: relative;
  background: var(--white);
  padding: 54px 44px 48px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  transition: background .35s ease;
}

.choice-card.patient {
  background: var(--ivory);
}

.choice-card.pro {
  background: #020B5A;
  color: #CDD8EF;
}

/* deep navy for professional card */
.choice-card.pro h2,
.choice-card.pro .eyebrow {
  color: #E8EEFA;
}

.choice-card.pro .eyebrow::before {
  background: var(--red);
}

.choice-card.pro p {
  color: #8A9DC0;
}

.choice-figure {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 230px;
  height: 230px;
  opacity: 0.9;
  pointer-events: none;
}

.choice-card.patient .choice-figure {
  opacity: 0.5;
}

.choice-card .eyebrow {
  margin-bottom: 18px;
}

.choice-card h2 {
  font-size: 30px;
  max-width: 300px;
  margin-bottom: 10px;
}

.choice-card p {
  max-width: 340px;
  position: relative;
  z-index: 2;
}

.choice-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding-top: 28px;
}

.choice-card.patient .choice-cta {
  color: var(--blue-deep);
}

.choice-card.pro .choice-cta {
  color: var(--titanium);
}

.choice-cta svg {
  width: 16px;
  height: 16px;
  transition: transform .25s ease;
}

.choice-card:hover .choice-cta svg {
  transform: translateX(5px);
}

.choice-card:hover {
  transform: none;
}

.choice-card.patient:hover {
  background: var(--blue-soft);
}

.choice-card.pro:hover {
  background: #010840;
}

.choice-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color .3s;
}

.choice-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: absolute;
  inset: 0;
  padding: 54px 44px 48px;
  z-index: 2;
}

.choice-dropdown {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  margin-top: 20px;
}

.choice-card:hover .choice-dropdown {
  opacity: 1;
  visibility: visible;
  max-height: 500px;
}

.choice-dropdown h4 {
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  font-weight: 600;
}

.choice-card.pro .choice-dropdown h4 {
  color: #8A9DC0;
}

.choice-card.patient .choice-dropdown h4 {
  color: var(--blue-deep);
}

.choice-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.choice-dropdown li a {
  font-size: 13px;
  text-decoration: none;
  line-height: 1.4;
  transition: opacity 0.2s ease;
  opacity: 0.85;
}

.choice-card.patient .choice-dropdown li a {
  color: var(--blue-deep);
}

.choice-card.pro .choice-dropdown li a {
  color: #8A9DC0;
}

.choice-dropdown li a:hover {
  opacity: 1;
}

.home-strip {
  border-top: 1px solid var(--line);
  padding: 46px 0 70px;
}

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

@media (max-width:760px) {
  .strip-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.strip-item .num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}

.strip-item h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.strip-item p {
  font-size: 14px;
  margin: 0;
}

/* ===========================================================
   PATIENT / PROFESSIONAL PAGE LAYOUT — chapters
   =========================================================== */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}

.page-hero .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width:820px) {
  .page-hero .grid {
    grid-template-columns: 1fr;
  }
}

.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
}

.page-hero p.lede {
  font-size: 17px;
  max-width: 480px;
}

.page-hero .hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ivory-deep);
  box-shadow: var(--shadow-1);
}

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

.img-caption {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--slate);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 32px 0;
}

@media (max-width:900px) {
  .layout {
    grid-template-columns: 1fr;
    padding: 36px 20px 0;
  }
}

.chapter-nav {
  position: sticky;
  top: 90px;
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

@media (max-width:900px) {
  .chapter-nav {
    position: static;
    border-left: none;
    padding-left: 0;
    display: flex;
    overflow-x: auto;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin-bottom: 8px;
  }
}

.chapter-nav a {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--slate);
  padding: 9px 0;
  white-space: nowrap;
}

.chapter-nav a .cn {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--titanium-d);
}

.chapter-nav a.active {
  color: var(--ink);
  font-weight: 600;
}

.chapter-nav a.active .cn {
  color: var(--red);
}

.chapter-nav .progress-track {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 14px;
  overflow: hidden;
}

.chapter-nav .progress-fill {
  height: 100%;
  width: 8%;
  background: var(--red);
  transition: width .25s ease;
}

@media (max-width:900px) {
  .chapter-nav .progress-track {
    display: none;
  }
}

.chapters {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 90px;
}

.chapter {
  padding: 46px 0 14px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.chapter:last-child {
  border-bottom: none;
}

.chapter-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
}

.chapter-head .cnum {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--red);
}

.chapter h2 {
  font-size: 26px;
  margin-bottom: 4px;
}

.chapter .sub {
  color: var(--slate);
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 640px;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Precaution cards ---- */
.precaution-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

@media (max-width:680px) {
  .precaution-cols {
    grid-template-columns: 1fr;
  }
}

.precaution-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 8px;
}

.precaution-block h3 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-deep);
}

.precaution-block.caution h3 {
  color: var(--danger);
}

.precaution-block h3 .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
}

.precaution-block.caution h3 .dot {
  background: var(--danger);
}

ul.check-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

ul.check-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--slate);
}

ul.check-list li:first-child {
  border-top: none;
}

ul.check-list li svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--blue);
}

.precaution-block.caution svg {
  color: var(--danger);
}

.timeline-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.timeline-bar .tl-step {
  flex: 1;
  padding: 18px 18px 18px;
  border-right: 1px solid var(--line);
  position: relative;
}

.timeline-bar .tl-step:last-child {
  border-right: none;
}

.timeline-bar .tl-step .tl-when {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--red);
  display: block;
  margin-bottom: 8px;
}

.timeline-bar .tl-step p {
  font-size: 13.5px;
  margin: 0;
  color: var(--slate);
}

@media (max-width:760px) {
  .timeline-bar {
    flex-direction: column;
  }

  .timeline-bar .tl-step {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

/* ---- Anatomy chapter ---- */
.anatomy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

@media (max-width:820px) {
  .anatomy-grid {
    grid-template-columns: 1fr;
  }
}

.anatomy-figure {
  background: var(--blue-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anatomy-figure svg {
  width: 100%;
  height: auto;
  max-width: 340px;
}

.vert-label-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.vert-label-list div {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--slate);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line-cool);
  padding-bottom: 6px;
}

.vert-label-list span {
  color: var(--ink);
  font-weight: 600;
}

.proc-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width:820px) {
  .proc-grid {
    grid-template-columns: 1fr;
  }
}

.proc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.proc-card .proc-icon {
  width: 38px;
  height: 38px;
  color: var(--blue);
  margin-bottom: 14px;
}

.proc-card h4 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.proc-card p {
  font-size: 14px;
  margin: 0 0 16px;
}

.proc-card .btn-secondary {
  display: inline-block;
  margin-top: auto;
}

.proc-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, var(--blue-soft), var(--white));
}

.proc-card .proc-tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--blue-deep);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

/* ---- Implant / animation chapter ---- */
.implant-stage {
  background: #020B5A;
  /* deep navy — ILT brand dark */
  border-radius: var(--radius-lg);
  padding: 38px 38px 26px;
  color: #CDD8EF;
}

.implant-stage-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.implant-stage h3 {
  color: #E8EEFA;
  font-size: 19px;
  margin-bottom: 4px;
}

.implant-stage .stage-note {
  font-size: 13px;
  color: #7A94C0;
  margin: 0;
  max-width: 420px;
}

.anim-toggle {
  display: inline-flex;
  border: 1px solid #1A2A7A;
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: 12px;
}

.anim-toggle button {
  background: none;
  border: none;
  color: #7A94C0;
  padding: 9px 18px;
  cursor: pointer;
  letter-spacing: 0.03em;
}

.anim-toggle button.active {
  background: var(--red);
  color: #FFF0F1;
  font-weight: 600;
}

.anim-canvas {
  background: #010840;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  justify-content: center;
}

.anim-canvas svg {
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* ---- Implant correction animation states ---- */
.anim-canvas svg .vert-top,
.anim-canvas svg .vert-bottom {
  transition: transform .8s cubic-bezier(.2, .7, .3, 1);
  transform-box: fill-box;
}

.anim-canvas svg .bulge {
  transition: opacity .5s ease, transform .5s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.anim-canvas svg .implant {
  transition: opacity .5s ease .25s, transform .5s ease .25s;
  transform-box: fill-box;
  transform-origin: center;
}

.anim-canvas svg .nerve {
  transition: stroke .6s ease, d .6s ease;
}

.anim-canvas svg .cord-canal {
  transition: opacity .5s ease;
}

/* default / before */
.anim-canvas svg.state-before .vert-top {
  transform: translateY(8px);
}

.anim-canvas svg.state-before .vert-bottom {
  transform: translateY(-8px);
}

.anim-canvas svg.state-before .bulge {
  opacity: 1;
  transform: scale(1);
}

.anim-canvas svg.state-before .implant {
  opacity: 0;
  transform: scale(.7);
}

.anim-canvas svg.state-before .nerve {
  stroke: var(--red);
}

/* red = pain/compression */

.anim-canvas svg.state-after .vert-top {
  transform: translateY(-10px) rotate(-1.5deg);
}

.anim-canvas svg.state-after .vert-bottom {
  transform: translateY(10px) rotate(1deg);
}

.anim-canvas svg.state-after .bulge {
  opacity: 0;
  transform: scale(.75);
}

.anim-canvas svg.state-after .implant {
  opacity: 1;
  transform: scale(1);
}

.anim-canvas svg.state-after .nerve {
  stroke: #5B8ACA;
}

/* calm blue = restored */

.anim-legend {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.anim-legend span {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: #7A94C0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.anim-legend .swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
}

.implant-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

@media (max-width:680px) {
  .implant-readout {
    grid-template-columns: 1fr 1fr;
  }
}

.readout-cell {
  border: 1px solid #1A2A7A;
  border-radius: 8px;
  padding: 14px 16px;
}

.readout-cell .label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: #5B7AB0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.readout-cell .value {
  font-family: var(--f-display);
  font-size: 22px;
  color: #E8EEFA;
  margin-top: 4px;
  transition: opacity .3s;
}

.implant-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: stretch;
}

@media (max-width:820px) {
  .implant-explain {
    grid-template-columns: 1fr;
  }
}

.implant-explain .product-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ivory-deep);
  height: 100%;
}

.implant-explain .product-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-list {
  counter-reset: step;
  list-style-type: none;
  padding-left: 0;
}

.step-list .step {
  position: relative;
  padding-left: 38px;
  padding-bottom: 22px;
  border-left: 1px solid var(--line);
  margin-left: 6px;
}

.step-list .step:last-child {
  border-color: transparent;
  padding-bottom: 0;
}

.step-list .step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -13px;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--blue);
  color: var(--blue-deep);
  font-family: var(--f-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list h4 {
  font-size: 15.5px;
  margin-bottom: 5px;
}

/* ── Sizing Matrix ──────────────────────── */
.sizing-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width:768px) {
  .sizing-matrix {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footprint-option {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footprint-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.footprint-visual {
  display: none;
}

.footprint-header h3 {
  margin: 0;
  font-size: 24px;
  color: var(--ink);
  font-weight: 700;
}

.footprint-dim {
  margin: 0;
  font-size: 15px;
  color: var(--slate);
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
  font-weight: 500;
}

.height-options-label {
  font-size: 12px;
  font-family: var(--f-mono);
  color: var(white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.height-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width:680px) {
  .height-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

.height-btn {
  padding: 20px 16px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  box-shadow: 0 2px 6px rgba(3, 10, 140, 0.04);
}

.height-btn span {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 2px;
}

.height-btn:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 4px 12px rgba(10, 93, 166, 0.14);
}

.height-btn:active,
.height-btn.selected {
  border-color: var(--blue-deep);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(10, 93, 166, 0.2);
}

.height-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.step-list p {
  font-size: 14px;
  margin: 0;
}

.callout {
  background: var(--red-soft);
  border: 1px solid #F0B8BC;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-top: 30px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.callout svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--red-deep);
  margin-top: 2px;
}

.callout p {
  margin: 0;
  font-size: 14.5px;
  color: #6B1A22;
}

.callout strong {
  color: #4A1018;
}

.faq {
  margin-top: 8px;
}

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

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  font-family: var(--f-mono);
  color: var(--blue);
  font-size: 18px;
  flex: none;
}

.faq-item[open] summary .plus {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 18px;
  font-size: 14.5px;
  max-width: 680px;
}

.end-cta {
  margin-top: 54px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  color: var(--ivory);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.end-cta h3 {
  color: var(--ivory);
  margin-bottom: 6px;
  font-size: 21px;
}

.end-cta p {
  color: #8A9DC0;
  margin: 0;
  max-width: 420px;
}

.btn {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  background: var(--red);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 13px 24px;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  display: inline-block;
}

.btn:hover {
  background: var(--red-deep);
}

.btn-outline {
  background: none;
  border: 1px solid var(--ivory);
  color: var(--ivory);
}

.btn-outline:hover {
  background: var(--ivory);
  color: var(--ink);
}

.btn-secondary {
  background: var(--blue-soft);
  color: var(--blue-deep);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn-white:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

/* Professional page specifics */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 14px;
}

.spec-table th {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-deep);
  border-bottom: 1px solid var(--line);
  padding: 10px 14px 10px 0;
}

.spec-table td {
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
}

.spec-table tr td:first-child {
  color: var(--ink);
  font-weight: 600;
  width: 34%;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.badge {
  font-family: var(--f-mono);
  font-size: 11.5px;
  border: 1px solid var(--line-cool);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.sizing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

@media (max-width:760px) {
  .sizing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.size-chip {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  background: var(--white);
}

.size-chip .h {
  font-family: var(--f-display);
  font-size: 20px;
}

/* Form styles */
.contact-form-wrapper {
  max-width: 540px;
  margin-top: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.required {
  color: var(--red);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9BA7B8;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(10, 93, 166, 0.08);
}

.contact-form .btn {
  align-self: flex-start;
}

.size-chip .l {
  font-family: var(--f-body);
  font-size: 10.5px;
  color: var(--slate);
  margin-top: 4px;
}

/* Home page product sections */

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 700;
  padding: 8px 16px;
  background: rgba(10, 93, 166, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(10, 93, 166, 0.15);
}

.section-header h2 {
  font-size: 44px;
  margin-bottom: 20px;
  color: var(--ink);
  font-weight: 700;
}

.section-subtitle {
  font-size: 17px;
  color: var(--slate);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

.product-solutions-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #F2F5FC 0%, #FFFFFF 50%, #F8FAFF 100%);
  position: relative;
  overflow: hidden;
}

.product-solutions-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 93, 166, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.product-solutions-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 13, 30, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.solutions-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 70px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.solutions-column {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.column-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 3px solid transparent;
  background: linear-gradient(90deg, var(--blue) 0%, var(--red) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.column-title::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  border-radius: 3px;
}

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

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(3, 10, 140, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 400px at 50% 0%, rgba(10, 93, 166, 0.08) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 20px 40px rgba(3, 10, 140, 0.15);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  opacity: 0;
  transition: opacity 0.35s;
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-soft), #E6F0FF);
  border-radius: 10px;
  margin-bottom: 10px;
  color: var(--blue);
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(10, 93, 166, 0.08);
  transition: all 0.35s;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--blue), #4A90E2);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(10, 93, 166, 0.2);
}

.feature-card svg {
  color: inherit;
  width: 26px;
  height: 26px;
}

.feature-card h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.feature-card p {
  font-size: 12px;
  color: var(--slate);
  margin: 0;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.feature-accent {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2px;
  position: relative;
  z-index: 1;
  transition: width 0.35s;
}

.feature-card:hover .feature-accent {
  width: 38px;
}

.sizing-options-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.size-option-compact {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 12px rgba(3, 10, 140, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.size-option-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  opacity: 0;
  transition: opacity 0.35s;
}

.size-option-compact:hover {
  border-color: var(--blue);
  box-shadow: 0 20px 40px rgba(3, 10, 140, 0.15);
  transform: translateY(-8px);
}

.size-option-compact:hover::before {
  opacity: 1;
}

.size-badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
  position: relative;
  z-index: 1;
}

.size-badge.small {
  background: linear-gradient(135deg, rgba(10, 93, 166, 0.15), rgba(10, 93, 166, 0.08));
  color: var(--blue);
  border: 1px solid rgba(10, 93, 166, 0.25);
}

.size-badge.medium {
  background: linear-gradient(135deg, rgba(217, 13, 30, 0.15), rgba(217, 13, 30, 0.08));
  color: var(--red);
  border: 1px solid rgba(217, 13, 30, 0.25);
}

.size-specification-compact {
  margin: 0;
  position: relative;
  z-index: 1;
}

.size-dim-compact {
  color: var(--blue);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  display: block;
}

.size-description-compact {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
}

.height-list-compact {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.height-chip-compact {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(10, 93, 166, 0.06);
}

.height-chip-compact:hover {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(10, 93, 166, 0.2);
}

.specs-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #F2F5FC 0%, #FFFFFF 100%);
}

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

.spec-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(3, 10, 140, 0.04);
}

.spec-item:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(3, 10, 140, 0.08);
}

.spec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--blue-soft);
  border-radius: 10px;
  margin-bottom: 16px;
  color: var(--blue);
}

.spec-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.spec-item p {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}

.video-section {
  padding: 60px 0;
  background: var(--ivory);
}

.video-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: #000;
  margin-bottom: 40px;
}

.video-container video {
  display: block;
  width: 100%;
  height: auto;
}

.video-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .video-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(3, 10, 140, 0.04);
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 12px 24px rgba(3, 10, 140, 0.1);
}

.feature-label {
  display: block;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}

.awareness-section {
  padding: 40px 0;
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--white) 100%);
  border-top: 1px solid var(--line);
}

.awareness-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .awareness-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .awareness-visual {
    max-width: 300px;
    margin: 0 auto;
  }
}

.awareness-content span.section-eyebrow {
  margin-bottom: 12px;
}

.awareness-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--ink);
}

.awareness-content > p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 40px;
}

.know-your-spine {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  margin-top: 32px;
}

.know-your-spine h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}

.know-your-spine p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}

.awareness-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.awareness-visual svg {
  color: var(--blue);
  opacity: 0.8;
}

/* ---- Awareness section ---- */
.awareness-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

@media (max-width:820px) {
  .awareness-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Common Causes Grid ---- */
.causes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

@media (max-width:768px) {
  .causes-grid {
    grid-template-columns: 1fr;
  }
}

.cause-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cause-card .cause-icon {
  grid-row: 1 / span 2;
}

.cause-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

.cause-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
}

.cause-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.cause-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 0;
  color: var(--ink);
}

.cause-card p {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
}

/* ---- When to Consider Surgery ---- */
.surgery-indications {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}

.indication-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
}

.indication-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e6f2ff 0%, #f0f6ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.indication-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.indication-block h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}

.indication-block p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}

/* ---- Surgical Risks Grid ---- */
.risks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 16px;
}

@media (max-width:768px) {
  .risks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:480px) {
  .risks-grid {
    grid-template-columns: 1fr;
  }
}

.risk-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.risk-header {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.risk-header h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.risk-card > p {
  padding: 16px;
  font-size: 13.5px;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}

.risk-card:nth-child(7) {
  grid-column: 1 / -1;
}

/* ---- Preparation Steps ---- */
.prep-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}

.prep-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
}

.prep-number {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-soft), #e6eef8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}

.prep-step h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.prep-step p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}

.prep-checklist {
  margin-top: 40px;
}

.prep-checklist h4 {
  margin-top: 0;
}

/* ---- Recovery Golden Rules ---- */
.golden-rules {
  margin-top: 16px;
}

.rule-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.rule-card.featured {
  background: linear-gradient(135deg, #f0f4ff 0%, #f8faff 100%);
  border-color: var(--blue-soft);
}

.rule-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 24px;
}

.rule-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.rule-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rule-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffe8e8 0%, #fff0f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: var(--red);
}

.rule-icon span {
  display: none;
}

.rule-icon::before {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rule-card .rule-item:nth-child(2) .rule-icon::before {
  content: "✕";
  font-size: 26px;
}

.rule-card .rule-item:nth-child(3) .rule-icon::before {
  content: "↻";
  font-size: 22px;
}

.rule-card .rule-item:nth-child(4) .rule-icon::before {
  content: "💧";
  font-size: 20px;
}

.rule-card .rule-item:nth-child(5) .rule-icon::before {
  content: "💊";
  font-size: 18px;
}

.rule-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}

.rule-item p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}

/* ---- Recovery Timeline ---- */
.recovery-timeline {
  margin-top: 40px;
}

.recovery-timeline h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0;
}

.timeline-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.timeline-bar .tl-step {
  flex: 1;
  padding: 20px;
  border-right: 1px solid var(--line);
  position: relative;
}

.timeline-bar .tl-step:last-child {
  border-right: none;
}

.timeline-bar .tl-step .tl-when {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 8px;
}

.timeline-bar .tl-step p {
  font-size: 13.5px;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}

@media (max-width:768px) {
  .timeline-bar {
    flex-direction: column;
  }

  .timeline-bar .tl-step {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .timeline-bar .tl-step:last-child {
    border-bottom: none;
  }
}

/* ---- Alert Box ---- */
.alert-box {
  margin-top: 40px;
}

.alert-box h4 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 0;
  color: #c53030;
}

/* Header Navigation Dropdowns */
.nav-item {
  position: relative;
}

.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-top: 12px;
  box-shadow: 0 20px 50px rgba(3, 10, 140, 0.12), 0 8px 20px rgba(3, 10, 140, 0.08);
  transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              max-height 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              visibility 0.35s ease,
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 100;
  min-width: 280px;
  transform: translateY(-8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 212, 232, 0.8);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  max-height: 600px;
  transform: translateY(0);
}

.nav-dropdown-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.nav-dropdown-title {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.nav-dropdown li {
  margin: 0;
  border-bottom: 1px solid rgba(200, 212, 232, 0.4);
}

.nav-dropdown li:last-child {
  border-bottom: none;
}

.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  transition: all 0.25s ease;
  text-decoration: none;
  position: relative;
}

.nav-dropdown li a .icon {
  font-size: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
  color: var(--blue);
  font-weight: 600;
}

.nav-dropdown li a:hover {
  background: linear-gradient(90deg, rgba(10, 93, 166, 0.08) 0%, transparent 100%);
  color: var(--blue-deep);
  padding-left: 24px;
}

.nav-dropdown li a:hover .icon {
  opacity: 1;
  transform: translateX(0);
  color: var(--blue);
}

.nav-dropdown--pro li a:hover {
  background: linear-gradient(90deg, rgba(10, 93, 166, 0.05) 0%, transparent 100%);
}

/* Footer Dropdown Navigation */
.footer-nav-item {
  position: relative;
  display: inline-block;
  width: 100%;
}

.footer-nav-item > a {
  display: block;
  padding: 8px 0;
  transition: color 0.25s ease;
}

.footer-nav-item > a:hover {
  color: var(--blue);
}

.footer-nav-dropdown {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-top: 8px;
  box-shadow: 0 20px 50px rgba(3, 10, 140, 0.12), 0 8px 20px rgba(3, 10, 140, 0.08);
  transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              max-height 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              visibility 0.35s ease,
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 100;
  min-width: 280px;
  transform: translateY(-8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 212, 232, 0.8);
}

.footer-nav-item:hover .footer-nav-dropdown {
  opacity: 1;
  visibility: visible;
  max-height: 600px;
  transform: translateY(0);
}

.footer-nav-dropdown-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.footer-nav-dropdown-title {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.footer-nav-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.footer-nav-dropdown li {
  margin: 0;
  border-bottom: 1px solid rgba(200, 212, 232, 0.4);
}

.footer-nav-dropdown li:last-child {
  border-bottom: none;
}

.footer-nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  transition: all 0.25s ease;
  text-decoration: none;
  position: relative;
}

.footer-nav-dropdown li a .icon {
  font-size: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
  color: var(--blue);
  font-weight: 600;
}

.footer-nav-dropdown li a:hover {
  background: linear-gradient(90deg, rgba(10, 93, 166, 0.08) 0%, transparent 100%);
  color: var(--blue-deep);
  padding-left: 24px;
}

.footer-nav-dropdown li a:hover .icon {
  opacity: 1;
  transform: translateX(0);
  color: var(--blue);
}

/* Motion Grid */
.motion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .motion-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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

.motion-image {
  margin: 0;
  padding: 0;
  background: #000;
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.motion-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.motion-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.motion-image--contain video {
  object-fit: contain;
  transform: scale(1.2);
}

.motion-item h4 {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: var(--ink);
  margin: 0;
}
