:root {
  --navy: #002c66;
  --navy-deep: #031a3b;
  --navy-soft: var(--navy);
  --ink: #182134;
  --muted: #687386;
  --beige: #fff;
  --beige-2: #c9b583;
  --paper: #fff;
  --gold: #9b8048;
  --line: rgba(0, 44, 102, .09);
  --white: #fff;
  --shadow: 0 18px 54px rgba(0, 25, 61, .1);
  --radius: 8px;
  --container: 1240px;
}

/* Premium anatomy viewer refinements */
.anatomy-stage {
  background:
    radial-gradient(circle at 50% 41%, #fff 0%, #f8fafb 52%, #eef3f5 100%);
}

.anatomy-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .3;
  background-image:
    linear-gradient(rgba(14,57,91,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,57,91,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 52% 45%, #000 10%, transparent 82%);
}

.anatomy-vignette {
  background:
    radial-gradient(circle at 50% 42%, transparent 20%, rgba(16,59,89,.025) 58%, rgba(16,59,89,.08) 100%);
}

.anatomy-viewer-top,
.anatomy-present-toggle,
.anatomy-view-controls,
.anatomy-rail,
.anatomy-system-panel,
.anatomy-part-popover,
.anatomy-hover-tooltip {
  transition: opacity .28s ease, transform .28s ease, border-color .2s ease, box-shadow .2s ease;
}

.anatomy-present-toggle,
.anatomy-view-controls button,
.anatomy-system-panel,
.anatomy-part-popover,
.anatomy-hover-tooltip {
  background: rgba(249,252,253,.76);
  border-color: rgba(11,55,91,.16);
  box-shadow: 0 20px 54px rgba(13,49,79,.12), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(22px) saturate(120%);
}

.anatomy-system-panel {
  width: min(332px, calc(100% - 116px));
  padding: 13px;
  border-radius: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,44,102,.28) transparent;
}

.anatomy-system-panel::before {
  content: "";
  display: block;
  height: 1px;
  margin: 2px 0 11px;
  background: linear-gradient(90deg, rgba(0,44,102,.04), rgba(0,44,102,.24), rgba(0,44,102,.04));
}

.layer-heading {
  margin-bottom: 8px;
}

.layer-heading strong {
  color: #123f66;
  font-family: "Afacad", Arial, sans-serif;
  font-size: .92rem;
}

.anatomy-presets button,
.anatomy-selection-actions button {
  border-radius: 5px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.anatomy-presets button:hover,
.anatomy-selection-actions button:not(:disabled):hover {
  transform: translateY(-1px);
  background: rgba(232,221,188,.62);
  border-color: rgba(158,133,70,.38);
  box-shadow: 0 8px 18px rgba(20,52,77,.09);
}

.anatomy-tree {
  display: grid;
  gap: 5px;
  max-height: min(33svh, 326px);
  padding: 2px 1px 1px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,44,102,.23) transparent;
}

.anatomy-tree-group {
  overflow: hidden;
  border: 1px solid rgba(10,55,90,.1);
  border-radius: 6px;
  background: rgba(255,255,255,.34);
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.anatomy-tree-group.is-active {
  border-color: rgba(23,125,146,.34);
  background: rgba(224,243,246,.5);
}

.anatomy-tree-group.is-partial {
  border-color: rgba(184,162,106,.4);
}

.anatomy-tree-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 37px;
  padding: 8px 28px 8px 10px;
  color: var(--navy);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .79rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.anatomy-tree-toggle::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform .22s ease;
}

.anatomy-tree-group.is-open .anatomy-tree-toggle::after {
  transform: translateY(-35%) rotate(225deg);
}

.anatomy-tree-toggle small {
  min-width: 18px;
  color: rgba(0,44,102,.58);
  font-size: .65rem;
  font-weight: 900;
  text-align: right;
}

.anatomy-tree-entries {
  display: grid;
  gap: 3px;
  max-height: 0;
  padding: 0 6px;
  overflow: hidden;
  opacity: 0;
  transition: max-height .32s ease, padding .25s ease, opacity .2s ease;
}

.anatomy-tree-group.is-open .anatomy-tree-entries {
  max-height: 310px;
  padding: 0 6px 7px;
  overflow: auto;
  opacity: 1;
}

.anatomy-tree-entry {
  width: 100%;
  min-height: 29px;
  padding: 5px 8px 5px 13px;
  overflow: hidden;
  color: rgba(0,44,102,.78);
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(0,44,102,.16);
  border-radius: 0 4px 4px 0;
  font: inherit;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.anatomy-tree-entry:hover,
.anatomy-tree-entry.is-selected {
  color: var(--navy);
  background: rgba(202,231,238,.56);
  border-left-color: #1aa6c8;
}

.anatomy-tree-entry.is-selected {
  box-shadow: inset 0 0 0 1px rgba(26,166,200,.18);
}

.anatomy-selection-panel {
  gap: 8px;
  margin-top: 9px;
  padding: 10px;
  background: rgba(237,247,249,.54);
  border-color: rgba(20,92,120,.16);
  border-radius: 7px;
}

.anatomy-selection-heading {
  display: grid;
  gap: 3px;
  padding-top: 1px;
}

.anatomy-selection-heading > span,
.anatomy-selection-heading > strong,
.anatomy-selection-heading > small {
  display: block;
}

.anatomy-selection-heading > small {
  overflow: hidden;
  color: rgba(24,33,52,.6);
  font-size: .69rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anatomy-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding-top: 7px;
  border-top: 1px solid rgba(0,44,102,.1);
}

.anatomy-detail-grid > div {
  min-width: 0;
  padding: 6px 7px;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(0,44,102,.08);
  border-radius: 4px;
}

.anatomy-detail-grid .is-wide {
  grid-column: 1 / -1;
}

.anatomy-detail-grid dt {
  color: var(--gold);
  font-size: .57rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.anatomy-detail-grid dd {
  margin: 3px 0 0;
  color: rgba(0,44,102,.82);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.26;
}

.anatomy-rail {
  background: rgba(248,252,253,.72);
  border-color: rgba(11,55,91,.15);
  box-shadow: 0 20px 54px rgba(13,49,79,.12), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(20px) saturate(120%);
}

.anatomy-part-popover,
.anatomy-hover-tooltip {
  border-radius: 6px;
}

@media (max-width: 640px) {
  .anatomy-stage {
    min-height: 1140px;
  }

  .anatomy-system-panel {
    top: 548px;
    padding: 11px;
  }

  .anatomy-tree {
    max-height: 192px;
  }

  .anatomy-tree-group.is-open .anatomy-tree-entries {
    max-height: 142px;
  }

  .anatomy-tree-toggle {
    min-height: 35px;
    font-size: .75rem;
  }

  .anatomy-detail-grid dd {
    font-size: .66rem;
  }

  .anatomy-part-popover {
    display: none;
  }
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Afacad", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.48;
  letter-spacing: 0;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -90px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.skip-link:focus { top: 16px; }

.progress-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 0;
  height: 3px;
  background: var(--gold);
  transform-origin: left;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: clamp(14px, 2vw, 30px);
  align-items: center;
  min-height: 84px;
  padding: 12px clamp(18px, 4vw, 52px);
  color: var(--white);
  isolation: isolate;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 22, 52, .78), rgba(0, 22, 52, .42) 60%, rgba(0, 22, 52, 0));
  transition: opacity .25s ease;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header.is-inner,
.site-header.is-scrolled,
.site-header.is-open {
  color: var(--navy);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(0, 28, 64, .08);
  backdrop-filter: blur(18px);
}

.site-header.is-inner::before,
.site-header.is-scrolled::before,
.site-header.is-open::before {
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 48px;
}

.brand img {
  width: 184px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 5px 16px rgba(0, 13, 31, .32));
  transition: filter .22s ease, width .22s ease, transform .22s ease;
}

.brand:hover img {
  transform: translateY(-1px);
}

.site-header.is-inner .brand img,
.site-header.is-scrolled .brand img,
.site-header.is-open .brand img {
  filter: none;
  width: 168px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2px;
  width: fit-content;
  justify-self: center;
  padding: 6px;
  font-size: .94rem;
  font-weight: 700;
  background: rgba(3, 25, 54, .48);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 13, 31, .16);
  backdrop-filter: blur(18px) saturate(1.15);
}

.site-header.is-inner .main-nav,
.site-header.is-scrolled .main-nav,
.site-header.is-open .main-nav {
  background: rgba(0,44,102,.05);
  border-color: rgba(0,44,102,.12);
}

.main-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  opacity: .9;
  transition: background .18s ease, color .18s ease;
}

.main-nav a::before {
  display: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--beige);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .98rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.header-cta {
  justify-self: end;
  color: var(--white);
  background: rgba(0, 44, 102, .9);
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 10px 24px rgba(0, 19, 48, .22);
}

.header-cta:hover {
  background: #003b86;
  box-shadow: 0 14px 30px rgba(0, 19, 48, .32);
}

.site-header.is-inner .header-cta,
.site-header.is-scrolled .header-cta,
.site-header.is-open .header-cta,
.btn-primary {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.btn-light {
  color: var(--navy);
  background: var(--beige);
  border-color: var(--beige);
}

.btn-line {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}

.magnetic:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease;
}

.site-header.is-open .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.site-header.is-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

.eyebrow {
  margin: 0 0 10px;
  color: var(--beige-2);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--gold); }

h1, h2, h3 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.home-hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: var(--white);
  background: #02142d;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero-photo,
.hero-photo img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  overflow: hidden;
  background: #02142d;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.02);
}

.hero-shade {
  z-index: 1;
  background:
    radial-gradient(circle at 78% 36%, rgba(0,44,102,.05), transparent 34%),
    linear-gradient(90deg, rgba(2,16,38,.86) 0%, rgba(2,16,38,.74) 38%, rgba(2,16,38,.38) 62%, rgba(2,16,38,.52) 100%),
    linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,17,41,.52));
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  padding: 116px 0 56px;
}

.hero-copy {
  max-width: 660px;
}

.hero-copy h1 {
  max-width: 650px;
  font-size: 3.82rem;
  line-height: 1.08;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.authority-band {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  color: var(--navy);
  background: var(--beige);
  border-bottom: 1px solid var(--line);
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-left: 1px solid rgba(0,44,102,.09);
}

.authority-grid article {
  min-height: 104px;
  padding: 22px 20px;
  border-right: 1px solid rgba(0,44,102,.09);
}

.authority-grid span {
  display: block;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.authority-grid strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.14;
}

.quick-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--beige);
  border-bottom: 1px solid var(--line);
}

.quick-nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 15px clamp(16px, 3vw, 30px);
  color: var(--navy);
  font-weight: 800;
  border-right: 1px solid rgba(0,44,102,.09);
  transition: background .18s ease, padding-left .18s ease;
}

.quick-nav a:hover {
  padding-left: clamp(22px, 4vw, 42px);
  background: #f3f7fb;
}

.quick-nav span {
  color: var(--gold);
  font-size: .78rem;
}

.signature-map {
  position: relative;
  overflow: hidden;
  padding: 58px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.signature-map::after {
  content: "RK";
  position: absolute;
  right: -36px;
  bottom: -92px;
  color: rgba(0,44,102,.045);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 17rem;
  font-weight: 700;
  line-height: 1;
}

.map-title {
  max-width: 760px;
  margin-bottom: 24px;
}

.map-title h2 {
  color: var(--navy);
  font-size: 2.08rem;
  line-height: 1.14;
}

.map-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 54px rgba(0, 28, 64, .07);
}

.map-rail::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.map-rail article {
  position: relative;
  min-height: 190px;
  padding: 26px 22px 22px;
  border-right: 1px solid var(--line);
}

.map-rail article:last-child {
  border-right: 0;
}

.map-rail span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--beige);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 900;
}

.map-rail strong {
  display: block;
  margin-top: 38px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.12;
}

.map-rail p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .98rem;
}

.section {
  padding: clamp(50px, 6vw, 78px) 0;
}

.section.compact {
  padding: clamp(38px, 5vw, 64px) 0;
}

.soft {
  background: var(--beige);
}

.section-lead {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-lead h2,
.timeline-intro h2 {
  color: var(--navy);
  font-size: 2.22rem;
  line-height: 1.13;
}

.section-lead p:last-child,
.timeline-intro p:last-child {
  color: var(--muted);
}

.dual-panel,
.page-hero-grid,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: center;
}

.statement h2,
.strip-content h2,
.page-hero h1,
.robot-copy h1,
.contact-page-grid h1,
.rich-text h2,
.lab-output h2,
.cta-grid h2 {
  color: var(--navy);
  max-width: 760px;
  font-size: 2.72rem;
  line-height: 1.12;
}

.text-stack p,
.page-hero p,
.rich-text p,
.lab-output p,
.contact-page-grid p {
  color: var(--muted);
}

.text-stack p {
  margin: 0 0 12px;
}

.feature-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 440px;
  color: var(--white);
  background: var(--navy-deep);
}

.strip-image {
  overflow: hidden;
}

.strip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.feature-strip:hover .strip-image img {
  transform: scale(1.04);
}

.strip-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 7vw, 86px);
}

.strip-content h2 {
  color: var(--white);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 22px;
  color: var(--gold);
  font-weight: 800;
}

.arrow-link::after {
  content: "→";
  margin-left: 10px;
  transition: transform .18s ease;
}

.arrow-link:hover::after {
  transform: translateX(5px);
}

.strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.cards-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cards-three article,
.location-list article,
.robot-steps article,
.lab-card,
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(0, 28, 64, .06);
}

.cards-three article {
  position: relative;
  min-height: 178px;
  padding: 22px 22px 24px;
  overflow: hidden;
}

.cards-three article::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(.28);
  transform-origin: left;
  transition: transform .2s ease;
}

.cards-three article:hover::after {
  transform: scaleX(1);
}

.cards-three span,
.location-list span,
.robot-steps span {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cards-three h3 {
  margin-top: 20px;
  color: var(--navy);
  font-size: 1.34rem;
  line-height: 1.18;
}

.cards-three p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-slab,
.contact-hero {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0,44,102,.96), rgba(3,26,59,.98)),
    url("../img/revisao-protese.webp") center/cover;
}

.cta-slab {
  padding: clamp(48px, 7vw, 86px) 0;
}

.cta-grid h2,
.contact-page-grid h1 {
  color: var(--white);
}

.page-hero {
  padding: 112px 0 38px;
  background:
    linear-gradient(90deg, rgba(0,44,102,.08), transparent 42%),
    linear-gradient(180deg, #f6f2ea 0%, #fbfaf7 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  margin: 0;
  font-size: 1.2rem;
}

.split-page {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: start;
}

.image-stack {
  display: grid;
  gap: 12px;
}

.image-stack img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-stack img:nth-child(2) {
  width: 78%;
  margin-left: auto;
  margin-top: -42px;
  border: 8px solid var(--paper);
}

.rich-text {
  font-size: 1.12rem;
}

.rich-text p {
  margin: 0 0 16px;
}

.timeline-section {
  background:
    linear-gradient(90deg, rgba(0,44,102,.05), transparent 48%),
    var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline-grid {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.timeline-intro {
  position: sticky;
  top: 104px;
}

.timeline-intro p:last-child {
  max-width: 360px;
  margin: 16px 0 0;
}

.timeline-list {
  display: grid;
  gap: 12px;
}

.timeline-list article {
  position: relative;
  padding: 22px 24px 22px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(0,28,64,.05);
}

.timeline-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  background: var(--gold);
}

.timeline-list span,
.treatment-focus-grid span {
  display: block;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.timeline-list strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.16;
}

.timeline-list p {
  margin: 9px 0 0;
  color: var(--muted);
}

.treatment-lab {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.lab-card {
  min-height: 132px;
  padding: 18px;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.lab-card.is-active,
.lab-card:hover {
  color: var(--white);
  background: var(--navy);
  transform: translateY(-3px);
}

.lab-card span,
.lab-card strong,
.lab-card small {
  display: block;
}

.lab-card span {
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
}

.lab-card strong {
  margin-top: 22px;
  font-size: 1.2rem;
}

.lab-card small {
  margin-top: 4px;
  opacity: .76;
}

.lab-output {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 60px);
  align-items: center;
  padding: 22px;
  background: var(--beige);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .24s ease, transform .24s ease;
}

.lab-output.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lab-output img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}

.treatment-focus-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.treatment-focus-grid article {
  grid-column: span 2;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(0,28,64,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.treatment-focus-grid article:nth-child(n+4) {
  grid-column: span 3;
}

.treatment-focus-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0,28,64,.11);
}

.treatment-focus-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.treatment-focus-grid div {
  padding: 20px;
}

.treatment-focus-grid h3 {
  margin-top: 14px;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.16;
}

.treatment-focus-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .96rem;
}

  .anatomy-stage {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    color: var(--navy);
    background: linear-gradient(150deg, #f8fbfc 0%, #eef5f8 48%, #e2edf2 100%);
}

.anatomy-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hip-anatomy-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

#hip-anatomy-canvas:active {
  cursor: grabbing;
}

.anatomy-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 55% 42%, transparent 0%, transparent 30%, rgba(0,44,102,.08) 68%, rgba(0,44,102,.18) 100%),
    linear-gradient(90deg, rgba(247,249,251,.72), transparent 30%, transparent 70%, rgba(247,249,251,.82));
}

.anatomy-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--navy);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,44,102,.16);
  border-radius: var(--radius);
  transform: translate(-50%, -50%);
}

.anatomy-stage.is-ready .anatomy-loading {
  display: none;
}

.anatomy-model-required {
  z-index: 8;
  display: grid;
  width: min(390px, calc(100% - 40px));
  min-height: 0;
  gap: 10px;
  padding: 20px 22px;
  color: var(--navy);
  background: rgba(255,255,255,.94);
  border-color: rgba(0,44,102,.12);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(0,28,64,.12);
  text-align: left;
  backdrop-filter: blur(12px);
}

.anatomy-model-required > span {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.anatomy-model-required strong {
  font-size: 1rem;
  line-height: 1.35;
}

.anatomy-loading-track {
  position: relative;
  width: 100%;
  height: 3px;
  overflow: hidden;
  background: rgba(0,44,102,.1);
  border-radius: 999px;
}

.anatomy-loading-track i {
  display: block;
  width: 6%;
  height: 100%;
  background: var(--navy);
  border-radius: inherit;
  transition: width .24s ease;
}

.anatomy-model-required small {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.4;
}

.anatomy-stage.is-model-missing #hip-anatomy-canvas {
  cursor: default;
}

.anatomy-stage.is-model-missing .anatomy-present-toggle,
.anatomy-stage.is-model-missing .anatomy-view-controls,
.anatomy-stage.is-model-missing .anatomy-part-popover,
.anatomy-stage.is-model-missing .anatomy-rail,
.anatomy-stage.is-model-missing .anatomy-system-panel {
  display: none;
}

body.is-anatomy-presentation {
  overflow: hidden;
}

body.is-anatomy-presentation .site-header,
body.is-anatomy-presentation .floating-whatsapp {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
}

.anatomy-stage-grid {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(320px, 410px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: 132px 0 52px;
}

.anatomy-copy {
  max-width: 650px;
}

.anatomy-copy h1 {
  color: var(--navy);
  font-size: 4.05rem;
  line-height: 1.05;
}

.anatomy-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.12rem;
}

.anatomy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.anatomy-note {
  margin-top: 20px;
  color: rgba(24,33,52,.66) !important;
  font-size: .94rem !important;
}

.anatomy-viewer-top {
  position: absolute;
  top: 94px;
  left: 82px;
  right: auto;
  z-index: 4;
  max-width: 360px;
  pointer-events: none;
}

.anatomy-viewer-top > div,
.anatomy-search {
  pointer-events: auto;
}

.anatomy-viewer-top span,
.anatomy-search span {
  display: block;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.anatomy-viewer-top h1 {
  display: block;
  margin: 4px 0 0;
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.62rem;
  line-height: 1.08;
}

.anatomy-present-toggle {
  position: absolute;
  top: 94px;
  right: 24px;
  z-index: 6;
  min-height: 40px;
  padding: 0 15px;
  color: var(--navy);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(0,44,102,.16);
  border-radius: 999px;
  box-shadow: 0 16px 44px rgba(0,28,64,.1);
  backdrop-filter: blur(18px);
  font-size: .82rem;
  font-weight: 900;
  cursor: pointer;
}

.anatomy-view-controls {
  position: absolute;
  top: 160px;
  left: 82px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: min(420px, calc(100% - 116px));
}

.anatomy-view-controls button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--navy);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(0,44,102,.16);
  border-radius: 5px;
  box-shadow: 0 12px 30px rgba(0,28,64,.08);
  backdrop-filter: blur(16px);
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}

.anatomy-view-controls button[aria-pressed="true"] {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.anatomy-present-toggle[aria-pressed="true"] {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.anatomy-stage.is-presentation .anatomy-viewer-top,
.anatomy-stage.is-presentation .anatomy-rail,
.anatomy-stage.is-presentation .anatomy-system-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.anatomy-stage.is-presentation .anatomy-present-toggle {
  top: 18px;
  right: 18px;
}

.anatomy-part-popover {
  position: absolute;
  z-index: 7;
  width: min(238px, calc(100% - 28px));
  padding: 8px 10px 9px;
  color: var(--navy);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(0,44,102,.18);
  border-radius: 7px;
  box-shadow: 0 16px 36px rgba(0,28,64,.13);
  backdrop-filter: blur(16px);
  pointer-events: none;
  --connector-width: 34px;
  --connector-y: 50%;
}

.anatomy-part-popover::before,
.anatomy-part-popover::after {
  content: "";
  position: absolute;
  top: var(--connector-y);
  transform: translateY(-50%);
  pointer-events: none;
}

.anatomy-part-popover::before {
  width: var(--connector-width);
  height: 1px;
  background: linear-gradient(90deg, rgba(26,166,200,.2), rgba(26,166,200,.85));
}

.anatomy-part-popover::after {
  width: 7px;
  height: 7px;
  background: #1aa6c8;
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(26,166,200,.16);
}

.anatomy-part-popover.is-right::before {
  right: 100%;
}

.anatomy-part-popover.is-right::after {
  left: calc(-1 * var(--connector-width) - 3px);
}

.anatomy-part-popover.is-left::before {
  left: 100%;
  background: linear-gradient(90deg, rgba(26,166,200,.85), rgba(26,166,200,.2));
}

.anatomy-part-popover.is-left::after {
  right: calc(-1 * var(--connector-width) - 3px);
}

  .anatomy-part-popover[hidden] {
    display: none;
  }

  .anatomy-hover-tooltip {
    position: absolute;
    z-index: 8;
    display: grid;
    gap: 2px;
    min-width: 150px;
    max-width: 204px;
    padding: 8px 10px;
    color: var(--navy);
    background: rgba(249,252,253,.9);
    border: 1px solid rgba(26,166,200,.34);
    border-radius: 6px;
    box-shadow: 0 14px 30px rgba(0,38,76,.14), inset 0 1px 0 rgba(255,255,255,.78);
    backdrop-filter: blur(14px);
    pointer-events: none;
    transform: translateY(2px);
    animation: anatomy-tooltip-in .18s ease-out both;
  }

  .anatomy-hover-tooltip[hidden] {
    display: none;
  }

  .anatomy-hover-tooltip span {
    color: var(--gold);
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .anatomy-hover-tooltip strong {
    overflow: hidden;
    color: var(--navy);
    font-family: "Afacad", Arial, sans-serif;
    font-size: .86rem;
    font-weight: 900;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  @keyframes anatomy-tooltip-in {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(2px); }
  }

.anatomy-part-popover span {
  display: block;
  color: var(--gold);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.anatomy-part-popover strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-family: "Afacad", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.05;
}

.anatomy-part-popover p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.3;
}

.anatomy-stage.is-presentation .anatomy-part-popover {
  background: rgba(255,255,255,.84);
}

.anatomy-search {
  display: grid;
  gap: 7px;
}

.anatomy-search input {
  width: 100%;
  min-height: 40px;
  padding: 0 13px;
  color: var(--navy);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,44,102,.16);
  border-radius: 999px;
  outline: none;
  box-shadow: 0 16px 42px rgba(0,28,64,.08);
  backdrop-filter: blur(18px);
}

.anatomy-search input:focus {
  border-color: rgba(0,44,102,.36);
}

.anatomy-rail {
  position: absolute;
  left: 18px;
  top: 148px;
  z-index: 5;
  display: grid;
  gap: 8px;
  width: 54px;
  padding: 8px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(0,44,102,.15);
  border-radius: 999px;
  box-shadow: 0 22px 58px rgba(0,28,64,.13);
  backdrop-filter: blur(18px);
}

.anatomy-rail button {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--navy);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
}

.anatomy-rail button[aria-pressed="true"] {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.anatomy-rail span {
  font-size: .76rem;
  font-weight: 900;
}

.anatomy-rail small {
  position: absolute;
  left: 48px;
  top: 50%;
  min-width: 92px;
  padding: 6px 8px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  font-size: .74rem;
  opacity: 0;
  transform: translateY(-50%) translateX(-4px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.anatomy-rail button:hover small {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.anatomy-system-panel,
.anatomy-control-panel {
  align-self: end;
}

.anatomy-system-panel {
  position: absolute;
  right: 24px;
  top: 142px;
  z-index: 4;
  width: min(304px, calc(100% - 116px));
  max-height: calc(100svh - 170px);
  overflow: auto;
  padding: 14px;
  color: var(--navy);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(0,44,102,.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(0,28,64,.1);
  backdrop-filter: blur(20px);
}

.layer-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.layer-heading span {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.layer-heading strong {
  max-width: 160px;
  color: var(--navy);
  font-size: .9rem;
  line-height: 1.16;
  text-align: right;
}

.anatomy-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 9px;
}

.anatomy-presets button {
  min-height: 31px;
  color: var(--navy);
  background: rgba(0,44,102,.06);
  border: 1px solid rgba(0,44,102,.12);
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.anatomy-presets button:hover {
  background: var(--beige);
}

.anatomy-system-list,
.layer-toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.anatomy-system-row,
.layer-toggles button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 36px;
  padding: 7px 8px;
  color: var(--navy);
  background: rgba(0,44,102,.035);
  border: 1px solid rgba(0,44,102,.1);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.anatomy-system-row.is-filtered {
  display: none;
}

.anatomy-system-row[data-layer="pain"] {
  grid-column: 1 / -1;
}

.anatomy-selection-panel {
  display: grid;
  gap: 9px;
  margin-top: 10px;
  padding: 10px;
  color: var(--navy);
  background: rgba(0,44,102,.045);
  border: 1px solid rgba(0,44,102,.12);
  border-radius: var(--radius);
}

.anatomy-selection-panel > span,
.anatomy-selection-panel label span {
  color: var(--gold);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.anatomy-selection-panel > strong {
  color: var(--navy);
  font-size: .92rem;
  line-height: 1.1;
}

.anatomy-selection-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.anatomy-selection-actions button {
  min-height: 32px;
  padding: 0 8px;
  color: var(--navy);
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(0,44,102,.14);
  border-radius: var(--radius);
  font-size: .75rem;
  font-weight: 900;
  cursor: pointer;
}

.anatomy-selection-actions button:disabled {
  color: rgba(0,44,102,.36);
  cursor: not-allowed;
}

  .anatomy-selection-panel label {
    display: grid;
    gap: 5px;
  }

  .anatomy-selection-panel .anatomy-search {
    order: -1;
  }

  .anatomy-selection-panel .anatomy-search input[type="search"] {
    min-height: 34px;
    padding: 0 10px;
    color: var(--navy);
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(0,44,102,.16);
    border-radius: 5px;
    font: inherit;
    font-size: .8rem;
    outline: none;
  }

  .anatomy-selection-panel .anatomy-search input[type="search"]:focus {
    border-color: rgba(0,44,102,.52);
    box-shadow: 0 0 0 3px rgba(26,166,200,.12);
  }

  .anatomy-selection-panel input {
  width: 100%;
  accent-color: var(--gold);
}

.anatomy-system-row strong,
.anatomy-system-row small {
  display: block;
}

.anatomy-system-row strong {
  font-size: .82rem;
  line-height: 1.05;
}

.anatomy-system-row small {
  display: none;
}

.layer-toggles button:hover {
  transform: translateY(-2px);
}

.anatomy-system-row:hover,
.layer-toggles button[aria-pressed="true"] {
  transform: translateY(-1px);
}

.anatomy-system-row[aria-pressed="true"],
.layer-toggles button[aria-pressed="true"] {
  color: var(--navy);
  background: var(--beige);
  border-color: rgba(184,162,106,.4);
}

.layer-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,.12);
}

.is-bone { background: #f1e8d5; }
.is-skin { background: #d7a795; }
.is-cartilage { background: #42d8cf; }
.is-ligament { background: #d7b85d; }
.is-muscle { background: #d65d66; }
.is-muscle-deep { background: #9e749c; }
.is-tendon { background: #f2a65a; }
.is-bursa { background: #7cc6e6; }
.is-nerve { background: #f0cf40; }
.is-vessel { background: #cf4054; }
.is-pain { background: #ff4f4f; }

.anatomy-range {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.anatomy-range input {
  width: 100%;
  accent-color: var(--gold);
}

.anatomy-education {
  background:
    linear-gradient(90deg, rgba(0,44,102,.06), transparent 52%),
    var(--paper);
}

.anatomy-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.anatomy-facts article {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(0,28,64,.06);
}

.anatomy-facts span {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.anatomy-facts h3 {
  margin-top: 32px;
  color: var(--navy);
  font-size: 1.34rem;
  line-height: 1.16;
}

.anatomy-facts p {
  margin: 12px 0 0;
  color: var(--muted);
}

.model-credit {
  margin-top: 18px;
  color: rgba(24,33,52,.62);
  font-size: .82rem;
}

.model-credit a {
  color: var(--navy);
  font-weight: 800;
}

.robot-hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.robot-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .74;
}

.robot-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,26,59,.94), rgba(3,26,59,.25));
}

.robot-copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 130px 0 64px;
}

.robot-copy h1 {
  color: var(--white);
  font-size: 4.1rem;
  line-height: 1.05;
}

.robot-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255,255,255,.78);
}

.robot-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.robot-steps article {
  min-height: 180px;
  padding: 24px;
}

.robot-steps p {
  margin: 36px 0 0;
  color: var(--muted);
}

.location-list {
  display: grid;
  gap: 12px;
}

.location-list article {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
}

.location-list h2 {
  color: var(--navy);
  font-size: 1.72rem;
  line-height: 1.16;
}

.location-list p {
  margin: 0;
  color: var(--muted);
}

.location-list a {
  color: var(--navy);
  font-weight: 800;
}

.faq-list {
  max-width: 860px;
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  padding: 18px 22px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.contact-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 116px 0 70px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.contact-page-grid p {
  max-width: 560px;
  color: rgba(255,255,255,.76);
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--white);
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  padding: 12px 13px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--beige);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  padding: 34px 0 18px;
  color: rgba(255,255,255,.74);
  background:
    linear-gradient(135deg, #02152f 0%, #08234b 58%, #031a3b 100%);
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-panel {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(260px, 1fr) minmax(230px, .7fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 26px;
}

.footer-brand img {
  width: 178px;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-contact span,
.footer-bottom p {
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px 20px;
}

.footer-links a,
.footer-contact a,
.footer-bottom a {
  color: var(--beige);
  font-weight: 800;
}

.footer-contact {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.footer-contact strong {
  color: var(--white);
  font-size: .88rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .86rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: #1c9e55;
  border-radius: 50%;
  box-shadow: 0 16px 38px rgba(0,0,0,.25);
  font-size: .82rem;
  font-weight: 900;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .58s ease, transform .58s ease;
}

.home-hero [data-reveal],
.page-hero [data-reveal],
.robot-hero [data-reveal],
.contact-page-grid [data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 68px;
    column-gap: 12px;
    padding: 10px clamp(14px, 4vw, 24px);
  }

  .brand img,
  .site-header.is-inner .brand img,
  .site-header.is-scrolled .brand img,
  .site-header.is-open .brand img {
    width: 148px;
  }

  .main-nav {
    position: fixed;
    inset: 76px 14px auto;
    display: none;
    flex-direction: column;
    gap: 0;
    width: auto;
    justify-self: auto;
    padding: 10px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .main-nav {
    display: flex;
    color: var(--navy);
    background: var(--white);
    border-color: var(--line);
  }
  .main-nav a { padding: 13px; }
  .header-cta { display: none; }
  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .hero-grid,
  .dual-panel,
  .page-hero-grid,
  .cta-grid,
  .feature-strip,
  .split-page,
  .lab-output,
  .contact-page-grid,
  .anatomy-stage-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .robot-copy h1,
  .anatomy-copy h1 {
    font-size: 3.18rem;
  }

  .statement h2,
  .strip-content h2,
  .page-hero h1,
  .contact-page-grid h1,
  .rich-text h2,
  .lab-output h2,
  .cta-grid h2 {
    font-size: 2.35rem;
  }

  .map-title h2 {
    font-size: 1.95rem;
  }

  .hero-photo {
    inset: 0;
    width: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .home-hero,
  .hero-grid {
    min-height: 760px;
  }

  .quick-nav,
  .cards-three,
  .authority-grid,
  .treatment-lab,
  .treatment-focus-grid,
  .anatomy-facts,
  .robot-steps,
  .map-rail {
    grid-template-columns: 1fr 1fr;
  }

  .anatomy-stage-grid {
    align-content: end;
    padding-top: 116px;
  }

  .anatomy-viewer-top {
    left: 78px;
    right: 16px;
    grid-template-columns: auto minmax(180px, 300px);
  }

  .anatomy-system-panel {
    right: 16px;
    width: min(340px, calc(100% - 110px));
  }

  .anatomy-hud {
    left: 78px;
    width: min(480px, calc(100% - 444px));
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .timeline-intro {
    position: static;
  }

  .treatment-focus-grid article,
  .treatment-focus-grid article:nth-child(n+4) {
    grid-column: auto;
  }

  .map-title {
    grid-template-columns: 1fr;
  }

  .map-rail::before {
    display: none;
  }

  .map-rail article:nth-child(2n) {
    border-right: 0;
  }

  .location-list article {
    grid-template-columns: 1fr;
  }

  .footer-panel {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 76px;
    font-size: 17px;
  }

  body.is-anatomy-presentation {
    padding-bottom: 0;
  }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { padding: 12px 14px; }
  .brand img,
  .site-header.is-inner .brand img,
  .site-header.is-scrolled .brand img,
  .site-header.is-open .brand img { width: 136px; }

  .home-hero,
  .hero-grid {
    min-height: 86svh;
  }

  .hero-photo img {
    object-position: 52% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2,16,38,.9), rgba(0,44,102,.62), rgba(0,44,102,.24)),
      linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,17,41,.78));
  }

  .hero-grid {
    padding: 98px 0 28px;
    align-items: end;
  }

  .hero-copy h1,
  .robot-copy h1 {
    font-size: 2.42rem;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1.04rem;
  }

  .hero-actions,
  .cta-grid {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .quick-nav,
  .cards-three,
  .authority-grid,
  .treatment-lab,
  .treatment-focus-grid,
  .anatomy-facts,
  .robot-steps,
  .map-rail {
    grid-template-columns: 1fr;
  }

  .anatomy-stage {
    min-height: 980px;
  }

  .anatomy-scene {
    bottom: auto;
    height: 430px;
    min-height: 430px;
    max-height: 520px;
  }

  .anatomy-vignette {
    background:
      linear-gradient(180deg, rgba(247,249,251,.16) 0%, rgba(247,249,251,.02) 48%, rgba(231,238,243,.94) 100%);
  }

  .anatomy-viewer-top {
    top: 82px;
    left: 14px;
    right: 14px;
    display: block;
  }

  .anatomy-viewer-top h1 {
    font-size: 1.02rem;
  }

  .anatomy-model-required {
    top: 64%;
    padding: 18px;
  }

  .anatomy-present-toggle {
    top: 174px;
    right: 14px;
    min-height: 36px;
    padding: 0 12px;
    font-size: .74rem;
  }

  .anatomy-view-controls {
    top: 126px;
    left: 14px;
    max-width: calc(100% - 28px);
  }

  .anatomy-view-controls button {
    min-height: 30px;
    padding: 0 8px;
    font-size: .7rem;
  }

  .anatomy-stage.is-presentation {
    min-height: 100svh;
  }

  .anatomy-stage.is-presentation .anatomy-scene {
    height: 100svh;
    min-height: 100svh;
    max-height: none;
  }

  .anatomy-stage.is-presentation .anatomy-present-toggle {
    top: 12px;
    right: 12px;
  }

  .anatomy-part-popover {
    width: min(224px, calc(100% - 28px));
    padding: 8px 9px;
  }

  .anatomy-part-popover strong {
    font-size: .93rem;
  }

  .anatomy-part-popover p {
    font-size: .72rem;
  }

  .anatomy-search {
    display: none;
  }

  .anatomy-rail {
    left: 14px;
    right: 14px;
    top: 442px;
    width: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-radius: var(--radius);
  }

  .anatomy-rail button {
    width: 100%;
    border-radius: var(--radius);
  }

  .anatomy-rail small {
    display: none;
  }

  .anatomy-actions {
    align-items: stretch;
    margin-top: 12px;
  }

  .anatomy-actions .btn {
    width: calc(50% - 5px);
    min-width: 0;
    padding: 0 10px;
  }

  .anatomy-note {
    display: none;
  }

  .anatomy-system-panel {
    left: 14px;
    right: 14px;
    top: 562px;
    width: auto;
    max-height: none;
    padding: 14px;
  }

  .anatomy-presets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .anatomy-presets button {
    padding: 0 4px;
    font-size: .7rem;
  }

  .layer-heading {
    display: grid;
  }

  .layer-heading strong {
    max-width: none;
    text-align: left;
  }

  .anatomy-system-list {
    display: none;
  }

  .layer-toggles {
    grid-template-columns: 1fr;
  }

  .map-rail article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .map-rail article:last-child {
    border-bottom: 0;
  }

  .quick-nav a {
    min-height: 58px;
  }

  .section,
  .section.compact {
    padding: 42px 0;
  }

  .statement h2,
  .strip-content h2,
  .page-hero h1,
  .contact-page-grid h1,
  .rich-text h2,
  .lab-output h2,
  .cta-grid h2,
  .section-lead h2,
  .timeline-intro h2 {
    font-size: 1.86rem;
  }

  .map-title h2 {
    font-size: 1.55rem;
  }

  .signature-map::after {
    right: -28px;
    bottom: -50px;
    font-size: 9rem;
  }

  .feature-strip {
    min-height: auto;
  }

  .strip-image {
    min-height: 320px;
  }

  .strip-content {
    padding: 34px 20px;
  }

  .page-hero {
    padding: 104px 0 34px;
  }

  .image-stack img:nth-child(2) {
    width: 88%;
    margin-top: -24px;
  }

  .lab-card {
    min-height: 104px;
  }

  .lab-card strong {
    margin-top: 14px;
  }

  .authority-grid {
    border-left: 0;
  }

  .authority-grid article {
    min-height: auto;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(0,44,102,.12);
  }

  .authority-grid article:last-child {
    border-bottom: 0;
  }

  .timeline-list article {
    padding: 20px 20px 20px 24px;
  }

  .footer-panel {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    padding: 30px 0 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    left: 14px;
    right: 14px;
    width: auto;
    height: 54px;
    bottom: 14px;
    border-radius: var(--radius);
    font-size: 0;
  }

  .floating-whatsapp::before {
    content: "Agendar pelo WhatsApp";
    font-size: .92rem;
  }
}

/* Final cascade for the anatomy viewer. */
.anatomy-stage {
  background:
    radial-gradient(circle at 50% 41%, #fff 0%, #f8fafb 52%, #eef3f5 100%);
}

.anatomy-vignette {
  background:
    radial-gradient(circle at 50% 42%, transparent 20%, rgba(16,59,89,.025) 58%, rgba(16,59,89,.08) 100%);
}

.anatomy-system-panel {
  width: min(332px, calc(100% - 116px));
  padding: 13px;
  background: rgba(249,252,253,.76);
  border-color: rgba(11,55,91,.16);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(13,49,79,.12), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(22px) saturate(120%);
}

.anatomy-present-toggle,
.anatomy-view-controls button,
.anatomy-part-popover,
.anatomy-hover-tooltip {
  background: rgba(249,252,253,.76);
  border-color: rgba(11,55,91,.16);
  box-shadow: 0 20px 54px rgba(13,49,79,.12), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(22px) saturate(120%);
}

.anatomy-rail {
  background: rgba(248,252,253,.72);
  border-color: rgba(11,55,91,.15);
  box-shadow: 0 20px 54px rgba(13,49,79,.12), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(20px) saturate(120%);
}

@media (max-width: 640px) {
  .anatomy-stage { min-height: 1140px; }
  .anatomy-system-panel { top: 548px; padding: 11px; }
  .anatomy-vignette {
    background:
      radial-gradient(circle at 50% 36%, transparent 12%, rgba(20,67,97,.06) 60%, rgba(236,244,247,.92) 100%),
      linear-gradient(180deg, rgba(247,249,251,.08), rgba(231,238,243,.92));
  }
  .anatomy-part-popover { display: none; }
}

/* Teaching tools for the anatomy viewer. */
.anatomy-lab-toggle {
  position: absolute;
  top: 94px;
  right: 166px;
  z-index: 7;
  min-height: 40px;
  padding: 0 14px;
  color: var(--navy);
  background: rgba(249,252,253,.76);
  border: 1px solid rgba(11,55,91,.16);
  border-radius: 5px;
  box-shadow: 0 16px 38px rgba(13,49,79,.1), inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.anatomy-lab-toggle:hover,
.anatomy-lab-toggle[aria-expanded="true"] {
  background: rgba(226,242,246,.9);
  border-color: rgba(26,166,200,.36);
  transform: translateY(-1px);
}

.anatomy-study-tools {
  position: absolute;
  top: 210px;
  left: 82px;
  z-index: 9;
  width: min(318px, calc(100% - 456px));
  max-height: calc(100svh - 238px);
  overflow: auto;
  padding: 12px;
  color: var(--navy);
  background: rgba(247,251,252,.83);
  border: 1px solid rgba(11,55,91,.16);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(8,42,70,.16), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(22px) saturate(125%);
  scrollbar-width: thin;
}

.anatomy-study-tools[hidden] {
  display: none;
}

.anatomy-study-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,44,102,.1);
}

.anatomy-study-head span,
.anatomy-study-label span {
  display: block;
  color: var(--gold);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.anatomy-study-head strong {
  display: block;
  margin-top: 2px;
  font-family: "Afacad", Arial, sans-serif;
  font-size: .96rem;
  line-height: 1.1;
}

.anatomy-study-close,
.anatomy-study-label button {
  min-height: 26px;
  padding: 0 7px;
  color: rgba(0,44,102,.72);
  background: transparent;
  border: 1px solid rgba(0,44,102,.14);
  border-radius: 4px;
  font: inherit;
  font-size: .66rem;
  font-weight: 900;
  cursor: pointer;
}

.anatomy-study-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  margin: 10px 0;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(0,44,102,.1);
}

.anatomy-study-tabs button {
  min-height: 28px;
  padding: 0 3px;
  color: rgba(0,44,102,.65);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: .66rem;
  font-weight: 900;
  cursor: pointer;
}

.anatomy-study-tabs button[aria-selected="true"] {
  color: var(--navy);
  background: rgba(207,232,238,.64);
  border-color: rgba(26,166,200,.2);
}

.anatomy-study-pane {
  display: grid;
  gap: 10px;
}

.anatomy-study-pane[hidden] {
  display: none;
}

.anatomy-study-actions,
.anatomy-sequence-buttons,
.anatomy-motion-grid,
.anatomy-clinical-grid {
  display: grid;
  gap: 5px;
}

.anatomy-study-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.anatomy-sequence-buttons,
.anatomy-clinical-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.anatomy-motion-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.anatomy-study-actions button,
.anatomy-sequence-buttons button,
.anatomy-motion-grid button,
.anatomy-clinical-grid button,
.anatomy-study-reset {
  min-height: 31px;
  padding: 5px 7px;
  color: var(--navy);
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(0,44,102,.13);
  border-radius: 4px;
  font: inherit;
  font-size: .69rem;
  font-weight: 900;
  line-height: 1.08;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.anatomy-study-actions button:hover,
.anatomy-study-actions button[aria-pressed="true"],
.anatomy-sequence-buttons button:hover,
.anatomy-motion-grid button:hover,
.anatomy-clinical-grid button:hover,
.anatomy-clinical-grid button[aria-pressed="true"],
.anatomy-study-reset:hover:not(:disabled) {
  background: rgba(225,241,245,.86);
  border-color: rgba(26,166,200,.34);
  transform: translateY(-1px);
}

.anatomy-study-reset:disabled {
  color: rgba(0,44,102,.38);
  cursor: not-allowed;
}

.anatomy-study-range,
.anatomy-clipping-controls,
.anatomy-layer-sequence {
  display: grid;
  gap: 6px;
  padding: 8px;
  background: rgba(0,44,102,.035);
  border: 1px solid rgba(0,44,102,.09);
  border-radius: 5px;
}

.anatomy-study-range > span,
.anatomy-clipping-controls label span,
.anatomy-layer-sequence small,
.anatomy-study-note,
.anatomy-pathology-summary {
  color: rgba(24,33,52,.66);
  font-size: .68rem;
  line-height: 1.35;
}

.anatomy-study-range > span {
  font-weight: 800;
}

.anatomy-study-range input,
.anatomy-clipping-controls input {
  width: 100%;
  accent-color: var(--gold);
}

.anatomy-clipping-controls label {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.anatomy-study-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.anatomy-study-label strong {
  color: var(--navy);
  font-size: .7rem;
  line-height: 1.1;
  text-align: right;
}

.anatomy-study-note,
.anatomy-pathology-summary {
  margin: 0;
}

.anatomy-measurement-readout {
  display: block;
  min-height: 31px;
  padding: 8px;
  color: #174a69;
  background: rgba(207,232,238,.5);
  border: 1px solid rgba(26,166,200,.17);
  border-radius: 4px;
  font-size: .72rem;
  line-height: 1.15;
}

.anatomy-stage.is-presentation .anatomy-lab-toggle,
.anatomy-stage.is-presentation .anatomy-study-tools {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

@media (max-width: 980px) {
  .anatomy-lab-toggle { right: 24px; top: 142px; }
  .anatomy-study-tools { left: 72px; top: 210px; width: min(318px, calc(100% - 412px)); }
}

@media (max-width: 640px) {
  .anatomy-lab-toggle {
    top: 174px;
    left: 14px;
    right: auto;
    min-height: 36px;
    font-size: .71rem;
  }

  .anatomy-study-tools {
    top: 218px;
    left: 14px;
    right: 14px;
    width: auto;
    max-height: 200px;
    padding: 10px;
  }

  .anatomy-study-head { padding-bottom: 7px; }
  .anatomy-study-tabs { margin: 7px 0; padding-bottom: 6px; }
  .anatomy-study-pane { gap: 7px; }
  .anatomy-study-range,
  .anatomy-clipping-controls,
  .anatomy-layer-sequence { padding: 7px; }
}

/* Presentation and teaching extensions for the anatomy viewer. */
.anatomy-study-tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.anatomy-tour-route {
  display: grid;
  gap: 5px;
}

.anatomy-tour-route > span,
.anatomy-rich-details > span,
.anatomy-favorites > div > span {
  color: var(--gold);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.anatomy-tour-route select {
  width: 100%;
  min-height: 32px;
  padding: 0 8px;
  color: var(--navy);
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(0,44,102,.14);
  border-radius: 4px;
  font: inherit;
  font-size: .71rem;
  font-weight: 800;
}

.anatomy-tour-progress {
  display: block;
  min-height: 31px;
  padding: 8px;
  color: #174a69;
  background: rgba(207,232,238,.42);
  border: 1px solid rgba(26,166,200,.17);
  border-radius: 4px;
  font-size: .71rem;
  line-height: 1.15;
}

.anatomy-tour-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.anatomy-tour-actions button,
.anatomy-favorites button,
.anatomy-category-legend summary {
  min-height: 30px;
  padding: 5px 7px;
  color: var(--navy);
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(0,44,102,.13);
  border-radius: 4px;
  font: inherit;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.08;
  cursor: pointer;
}

.anatomy-tour-actions button[aria-pressed="true"],
.anatomy-tour-actions button:hover,
.anatomy-favorites button:hover {
  background: rgba(225,241,245,.86);
  border-color: rgba(26,166,200,.34);
}

.anatomy-category-legend {
  margin: 0 0 9px;
  border-top: 1px solid rgba(0,44,102,.1);
  border-bottom: 1px solid rgba(0,44,102,.1);
}

.anatomy-category-legend summary {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 29px;
  padding: 0;
  background: transparent;
  border: 0;
  list-style: none;
}

.anatomy-category-legend summary::-webkit-details-marker { display: none; }

.anatomy-category-legend summary::after {
  content: "+";
  margin-left: auto;
  color: var(--gold);
  font-size: .95rem;
}

.anatomy-category-legend[open] summary::after { content: "-"; }

.anatomy-category-legend > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 0 0 8px;
}

.anatomy-legend-item {
  display: flex;
  min-width: 0;
  gap: 6px;
  align-items: center;
  color: rgba(0,44,102,.74);
  font-size: .62rem;
  font-weight: 800;
  line-height: 1.12;
}

.anatomy-legend-item i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--legend-color, #1aa6c8);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--legend-color, #1aa6c8) 15%, transparent);
}

.anatomy-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin: 8px 0 0;
  color: rgba(0,44,102,.64);
  font-size: .61rem;
  font-weight: 800;
  line-height: 1.25;
}

.anatomy-breadcrumb b {
  color: var(--gold);
  font-size: .72rem;
}

.anatomy-rich-details {
  display: grid;
  gap: 7px;
  margin-top: 8px;
  padding: 8px;
  background: rgba(207,232,238,.2);
  border: 1px solid rgba(26,166,200,.13);
  border-radius: 5px;
}

.anatomy-rich-details[hidden] { display: none; }

.anatomy-rich-details p {
  margin: 0;
  color: rgba(0,44,102,.8);
  font-size: .68rem;
  line-height: 1.35;
}

.anatomy-rich-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
}

.anatomy-rich-details dl > div {
  min-width: 0;
  padding: 5px 6px;
  background: rgba(255,255,255,.48);
  border-radius: 4px;
}

.anatomy-rich-details dt {
  color: var(--gold);
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.anatomy-rich-details dd {
  margin: 3px 0 0;
  color: rgba(0,44,102,.77);
  font-size: .64rem;
  line-height: 1.25;
}

.anatomy-selection-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.anatomy-selection-actions button[data-selected-cinematic][aria-pressed="true"],
.anatomy-selection-actions button[data-selected-favorite][aria-pressed="true"] {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.anatomy-favorites {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,44,102,.1);
}

.anatomy-favorites > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.anatomy-favorites > div:first-child button {
  min-height: 24px;
  padding: 0 6px;
  color: rgba(0,44,102,.62);
  background: transparent;
}

.anatomy-favorites > p {
  margin: 0;
  color: rgba(0,44,102,.58);
  font-size: .65rem;
  line-height: 1.3;
}

.anatomy-favorites > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.anatomy-favorites > div:last-child button {
  min-height: 27px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anatomy-presentation-dock {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 12;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 8px 9px 8px 12px;
  color: rgba(255,255,255,.84);
  background: rgba(0,29,61,.58);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 5px;
  box-shadow: 0 16px 42px rgba(0,27,54,.24);
  backdrop-filter: blur(16px);
}

.anatomy-presentation-dock[hidden] { display: none; }

.anatomy-presentation-dock > span {
  font-size: .67rem;
  font-weight: 800;
}

.anatomy-presentation-dock > div {
  display: flex;
  gap: 5px;
}

.anatomy-presentation-dock button {
  min-height: 28px;
  padding: 0 7px;
  color: var(--white);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  font: inherit;
  font-size: .63rem;
  font-weight: 900;
  cursor: pointer;
}

.anatomy-stage.is-presentation.is-presentation-controls-visible .anatomy-viewer-top,
.anatomy-stage.is-presentation.is-presentation-controls-visible .anatomy-view-controls,
.anatomy-stage.is-presentation.is-presentation-controls-visible .anatomy-rail,
.anatomy-stage.is-presentation.is-presentation-controls-visible .anatomy-system-panel,
.anatomy-stage.is-presentation.is-presentation-controls-visible .anatomy-lab-toggle {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.anatomy-stage.is-presentation.is-presentation-controls-visible .anatomy-study-tools {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.anatomy-stage.is-presentation {
  min-height: 100svh;
}

.anatomy-stage.is-presentation .anatomy-scene {
  height: 100svh;
  min-height: 100svh;
  max-height: none;
}

.anatomy-stage.is-presentation .anatomy-view-controls {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

@media (max-width: 640px) {
  .anatomy-study-tabs { font-size: .59rem; }
  .anatomy-selection-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anatomy-rich-details dl { grid-template-columns: 1fr; }
  .anatomy-presentation-dock {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: space-between;
  }
  .anatomy-presentation-dock > span { display: none; }
  .anatomy-presentation-dock > div { width: 100%; }
  .anatomy-presentation-dock button { flex: 1; }
}

/* Reduced interface: the model stays primary until the user asks for context. */
.anatomy-rail {
  display: none;
}

.anatomy-lab-toggle,
.anatomy-present-toggle {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 5px;
  box-shadow: 0 10px 28px rgba(13,49,79,.1), inset 0 1px 0 rgba(255,255,255,.86);
  font-size: .71rem;
}

.anatomy-lab-toggle {
  top: 94px;
  right: 116px;
}

.anatomy-present-toggle {
  top: 94px;
  right: 24px;
}

.anatomy-view-controls {
  top: 138px;
  left: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity .2s ease, transform .2s ease;
}

.anatomy-stage.is-study-open .anatomy-view-controls {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.anatomy-viewer-top {
  top: 96px;
  left: 24px;
}

.anatomy-viewer-top span {
  color: rgba(0,44,102,.58);
  font-size: .58rem;
}

.anatomy-viewer-top h1 {
  font-family: "Afacad", Arial, sans-serif;
  font-size: .95rem;
  font-weight: 800;
}

.anatomy-study-tools {
  top: 150px;
  left: 24px;
  width: min(306px, calc(100% - 48px));
  max-height: calc(100svh - 178px);
  padding: 11px;
  border-radius: 7px;
  box-shadow: 0 22px 62px rgba(8,42,70,.14), inset 0 1px 0 rgba(255,255,255,.92);
}

.anatomy-study-search {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
}

.anatomy-study-search span {
  color: var(--gold);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.anatomy-study-search input {
  width: 100%;
  min-height: 32px;
  padding: 0 9px;
  color: var(--navy);
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(0,44,102,.13);
  border-radius: 4px;
  font: inherit;
  font-size: .72rem;
  outline: none;
}

.anatomy-study-search input:focus {
  border-color: rgba(26,166,200,.48);
  box-shadow: 0 0 0 3px rgba(26,166,200,.1);
}

.anatomy-timeline-control > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.anatomy-timeline-control strong {
  color: var(--navy);
  font-size: .62rem;
  text-align: right;
}

.anatomy-study-secondary {
  min-height: 29px;
  padding: 0 7px;
  color: rgba(0,44,102,.7);
  background: transparent;
  border: 1px solid rgba(0,44,102,.13);
  border-radius: 4px;
  font: inherit;
  font-size: .67rem;
  font-weight: 900;
  cursor: pointer;
}

.anatomy-system-panel {
  top: 94px;
  right: 24px;
  width: min(318px, calc(100% - 48px));
  max-height: calc(100svh - 122px);
  padding: 12px;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}

.anatomy-stage.is-study-open .anatomy-system-panel,
.anatomy-stage.has-anatomy-selection .anatomy-system-panel {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.anatomy-stage.has-anatomy-selection:not(.is-study-open) .anatomy-system-panel {
  top: 132px;
  width: min(296px, calc(100% - 48px));
}

.anatomy-stage.has-anatomy-selection:not(.is-study-open) .layer-heading,
.anatomy-stage.has-anatomy-selection:not(.is-study-open) .anatomy-presets,
.anatomy-stage.has-anatomy-selection:not(.is-study-open) .anatomy-category-legend,
.anatomy-stage.has-anatomy-selection:not(.is-study-open) .anatomy-tree,
.anatomy-stage.has-anatomy-selection:not(.is-study-open) .anatomy-favorites,
.anatomy-stage.has-anatomy-selection:not(.is-study-open) .anatomy-actions,
.anatomy-stage.has-anatomy-selection:not(.is-study-open) .anatomy-range {
  display: none;
}

.anatomy-selection-panel {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.anatomy-selection-primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.anatomy-selection-primary button {
  min-height: 32px;
  padding: 0 8px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 4px;
  font: inherit;
  font-size: .68rem;
  font-weight: 900;
  cursor: pointer;
}

.anatomy-selection-primary button:disabled {
  color: rgba(0,44,102,.35);
  background: rgba(0,44,102,.05);
  border-color: rgba(0,44,102,.1);
  cursor: not-allowed;
}

.anatomy-selection-more {
  margin-top: 2px;
  padding-top: 7px;
  border-top: 1px solid rgba(0,44,102,.1);
}

.anatomy-selection-more summary {
  color: rgba(0,44,102,.66);
  font-size: .66rem;
  font-weight: 900;
  cursor: pointer;
}

.anatomy-selection-more[open] summary {
  margin-bottom: 7px;
}

.anatomy-selection-more label {
  display: grid;
  gap: 5px;
  margin-top: 7px;
}

.anatomy-selection-more label span {
  color: var(--gold);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.anatomy-selection-more input { width: 100%; accent-color: var(--gold); }

.anatomy-stage.is-surgical {
  background:
    radial-gradient(circle at 50% 40%, rgba(54,85,108,.26), rgba(4,18,33,.96) 78%),
    #071321;
}

.anatomy-stage.is-surgical .anatomy-vignette {
  background: radial-gradient(circle at 50% 44%, transparent 16%, rgba(1,9,18,.64) 100%);
}

.anatomy-stage.is-surgical .anatomy-viewer-top h1,
.anatomy-stage.is-surgical .anatomy-viewer-top span {
  color: rgba(241,248,252,.84);
}

@media (max-width: 640px) {
  .anatomy-lab-toggle { top: 92px; left: auto; right: 102px; }
  .anatomy-present-toggle { top: 92px; right: 14px; }
  .anatomy-viewer-top { top: 96px; left: 14px; max-width: 110px; }
  .anatomy-viewer-top span { display: none; }
  .anatomy-study-tools { top: 138px; left: 14px; right: 14px; width: auto; max-height: min(520px, calc(100svh - 166px)); }
  .anatomy-system-panel,
  .anatomy-stage.has-anatomy-selection:not(.is-study-open) .anatomy-system-panel { top: 138px; right: 14px; left: 14px; width: auto; max-height: min(590px, calc(100svh - 166px)); }
  .anatomy-view-controls { top: 134px; left: 14px; right: 14px; max-width: none; }
}

/* Premium anatomy workspace: controls stay quiet until the user asks for them. */
.anatomy-present-toggle {
  display: none;
}

.anatomy-lab-toggle {
  top: 94px;
  right: 70px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  color: rgba(0, 44, 102, .82);
  background: rgba(252, 254, 255, .72);
  border-color: rgba(0, 44, 102, .12);
  box-shadow: 0 8px 28px rgba(8, 42, 70, .08);
  backdrop-filter: blur(14px);
}

.anatomy-lab-toggle > span {
  font-size: .98rem;
  font-weight: 500;
  line-height: 1;
}

.anatomy-actions-toggle {
  position: absolute;
  top: 94px;
  right: 24px;
  z-index: 14;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0 0 5px;
  color: rgba(0, 44, 102, .86);
  background: rgba(252, 254, 255, .72);
  border: 1px solid rgba(0, 44, 102, .12);
  border-radius: 5px;
  box-shadow: 0 8px 28px rgba(8, 42, 70, .08);
  backdrop-filter: blur(14px);
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background .22s ease-out, border-color .22s ease-out, transform .22s ease-out;
}

.anatomy-actions-toggle:hover,
.anatomy-actions-toggle[aria-expanded="true"] {
  background: rgba(231, 244, 247, .9);
  border-color: rgba(26, 166, 200, .3);
  transform: translateY(-1px);
}

.anatomy-actions-menu {
  position: absolute;
  top: 134px;
  right: 24px;
  z-index: 15;
  display: grid;
  width: 174px;
  padding: 5px;
  background: rgba(251, 253, 254, .92);
  border: 1px solid rgba(0, 44, 102, .11);
  border-radius: 6px;
  box-shadow: 0 20px 48px rgba(8, 42, 70, .14);
  backdrop-filter: blur(20px) saturate(120%);
  animation: anatomy-panel-in .24s ease-out both;
}

.anatomy-actions-menu[hidden] { display: none; }

.anatomy-actions-menu button {
  min-height: 30px;
  padding: 0 8px;
  color: rgba(0, 44, 102, .78);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: .68rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease-out, color .18s ease-out;
}

.anatomy-actions-menu button:hover {
  color: var(--navy);
  background: rgba(26, 166, 200, .1);
}

.anatomy-viewer-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity .24s ease-out, transform .24s ease-out;
}

.anatomy-stage.is-study-open .anatomy-viewer-top {
  opacity: 1;
  transform: none;
}

.anatomy-study-tools {
  top: 94px;
  left: 24px;
  width: min(304px, calc(100% - 400px));
  max-height: calc(100svh - 122px);
  padding: 14px;
  border: 1px solid rgba(0, 44, 102, .1);
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(8, 42, 70, .13);
  opacity: 0;
  transform: translateX(-10px) scale(.985);
  transform-origin: top left;
  transition: opacity .26s ease-out, transform .26s ease-out;
}

.anatomy-study-tools.is-visible {
  opacity: 1;
  transform: none;
}

.anatomy-study-tools[hidden] { display: none; }

.anatomy-study-head > div > span {
  font-size: .57rem;
}

.anatomy-study-head > div > strong {
  font-size: .9rem;
}

.anatomy-study-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.anatomy-study-tabs button {
  min-height: 30px;
  font-size: .61rem;
}

.anatomy-study-tools [data-tool-context] {
  display: none;
}

.anatomy-stage[data-tool-context="explode"] .anatomy-study-tools [data-tool-context="explode"],
.anatomy-stage[data-tool-context="rx"] .anatomy-study-tools [data-tool-context="rx"],
.anatomy-stage[data-tool-context="surgical"] .anatomy-study-tools [data-tool-context="surgical"],
.anatomy-stage[data-tool-context="timeline"] .anatomy-study-tools [data-tool-context="timeline"] {
  display: grid;
  animation: anatomy-panel-in .22s ease-out both;
}

.anatomy-stage[data-tool-context="timeline"] .anatomy-layer-sequence {
  display: grid;
}

.anatomy-study-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.anatomy-study-actions button,
.anatomy-sequence-buttons button,
.anatomy-motion-grid button,
.anatomy-clinical-grid button,
.anatomy-study-reset,
.anatomy-study-secondary {
  min-height: 32px;
  box-shadow: none;
}

.anatomy-system-panel {
  top: 128px;
  right: 24px;
  width: auto;
  max-height: calc(100svh - 156px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: opacity .24s ease-out, transform .24s ease-out, width .32s ease-out, padding .32s ease-out;
}

.anatomy-system-panel > :not(.anatomy-selection-panel) {
  display: none;
}

.anatomy-stage.is-study-open .anatomy-system-panel {
  top: 94px;
  width: min(306px, calc(100% - 400px));
  padding: 12px;
  background: rgba(251, 253, 254, .86);
  border: 1px solid rgba(0, 44, 102, .1);
  box-shadow: 0 20px 58px rgba(8, 42, 70, .1);
  backdrop-filter: blur(18px);
  animation: anatomy-panel-in .24s ease-out both;
}

.anatomy-stage.is-study-open .anatomy-system-panel > :not(.anatomy-selection-panel) {
  display: grid;
}

.anatomy-selection-panel {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.anatomy-selection-empty {
  margin: 0;
  color: rgba(0, 44, 102, .56);
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
}

[data-anatomy-selection-content] {
  width: min(296px, calc(100vw - 48px));
  padding: 12px;
  background: rgba(251, 253, 254, .87);
  border: 1px solid rgba(0, 44, 102, .1);
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(8, 42, 70, .11);
  backdrop-filter: blur(18px);
  animation: anatomy-panel-in .24s ease-out both;
}

[data-anatomy-selection-content][hidden],
.anatomy-selection-empty[hidden] { display: none; }

.anatomy-stage.is-study-open [data-anatomy-selection-content] {
  width: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(0, 44, 102, .09);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.anatomy-stage.is-study-open .anatomy-selection-empty {
  display: none;
}

.anatomy-presentation-dock {
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 5px;
  padding: 5px;
  background: rgba(0, 29, 61, .55);
  border-radius: 5px;
  animation: anatomy-panel-in .28s ease-out both;
}

.anatomy-presentation-dock button {
  min-width: 70px;
  min-height: 30px;
  padding: 0 8px;
}

.anatomy-stage.is-presentation .anatomy-lab-toggle,
.anatomy-stage.is-presentation .anatomy-actions-toggle,
.anatomy-stage.is-presentation .anatomy-actions-menu,
.anatomy-stage.is-presentation .anatomy-study-tools,
.anatomy-stage.is-presentation .anatomy-viewer-top,
.anatomy-stage.is-presentation .anatomy-view-controls,
.anatomy-stage.is-presentation .anatomy-system-panel,
.anatomy-stage.is-presentation .anatomy-part-popover,
.anatomy-stage.is-presentation .anatomy-hover-tooltip {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(.98);
}

@keyframes anatomy-panel-in {
  from { opacity: 0; transform: translateY(7px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .anatomy-study-tools { width: min(304px, calc(100% - 72px)); }
  .anatomy-stage.is-study-open .anatomy-system-panel { display: none; }
}

@media (max-width: 640px) {
  .anatomy-lab-toggle { top: 92px; right: 58px; left: auto; }
  .anatomy-actions-toggle { top: 92px; right: 14px; }
  .anatomy-actions-menu { top: 132px; right: 14px; }
  .anatomy-system-panel { top: 138px; right: 14px; }
  [data-anatomy-selection-content] { width: min(296px, calc(100vw - 28px)); }
  .anatomy-study-tools {
    position: fixed;
    inset: 0;
    z-index: 1001;
    width: auto;
    max-height: none;
    padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background: rgba(249, 252, 253, .98);
    transform: translateY(10px) scale(.99);
    transform-origin: center;
  }
  .anatomy-study-tools.is-visible { transform: none; }
  .anatomy-study-head { padding-bottom: 14px; }
  .anatomy-study-tabs { margin: 14px 0; }
  body.is-anatomy-tools-open .site-header,
  body.is-anatomy-tools-open .floating-whatsapp {
    opacity: 0;
    pointer-events: none;
  }
  .anatomy-stage.is-presentation .anatomy-presentation-dock {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: stretch;
  }
  .anatomy-presentation-dock button { flex: 1; min-width: 0; }
}

.anatomy-stage.is-study-open .anatomy-system-panel {
  top: 128px;
  width: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  animation: none;
}

.anatomy-stage.is-study-open .anatomy-selection-empty {
  display: block;
}

.anatomy-study-advanced {
  margin-top: 2px;
  padding-top: 9px;
  border-top: 1px solid rgba(0, 44, 102, .1);
}

.anatomy-study-advanced summary {
  color: rgba(0, 44, 102, .7);
  font-size: .66rem;
  font-weight: 900;
  cursor: pointer;
}

.anatomy-study-advanced[open] summary { margin-bottom: 9px; }

.anatomy-study-advanced [data-study-advanced-content] {
  display: grid;
  gap: 10px;
  animation: anatomy-panel-in .22s ease-out both;
}

.anatomy-study-advanced .layer-heading,
.anatomy-study-advanced .anatomy-presets,
.anatomy-study-advanced .anatomy-category-legend,
.anatomy-study-advanced .anatomy-tree,
.anatomy-study-advanced .anatomy-favorites,
.anatomy-study-advanced .anatomy-actions,
.anatomy-study-advanced .anatomy-range {
  display: grid;
}

.anatomy-study-advanced .anatomy-tree {
  max-height: 260px;
}

/* A mode owns the drawer while it is active; unrelated controls stay out of sight. */
.anatomy-stage[data-tool-context]:not([data-tool-context="overview"]) .anatomy-study-head {
  justify-content: flex-end;
  padding-bottom: 0;
  border-bottom: 0;
}

.anatomy-stage[data-tool-context]:not([data-tool-context="overview"]) .anatomy-study-head > div,
.anatomy-stage[data-tool-context]:not([data-tool-context="overview"]) .anatomy-study-search,
.anatomy-stage[data-tool-context]:not([data-tool-context="overview"]) .anatomy-study-tabs,
.anatomy-stage[data-tool-context]:not([data-tool-context="overview"]) .anatomy-study-advanced {
  display: none;
}

.anatomy-stage[data-tool-context]:not([data-tool-context="overview"]) .anatomy-study-pane {
  display: none !important;
}

.anatomy-stage[data-tool-context="explode"] .anatomy-study-pane[data-study-pane="explore"],
.anatomy-stage[data-tool-context="rx"] .anatomy-study-pane[data-study-pane="explore"],
.anatomy-stage[data-tool-context="surgical"] .anatomy-study-pane[data-study-pane="explore"],
.anatomy-stage[data-tool-context="timeline"] .anatomy-study-pane[data-study-pane="explore"],
.anatomy-stage[data-tool-context="measure"] .anatomy-study-pane[data-study-pane="measure"] {
  display: grid !important;
  gap: 9px;
}

.anatomy-stage[data-tool-context="explode"] .anatomy-study-actions,
.anatomy-stage[data-tool-context="surgical"] .anatomy-study-actions,
.anatomy-stage[data-tool-context="rx"] .anatomy-study-actions,
.anatomy-stage[data-tool-context="timeline"] .anatomy-study-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.anatomy-stage[data-tool-context="explode"] .anatomy-study-actions > :not([data-study-explode]),
.anatomy-stage[data-tool-context="surgical"] .anatomy-study-actions > :not([data-study-surgical]),
.anatomy-stage[data-tool-context="rx"] .anatomy-study-actions,
.anatomy-stage[data-tool-context="timeline"] .anatomy-study-actions,
.anatomy-stage[data-tool-context="explode"] .anatomy-study-secondary,
.anatomy-stage[data-tool-context="surgical"] .anatomy-study-secondary,
.anatomy-stage[data-tool-context="timeline"] .anatomy-study-secondary {
  display: none;
}

.anatomy-stage[data-tool-context="explode"] .anatomy-study-range,
.anatomy-stage[data-tool-context="rx"] .anatomy-study-range,
.anatomy-stage[data-tool-context="surgical"] .anatomy-clipping-controls,
.anatomy-stage[data-tool-context="timeline"] .anatomy-study-range,
.anatomy-stage[data-tool-context="timeline"] .anatomy-layer-sequence,
.anatomy-stage[data-tool-context="measure"] .anatomy-study-actions,
.anatomy-stage[data-tool-context="measure"] .anatomy-measurement-readout {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.anatomy-stage[data-tool-context="measure"] .anatomy-study-note {
  display: none;
}

.anatomy-stage[data-tool-context="measure"] .anatomy-study-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.anatomy-stage[data-tool-context="measure"] .anatomy-study-actions > [data-study-measure-clear] {
  grid-column: 1 / -1;
}

.anatomy-stage[data-tool-context]:not([data-tool-context="overview"]) .anatomy-study-tools {
  width: min(250px, calc(100% - 72px));
  padding: 11px;
}

.anatomy-stage[data-tool-context]:not([data-tool-context="overview"]) .anatomy-study-close {
  min-height: 28px;
  color: rgba(0, 44, 102, .58);
  border-color: transparent;
}

@media (max-width: 640px) {
  .anatomy-stage[data-tool-context]:not([data-tool-context="overview"]) .anatomy-study-tools {
    width: auto;
    padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
  }
}

/* Inspector visual: solid, contained and contextual so the anatomy stays in view. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

.anatomy-study-tools,
.anatomy-actions-menu,
[data-anatomy-selection-content] {
  color: #31465f;
  background: rgba(248, 251, 253, .96);
  border: 1px solid rgba(9, 55, 103, .12);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(5, 35, 70, .12);
  backdrop-filter: blur(6px);
}

.anatomy-study-tools,
.anatomy-actions-menu {
  max-height: 75vh;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.anatomy-presentation-dock {
  background: rgba(5, 35, 70, .92);
  backdrop-filter: blur(6px);
}

.anatomy-system-panel {
  top: 104px;
  right: 24px;
  width: min(380px, calc(100vw - 48px));
  max-width: 380px;
  max-height: 75vh;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

[data-anatomy-selection-content] {
  width: 100%;
  max-width: 380px;
  max-height: 75vh;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  animation: anatomy-panel-in .26s ease-out both;
}

.anatomy-selection-empty {
  max-width: 300px;
  margin: 0 0 0 auto;
  padding: 0;
  color: #66788c;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: .78rem;
  line-height: 1.5;
  text-align: right;
}

.anatomy-selection-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.anatomy-selection-heading > div {
  min-width: 0;
}

.anatomy-selection-heading span,
.anatomy-rich-details > span,
.anatomy-detail-grid dt,
.anatomy-selection-more summary,
.anatomy-selection-more label > span {
  color: #66788c;
}

.anatomy-selection-heading strong,
.anatomy-detail-grid dd,
.anatomy-rich-details p,
.anatomy-rich-details dd {
  overflow-wrap: anywhere;
  word-break: normal;
}

.anatomy-selection-heading strong {
  display: block;
  margin-top: 3px;
  color: #073767;
  font-size: 1.16rem;
  line-height: 1.2;
}

.anatomy-selection-heading small {
  display: block;
  margin-top: 4px;
  color: #66788c;
  font-size: .72rem;
  line-height: 1.45;
}

.anatomy-selection-close {
  display: none;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 10px;
  color: #073767;
  background: #fff;
  border: 1px solid rgba(9, 55, 103, .16);
  border-radius: 9px;
  font-size: .72rem;
  font-weight: 800;
}

.anatomy-breadcrumb {
  margin: 0 0 12px;
  color: #66788c;
  font-size: .7rem;
  overflow-wrap: anywhere;
}

.anatomy-breadcrumb b {
  color: rgba(7, 55, 103, .36);
}

.anatomy-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.anatomy-detail-grid > div {
  min-width: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(9, 55, 103, .1);
  border-radius: 10px;
}

.anatomy-detail-grid > .is-wide {
  grid-column: 1 / -1;
}

.anatomy-detail-grid dt {
  margin-bottom: 4px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.anatomy-detail-grid dd {
  margin: 0;
  color: #31465f;
  font-size: .78rem;
  line-height: 1.45;
}

.anatomy-selection-details-toggle {
  width: auto;
  min-height: 40px;
  margin-top: 10px;
  padding: 0 12px;
  color: #073767;
  background: transparent;
  border: 1px solid rgba(9, 55, 103, .18);
  border-radius: 9px;
  font-size: .74rem;
  font-weight: 800;
}

.anatomy-selection-details-toggle:disabled {
  opacity: .48;
}

.anatomy-selection-details-extra {
  margin-top: 8px;
}

.anatomy-selection-primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.anatomy-selection-primary button {
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  color: #f8fbfd;
  background: #073767;
  border: 1px solid #073767;
  border-radius: 9px;
  font-size: .74rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.anatomy-selection-primary button + button {
  color: #073767;
  background: #fff;
}

.anatomy-selection-more {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(9, 55, 103, .1);
}

.anatomy-selection-more summary {
  font-size: .74rem;
  font-weight: 800;
  cursor: pointer;
}

.anatomy-selection-more[open] summary {
  margin-bottom: 10px;
}

.anatomy-selection-more label {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: #31465f;
  font-size: .72rem;
}

@media (min-width: 1025px) {
  .anatomy-stage.has-anatomy-selection:not(.is-study-open) .anatomy-system-panel {
    width: 380px;
    max-width: calc(100vw - 48px);
  }
}

.anatomy-stage.is-study-open [data-anatomy-selection-content] {
  width: 100%;
  max-width: 380px;
  padding: 16px;
  color: #31465f;
  background: rgba(248, 251, 253, .96);
  border: 1px solid rgba(9, 55, 103, .12);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(5, 35, 70, .12);
  backdrop-filter: blur(6px);
}

@media (max-width: 1024px) {
  .anatomy-system-panel,
  .anatomy-stage.is-study-open .anatomy-system-panel,
  .anatomy-stage.has-anatomy-selection:not(.is-study-open) .anatomy-system-panel {
    display: block;
    position: fixed;
    top: 88px;
    right: 16px;
    z-index: 1020;
    width: min(340px, calc(100vw - 32px));
    max-width: 340px;
    max-height: 75vh;
  }

  [data-anatomy-selection-content],
  .anatomy-stage.is-study-open [data-anatomy-selection-content] {
    max-width: 340px;
    max-height: 75vh;
  }

  .anatomy-selection-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .anatomy-system-panel,
  .anatomy-stage.is-study-open .anatomy-system-panel,
  .anatomy-stage.has-anatomy-selection:not(.is-study-open) .anatomy-system-panel {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 1020;
    width: 100%;
    max-width: none;
    max-height: 60svh;
  }

  [data-anatomy-selection-content],
  .anatomy-stage.is-study-open [data-anatomy-selection-content] {
    width: 100%;
    max-width: none;
    max-height: 60svh;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
  }

  .anatomy-selection-empty {
    max-width: 260px;
    margin-right: 16px;
  }

  .anatomy-stage:not(.has-anatomy-selection):not(.is-study-open) .anatomy-system-panel {
    inset: auto auto 96px 16px;
    width: min(250px, calc(100vw - 112px));
    max-width: none;
    max-height: none;
  }

  .anatomy-stage:not(.has-anatomy-selection):not(.is-study-open) .anatomy-selection-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .anatomy-stage:not(.has-anatomy-selection):not(.is-study-open) .anatomy-selection-empty {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .anatomy-detail-grid,
  .anatomy-selection-primary {
    grid-template-columns: 1fr;
  }

  .anatomy-selection-primary button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .anatomy-selection-heading {
    gap: 8px;
  }

  .anatomy-selection-heading strong {
    font-size: 1.04rem;
  }

  .anatomy-selection-close {
    min-height: 34px;
    padding: 0 8px;
  }

  .anatomy-detail-grid > div {
    padding: 9px;
  }
}

/* Pain-location intake. It stays separate from the internal anatomy viewer. */
.hip-pain-intake {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
  gap: 14px;
  padding: 26px clamp(20px, 4vw, 58px);
  color: #073767;
  background: #f8fbfd;
  opacity: 1;
  transform: scale(1);
  transform-origin: center;
  transition: opacity 800ms cubic-bezier(.22, .8, .2, 1), transform 800ms cubic-bezier(.22, .8, .2, 1);
}

.hip-pain-intake.is-leaving { opacity: 0; transform: scale(1.018); pointer-events: none; }

.anatomy-stage.is-pain-intake-active > :not(.hip-pain-intake) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 800ms cubic-bezier(.22, .8, .2, 1), visibility 0s linear 800ms;
}

.anatomy-stage.is-pain-intake-active.has-pain-context > .pain-context-panel:not([hidden]) {
  z-index: 35;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 240ms ease, visibility 0s;
}

.hip-pain-intake-head,
.hip-pain-intake-controls,
.hip-pain-intake-actions,
.hip-pain-details-head,
.hip-pain-points > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hip-pain-intake h1 {
  margin: 2px 0 0;
  color: #073767;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.2;
}

.hip-pain-intake-skip,
.hip-pain-segment button,
.hip-pain-details button,
.hip-pain-points button {
  min-height: 38px;
  padding: 0 12px;
  color: #073767;
  background: #f8fbfd;
  border: 1px solid rgba(9, 55, 103, .16);
  border-radius: 8px;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.hip-pain-intake-skip { border-color: transparent; }
.hip-pain-segment { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.hip-pain-segment button[aria-pressed="true"],
.hip-pain-details button[aria-pressed="true"] { color: #fff; background: #073767; border-color: #073767; }

.hip-pain-intake-viewport {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #edf4f7;
  border: 1px solid rgba(9, 55, 103, .1);
  border-radius: 14px;
}

#hip-pain-canvas { display: block; width: 100%; height: 100%; cursor: crosshair; }
.hip-pain-model-status { position: absolute; inset: 0; display: grid; place-content: center; gap: 7px; padding: 24px; text-align: center; color: #31465f; }
.hip-pain-model-status strong { color: #073767; font-size: 1rem; }
.hip-pain-model-status span, .hip-pain-intake-instruction, .hip-pain-intake-actions p { margin: 0; color: #66788c; font-size: .82rem; }
.hip-pain-model-status code, .hip-pain-intake-actions code { overflow-wrap: anywhere; color: #073767; }
.hip-pain-intake-instruction { text-align: center; }
.hip-pain-intake-status {
  margin: 2px 0 0;
  color: #758598;
  font-size: .75rem;
  line-height: 1.45;
  text-align: center;
}

.hip-pain-details {
  width: min(420px, 100%);
  justify-self: center;
  padding: 14px;
  color: #31465f;
  background: rgba(248, 251, 253, .98);
  border: 1px solid rgba(9, 55, 103, .12);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(5, 35, 70, .12);
}

.hip-pain-details p { margin: 0; color: #073767; font-weight: 800; }
.hip-pain-details label { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; font-size: .8rem; font-weight: 800; }
.hip-pain-details input { grid-column: 1 / -1; width: 100%; accent-color: #073767; }
.hip-pain-details fieldset { min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
.hip-pain-details legend { margin-bottom: 7px; color: #66788c; font-size: .72rem; font-weight: 800; }
.hip-pain-details fieldset > div { display: flex; flex-wrap: wrap; gap: 6px; }
.hip-pain-details fieldset button { min-height: 32px; font-size: .7rem; }

.hip-pain-points { display: grid; gap: 6px; width: min(600px, 100%); justify-self: center; }
.hip-pain-points > div { padding: 8px; border-bottom: 1px solid rgba(9, 55, 103, .1); }
.hip-pain-points button:first-child { min-width: 0; overflow-wrap: anywhere; text-align: left; border-color: transparent; }
.hip-pain-points button:last-child { min-height: 32px; }
.hip-pain-intake-actions { width: min(600px, 100%); justify-self: center; }
.hip-pain-intake-actions .btn { width: auto; min-width: 132px; }
.hip-pain-intake-actions .btn:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 768px) {
  .hip-pain-intake { padding: 18px 14px; gap: 12px; }
  .hip-pain-intake-head { align-items: flex-start; }
  .hip-pain-intake-skip { min-height: 32px; padding: 0; white-space: nowrap; }
  .hip-pain-intake-controls { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .hip-pain-segment { justify-content: center; }
  .hip-pain-segment button { flex: 1; min-width: 0; padding: 0 8px; }
  .hip-pain-intake-viewport { min-height: 300px; }
  .hip-pain-intake-actions { align-items: stretch; }
  .hip-pain-intake-actions .btn { width: 100%; }
}

/* Lightweight vector pain map. It deliberately has no external body model or loading state. */
.hip-pain-intake {
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  justify-items: center;
  gap: 8px;
  padding-block: 18px;
}

.hip-pain-intake-head {
  justify-content: center;
  text-align: center;
}

.hip-pain-intake-head .eyebrow { margin-bottom: 4px; }
.hip-pain-intake-lead {
  max-width: 34rem;
  margin: 8px auto 0;
  color: #60718a;
  font-size: .88rem;
  line-height: 1.55;
}
.hip-pain-intake-controls { justify-content: center; }
.hip-pain-intake-controls { display: grid; justify-items: center; gap: 8px; }
.hip-pain-lateral-side { display: inline-flex; gap: 6px; }
.hip-pain-lateral-side[hidden] { display: none; }
.hip-pain-lateral-side button {
  min-height: 32px;
  padding: 0 10px;
  color: #31536f;
  background: transparent;
  border: 1px solid rgba(7, 55, 103, .18);
  border-radius: 999px;
  font: inherit;
  font-size: .7rem;
  font-weight: 800;
  cursor: pointer;
}
.hip-pain-lateral-side button[aria-pressed="true"] { color: #fff; background: #073767; border-color: #073767; }
.hip-pain-intake.is-view-transitioning .hip-pain-segment,
.hip-pain-intake.is-view-transitioning .hip-pain-lateral-side { pointer-events: none; opacity: .58; }
.hip-pain-map-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 470px);
  min-height: 0;
}

.hip-pain-map {
  display: block;
  width: min(100%, 400px);
  height: min(56svh, 520px);
  min-height: 330px;
  overflow: visible;
  touch-action: none;
  user-select: none;
  outline: none;
  filter: drop-shadow(0 14px 18px rgba(7, 55, 103, .1));
}

.hip-pain-map [data-pain-map-state][hidden],
.hip-pain-marker[hidden] { display: none; }

.hip-pain-map-state.is-active { animation: hip-pain-map-in 280ms cubic-bezier(.22, .8, .2, 1) both; }

@keyframes hip-pain-map-in {
  from { opacity: 0; transform: translateY(7px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hip-pain-map-surface {
  fill: #e5f1f5;
  stroke: #0a487a;
  stroke-width: 2.2;
  cursor: crosshair;
}

.hip-pain-map-line {
  fill: none;
  stroke: rgba(10, 72, 122, .42);
  stroke-width: 1.45;
  stroke-linecap: round;
  pointer-events: none;
}

.hip-pain-map-line.soft { stroke: rgba(10, 72, 122, .23); }
.hip-pain-map-callouts { pointer-events: none; }
.hip-pain-map-callouts path {
  fill: none;
  stroke: rgba(10, 72, 122, .26);
  stroke-width: 1.15;
  stroke-linecap: round;
}
.hip-pain-map-callouts circle {
  fill: #b48842;
  stroke: #f8fbfd;
  stroke-width: 1.5;
}
.hip-pain-map-callouts text {
  fill: #60718a;
  font-family: Inter, Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.hip-pain-marker { pointer-events: none; }
.hip-pain-marker-halo { fill: rgba(31, 136, 177, .16); stroke: rgba(31, 136, 177, .52); stroke-width: 1.2; }
.hip-pain-marker-dot { fill: #0b5c92; stroke: #fff; stroke-width: 2.5; }

.hip-pain-intake-actions {
  width: min(460px, 100%);
  justify-content: center;
}

.hip-pain-intake-actions p { text-align: center; }

.anatomy-stage > :not(.hip-pain-intake) {
  transition: opacity 800ms cubic-bezier(.22, .8, .2, 1);
}

.anatomy-stage.has-pain-context .anatomy-system-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pain-context-panel {
  position: absolute;
  top: 104px;
  right: clamp(16px, 3vw, 38px);
  z-index: 28;
  width: min(318px, calc(100% - 32px));
  padding: 16px;
  color: #173653;
  background: rgba(250, 253, 254, .96);
  border: 1px solid rgba(12, 62, 104, .13);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(4, 31, 58, .16);
  backdrop-filter: blur(12px);
}

.pain-context-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.pain-context-heading span,
.pain-context-structures > span {
  display: block;
  color: #567087;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pain-context-heading strong {
  display: block;
  margin-top: 3px;
  color: #073767;
  font-family: "Libre Baskerville", serif;
  font-size: 1rem;
  line-height: 1.35;
}

.pain-context-heading button {
  min-height: auto;
  padding: 2px 0;
  color: #315b7d;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}

.pain-context-panel > p {
  margin: 13px 0 0;
  color: #526b7d;
  font-size: .8rem;
  line-height: 1.55;
}

.pain-context-panel .pain-context-surface-note {
  margin-top: 12px;
  padding: 10px 0 0;
  color: #315b7d;
  border-top: 1px solid rgba(12, 62, 104, .1);
  font-size: .74rem;
  line-height: 1.5;
}

.pain-context-structures {
  margin-top: 14px;
}

.pain-context-structures ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.pain-context-structures li {
  padding: 5px 8px;
  color: #0b4c7d;
  background: #e8f2f6;
  border-radius: 5px;
  font-size: .72rem;
  line-height: 1.35;
}

.pain-context-panel .pain-context-disclaimer {
  margin-top: 14px;
  padding-top: 12px;
  color: #71818e;
  border-top: 1px solid rgba(12, 62, 104, .1);
  font-size: .69rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hip-pain-intake {
    grid-template-rows: auto auto auto auto;
    align-content: start;
    gap: 8px;
    padding: 64px 18px 14px;
  }

  .hip-pain-intake-head {
    position: static;
    width: min(100%, 360px);
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }

  .hip-pain-intake-head .eyebrow {
    margin-bottom: 3px;
    font-size: .68rem;
  }

  .hip-pain-intake-head h1 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.08;
  }

  .hip-pain-intake-lead {
    margin-top: 5px;
    font-size: .76rem;
    line-height: 1.45;
  }

  .hip-pain-intake-controls {
    width: min(100%, 360px);
    display: grid;
    gap: 7px;
  }

  .hip-pain-segment {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .hip-pain-segment button {
    min-height: 40px;
    padding: 0 7px;
    font-size: .74rem;
  }

  .hip-pain-map-wrap {
    width: min(100%, 390px);
    align-self: start;
  }

  .hip-pain-map {
    width: min(100%, 370px);
    height: min(46svh, 390px);
    min-height: 300px;
  }

  .hip-pain-intake-instruction {
    margin: 0;
    font-size: .78rem;
  }

  .hip-pain-intake-status {
    position: static;
    width: auto;
    height: auto;
    margin: -2px 0 0;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    font-size: .72rem;
  }
  .hip-pain-intake-actions { display: grid; gap: 8px; }
  .hip-pain-intake-actions .btn { width: 100%; }
  .pain-context-panel {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 65;
    width: auto;
    max-height: min(44svh, 350px);
    overflow: auto;
  }
}

/* External 3D pain map. The SVG remains a hidden fallback only. */
.hip-pain-map-wrap {
  width: min(100%, 500px);
  min-height: clamp(330px, 54svh, 560px);
}

#pain-map-3d {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 480px);
  height: clamp(330px, 54svh, 560px);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f4f8fa 62%, #e9f0f4 100%);
  border: 1px solid rgba(0, 44, 102, .1);
  border-radius: 12px;
}

#pain-map-3d::after {
  content: "";
  position: absolute;
  inset: 12% 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 44, 102, .04), transparent 68%);
  pointer-events: none;
}

.pain-map-3d-status {
  position: relative;
  z-index: 2;
  padding: 9px 12px;
  color: #60718a;
  font-size: .8rem;
  font-weight: 700;
  pointer-events: none;
}

.pain-map-3d-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}

.pain-map-3d-canvas:active { cursor: crosshair; }
#pain-map-3d.is-loading .pain-map-3d-canvas { opacity: .5; }
#pain-map-3d.is-render-paused { pointer-events: none; }
#pain-map-3d.is-model-missing {
  height: auto;
  min-height: 164px;
  padding: 28px;
  border: 1px dashed rgba(7, 55, 103, .28);
  background: #f8fafb;
}
#pain-map-3d.is-model-missing::after { display: none; }
#pain-map-3d.is-model-missing .pain-map-3d-status {
  max-width: 20rem;
  color: #173653;
  line-height: 1.5;
  text-align: center;
}
.hip-pain-map-wrap.is-3d-ready .hip-pain-map { display: none; }

.anatomy-pain-return {
  position: absolute;
  display: inline-flex;
  align-items: center;
  /* The anatomy stage begins behind the fixed site header. Keep this action below it. */
  top: 104px;
  left: 24px;
  z-index: 20;
  min-height: 36px;
  padding: 0 12px;
  color: #073767;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(7, 55, 103, .2);
  border-radius: 7px;
  font: inherit;
  font-size: .75rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.anatomy-pain-return:focus-visible { outline: 3px solid rgba(180, 136, 66, .48); outline-offset: 3px; }

@media (max-width: 768px) {
  .anatomy-pain-return { top: 70px; left: 14px; min-height: 34px; }
}

@media (max-width: 768px) {
  .hip-pain-map-wrap { width: min(100%, 390px); min-height: min(45svh, 390px); }
  #pain-map-3d { width: min(100%, 390px); height: min(45svh, 390px); min-height: 300px; border-radius: 10px; }
}

/* Clean clinical editorial system. The home surgery hero and anatomy viewer stay independent. */
body:not([data-page="anatomia"]) .page-hero {
  padding: 144px 0 58px;
  background: var(--white);
  border-bottom: 0;
}

body:not([data-page="anatomia"]) .page-hero-grid > div {
  padding-left: 24px;
  border-left: 3px solid var(--navy);
}

body:not([data-page="anatomia"]) .page-hero p {
  max-width: 480px;
  font-size: 1.08rem;
  line-height: 1.55;
}

body:not([data-page="anatomia"]) .section.soft,
body:not([data-page="anatomia"]) .timeline-section {
  background: var(--white);
  border: 0;
}

body[data-page="home"] .authority-band {
  background: var(--white);
  border: 0;
}

body[data-page="home"] .authority-grid {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  border: 0;
  gap: 20px;
}

body[data-page="home"] .authority-grid article {
  min-height: auto;
  padding: 22px 0 26px;
  border: 0;
  border-top: 1px solid var(--line);
}

body[data-page="home"] .authority-grid strong {
  margin-top: 8px;
}

body[data-page="home"] .quick-nav {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body[data-page="home"] .quick-nav a {
  min-height: 58px;
  padding: 12px 0;
  border: 0;
  font-size: .95rem;
}

body[data-page="home"] .quick-nav a:hover {
  padding-left: 8px;
  background: transparent;
}

body[data-page="home"] .signature-map {
  padding: 74px 0;
  background: var(--white);
  border: 0;
}

body[data-page="home"] .signature-map::after {
  display: none;
}

body:not([data-page="anatomia"]) .map-rail {
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

body:not([data-page="anatomia"]) .map-rail::before {
  display: none;
}

body:not([data-page="anatomia"]) .map-rail article {
  min-height: 176px;
  padding: 24px 20px;
  border-color: var(--line);
}

body:not([data-page="anatomia"]) .map-rail span {
  width: auto;
  height: auto;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: .76rem;
}

body:not([data-page="anatomia"]) .map-rail strong {
  margin-top: 28px;
}

body:not([data-page="anatomia"]) .feature-strip {
  min-height: 0;
  color: var(--ink);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body:not([data-page="anatomia"]) .strip-image {
  min-height: 420px;
}

body:not([data-page="anatomia"]) .strip-content h2 {
  color: var(--navy);
}

body:not([data-page="anatomia"]) .strip-content .eyebrow {
  color: var(--navy-soft);
}

body:not([data-page="anatomia"]) .cards-three {
  gap: 30px;
}

body:not([data-page="anatomia"]) .cards-three article,
body:not([data-page="anatomia"]) .location-list article,
body:not([data-page="anatomia"]) .robot-steps article,
body:not([data-page="anatomia"]) .lab-card,
body:not([data-page="anatomia"]) .faq-list details {
  background: transparent;
  border: 0;
  border-top: 2px solid var(--navy);
  border-radius: 0;
  box-shadow: none;
}

body:not([data-page="anatomia"]) .cards-three article {
  min-height: 0;
  padding: 20px 0 0;
  overflow: visible;
}

body:not([data-page="anatomia"]) .cards-three article::after {
  display: none;
}

body:not([data-page="anatomia"]) .cards-three h3 {
  margin-top: 14px;
}

body:not([data-page="anatomia"]) .cta-slab {
  background: var(--navy-deep);
}

body:not([data-page="anatomia"]) .cta-slab .btn-light {
  border-color: rgba(255,255,255,.6);
}

body:not([data-page="anatomia"]) .image-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body:not([data-page="anatomia"]) .image-stack img {
  height: 340px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

body:not([data-page="anatomia"]) .image-stack img:nth-child(2) {
  width: 100%;
  margin: 0;
  border: 0;
}

body:not([data-page="anatomia"]) .timeline-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

body:not([data-page="anatomia"]) .timeline-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

body:not([data-page="anatomia"]) .timeline-list article {
  padding: 22px 0 22px 22px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

body:not([data-page="anatomia"]) .timeline-list article::before {
  top: 22px;
  bottom: 22px;
  width: 2px;
}

body:not([data-page="anatomia"]) .treatment-lab {
  gap: 0;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

body:not([data-page="anatomia"]) .lab-card {
  min-height: 0;
  padding: 0 18px 18px;
  border-top: 0;
  border-bottom: 2px solid transparent;
}

body:not([data-page="anatomia"]) .lab-card:first-child {
  padding-left: 0;
}

body:not([data-page="anatomia"]) .lab-card.is-active,
body:not([data-page="anatomia"]) .lab-card:hover {
  color: var(--navy);
  background: transparent;
  border-bottom-color: var(--navy);
  transform: none;
}

body:not([data-page="anatomia"]) .lab-card strong {
  margin-top: 12px;
}

body:not([data-page="anatomia"]) .lab-output {
  padding: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

body:not([data-page="anatomia"]) .lab-output img {
  border-radius: 0;
}

body:not([data-page="anatomia"]) .treatment-focus-grid {
  gap: 30px;
}

body:not([data-page="anatomia"]) .treatment-focus-grid article {
  background: transparent;
  border: 0;
  border-top: 2px solid var(--navy);
  border-radius: 0;
  box-shadow: none;
}

body:not([data-page="anatomia"]) .treatment-focus-grid article:hover {
  box-shadow: none;
  transform: none;
}

body:not([data-page="anatomia"]) .treatment-focus-grid div {
  padding: 18px 0 0;
}

body:not([data-page="anatomia"]) .robot-steps article {
  min-height: 0;
  padding: 20px 0 0;
}

body:not([data-page="anatomia"]) .robot-steps p {
  margin-top: 18px;
}

body:not([data-page="anatomia"]) .location-list {
  gap: 0;
  border-bottom: 1px solid var(--line);
}

body:not([data-page="anatomia"]) .location-list article {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

body:not([data-page="anatomia"]) .faq-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

body:not([data-page="anatomia"]) .faq-list details {
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

body:not([data-page="anatomia"]) .faq-list summary,
body:not([data-page="anatomia"]) .faq-list p {
  padding-left: 0;
  padding-right: 0;
}

body:not([data-page="anatomia"]) .site-footer {
  background: var(--navy-deep);
}

@media (max-width: 980px) {
  body:not([data-page="anatomia"]) .page-hero {
    padding: 116px 0 44px;
  }

  body[data-page="home"] .authority-grid,
  body[data-page="home"] .quick-nav {
    width: min(calc(100% - 28px), var(--container));
  }

  body[data-page="home"] .authority-grid,
  body[data-page="home"] .quick-nav,
  body:not([data-page="anatomia"]) .map-rail,
  body:not([data-page="anatomia"]) .image-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not([data-page="anatomia"]) .treatment-lab {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not([data-page="anatomia"]) .lab-card:nth-child(odd) {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  body:not([data-page="anatomia"]) .page-hero-grid > div {
    padding-left: 16px;
  }

  body[data-page="home"] .authority-grid,
  body[data-page="home"] .quick-nav,
  body:not([data-page="anatomia"]) .map-rail,
  body:not([data-page="anatomia"]) .image-stack,
  body:not([data-page="anatomia"]) .treatment-lab {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .quick-nav a {
    min-height: 50px;
  }

  body:not([data-page="anatomia"]) .feature-strip {
    grid-template-columns: 1fr;
  }

  body:not([data-page="anatomia"]) .strip-image {
    min-height: 300px;
  }

  body:not([data-page="anatomia"]) .image-stack img {
    height: 300px;
  }

  body:not([data-page="anatomia"]) .location-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body:not([data-page="anatomia"]) .lab-card,
  body:not([data-page="anatomia"]) .lab-card:first-child {
    padding-left: 0;
  }
}

/* Studio refinement: restrained palette, editorial scale and generous rhythm. */
body[data-page="home"] .home-hero {
  --beige-2: #d9e7f5;
}

body[data-page="anatomia"] {
  --gold: #0b3d79;
  --beige-2: #d9e7f5;
}

body:not([data-page="anatomia"]) .section {
  padding: clamp(78px, 9vw, 132px) 0;
}

body:not([data-page="anatomia"]) .section.compact {
  padding: clamp(64px, 7vw, 104px) 0;
}

body:not([data-page="anatomia"]) .page-hero {
  padding-top: 166px;
  padding-bottom: 78px;
}

body:not([data-page="anatomia"]) .page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 4.25vw, 4.15rem);
  line-height: 1.08;
}

body:not([data-page="anatomia"]) .page-hero p,
body:not([data-page="anatomia"]) .text-stack p,
body:not([data-page="anatomia"]) .rich-text,
body:not([data-page="anatomia"]) .lab-output p,
body:not([data-page="anatomia"]) .timeline-list p,
body:not([data-page="anatomia"]) .treatment-focus-grid p,
body:not([data-page="anatomia"]) .location-list p,
body:not([data-page="anatomia"]) .faq-list p {
  font-size: .96rem;
  line-height: 1.7;
}

body:not([data-page="anatomia"]) .section-lead h2,
body:not([data-page="anatomia"]) .timeline-intro h2,
body:not([data-page="anatomia"]) .statement h2,
body:not([data-page="anatomia"]) .map-title h2,
body:not([data-page="anatomia"]) .lab-output h2 {
  max-width: 840px;
  font-size: clamp(2rem, 3.15vw, 3.15rem);
  line-height: 1.12;
}

body:not([data-page="anatomia"]) .eyebrow.dark,
body:not([data-page="anatomia"]) .authority-grid span,
body:not([data-page="anatomia"]) .quick-nav span,
body:not([data-page="anatomia"]) .cards-three span,
body:not([data-page="anatomia"]) .location-list span,
body:not([data-page="anatomia"]) .robot-steps span,
body:not([data-page="anatomia"]) .timeline-list span,
body:not([data-page="anatomia"]) .treatment-focus-grid span {
  color: var(--gold);
}

body:not([data-page="anatomia"]) .btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  box-shadow: none;
  font-size: .9rem;
  letter-spacing: .01em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

body:not([data-page="anatomia"]) .btn:hover {
  transform: translateY(-1px);
}

body[data-page="home"] .home-hero .btn {
  min-height: 48px;
  padding: 0 21px;
  border-radius: var(--radius);
  font-size: .98rem;
  letter-spacing: 0;
}

body:not([data-page="anatomia"]) .feature-strip {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

body:not([data-page="anatomia"]) .strip-image {
  min-height: 480px;
}

body:not([data-page="anatomia"]) .strip-content {
  padding: clamp(42px, 7vw, 108px);
}

body:not([data-page="anatomia"]) .strip-content h2 {
  max-width: 620px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.12;
}

body:not([data-page="anatomia"]) .arrow-link {
  color: var(--navy);
  font-size: .92rem;
}

body:not([data-page="anatomia"]) .cards-three,
body:not([data-page="anatomia"]) .treatment-focus-grid {
  gap: clamp(26px, 3vw, 42px);
}

body:not([data-page="anatomia"]) .cards-three article,
body:not([data-page="anatomia"]) .treatment-focus-grid article {
  border-top-color: var(--navy);
}

body:not([data-page="anatomia"]) .cards-three p,
body:not([data-page="anatomia"]) .treatment-focus-grid p {
  max-width: 360px;
}

body:not([data-page="anatomia"]) .split-page,
body:not([data-page="anatomia"]) .timeline-grid,
body:not([data-page="anatomia"]) .dual-panel {
  gap: clamp(36px, 7vw, 112px);
}

body:not([data-page="anatomia"]) .image-stack img {
  height: 380px;
}

body:not([data-page="anatomia"]) .rich-text p {
  margin-bottom: 24px;
}

body:not([data-page="anatomia"]) .timeline-section {
  padding-top: clamp(88px, 10vw, 144px);
  padding-bottom: clamp(88px, 10vw, 144px);
}

body:not([data-page="anatomia"]) .timeline-list article {
  padding-top: 28px;
  padding-bottom: 28px;
}

body:not([data-page="anatomia"]) .timeline-list article::before {
  background: var(--gold);
}

body:not([data-page="anatomia"]) .treatment-lab {
  margin-bottom: 48px;
}

body:not([data-page="anatomia"]) .lab-card {
  padding-bottom: 22px;
}

body:not([data-page="anatomia"]) .lab-card.is-active,
body:not([data-page="anatomia"]) .lab-card:hover {
  border-bottom-color: var(--gold);
}

body:not([data-page="anatomia"]) .lab-output {
  gap: clamp(30px, 5vw, 76px);
  padding-top: 34px;
}

body:not([data-page="anatomia"]) .treatment-focus-grid img {
  aspect-ratio: 16 / 11;
}

body:not([data-page="anatomia"]) .location-list article {
  grid-template-columns: 180px minmax(0, 1fr) auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

body:not([data-page="anatomia"]) .faq-list {
  max-width: 960px;
}

body:not([data-page="anatomia"]) .faq-list summary {
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 1.08rem;
}

body:not([data-page="anatomia"]) .faq-list p {
  padding-bottom: 24px;
}

body:not([data-page="anatomia"]) .site-footer {
  padding-top: 48px;
  background: var(--navy-deep);
}

body:not([data-page="anatomia"]) .floating-whatsapp {
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 12px 28px rgba(0, 25, 61, .18);
}

@media (max-width: 980px) {
  body:not([data-page="anatomia"]) .section {
    padding: 72px 0;
  }

  body:not([data-page="anatomia"]) .section.compact {
    padding: 56px 0;
  }

  body:not([data-page="anatomia"]) .page-hero {
    padding-top: 128px;
    padding-bottom: 56px;
  }

  body:not([data-page="anatomia"]) .location-list article {
    grid-template-columns: 142px minmax(0, 1fr) auto;
  }
}

@media (max-width: 640px) {
  body:not([data-page="anatomia"]) .section,
  body:not([data-page="anatomia"]) .section.compact {
    padding: 52px 0;
  }

  body:not([data-page="anatomia"]) .page-hero {
    padding-top: 112px;
    padding-bottom: 48px;
  }

  body:not([data-page="anatomia"]) .page-hero h1 {
    font-size: 2.45rem;
  }

  body:not([data-page="anatomia"]) .feature-strip {
    grid-template-columns: 1fr;
  }

  body:not([data-page="anatomia"]) .strip-image {
    min-height: 320px;
  }

  body:not([data-page="anatomia"]) .strip-content {
    padding: 48px 20px 56px;
  }

  body:not([data-page="anatomia"]) .image-stack img {
    height: 280px;
  }

  body:not([data-page="anatomia"]) .location-list article {
    grid-template-columns: 1fr;
  }

  body:not([data-page="anatomia"]) .floating-whatsapp {
    left: auto;
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: .74rem;
  }

  body:not([data-page="anatomia"]) .floating-whatsapp::before {
    display: none;
  }
}

/* Design system v3: a new editorial architecture for the public medical site.
   The anatomy viewer keeps its own visual system above. */
body:not([data-page="anatomia"]) {
  --navy: #002c66;
  --navy-deep: #001b42;
  --ink: #15213a;
  --muted: #5f6d80;
  --gold: #a8894c;
  --line: rgba(0, 44, 102, .14);
  --paper: #ffffff;
  --white: #ffffff;
  --radius: 4px;
  --container: 1280px;
  background: #ffffff;
  color: var(--ink);
}

body:not([data-page="anatomia"]) .container {
  width: min(calc(100% - 64px), var(--container));
}

body:not([data-page="anatomia"]) .site-header {
  min-height: 82px;
  padding: 14px clamp(24px, 4vw, 68px);
  column-gap: 22px;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

body:not([data-page="anatomia"]) .site-header::before {
  opacity: 0;
  background: #ffffff;
}

body[data-page="home"] .site-header:not(.is-scrolled):not(.is-open) {
  color: #ffffff;
}

body[data-page="home"] .site-header:not(.is-scrolled):not(.is-open)::before {
  opacity: 1;
  background: linear-gradient(180deg, rgba(0, 20, 49, .58), rgba(0, 20, 49, 0));
}

body:not([data-page="anatomia"]) .site-header.is-inner,
body:not([data-page="anatomia"]) .site-header.is-scrolled,
body:not([data-page="anatomia"]) .site-header.is-open {
  color: var(--navy);
  background: rgba(255, 255, 255, .98);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px rgba(0, 28, 64, .06);
}

body:not([data-page="anatomia"]) .brand {
  min-height: 42px;
}

body:not([data-page="anatomia"]) .brand img {
  width: 166px;
}

body:not([data-page="anatomia"]) .site-header.is-inner .brand img,
body:not([data-page="anatomia"]) .site-header.is-scrolled .brand img,
body:not([data-page="anatomia"]) .site-header.is-open .brand img {
  width: 160px;
}

body:not([data-page="anatomia"]) .main-nav {
  gap: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  font-size: .96rem;
  font-weight: 700;
}

body:not([data-page="anatomia"]) .site-header.is-inner .main-nav,
body:not([data-page="anatomia"]) .site-header.is-scrolled .main-nav,
body:not([data-page="anatomia"]) .site-header.is-open .main-nav {
  background: transparent;
  border-color: transparent;
}

body:not([data-page="anatomia"]) .main-nav a {
  padding: 12px 14px;
  border-radius: 0;
  opacity: .88;
}

body:not([data-page="anatomia"]) .main-nav a::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 4px;
  left: 11px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .2s ease, transform .2s ease;
}

body:not([data-page="anatomia"]) .main-nav a:hover,
body:not([data-page="anatomia"]) .main-nav a[aria-current="page"] {
  color: inherit;
  background: transparent;
  opacity: 1;
}

body:not([data-page="anatomia"]) .main-nav a:hover::after,
body:not([data-page="anatomia"]) .main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

body:not([data-page="anatomia"]) .header-cta {
  min-height: 42px;
  padding: 0 17px;
  color: inherit;
  background: transparent;
  border-color: currentColor;
  border-radius: 3px;
  box-shadow: none;
  font-size: .85rem;
}

body:not([data-page="anatomia"]) .header-cta:hover {
  color: var(--navy);
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
}

body:not([data-page="anatomia"]) .site-header.is-inner .header-cta,
body:not([data-page="anatomia"]) .site-header.is-scrolled .header-cta,
body:not([data-page="anatomia"]) .site-header.is-open .header-cta {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

body:not([data-page="anatomia"]) .site-header.is-inner .header-cta:hover,
body:not([data-page="anatomia"]) .site-header.is-scrolled .header-cta:hover,
body:not([data-page="anatomia"]) .site-header.is-open .header-cta:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

body:not([data-page="anatomia"]) .eyebrow {
  margin-bottom: 15px;
  color: var(--gold);
  font-size: .67rem;
  letter-spacing: .16em;
}

body:not([data-page="anatomia"]) .eyebrow.dark {
  color: var(--gold);
}

body:not([data-page="anatomia"]) h1,
body:not([data-page="anatomia"]) h2,
body:not([data-page="anatomia"]) h3 {
  color: var(--navy-deep);
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: 0;
}

body:not([data-page="anatomia"]) .btn {
  min-height: 50px;
  padding: 0 21px;
  border-radius: 3px;
  box-shadow: none;
  font-size: .9rem;
  font-weight: 800;
}

body:not([data-page="anatomia"]) .btn-primary {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

body:not([data-page="anatomia"]) .btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

body:not([data-page="anatomia"]) .btn-light {
  color: var(--navy);
  background: #ffffff;
  border-color: #ffffff;
}

body:not([data-page="anatomia"]) .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 800;
}

body:not([data-page="anatomia"]) .arrow-link::after {
  content: "→";
  transition: transform .18s ease;
}

body:not([data-page="anatomia"]) .arrow-link:hover::after {
  transform: translateX(4px);
}

/* Home: the previous stacked bands are replaced by one continuous narrative. */
body[data-page="home"] .home-hero {
  min-height: max(760px, 100svh);
  color: #ffffff;
  background: var(--navy-deep);
}

body[data-page="home"] .home-hero::before {
  display: none;
}

body[data-page="home"] .hero-photo img {
  object-position: 54% 50%;
  transform: scale(1.01);
}

body[data-page="home"] .hero-shade {
  background: linear-gradient(90deg, rgba(0, 22, 54, .93) 0%, rgba(0, 25, 60, .79) 38%, rgba(0, 25, 60, .25) 69%, rgba(0, 20, 49, .42) 100%);
}

body[data-page="home"] .home-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 144px minmax(0, 720px) 1fr;
  min-height: max(760px, 100svh);
  padding: 142px 0 66px;
}

body[data-page="home"] .hero-meta {
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}

body[data-page="home"] .hero-meta::before {
  content: "";
  width: 40px;
  height: 1px;
  margin-bottom: 10px;
  background: var(--gold);
}

body[data-page="home"] .hero-copy--editorial {
  align-self: center;
  max-width: 720px;
  padding: 54px 0 0;
}

body[data-page="home"] .hero-copy--editorial h1 {
  max-width: 700px;
  color: #ffffff;
  font-size: clamp(3.4rem, 5.25vw, 5.7rem);
  line-height: 1.04;
}

body[data-page="home"] .hero-copy--editorial p:not(.eyebrow) {
  max-width: 580px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .76);
  font-size: 1.08rem;
  line-height: 1.65;
}

body[data-page="home"] .hero-actions {
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

body[data-page="home"] .hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: .9rem;
  font-weight: 800;
}

body[data-page="home"] .hero-text-link span {
  font-size: 1.15rem;
  transition: transform .18s ease;
}

body[data-page="home"] .hero-text-link:hover span {
  transform: translateX(4px);
}

body[data-page="home"] .hero-scroll-cue {
  align-self: end;
  justify-self: end;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-bottom: 7px;
  color: rgba(255, 255, 255, .75);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body[data-page="home"] .hero-scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 52px;
  overflow: hidden;
  background: rgba(255, 255, 255, .28);
}

body[data-page="home"] .hero-scroll-cue i::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 52%;
  background: #ffffff;
  animation: editorial-scroll 2.4s ease-in-out infinite;
}

@keyframes editorial-scroll {
  0%, 28% { transform: translateY(0); }
  66%, 100% { transform: translateY(290%); }
}

body[data-page="home"] .proof-bar {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

body[data-page="home"] .proof-bar__grid {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr 1fr;
}

body[data-page="home"] .proof-bar p {
  min-height: 86px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 20px 34px;
  color: var(--navy);
  font-size: .83rem;
  font-weight: 800;
  line-height: 1.35;
  border-left: 1px solid var(--line);
}

body[data-page="home"] .proof-bar p:last-child {
  border-right: 1px solid var(--line);
}

body[data-page="home"] .home-intro {
  padding: clamp(108px, 12vw, 178px) 0 clamp(88px, 10vw, 144px);
  background: #ffffff;
}

body[data-page="home"] .home-intro__grid {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 2.2fr);
  gap: clamp(44px, 10vw, 160px);
}

body[data-page="home"] .home-intro__label {
  max-width: 170px;
  padding-top: 16px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.55;
  border-top: 1px solid var(--gold);
}

body[data-page="home"] .home-intro__label span {
  display: block;
  margin-bottom: 38px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

body[data-page="home"] .home-intro__label p {
  margin: 0;
}

body[data-page="home"] .home-intro__content h2 {
  max-width: 860px;
  font-size: clamp(2.45rem, 4.4vw, 4.65rem);
  line-height: 1.12;
}

body[data-page="home"] .home-intro__lead {
  max-width: 630px;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

body[data-page="home"] .care-path {
  padding: clamp(80px, 9vw, 128px) 0;
  color: #ffffff;
  background: var(--navy-deep);
}

body[data-page="home"] .care-path__header {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, .75fr);
  gap: 70px;
  align-items: end;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

body[data-page="home"] .care-path__header h2 {
  max-width: 700px;
  color: #ffffff;
  font-size: clamp(2.25rem, 3.5vw, 3.8rem);
  line-height: 1.1;
}

body[data-page="home"] .care-path__header > p {
  margin: 0;
  color: rgba(255, 255, 255, .67);
  font-size: .95rem;
  line-height: 1.65;
}

body[data-page="home"] .care-path__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 38px 0 0;
  list-style: none;
}

body[data-page="home"] .care-path__steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  min-width: 0;
}

body[data-page="home"] .care-path__steps span {
  padding-top: 4px;
  color: var(--gold);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .1em;
}

body[data-page="home"] .care-path__steps h3 {
  color: #ffffff;
  font-family: "Afacad", system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.25;
}

body[data-page="home"] .care-path__steps p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .61);
  font-size: .9rem;
  line-height: 1.58;
}

body[data-page="home"] .clinical-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 620px;
  background: #ffffff;
}

body[data-page="home"] .clinical-feature__visual {
  min-height: 560px;
  overflow: hidden;
  background: var(--navy-deep);
}

body[data-page="home"] .clinical-feature__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="home"] .clinical-feature__content {
  align-self: center;
  max-width: 610px;
  padding: clamp(56px, 8vw, 138px) clamp(32px, 8vw, 146px);
}

body[data-page="home"] .clinical-feature__content h2 {
  font-size: clamp(2.1rem, 3.25vw, 3.55rem);
  line-height: 1.13;
}

body[data-page="home"] .clinical-feature__content > p:not(.eyebrow) {
  margin: 24px 0 35px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.68;
}

body[data-page="home"] .clinical-feature__links {
  display: grid;
  gap: 15px;
  align-items: start;
}

body[data-page="home"] .focus-area {
  padding: clamp(96px, 11vw, 156px) 0;
  background: #f6f8fb;
}

body[data-page="home"] .focus-area__heading {
  max-width: 760px;
  margin-bottom: 56px;
}

body[data-page="home"] .focus-area__heading h2 {
  font-size: clamp(2.2rem, 3.55vw, 3.8rem);
  line-height: 1.12;
}

body[data-page="home"] .focus-area__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

body[data-page="home"] .focus-area__item {
  position: relative;
  min-height: 290px;
  padding: 30px 32px 31px;
  border-right: 1px solid var(--line);
  transition: color .2s ease, background .2s ease;
}

body[data-page="home"] .focus-area__item:first-child {
  border-left: 1px solid var(--line);
}

body[data-page="home"] .focus-area__item:hover {
  color: #ffffff;
  background: var(--navy);
}

body[data-page="home"] .focus-area__item span {
  display: block;
  color: var(--gold);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .12em;
}

body[data-page="home"] .focus-area__item h3 {
  margin-top: 64px;
  color: inherit;
  font-size: 1.62rem;
  line-height: 1.2;
}

body[data-page="home"] .focus-area__item p {
  max-width: 270px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.6;
  transition: color .2s ease;
}

body[data-page="home"] .focus-area__item:hover p {
  color: rgba(255, 255, 255, .75);
}

body[data-page="home"] .focus-area__item i {
  position: absolute;
  right: 32px;
  bottom: 27px;
  color: var(--gold);
  font-size: 1.36rem;
  font-style: normal;
  transition: transform .2s ease;
}

body[data-page="home"] .focus-area__item:hover i {
  transform: translateX(5px);
}

body[data-page="home"] .home-location {
  padding: clamp(92px, 11vw, 160px) 0;
  background: #ffffff;
}

body[data-page="home"] .home-location__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1fr);
  gap: clamp(46px, 9vw, 152px);
  align-items: center;
}

body[data-page="home"] .home-location__image {
  min-height: 470px;
  overflow: hidden;
  background: #eef2f7;
}

body[data-page="home"] .home-location__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="home"] .home-location__copy {
  max-width: 510px;
}

body[data-page="home"] .home-location__copy h2 {
  font-size: clamp(2.3rem, 3.7vw, 4rem);
  line-height: 1.1;
}

body[data-page="home"] .home-location__copy > p:not(.eyebrow) {
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.68;
}

body[data-page="home"] .home-cta {
  padding: clamp(70px, 9vw, 118px) 0;
  color: #ffffff;
  background: var(--navy);
}

body[data-page="home"] .home-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) auto;
  gap: 54px;
  align-items: center;
}

body[data-page="home"] .home-cta h2 {
  max-width: 850px;
  color: #ffffff;
  font-size: clamp(2rem, 3.25vw, 3.65rem);
  line-height: 1.16;
}

/* Internal pages use the same restrained editorial language, without touching anatomy. */
body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero {
  display: flex;
  align-items: end;
  min-height: 510px;
  padding: 174px 0 76px;
  background: #f6f8fb;
  border-bottom: 1px solid var(--line);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, .6fr);
  gap: clamp(54px, 9vw, 154px);
  align-items: end;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero-grid > div {
  padding: 0;
  border: 0;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero h1 {
  max-width: 830px;
  font-size: clamp(3rem, 4.4vw, 5rem);
  line-height: 1.08;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero-grid > p {
  max-width: 365px;
  margin: 0 0 7px;
  padding-left: 22px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.65;
  border-left: 1px solid var(--gold);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .section {
  padding: clamp(86px, 10vw, 144px) 0;
  background: #ffffff;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .section.compact {
  padding: clamp(78px, 9vw, 128px) 0;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .section.soft,
body:not([data-page="home"]):not([data-page="anatomia"]) .timeline-section {
  background: #f6f8fb;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .split-page,
body:not([data-page="home"]):not([data-page="anatomia"]) .dual-panel,
body:not([data-page="home"]):not([data-page="anatomia"]) .timeline-grid {
  gap: clamp(50px, 9vw, 148px);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .image-stack {
  gap: 14px;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .image-stack img {
  height: 420px;
  border-radius: 0;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .rich-text {
  padding-top: 12px;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .rich-text p,
body:not([data-page="home"]):not([data-page="anatomia"]) .text-stack p,
body:not([data-page="home"]):not([data-page="anatomia"]) .timeline-intro > p,
body:not([data-page="home"]):not([data-page="anatomia"]) .timeline-list p,
body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid p,
body:not([data-page="home"]):not([data-page="anatomia"]) .location-list p,
body:not([data-page="home"]):not([data-page="anatomia"]) .faq-list p {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.72;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .rich-text p + p {
  margin-top: 24px;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .timeline-intro h2,
body:not([data-page="home"]):not([data-page="anatomia"]) .statement h2,
body:not([data-page="home"]):not([data-page="anatomia"]) .section-lead h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.75rem);
  line-height: 1.14;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .timeline-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .timeline-list article {
  padding: 25px 0 25px 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .timeline-list article::before {
  top: 25px;
  bottom: 25px;
  background: var(--gold);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .timeline-list strong {
  color: var(--navy);
  font-size: 1.08rem;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three,
body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid,
body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps {
  gap: 0;
  border-top: 1px solid var(--navy);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three article,
body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid article,
body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps article {
  padding: 30px 26px 32px;
  border: 0;
  border-right: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three article:first-child,
body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid article:first-child,
body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps article:first-child {
  border-left: 1px solid var(--line);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three article::after {
  display: none;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three h3,
body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid h3 {
  margin-top: 36px;
  font-size: 1.45rem;
  line-height: 1.22;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three span,
body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid span,
body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps span {
  color: var(--gold);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-lab {
  gap: 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .lab-card {
  min-height: 128px;
  padding: 24px 18px;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .lab-card:first-child {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .lab-card.is-active,
body:not([data-page="home"]):not([data-page="anatomia"]) .lab-card:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  background: #ffffff;
  transform: none;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .lab-output {
  gap: clamp(34px, 7vw, 112px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .lab-output img {
  border-radius: 0;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .lab-output h2 {
  font-size: clamp(2rem, 3.1vw, 3.3rem);
  line-height: 1.14;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid article {
  padding: 0 0 28px;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid article > div {
  padding: 22px 24px 0;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid article h3 {
  margin-top: 14px;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid img {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .robot-hero {
  min-height: 730px;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .robot-hero::after {
  background: linear-gradient(90deg, rgba(0, 22, 54, .88), rgba(0, 22, 54, .3));
}

body:not([data-page="home"]):not([data-page="anatomia"]) .robot-copy {
  max-width: 690px;
  padding: 178px 0 74px clamp(32px, 9vw, 160px);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .robot-copy h1 {
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 5.45rem);
  line-height: 1.05;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps article {
  min-height: 180px;
  padding-top: 28px;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps p {
  margin-top: 36px;
  color: var(--muted);
  font-size: .96rem;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .location-list {
  gap: 0;
  border-top: 1px solid var(--navy);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .location-list article {
  grid-template-columns: 175px minmax(0, 1fr) auto;
  gap: 28px;
  padding: 34px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .location-list h2 {
  font-size: 1.6rem;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .location-list a {
  color: var(--navy);
  font-size: .88rem;
  font-weight: 800;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .faq-list {
  max-width: 1000px;
  gap: 0;
  border-top: 1px solid var(--navy);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .faq-list details {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .faq-list summary {
  padding: 25px 36px 25px 0;
  color: var(--navy);
  font-size: 1.06rem;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .faq-list p {
  max-width: 760px;
  padding: 0 0 26px;
}

body:not([data-page="anatomia"]) .contact-hero {
  min-height: 100svh;
  padding: 146px 0 78px;
  background: var(--navy-deep);
}

body:not([data-page="anatomia"]) .contact-page-grid {
  gap: clamp(46px, 9vw, 142px);
}

body:not([data-page="anatomia"]) .contact-page-grid h1 {
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 5.3rem);
  line-height: 1.06;
}

body:not([data-page="anatomia"]) .contact-page-grid > div > p:not(.eyebrow) {
  max-width: 540px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

body:not([data-page="anatomia"]) .contact-form {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 0;
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

body:not([data-page="anatomia"]) .contact-form input,
body:not([data-page="anatomia"]) .contact-form textarea {
  border-radius: 0;
}

body:not([data-page="anatomia"]) .site-footer {
  padding-top: 66px;
  color: rgba(255, 255, 255, .72);
  background: var(--navy-deep);
}

body:not([data-page="anatomia"]) .footer-panel {
  grid-template-columns: minmax(220px, 1fr) minmax(240px, .9fr) minmax(220px, .82fr);
  gap: 48px;
  padding-bottom: 62px;
}

body:not([data-page="anatomia"]) .footer-brand img {
  width: 184px;
}

body:not([data-page="anatomia"]) .footer-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
}

body:not([data-page="anatomia"]) .footer-links a,
body:not([data-page="anatomia"]) .footer-contact a {
  color: rgba(255, 255, 255, .74);
}

body:not([data-page="anatomia"]) .footer-bottom {
  padding: 20px 0 28px;
  border-top-color: rgba(255, 255, 255, .16);
}

body:not([data-page="anatomia"]) .footer-bottom a {
  color: #ffffff;
}

body:not([data-page="anatomia"]) .floating-whatsapp {
  width: 52px;
  height: 52px;
  right: 22px;
  bottom: 22px;
  left: auto;
  padding: 0;
  color: #ffffff;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(0, 25, 61, .18);
  font-size: .72rem;
}

body:not([data-page="anatomia"]) .floating-whatsapp::before {
  display: none;
}

@media (max-width: 1080px) {
  body:not([data-page="anatomia"]) .main-nav a { padding: 11px 10px; }
  body[data-page="home"] .home-hero-layout { grid-template-columns: 96px minmax(0, 680px) 1fr; }
  body[data-page="home"] .clinical-feature__content { padding-right: 54px; padding-left: 54px; }
}

@media (max-width: 980px) {
  body:not([data-page="anatomia"]) .site-header { min-height: 74px; padding: 12px 24px; }
  body:not([data-page="anatomia"]) .brand img,
  body:not([data-page="anatomia"]) .site-header.is-inner .brand img,
  body:not([data-page="anatomia"]) .site-header.is-scrolled .brand img,
  body:not([data-page="anatomia"]) .site-header.is-open .brand img { width: 150px; }
  body:not([data-page="anatomia"]) .main-nav { background: #ffffff; }
  body:not([data-page="anatomia"]) .main-nav a { color: var(--navy); }
  body:not([data-page="anatomia"]) .main-nav a::after { right: 13px; left: 13px; }
  body:not([data-page="anatomia"]) .menu-toggle { border-radius: 3px; }
  body[data-page="home"] .home-hero-layout { grid-template-columns: 1fr; padding: 118px 0 52px; }
  body[data-page="home"] .hero-meta { display: none; }
  body[data-page="home"] .hero-copy--editorial { align-self: center; padding-top: 36px; }
  body[data-page="home"] .hero-scroll-cue { display: none; }
  body[data-page="home"] .proof-bar__grid { grid-template-columns: 1fr; }
  body[data-page="home"] .proof-bar p { min-height: 60px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); }
  body[data-page="home"] .proof-bar p:last-child { border-right: 0; border-bottom: 0; }
  body[data-page="home"] .home-intro__grid,
  body[data-page="home"] .care-path__header,
  body[data-page="home"] .home-location__grid { grid-template-columns: 1fr; }
  body[data-page="home"] .home-intro__label { max-width: 290px; }
  body[data-page="home"] .care-path__header { gap: 26px; }
  body[data-page="home"] .care-path__steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  body[data-page="home"] .clinical-feature { grid-template-columns: 1fr; }
  body[data-page="home"] .clinical-feature__visual { min-height: 440px; }
  body[data-page="home"] .clinical-feature__content { max-width: none; padding: 66px max(32px, calc((100vw - 680px) / 2)); }
  body[data-page="home"] .focus-area__grid { grid-template-columns: 1fr; }
  body[data-page="home"] .focus-area__item,
  body[data-page="home"] .focus-area__item:first-child { min-height: 0; padding: 26px 0 28px; border: 0; border-bottom: 1px solid var(--line); }
  body[data-page="home"] .focus-area__item:last-child { border-bottom: 0; }
  body[data-page="home"] .focus-area__item h3 { margin-top: 35px; }
  body[data-page="home"] .focus-area__item i { right: 0; bottom: 24px; }
  body[data-page="home"] .home-location__image { min-height: 390px; }
  body[data-page="home"] .home-cta__grid { grid-template-columns: 1fr; gap: 34px; align-items: start; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero { min-height: 0; padding: 136px 0 68px; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero-grid > p { max-width: 540px; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three,
  body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid,
  body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid article:nth-child(odd),
  body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps article:nth-child(odd) { border-left: 1px solid var(--line); }
  body:not([data-page="home"]):not([data-page="anatomia"]) .footer-panel { grid-template-columns: 1fr 1fr; }
  body:not([data-page="anatomia"]) .contact-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body:not([data-page="anatomia"]) .container { width: min(calc(100% - 40px), var(--container)); }
  body:not([data-page="anatomia"]) .site-header { min-height: 70px; padding: 10px 20px; }
  body:not([data-page="anatomia"]) .brand img,
  body:not([data-page="anatomia"]) .site-header.is-inner .brand img,
  body:not([data-page="anatomia"]) .site-header.is-scrolled .brand img,
  body:not([data-page="anatomia"]) .site-header.is-open .brand img { width: 138px; }
  body:not([data-page="anatomia"]) .header-cta { display: none; }
  body[data-page="home"] .home-hero { min-height: max(660px, 100svh); }
  body[data-page="home"] .hero-photo img { object-position: 60% 50%; }
  body[data-page="home"] .hero-shade { background: linear-gradient(90deg, rgba(0, 22, 54, .9), rgba(0, 22, 54, .45)); }
  body[data-page="home"] .home-hero-layout { min-height: max(660px, 100svh); padding: 104px 0 42px; }
  body[data-page="home"] .hero-copy--editorial h1 { font-size: clamp(2.65rem, 12.2vw, 3.75rem); line-height: 1.06; }
  body[data-page="home"] .hero-copy--editorial p:not(.eyebrow) { margin-top: 22px; font-size: .98rem; }
  body[data-page="home"] .hero-actions { display: grid; justify-items: start; gap: 17px; margin-top: 27px; }
  body[data-page="home"] .home-intro,
  body[data-page="home"] .focus-area,
  body[data-page="home"] .home-location { padding: 76px 0; }
  body[data-page="home"] .home-intro__content h2,
  body[data-page="home"] .care-path__header h2,
  body[data-page="home"] .focus-area__heading h2,
  body[data-page="home"] .home-location__copy h2 { font-size: 2.28rem; }
  body[data-page="home"] .care-path { padding: 70px 0; }
  body[data-page="home"] .care-path__header { padding-bottom: 34px; }
  body[data-page="home"] .care-path__steps { grid-template-columns: 1fr; gap: 27px; padding-top: 30px; }
  body[data-page="home"] .clinical-feature__visual { min-height: 310px; }
  body[data-page="home"] .clinical-feature__content { padding: 56px 20px 66px; }
  body[data-page="home"] .clinical-feature__content h2 { font-size: 2.24rem; }
  body[data-page="home"] .focus-area__heading { margin-bottom: 38px; }
  body[data-page="home"] .focus-area__item h3 { font-size: 1.4rem; }
  body[data-page="home"] .home-location__image { min-height: 310px; }
  body[data-page="home"] .home-cta { padding: 64px 0; }
  body[data-page="home"] .home-cta h2 { font-size: 2.15rem; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero { padding: 118px 0 54px; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero h1 { font-size: 2.55rem; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .section,
  body:not([data-page="home"]):not([data-page="anatomia"]) .section.compact { padding: 62px 0; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .split-page,
  body:not([data-page="home"]):not([data-page="anatomia"]) .timeline-grid { grid-template-columns: 1fr; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .image-stack { grid-template-columns: 1fr; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .image-stack img { height: 320px; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three,
  body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid,
  body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps { grid-template-columns: 1fr; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three article,
  body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid article,
  body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps article,
  body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three article:first-child,
  body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid article:first-child,
  body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps article:first-child { border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three article:last-child,
  body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid article:last-child,
  body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps article:last-child { border-bottom: 0; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-lab { grid-template-columns: 1fr; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .lab-card,
  body:not([data-page="home"]):not([data-page="anatomia"]) .lab-card:first-child { min-height: 0; padding: 20px 0; border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  body:not([data-page="home"]):not([data-page="anatomia"]) .lab-output { grid-template-columns: 1fr; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .location-list article { grid-template-columns: 1fr; gap: 9px; padding: 26px 0; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .robot-hero { min-height: 620px; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .robot-copy { padding: 122px 20px 52px; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .robot-copy h1 { font-size: 2.7rem; }
  body:not([data-page="anatomia"]) .contact-hero { padding: 112px 0 62px; }
  body:not([data-page="anatomia"]) .contact-page-grid h1 { font-size: 2.65rem; }
  body:not([data-page="anatomia"]) .contact-form { padding: 24px 20px; }
  body:not([data-page="anatomia"]) .footer-panel { grid-template-columns: 1fr; gap: 34px; padding-bottom: 42px; }
  body:not([data-page="anatomia"]) .footer-bottom { display: grid; gap: 12px; }
  body:not([data-page="anatomia"]) .floating-whatsapp { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-scroll-cue i::after { animation: none; }
}

/* Page architecture v4: each institutional page becomes a dedicated experience. */
body:not([data-page="anatomia"]) .editorial-hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  padding: 154px 0 72px;
  background: #f4f7fb;
  border-bottom: 1px solid var(--line);
}

body:not([data-page="anatomia"]) .editorial-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -4%;
  width: 54%;
  height: 100%;
  opacity: .52;
  background-image:
    linear-gradient(rgba(0, 44, 102, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 44, 102, .1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 5%, #000);
  pointer-events: none;
}

body:not([data-page="anatomia"]) .editorial-hero::after {
  content: "";
  position: absolute;
  top: 130px;
  right: 11%;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(0, 44, 102, .14);
  box-shadow: inset 0 0 0 19px rgba(0, 44, 102, .018), inset 0 0 0 38px rgba(0, 44, 102, .013);
  transform: rotate(45deg);
  pointer-events: none;
}

body:not([data-page="anatomia"]) .editorial-hero .container {
  position: relative;
  z-index: 1;
}

body:not([data-page="anatomia"]) .editorial-hero__top,
body:not([data-page="anatomia"]) .contact-terminal__top,
body:not([data-page="anatomia"]) .robot-copy__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  color: var(--gold);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 44, 102, .15);
}

body:not([data-page="anatomia"]) .editorial-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .54fr);
  gap: clamp(50px, 10vw, 174px);
  align-items: end;
  padding-top: clamp(56px, 8vw, 104px);
}

body:not([data-page="anatomia"]) .editorial-hero h1 {
  max-width: 860px;
  font-size: clamp(3.1rem, 4.8vw, 5.45rem);
  line-height: 1.06;
}

body:not([data-page="anatomia"]) .editorial-hero__note {
  align-self: end;
  max-width: 350px;
  padding: 2px 0 2px 22px;
  border-left: 2px solid var(--gold);
}

body:not([data-page="anatomia"]) .editorial-hero__note span,
body:not([data-page="anatomia"]) .treatment-console__top,
body:not([data-page="anatomia"]) .location-matrix__top,
body:not([data-page="anatomia"]) .robot-protocol__head > span,
body:not([data-page="anatomia"]) .faq-command__intro > span,
body:not([data-page="anatomia"]) .contact-terminal__form-head > span {
  display: block;
  color: var(--gold);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body:not([data-page="anatomia"]) .editorial-hero__note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

/* Sobre */
body[data-page="sobre"] .profile-feature {
  padding: clamp(76px, 7vw, 112px) 0;
  background: #ffffff;
}

body[data-page="sobre"] .profile-feature__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 5vw, 72px);
}

body[data-page="sobre"] .profile-feature__visual {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1fr);
  gap: 16px;
  width: min(100%, 1100px);
  position: relative;
  top: auto;
  min-height: 0;
  padding: 0;
  align-items: end;
}

body[data-page="sobre"] .profile-feature__visual::before {
  content: "";
  position: absolute;
  top: -17px;
  left: -17px;
  width: 74px;
  height: 74px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

body[data-page="sobre"] .profile-feature__visual::after {
  display: none;
}

body[data-page="sobre"] .profile-feature__visual img {
  display: block;
  height: auto;
  object-fit: contain;
}

body[data-page="sobre"] .profile-feature__visual img:first-child {
  position: static;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
}

body[data-page="sobre"] .profile-feature__visual img:last-child {
  position: static;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
}

body[data-page="sobre"] .profile-feature__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 7vw, 110px);
  row-gap: 28px;
  max-width: 1100px;
  padding: 0;
}

body[data-page="sobre"] .profile-feature__content p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

body[data-page="sobre"] .profile-feature__content p + p {
  margin-top: 28px;
}

body[data-page="sobre"] .career-stream {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 11vw, 158px) 0;
  background: var(--navy-deep);
}

body[data-page="sobre"] .career-stream::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

body[data-page="sobre"] .career-stream__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 10vw, 162px);
}

body[data-page="sobre"] .career-stream__intro h2 {
  margin-top: 16px;
  color: #ffffff;
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  line-height: 1.12;
}

body[data-page="sobre"] .career-stream__intro > p:not(.eyebrow) {
  max-width: 340px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, .63);
  font-size: .96rem;
  line-height: 1.7;
}

body[data-page="sobre"] .career-stream__list {
  border-top: 1px solid rgba(255, 255, 255, .24);
}

body[data-page="sobre"] .career-stream__list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 21px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .17);
}

body[data-page="sobre"] .career-stream__list article > span {
  padding-top: 3px;
  color: var(--gold);
  font-size: .69rem;
  font-weight: 900;
}

body[data-page="sobre"] .career-stream__list small {
  display: block;
  color: var(--gold);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-page="sobre"] .career-stream__list strong {
  display: block;
  margin-top: 7px;
  color: #ffffff;
  font-size: 1.05rem;
}

body[data-page="sobre"] .career-stream__list p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .9rem;
  line-height: 1.55;
}

body[data-page="sobre"] .credential-line {
  padding: 0;
  background: #ffffff;
}

body[data-page="sobre"] .credential-line__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-right: 1px solid var(--line);
}

body[data-page="sobre"] .credential-line article {
  min-height: 254px;
  padding: 42px 38px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

body[data-page="sobre"] .credential-line article span {
  color: var(--gold);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body[data-page="sobre"] .credential-line h3 {
  margin-top: 38px;
  font-size: 1.42rem;
  line-height: 1.23;
}

body[data-page="sobre"] .credential-line p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}

/* Tratamentos */
body[data-page="tratamentos"] .treatment-console {
  padding: clamp(72px, 9vw, 130px) 0 clamp(88px, 10vw, 150px);
  background: #ffffff;
}

body[data-page="tratamentos"] .treatment-console__top,
body[data-page="locais"] .location-matrix__top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

body[data-page="tratamentos"] .treatment-console__tabs {
  margin: 0;
}

body[data-page="tratamentos"] .treatment-console__output {
  margin-top: 52px;
  align-items: center;
}

body[data-page="tratamentos"] .treatment-console__output::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

body[data-page="tratamentos"] .treatment-console__output {
  position: relative;
}

body[data-page="tratamentos"] .treatment-console__output img {
  height: auto;
  min-height: 420px;
  max-height: none;
  object-fit: contain;
  object-position: center top;
}

body[data-page="tratamentos"] .treatment-console__output h2 {
  max-width: 570px;
}

body[data-page="tratamentos"] .treatment-atlas {
  padding: clamp(88px, 10vw, 154px) 0;
  background: #f4f7fb;
}

body[data-page="tratamentos"] .treatment-atlas__lead {
  max-width: 850px;
  margin-bottom: 58px;
}

body[data-page="tratamentos"] .treatment-atlas__lead h2 {
  font-size: clamp(2.25rem, 3.7vw, 4rem);
  line-height: 1.12;
}

body[data-page="tratamentos"] .treatment-atlas__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--navy);
  border-left: 1px solid var(--line);
}

body[data-page="tratamentos"] .treatment-atlas__grid article {
  grid-column: span 2;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  transition: transform .25s ease, box-shadow .25s ease;
}

body[data-page="tratamentos"] .treatment-atlas__grid article:nth-child(4),
body[data-page="tratamentos"] .treatment-atlas__grid article:nth-child(5) {
  grid-column: span 3;
}

body[data-page="tratamentos"] .treatment-atlas__grid article:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(0, 28, 64, .12);
}

body[data-page="tratamentos"] .treatment-atlas__grid img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

body[data-page="tratamentos"] .treatment-atlas__grid article:hover img {
  transform: scale(1.04);
}

body[data-page="tratamentos"] .treatment-atlas__grid article > div {
  min-height: 205px;
  padding: 26px 26px 30px;
}

body[data-page="tratamentos"] .treatment-atlas__grid span {
  color: var(--gold);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-page="tratamentos"] .treatment-atlas__grid h3 {
  margin-top: 13px;
  font-size: 1.45rem;
}

body[data-page="tratamentos"] .treatment-atlas__grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.57;
}

/* Robótica */
body[data-page="robotica"] .robot-hero--precision {
  position: relative;
  min-height: 790px;
  overflow: hidden;
}

body[data-page="robotica"] .robot-hero--precision::after {
  background: linear-gradient(90deg, rgba(0, 23, 55, .92), rgba(0, 23, 55, .53) 48%, rgba(0, 23, 55, .26));
}

body[data-page="robotica"] .robot-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .38;
  background-image:
    linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-position: right center;
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, transparent 25%, #000);
}

body[data-page="robotica"] .robot-hero__overlay span {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, .28);
}

body[data-page="robotica"] .robot-hero__overlay span:nth-child(1) { top: 20%; right: 17%; width: 240px; height: 240px; }
body[data-page="robotica"] .robot-hero__overlay span:nth-child(2) { top: 31%; right: 25%; width: 80px; height: 80px; }
body[data-page="robotica"] .robot-hero__overlay span:nth-child(3) { top: 51%; right: 8%; width: 24px; height: 24px; background: var(--gold); border-color: var(--gold); }

body[data-page="robotica"] .robot-copy {
  position: relative;
  z-index: 2;
  max-width: none;
  padding: 150px 0 76px;
}

@media (min-width: 761px) {
  body[data-page="robotica"]:not([data-page="home"]):not([data-page="anatomia"]) .robot-copy {
    width: min(calc(100% - clamp(96px, 14vw, 240px)), 1320px);
    max-width: none;
    margin-left: clamp(48px, 7vw, 116px);
    margin-right: auto;
    padding: 150px 0 76px;
  }
}

body[data-page="robotica"] .robot-copy__top {
  color: rgba(255, 255, 255, .7);
  border-bottom-color: rgba(255, 255, 255, .24);
}

body[data-page="robotica"] .robot-copy__content {
  max-width: 700px;
  padding-top: 88px;
}

body[data-page="robotica"] .robot-copy h1 {
  max-width: 720px;
  font-size: clamp(3.25rem, 5.5vw, 6rem);
}

body[data-page="robotica"] .robot-protocol {
  padding: clamp(76px, 9vw, 132px) 0;
  background: #ffffff;
}

body[data-page="robotica"] .robot-protocol__head {
  display: grid;
  grid-template-columns: minmax(190px, .55fr) minmax(0, 1fr);
  gap: 60px;
  max-width: 860px;
  margin-bottom: 52px;
}

body[data-page="robotica"] .robot-protocol__head p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
}

body[data-page="robotica"] .robot-protocol__steps {
  grid-template-columns: repeat(3, 1fr);
}

body[data-page="robotica"] .robot-protocol__steps article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  min-height: 210px;
}

body[data-page="robotica"] .robot-protocol__steps article > span {
  color: var(--gold);
}

body[data-page="robotica"] .robot-protocol__steps strong {
  color: var(--navy);
  font-size: 1.14rem;
}

body[data-page="robotica"] .robot-protocol__steps p {
  margin-top: 14px;
}

body[data-page="robotica"] .robot-statement {
  padding: clamp(86px, 10vw, 148px) 0;
  color: #ffffff;
  background: var(--navy-deep);
}

body[data-page="robotica"] .robot-statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .58fr);
  gap: clamp(52px, 10vw, 164px);
  align-items: end;
}

body[data-page="robotica"] .robot-statement h2 {
  max-width: 800px;
  color: #ffffff;
  font-size: clamp(2.25rem, 3.7vw, 4rem);
  line-height: 1.13;
}

body[data-page="robotica"] .robot-statement__grid > div:last-child {
  padding: 0 0 0 22px;
  border-left: 1px solid var(--gold);
}

body[data-page="robotica"] .robot-statement__grid > div:last-child p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.68;
}

body[data-page="robotica"] .robot-statement .arrow-link {
  color: #ffffff;
}

/* Locais */
body[data-page="locais"] .location-matrix {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 148px) 0;
  background: #ffffff;
}

body[data-page="locais"] .location-matrix::before {
  content: "";
  position: absolute;
  right: -13vw;
  bottom: -14vw;
  width: 54vw;
  height: 54vw;
  border: 1px solid rgba(0, 44, 102, .08);
  box-shadow: inset 0 0 0 42px rgba(0, 44, 102, .014), inset 0 0 0 84px rgba(0, 44, 102, .012);
  transform: rotate(45deg);
}

body[data-page="locais"] .location-matrix .container {
  position: relative;
  z-index: 1;
}

body[data-page="locais"] .location-matrix__list {
  margin-top: 0;
  border-top: 1px solid var(--navy);
}

body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list article {
  position: relative;
  grid-template-columns: 180px minmax(300px, 1.1fr) minmax(260px, .9fr) auto;
  gap: 26px;
  align-items: center;
  padding: 34px 0;
}

body[data-page="locais"] .location-matrix__list article::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -18px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translateY(-50%);
}

body[data-page="locais"] .location-matrix__list span {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .11em;
}

body[data-page="locais"] .location-matrix__list h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

body[data-page="locais"] .location-matrix__list p {
  margin: 0;
}

body[data-page="locais"] .location-matrix__list a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 3px;
}

body[data-page="locais"] .location-matrix__list a:hover {
  color: #ffffff;
  background: var(--navy);
}

body[data-page="locais"] .location-matrix__list i {
  font-style: normal;
}

/* FAQ */
body[data-page="faq"] .faq-command {
  padding: clamp(64px, 6vw, 94px) 0 clamp(78px, 8vw, 112px);
  background: #f6f8fb;
}

body[data-page="faq"] .faq-command__grid {
  display: grid;
  grid-template-columns: minmax(245px, .5fr) minmax(0, 1fr);
  gap: clamp(50px, 7vw, 108px);
  align-items: start;
}

body[data-page="faq"] .faq-command__intro {
  position: sticky;
  top: 116px;
  padding: 18px 0 0;
  border-top: 1px solid var(--gold);
}

body[data-page="faq"] .faq-command__intro > p {
  max-width: 290px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.72;
}

body[data-page="faq"] .faq-command__list {
  max-width: none;
}

body[data-page="faq"] .faq-command__list details {
  position: relative;
  padding-left: 52px;
}

body[data-page="faq"] .faq-command__list details::before {
  content: "+";
  position: absolute;
  top: 23px;
  left: 0;
  color: var(--gold);
  font-size: 1.26rem;
  font-weight: 400;
  line-height: 1;
}

body[data-page="faq"] .faq-command__list details[open]::before {
  content: "−";
}

body[data-page="faq"] .faq-command__list summary {
  padding-left: 0;
}

body[data-page="faq"] .faq-command__list p {
  padding-right: 34px;
}

/* Contato */
body[data-page="contato"] .contact-terminal {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 142px 0 80px;
  color: #ffffff;
  background: var(--navy-deep);
}

body[data-page="contato"] .contact-terminal__grid {
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image:
    linear-gradient(rgba(255, 255, 255, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .11) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 5%, #000 45%, transparent 100%);
}

body[data-page="contato"] .contact-terminal__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: clamp(54px, 9vw, 156px);
  align-items: center;
  min-height: calc(100svh - 222px);
}

body[data-page="contato"] .contact-terminal__copy h1 {
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(3.25rem, 5vw, 5.55rem);
  line-height: 1.06;
}

body[data-page="contato"] .contact-terminal__copy > p:not(.eyebrow) {
  max-width: 535px;
  margin: 25px 0 32px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

body[data-page="contato"] .contact-terminal__top {
  margin-bottom: 76px;
  color: rgba(255, 255, 255, .68);
  border-bottom-color: rgba(255, 255, 255, .2);
}

body[data-page="contato"] .contact-terminal__form {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
}

body[data-page="contato"] .contact-terminal__form-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

body[data-page="contato"] .contact-terminal__form-head small {
  color: rgba(255, 255, 255, .57);
  font-size: .75rem;
}

body[data-page="contato"] .contact-terminal__form .btn-primary {
  color: var(--navy);
  background: #ffffff;
  border-color: #ffffff;
}

body[data-page="contato"] .contact-terminal__form .btn-primary:hover {
  color: #ffffff;
  background: transparent;
}

@media (max-width: 980px) {
  body:not([data-page="anatomia"]) .editorial-hero { min-height: 0; padding: 132px 0 64px; }
  body:not([data-page="anatomia"]) .editorial-hero__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 62px; }
  body[data-page="sobre"] .profile-feature__grid,
  body[data-page="sobre"] .career-stream__grid,
  body[data-page="robotica"] .robot-statement__grid,
  body[data-page="faq"] .faq-command__grid,
  body[data-page="contato"] .contact-terminal__layout { grid-template-columns: 1fr; }
  body[data-page="sobre"] .profile-feature__visual,
  body[data-page="faq"] .faq-command__intro { position: static; }
  body[data-page="sobre"] .profile-feature__visual { position: relative; top: auto; }
  body[data-page="sobre"] .profile-feature__content { grid-template-columns: 1fr; row-gap: 24px; max-width: 720px; }
  body[data-page="sobre"] .career-stream__grid { gap: 52px; }
  body[data-page="tratamentos"] .treatment-atlas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="tratamentos"] .treatment-atlas__grid article,
  body[data-page="tratamentos"] .treatment-atlas__grid article:nth-child(4),
  body[data-page="tratamentos"] .treatment-atlas__grid article:nth-child(5) { grid-column: span 1; }
  body[data-page="robotica"] .robot-copy { padding-top: 132px; }
  body[data-page="robotica"] .robot-protocol__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-page="locais"] .location-matrix__list article { grid-template-columns: 150px minmax(0, 1fr) auto; }
  body[data-page="locais"] .location-matrix__list article p { grid-column: 2 / 3; }
  body[data-page="locais"] .location-matrix__list article a { grid-column: 3 / 4; grid-row: 1 / 3; }
  body[data-page="contato"] .contact-terminal__layout { min-height: 0; }
  body[data-page="contato"] .contact-terminal__top { margin-bottom: 50px; }
}

@media (max-width: 640px) {
  body:not([data-page="anatomia"]) .editorial-hero { padding: 112px 0 52px; }
  body:not([data-page="anatomia"]) .editorial-hero::before { right: -38%; width: 96%; }
  body:not([data-page="anatomia"]) .editorial-hero::after { top: 108px; right: 10%; width: 62px; height: 62px; }
  body:not([data-page="anatomia"]) .editorial-hero__top,
  body:not([data-page="anatomia"]) .contact-terminal__top,
  body:not([data-page="anatomia"]) .robot-copy__top { padding-bottom: 16px; font-size: .58rem; }
  body:not([data-page="anatomia"]) .editorial-hero__grid { padding-top: 50px; }
  body:not([data-page="anatomia"]) .editorial-hero h1 { font-size: 2.55rem; }
  body[data-page="sobre"] .profile-feature,
  body[data-page="sobre"] .career-stream,
  body[data-page="tratamentos"] .treatment-console,
  body[data-page="tratamentos"] .treatment-atlas,
  body[data-page="robotica"] .robot-protocol,
  body[data-page="robotica"] .robot-statement,
  body[data-page="locais"] .location-matrix,
  body[data-page="faq"] .faq-command { padding: 64px 0; }
  body[data-page="sobre"] .profile-feature__visual {
    display: grid;
    position: relative;
    top: auto;
    min-height: 0;
    grid-template-columns: minmax(0, .66fr) minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 8px;
    padding: 0;
  }
  body[data-page="sobre"] .profile-feature__visual img { height: auto; }
  body[data-page="sobre"] .profile-feature__content p { font-size: .95rem; }
  body[data-page="sobre"] .career-stream__intro h2 { font-size: 2.35rem; }
  body[data-page="sobre"] .credential-line__grid { grid-template-columns: 1fr; border-right: 0; }
  body[data-page="sobre"] .credential-line article { min-height: 0; padding: 31px 0; border-left: 0; }
  body[data-page="sobre"] .credential-line h3 { margin-top: 22px; }
  body[data-page="tratamentos"] .treatment-console__top { font-size: .62rem; }
  body[data-page="tratamentos"] .treatment-console__output { margin-top: 34px; }
  body[data-page="tratamentos"] .treatment-console__output img { min-height: 300px; }
  body[data-page="tratamentos"] .treatment-atlas__grid { grid-template-columns: 1fr; }
  body[data-page="tratamentos"] .treatment-atlas__grid img { height: 220px; }
  body[data-page="robotica"] .robot-hero--precision { min-height: 650px; }
  body[data-page="robotica"] .robot-copy { padding-top: 110px; }
  body[data-page="robotica"] .robot-copy__content { padding-top: 62px; }
  body[data-page="robotica"] .robot-copy h1 { font-size: 2.85rem; }
  body[data-page="robotica"] .robot-hero__overlay span:nth-child(1) { top: 18%; right: 8%; width: 145px; height: 145px; }
  body[data-page="robotica"] .robot-hero__overlay span:nth-child(2) { top: 29%; right: 17%; width: 48px; height: 48px; }
  body[data-page="robotica"] .robot-protocol__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  body[data-page="robotica"] .robot-protocol__steps { grid-template-columns: 1fr; }
  body[data-page="robotica"] .robot-protocol__steps article { min-height: 0; }
  body[data-page="robotica"] .robot-statement h2 { font-size: 2.35rem; }
  body[data-page="locais"] .location-matrix__list article { grid-template-columns: 1fr; gap: 10px; padding: 29px 0 29px 18px; }
  body[data-page="locais"] .location-matrix__list article p,
  body[data-page="locais"] .location-matrix__list article a { grid-column: auto; grid-row: auto; }
  body[data-page="locais"] .location-matrix__list a { width: fit-content; margin-top: 8px; }
  body[data-page="faq"] .faq-command__intro { padding-top: 18px; }
  body[data-page="faq"] .faq-command__list details { padding-left: 31px; }
  body[data-page="faq"] .faq-command__list details::before { top: 22px; font-size: 1rem; }
  body[data-page="faq"] .faq-command__list summary { font-size: 1rem; }
  body[data-page="contato"] .contact-terminal { padding: 112px 0 62px; }
  body[data-page="contato"] .contact-terminal__copy h1 { font-size: 2.65rem; }
  body[data-page="contato"] .contact-terminal__top { margin-bottom: 54px; }
  body[data-page="contato"] .contact-terminal__form { padding: 22px 18px; }
  body[data-page="contato"] .contact-terminal__form-head { display: grid; gap: 7px; }
}

/* Content must remain immediately available even if an observer is delayed. */
body:not([data-page="anatomia"]) [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Precision layer: technical cues without introducing new colors or visual noise. */
body[data-page="home"] .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-position: right top;
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, transparent 16%, rgba(0, 0, 0, .42) 52%, #000 100%);
}

body[data-page="home"] .home-hero {
  --tech-x: 72%;
  --tech-y: 44%;
}

body[data-page="home"] .hero-tech-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

body[data-page="home"] .hero-tech-field::before {
  content: "";
  position: absolute;
  top: calc(var(--tech-y) - 70px);
  left: calc(var(--tech-x) - 70px);
  width: 140px;
  height: 140px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, .018), inset 0 0 0 36px rgba(255, 255, 255, .012);
  transition: top .24s ease-out, left .24s ease-out;
}

body[data-page="home"] .hero-tech-field::after {
  content: "";
  position: absolute;
  top: calc(var(--tech-y) - 52px);
  left: calc(var(--tech-x) - 52px);
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 0 0 9px rgba(255, 255, 255, .025);
  transition: top .24s ease-out, left .24s ease-out;
}

body[data-page="home"] .hero-tech-field__axis {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, .22);
  transition: top .24s ease-out, left .24s ease-out;
}

body[data-page="home"] .hero-tech-field__axis--horizontal {
  top: var(--tech-y);
  right: 0;
  left: 0;
  height: 1px;
}

body[data-page="home"] .hero-tech-field__axis--vertical {
  top: 0;
  bottom: 0;
  left: var(--tech-x);
  width: 1px;
}

body[data-page="home"] .hero-tech-field__focus {
  position: absolute;
  top: calc(var(--tech-y) - 4px);
  left: calc(var(--tech-x) - 4px);
  width: 8px;
  height: 8px;
  background: var(--gold);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .1);
  transition: top .24s ease-out, left .24s ease-out;
}

body[data-page="home"] .home-hero-layout {
  isolation: isolate;
}

body[data-page="home"] .home-hero-layout::before {
  content: "";
  position: absolute;
  top: 142px;
  left: -38px;
  z-index: -1;
  width: min(58vw, 810px);
  height: calc(100% - 208px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-left: 0;
  pointer-events: none;
}

body[data-page="home"] .hero-copy--editorial::before {
  content: "";
  display: block;
  width: 62px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--gold);
  box-shadow: 19px 0 0 rgba(255, 255, 255, .35);
}

body[data-page="home"] .hero-meta {
  position: relative;
}

body[data-page="home"] .hero-meta::after {
  content: "";
  position: absolute;
  bottom: -44px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 18px 0 0 rgba(255, 255, 255, .35), 36px 0 0 rgba(255, 255, 255, .18);
}

body[data-page="home"] .proof-bar {
  position: relative;
  overflow: hidden;
}

body[data-page="home"] .proof-bar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 45%, var(--gold) 55%, transparent);
  opacity: .78;
}

body[data-page="home"] .proof-bar p::before {
  content: "+";
  flex: 0 0 auto;
  margin-right: 11px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 400;
}

body[data-page="home"] .home-intro {
  position: relative;
  overflow: hidden;
}

body[data-page="home"] .home-intro::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -16vw;
  width: 43vw;
  height: 43vw;
  border: 1px solid rgba(0, 44, 102, .075);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px rgba(0, 44, 102, .018), inset 0 0 0 68px rgba(0, 44, 102, .014);
  pointer-events: none;
}

body[data-page="home"] .home-intro__content {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .home-intro__content::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -32px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

body[data-page="home"] .care-path {
  position: relative;
  overflow: hidden;
}

body[data-page="home"] .care-path::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .11) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
  pointer-events: none;
}

body[data-page="home"] .care-path .container {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .care-path__steps li {
  position: relative;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .24);
}

body[data-page="home"] .care-path__steps li::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 28px;
  height: 4px;
  background: var(--gold);
}

body[data-page="home"] .clinical-feature__visual {
  position: relative;
}

body[data-page="home"] .clinical-feature__visual::before,
body[data-page="home"] .clinical-feature__visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

body[data-page="home"] .clinical-feature__visual::before {
  inset: 30px;
  border: 1px solid rgba(255, 255, 255, .44);
  border-right-color: transparent;
}

body[data-page="home"] .clinical-feature__visual::after {
  right: 30px;
  bottom: 30px;
  width: 52px;
  height: 52px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

body[data-page="home"] .clinical-feature__visual img {
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
}

body[data-page="home"] .clinical-feature:hover .clinical-feature__visual img {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.035);
}

body[data-page="home"] .clinical-feature__content {
  position: relative;
}

body[data-page="home"] .clinical-feature__content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: clamp(32px, 8vw, 146px);
  width: 92px;
  height: 1px;
  background: var(--gold);
}

body[data-page="home"] .focus-area__item {
  overflow: hidden;
}

body[data-page="home"] .focus-area__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform .34s cubic-bezier(.2, .7, .2, 1);
}

body[data-page="home"] .focus-area__item:hover::before {
  transform: translateX(0);
}

body[data-page="home"] .focus-area__item:hover {
  box-shadow: 0 20px 38px rgba(0, 28, 64, .13);
  transform: translateY(-4px);
}

body[data-page="home"] .home-location__image {
  position: relative;
}

body[data-page="home"] .home-location__image::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  width: 70px;
  height: 70px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

body[data-page="home"] .home-location__image img {
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

body[data-page="home"] .home-location__image:hover img {
  transform: scale(1.035);
}

body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero {
  position: relative;
  overflow: hidden;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8%;
  width: 46%;
  height: 100%;
  opacity: .45;
  background-image:
    linear-gradient(rgba(0, 44, 102, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 44, 102, .09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero-grid {
  position: relative;
  z-index: 1;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-lab,
body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three,
body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid,
body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps,
body:not([data-page="home"]):not([data-page="anatomia"]) .location-list,
body:not([data-page="home"]):not([data-page="anatomia"]) .faq-list {
  position: relative;
}

body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-lab::before,
body:not([data-page="home"]):not([data-page="anatomia"]) .cards-three::before,
body:not([data-page="home"]):not([data-page="anatomia"]) .treatment-focus-grid::before,
body:not([data-page="home"]):not([data-page="anatomia"]) .robot-steps::before,
body:not([data-page="home"]):not([data-page="anatomia"]) .location-list::before,
body:not([data-page="home"]):not([data-page="anatomia"]) .faq-list::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--gold);
}

@media (max-width: 980px) {
  body[data-page="home"] .home-hero-layout::before { left: -24px; width: 72vw; }
  body[data-page="home"] .clinical-feature__content::after { left: max(32px, calc((100vw - 680px) / 2)); }
}

@media (max-width: 640px) {
  body[data-page="home"] .home-hero-layout::before { display: none; }

  body[data-page="home"] .hero-tech-field::after,
  body[data-page="home"] .hero-tech-field__axis,
  body[data-page="home"] .hero-tech-field__focus,
  body[data-page="home"] .hero-tech-field::before {
    display: none;
  }

  body[data-page="home"] .home-hero::after { opacity: .2; background-size: 52px 52px; }
  body[data-page="home"] .home-hero-layout::before { top: 95px; left: -20px; width: calc(100% - 14px); height: calc(100% - 146px); }
  body[data-page="home"] .hero-copy--editorial::before { width: 44px; margin-bottom: 17px; }
  body[data-page="home"] .home-intro::after { top: 3%; right: -49vw; width: 118vw; height: 118vw; }
  body[data-page="home"] .home-intro__content::after { display: none; }
  body[data-page="home"] .clinical-feature__visual::before { inset: 18px; }
  body[data-page="home"] .clinical-feature__visual::after { right: 18px; bottom: 18px; width: 34px; height: 34px; }
  body[data-page="home"] .clinical-feature__content::after { left: 20px; }
  body[data-page="home"] .home-location__image::before { top: 16px; left: 16px; width: 48px; height: 48px; }
  body:not([data-page="home"]):not([data-page="anatomia"]) .page-hero::before { right: -36%; width: 86%; opacity: .34; }
}

/* Final interaction and colour hierarchy overrides. */
body:not([data-page="anatomia"]) .arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  gap: 14px;
  margin-top: 0;
  padding: 0 17px;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--navy);
  border-radius: 3px;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.2;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

body:not([data-page="anatomia"]) .arrow-link::after { margin-left: 0; }

body:not([data-page="anatomia"]) .arrow-link:hover {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-1px);
}

body[data-page="home"] .home-intro .arrow-link { margin-top: 30px; }

body[data-page="robotica"] .robot-statement .arrow-link {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, .72);
}

body[data-page="robotica"] .robot-statement .arrow-link:hover {
  color: var(--navy);
  background: #ffffff;
  border-color: #ffffff;
}

/* Blue surfaces punctuate the journey; white remains reserved for reading. */
body[data-page="home"] .proof-bar {
  color: #ffffff;
  background: var(--navy);
  border-color: rgba(255, 255, 255, .16);
}

body[data-page="home"] .proof-bar p,
body[data-page="home"] .proof-bar p:last-child {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .16);
}

body[data-page="home"] .proof-bar::after { opacity: .36; }

body[data-page="home"] .clinical-feature,
body[data-page="home"] .clinical-feature__content {
  background: #eaf1f8;
}

body[data-page="home"] .focus-area {
  color: #ffffff;
  background: var(--navy);
}

body[data-page="home"] .focus-area .eyebrow.dark,
body[data-page="home"] .focus-area__item span,
body[data-page="home"] .focus-area__item i {
  color: var(--gold);
}

body[data-page="home"] .focus-area__heading h2,
body[data-page="home"] .focus-area__item h3 {
  color: #ffffff;
}

body[data-page="home"] .focus-area__grid {
  border-color: rgba(255, 255, 255, .26);
}

body[data-page="home"] .focus-area__item,
body[data-page="home"] .focus-area__item:first-child {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .2);
}

body[data-page="home"] .focus-area__item p { color: rgba(255, 255, 255, .72); }

body[data-page="home"] .focus-area__item:hover {
  color: var(--navy);
  background: #ffffff;
}

body[data-page="home"] .focus-area__item:hover h3 { color: var(--navy); }
body[data-page="home"] .focus-area__item:hover p { color: var(--muted); }

body[data-page="home"] .home-location { background: #eef4f8; }
body[data-page="home"] .home-location__image { background: var(--navy); }

/* Remove empty editorial columns and guarantee full-bleed imagery. */
body[data-page="home"] .home-intro {
  padding: clamp(78px, 8vw, 120px) 0 clamp(74px, 7vw, 108px);
}

body[data-page="home"] .home-intro__grid {
  display: block;
}

body[data-page="home"] .home-intro__label {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  max-width: 620px;
  margin: 0 0 38px;
}

body[data-page="home"] .home-intro__label span {
  flex: 0 0 auto;
  margin: 0;
}

body[data-page="home"] .home-intro__label p {
  max-width: 280px;
}

body[data-page="home"] .home-intro__content {
  max-width: 940px;
}

body[data-page="home"] .home-intro__content h2 {
  max-width: 900px;
}

body[data-page="home"] .home-location__image {
  height: 470px;
  min-height: 0;
}

@media (max-width: 980px) {
  body[data-page="home"] .home-location__image {
    height: 440px;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .home-intro__label {
    gap: 18px;
    margin-bottom: 29px;
  }

  body[data-page="home"] .home-location__image {
    height: 310px;
  }
}

/* Home hero: photographic authority with motion kept deliberately restrained. */
body[data-page="home"] .home-hero::after,
body[data-page="home"] .hero-tech-field,
body[data-page="home"] .home-hero-layout::before,
body[data-page="home"] .hero-copy--editorial::before,
body[data-page="home"] .hero-meta,
body[data-page="home"] .hero-scroll-cue {
  display: none;
}

body[data-page="home"] .home-hero {
  min-height: max(720px, 100svh);
}

body[data-page="home"] .hero-photo img {
  object-position: 58% 50%;
  transform: scale(1.035);
  animation: hero-photo-settle 1.25s cubic-bezier(.2, .72, .22, 1) both;
}

body[data-page="home"] .hero-shade {
  background: linear-gradient(90deg, rgba(0, 18, 46, .94) 0%, rgba(0, 24, 58, .79) 36%, rgba(0, 26, 62, .36) 68%, rgba(0, 18, 46, .54) 100%);
}

body[data-page="home"] .home-hero-layout {
  grid-template-columns: minmax(0, 900px) 1fr;
  align-items: center;
  min-height: max(720px, 100svh);
  padding: 138px 0 78px;
}

body[data-page="home"] .hero-copy--editorial {
  align-self: center;
  max-width: 900px;
  padding: 0;
}

body[data-page="home"] .hero-copy--editorial h1 {
  max-width: 900px;
  color: #ffffff;
  font-size: clamp(3.35rem, 4.8vw, 5.25rem);
  line-height: 1.08;
  text-shadow: 0 8px 30px rgba(0, 14, 38, .28);
}

body[data-page="home"] .hero-copy--editorial p:not(.eyebrow) {
  max-width: 570px;
  margin-top: 25px;
}

body[data-page="home"] .hero-copy--editorial > .eyebrow,
body[data-page="home"] .hero-copy--editorial > h1,
body[data-page="home"] .hero-copy--editorial > p:not(.eyebrow),
body[data-page="home"] .hero-copy--editorial > .hero-actions {
  opacity: 0;
  animation: hero-content-enter .7s cubic-bezier(.2, .72, .22, 1) forwards;
}

body[data-page="home"] .hero-copy--editorial > .eyebrow { animation-delay: .1s; }
body[data-page="home"] .hero-copy--editorial > h1 { animation-delay: .18s; }
body[data-page="home"] .hero-copy--editorial > p:not(.eyebrow) { animation-delay: .27s; }
body[data-page="home"] .hero-copy--editorial > .hero-actions { animation-delay: .36s; }

@keyframes hero-photo-settle {
  from { opacity: .72; transform: scale(1.075); }
  to { opacity: 1; transform: scale(1.035); }
}

@keyframes hero-content-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  body[data-page="home"] .home-hero-layout {
    display: flex;
    min-height: max(700px, 100svh);
    padding: 120px 0 70px;
  }

  body[data-page="home"] .hero-copy--editorial {
    width: min(100%, 760px);
    padding: 0;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .home-hero,
  body[data-page="home"] .home-hero-layout {
    min-height: max(680px, 100svh);
  }

  body[data-page="home"] .home-hero-layout { padding: 104px 0 52px; }
  body[data-page="home"] .hero-copy--editorial h1 { font-size: clamp(2.62rem, 11vw, 3.65rem); line-height: 1.05; }
  body[data-page="home"] .hero-photo img { object-position: 60% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-photo img,
  body[data-page="home"] .hero-copy--editorial > .eyebrow,
  body[data-page="home"] .hero-copy--editorial > h1,
  body[data-page="home"] .hero-copy--editorial > p:not(.eyebrow),
  body[data-page="home"] .hero-copy--editorial > .hero-actions {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* Locais: directory-style layout prioritizes name, address and map action. */
body[data-page="locais"] .editorial-hero--locais {
  min-height: 390px;
  padding: 136px 0 64px;
  color: #ffffff;
  background: var(--navy);
  border-bottom: 0;
}

body[data-page="locais"] .editorial-hero--locais::before,
body[data-page="locais"] .editorial-hero--locais::after {
  display: none;
}

body[data-page="locais"] .editorial-hero__top {
  color: rgba(255, 255, 255, .72);
  border-bottom-color: rgba(255, 255, 255, .2);
}

body[data-page="locais"] .editorial-hero__grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, .58fr);
  gap: clamp(48px, 9vw, 144px);
  padding-top: 54px;
}

body[data-page="locais"] .editorial-hero h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(3rem, 4.45vw, 5rem);
}

body[data-page="locais"] .editorial-hero .eyebrow.dark,
body[data-page="locais"] .editorial-hero__note span {
  color: var(--gold);
}

body[data-page="locais"] .editorial-hero__note {
  padding-left: 20px;
  border-left-color: var(--gold);
}

body[data-page="locais"] .editorial-hero__note p {
  color: rgba(255, 255, 255, .82);
}

/* Mobile navigation remains legible over image-led hero sections. */
@media (max-width: 980px) {
  body:not([data-page="anatomia"]) .menu-toggle {
    position: relative;
    display: block;
    color: var(--navy);
    background: rgba(255, 255, 255, .98);
    border-color: rgba(0, 44, 102, .2);
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0, 24, 58, .14);
  }

  body:not([data-page="anatomia"]) .menu-toggle::before,
  body:not([data-page="anatomia"]) .menu-toggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 20px;
    height: 2px;
    margin: 0;
    background: currentColor;
    transform: translate(-50%, 0);
    transition: transform .2s ease, opacity .2s ease;
  }

  body:not([data-page="anatomia"]) .menu-toggle::before {
    content: "";
    transform: translate(-50%, -6px);
  }

  body:not([data-page="anatomia"]) .menu-toggle span:last-child {
    transform: translate(-50%, 6px);
  }

  body:not([data-page="anatomia"]) .site-header.is-open .menu-toggle::before {
    opacity: 0;
  }

  body:not([data-page="anatomia"]) .site-header.is-open .menu-toggle span:first-child {
    transform: translate(-50%, 0) rotate(45deg);
  }

  body:not([data-page="anatomia"]) .site-header.is-open .menu-toggle span:last-child {
    transform: translate(-50%, 0) rotate(-45deg);
  }

  body:not([data-page="anatomia"]) .site-header.is-open .main-nav {
    inset: 82px 16px auto;
    z-index: 2;
    gap: 0;
    padding: 8px 18px;
    color: var(--navy);
    background: rgba(255, 255, 255, .99);
    border: 1px solid rgba(0, 44, 102, .13);
    border-radius: 4px;
    box-shadow: 0 18px 42px rgba(0, 24, 58, .18);
    backdrop-filter: blur(16px);
  }

  body:not([data-page="anatomia"]) .site-header.is-open .main-nav a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 2px;
    color: var(--navy);
    border-bottom: 1px solid rgba(0, 44, 102, .1);
    font-size: .98rem;
    opacity: 1;
  }

  body:not([data-page="anatomia"]) .site-header.is-open .main-nav a::after {
    display: none;
  }

  body:not([data-page="anatomia"]) .site-header.is-open .main-nav a[aria-current="page"] {
    font-weight: 800;
  }

  body:not([data-page="anatomia"]) .site-header.is-open .main-nav a:last-child {
    border-bottom: 0;
  }
}

body[data-page="locais"] .location-matrix {
  padding: clamp(58px, 7vw, 94px) 0;
  background: #f6f8fb;
}

body[data-page="locais"] .location-matrix::before {
  display: none;
}

body[data-page="locais"] .location-matrix__top {
  padding-bottom: 16px;
  border-bottom-color: rgba(0, 44, 102, .22);
}

body[data-page="locais"] .location-matrix__list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  border-top: 0;
  border-bottom: 0;
}

body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list article {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  gap: 6px 38px;
  min-height: 142px;
  padding: 27px 30px;
  background: #ffffff;
  border: 1px solid rgba(0, 44, 102, .14);
  border-radius: 4px;
}

body[data-page="locais"] .location-matrix__list article::before {
  display: none;
}

body[data-page="locais"] .location-matrix__list span {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding-top: 0;
}

body[data-page="locais"] .location-matrix__list h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
}

body[data-page="locais"] .location-matrix__list p {
  grid-column: 1;
  grid-row: 3;
  max-width: 670px;
  color: #4d627f;
  font-size: .96rem;
}

body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list a {
  grid-column: 2;
  grid-row: 1 / 4;
  justify-self: end;
  align-self: center;
  min-height: 46px;
  padding: 0 19px;
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list a:hover {
  color: var(--navy);
  background: #ffffff;
}

@media (max-width: 980px) {
  body[data-page="locais"] .editorial-hero--locais {
    min-height: 0;
    padding: 126px 0 58px;
  }

  body[data-page="locais"] .editorial-hero__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 42px;
  }

  body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list article { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (max-width: 640px) {
  body[data-page="locais"] .editorial-hero--locais {
    padding: 108px 0 48px;
  }

  body[data-page="locais"] .editorial-hero__top {
    align-items: flex-start;
    gap: 8px;
  }

  body[data-page="locais"] .editorial-hero h1 {
    font-size: 2.55rem;
  }

  body[data-page="locais"] .location-matrix {
    padding: 48px 0;
  }

  body[data-page="locais"] .location-matrix__list {
    gap: 10px;
    margin-top: 20px;
  }

  body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list article {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
    min-height: 0;
    padding: 24px 20px;
  }

  body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list span,
  body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list h2,
  body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list p,
  body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list a {
    grid-column: 1;
    grid-row: auto;
  }

  body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list span { padding-top: 0; }
  body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list h2 { font-size: 1.55rem; }
  body[data-page="locais"]:not([data-page="home"]):not([data-page="anatomia"]) .location-matrix__list a { justify-self: start; margin-top: 6px; }
}

/* Final pain-map composition: only the hip region and the two-step task remain visible. */
body[data-page="anatomia"] .hip-pain-intake {
  grid-template-areas:
    "head"
    "instruction"
    "controls"
    "map";
  grid-template-rows: auto auto auto minmax(0, 1fr);
  align-content: start;
  justify-items: center;
  gap: 10px;
  height: 100svh;
  min-height: 0;
  padding: clamp(86px, 9svh, 104px) clamp(20px, 4vw, 58px) 18px;
}

body[data-page="anatomia"] .hip-pain-intake-head { grid-area: head; }
body[data-page="anatomia"] .hip-pain-intake-controls { grid-area: controls; }
body[data-page="anatomia"] .hip-pain-map-wrap { grid-area: map; align-self: start; }
body[data-page="anatomia"] .hip-pain-intake-instruction { grid-area: instruction; }

body[data-page="anatomia"] .hip-pain-intake-head {
  justify-content: center;
  text-align: center;
}

body[data-page="anatomia"] .hip-pain-intake-head h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Afacad", Arial, sans-serif;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1;
}

body[data-page="anatomia"] .hip-pain-intake-controls {
  justify-content: center;
}

body[data-page="anatomia"] .hip-pain-map-wrap {
  width: min(100%, 540px);
  min-height: clamp(350px, 58svh, 540px);
}

body[data-page="anatomia"] #pain-map-3d {
  width: min(100%, 520px);
  height: clamp(350px, 58svh, 540px);
  background: radial-gradient(circle at 50% 43%, #ffffff 0%, #f5f8fa 70%, #edf2f5 100%);
  border-color: rgba(0, 44, 102, .06);
  border-radius: 10px;
}

body[data-page="anatomia"] #pain-map-3d::after {
  inset: 16% 14%;
  background: radial-gradient(ellipse at center, rgba(0, 44, 102, .025), transparent 70%);
}

body[data-page="anatomia"] .hip-pain-intake-instruction {
  margin: 0;
  color: #52677a;
  font-size: .84rem;
  line-height: 1.45;
  text-align: center;
}

body[data-page="anatomia"] .hip-pain-intake-status[hidden] {
  display: none;
}

@media (max-width: 768px) {
  body[data-page="anatomia"] .hip-pain-intake {
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 8px;
    padding: 78px 16px 16px;
  }

  body[data-page="anatomia"] .hip-pain-intake-head h1 {
    font-size: 1.55rem;
  }

  body[data-page="anatomia"] .hip-pain-map-wrap {
    width: min(100%, 390px);
    min-height: min(48svh, 410px);
  }

  body[data-page="anatomia"] #pain-map-3d {
    width: min(100%, 390px);
    height: min(48svh, 410px);
    min-height: 330px;
    border-radius: 9px;
  }

  body[data-page="anatomia"] .hip-pain-intake-instruction {
    font-size: .8rem;
  }
}
