:root {
  color-scheme: light;
  --ink: #151918;
  --ink-soft: #2a302e;
  --muted: #68716d;
  --line: rgba(21, 25, 24, 0.13);
  --paper: #f7f8f5;
  --white: #ffffff;
  --sage: #57766f;
  --sage-dark: #14201d;
  --sage-soft: #e6efeb;
  --clay: #b96958;
  --rose: #ddb3a5;
  --gold: #c6a567;
  --shadow: 0 22px 80px rgba(20, 32, 29, 0.16);
  --radius: 8px;
  --max: 1180px;
  --header-h: 78px;
  font-family: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.video-modal-open,
body.image-modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--sage-dark);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: calc(var(--page-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--clay), var(--sage));
  transform-origin: left;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 260ms ease, color 260ms ease, box-shadow 260ms ease, min-height 260ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 66px;
  color: var(--ink);
  background: rgba(247, 248, 245, 0.92);
  box-shadow: 0 1px 0 rgba(21, 25, 24, 0.08), 0 18px 60px rgba(21, 25, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-left: clamp(28px, 4.4vw, 72px);
  font-weight: 700;
  line-height: 1;
}

.brand img {
  width: 56px;
  height: auto;
  object-fit: contain;
}

.site-header.is-scrolled .brand img,
.site-header.is-open .brand img {
  filter: invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: currentColor;
  opacity: 0.82;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.header-action {
  color: var(--sage-dark);
  background: var(--white);
}

.site-header.is-scrolled .header-action,
.site-header.is-open .header-action {
  color: var(--white);
  background: var(--sage-dark);
}

.button-primary {
  color: var(--white);
  background: var(--clay);
  box-shadow: 0 18px 44px rgba(185, 105, 88, 0.26);
}

.button-primary:hover,
.header-action:hover {
  transform: translateY(-2px);
}

.button-quiet {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.button-map {
  color: var(--sage-dark);
  background: var(--white);
}

.nav-toggle {
  display: none;
  justify-self: end;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: currentColor;
  transition: transform 220ms ease;
}

.nav-toggle span:first-child { transform: translate(-50%, -5px); }
.nav-toggle span:last-child { transform: translate(-50%, 3px); }

.site-header.is-open .nav-toggle span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.site-header.is-scrolled .nav-toggle,
.site-header.is-open .nav-toggle {
  color: var(--ink);
  border-color: rgba(21, 25, 24, 0.12);
  background: rgba(21, 25, 24, 0.06);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(860px, 92svh);
  overflow: clip;
  color: var(--white);
  isolation: isolate;
}

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

.hero-bg {
  z-index: -2;
  width: 100%;
  height: calc(100% + 56px);
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.02);
  will-change: transform;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 12, 11, 0.84), rgba(15, 22, 20, 0.52) 45%, rgba(13, 16, 15, 0.16)),
    linear-gradient(180deg, rgba(9, 12, 11, 0.36), rgba(9, 12, 11, 0.18) 42%, rgba(9, 12, 11, 0.72));
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 0 clamp(120px, 18vh, 190px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .kicker {
  color: var(--rose);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(4.1rem, 11vw, 9.4rem);
}

h2 {
  max-width: 790px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.16;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.12rem, 2vw, 1.36rem);
  line-height: 1.6;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-rail {
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  bottom: 46px;
  display: grid;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: var(--sage-dark);
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(80px, 11vw, 150px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: clamp(28px, 6vw, 88px);
  margin-bottom: clamp(36px, 6vw, 70px);
}

.section-head .kicker {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

.section-head h2 {
  grid-column: 1;
}

.section-head > p:not(.kicker) {
  grid-column: 2;
}

.section-head p:last-child {
  max-width: 520px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.procedures-lab .section-head {
  display: block;
  max-width: 920px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.procedures-lab .section-head .kicker {
  margin-bottom: 14px;
}

.procedures-lab .section-head h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5vw, 4.85rem);
  line-height: 0.98;
}

.procedures-lab .section-head p:last-child {
  max-width: 760px;
  margin-bottom: 0;
}

.filter-shell {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 10px;
  border: 1px solid rgba(21, 25, 24, 0.1);
  border-radius: 999px;
  background: rgba(247, 248, 245, 0.82);
  backdrop-filter: blur(18px);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-button {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-button:hover {
  transform: translateY(-1px);
}

.filter-button.is-active {
  color: var(--white);
  background: var(--sage-dark);
}

.filter-count {
  margin-right: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

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

.procedure-card,
.journey-step,
.doctor-card,
.safety-card,
.safety-video-card {
  border-radius: var(--radius);
}

.procedure-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(21, 25, 24, 0.11);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(21, 25, 24, 0.04);
  cursor: pointer;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, opacity 220ms ease;
}

.procedure-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 0), rgba(198, 165, 103, 0.22), transparent 34%);
  transition: opacity 220ms ease;
  pointer-events: none;
}

.procedure-card:hover {
  transform: translateY(-6px);
  border-color: rgba(87, 118, 111, 0.38);
  box-shadow: var(--shadow);
}

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

.procedure-card.is-hidden {
  display: none;
}

.procedure-card.is-featured {
  min-height: 290px;
  color: var(--ink);
  border-color: rgba(21, 25, 24, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 250, 247, 0.91) 42%, rgba(238, 246, 242, 0.68) 72%, rgba(238, 246, 242, 0.44) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(230, 239, 235, 0.18)),
    var(--featured-image) var(--featured-position, right bottom) / var(--featured-size, auto 76%) no-repeat;
  box-shadow: 0 12px 42px rgba(20, 32, 29, 0.08);
  isolation: isolate;
}

.procedure-card.is-featured::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-top: 1px solid rgba(21, 25, 24, 0.18);
  border-right: 1px solid rgba(21, 25, 24, 0.18);
  opacity: 0.52;
}

.procedure-card.is-featured h3,
.procedure-card.is-featured p,
.procedure-card.is-featured span {
  position: relative;
  z-index: 1;
}

.featured-rino {
  --featured-image: url("assets/procedimentos/rinoplastia.webp");
  --featured-position: center;
  --featured-size: cover;
}

.featured-abdomen {
  --featured-image: url("assets/procedimentos/abdominoplastia.webp");
  --featured-position: 64% center;
  --featured-size: cover;
}

.featured-mamas {
  --featured-image: url("assets/procedimentos/mamoplastia.webp");
  --featured-position: 66% center;
  --featured-size: cover;
}

.featured-lipo {
  --featured-image: url("assets/procedimentos/lipoaspiracao.webp");
  --featured-position: center;
  --featured-size: cover;
}

.procedure-card p {
  margin: 0;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.procedure-card.is-featured p {
  color: var(--clay);
}

.procedure-card.is-featured span {
  color: var(--muted);
}

.procedure-card h3 {
  margin: clamp(16px, 2vw, 24px) 0 12px;
  font-size: clamp(1.28rem, 2.12vw, 1.82rem);
  line-height: 1.04;
}

.procedure-card > span {
  color: var(--muted);
  max-width: 88%;
  font-size: 0.94rem;
  line-height: 1.58;
}

.journey {
  position: relative;
  width: 100%;
  max-width: none;
  padding-top: clamp(76px, 8vw, 112px);
  padding-bottom: clamp(74px, 8vw, 116px);
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  color: var(--white);
  background: #14201d;
  isolation: isolate;
}

.journey::before,
.journey::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.journey::before {
  z-index: -2;
  background:
    url("assets/hero-cirurgia.webp") center / cover no-repeat;
  opacity: 0.66;
  transform: scale(1.04);
}

.journey::after {
  z-index: -1;
  background:
    radial-gradient(circle at 78% 16%, rgba(221, 179, 165, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(20, 32, 29, 0.86), rgba(20, 32, 29, 0.58) 48%, rgba(20, 32, 29, 0.34)),
    linear-gradient(180deg, rgba(20, 32, 29, 0.66), rgba(20, 32, 29, 0.8));
}

.journey .kicker {
  color: var(--rose);
}

.journey .section-head .kicker {
  margin-bottom: 16px;
}

.journey .section-head {
  display: block;
  max-width: 920px;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.journey .section-head h2 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5vw, 4.85rem);
  line-height: 0.98;
}

.journey .section-head p:not(.kicker) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.04rem;
  line-height: 1.72;
}

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
}

.journey-track::before {
  content: "";
  position: absolute;
  top: 43px;
  left: 48px;
  right: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(221, 179, 165, 0.72), rgba(255, 255, 255, 0.16));
  pointer-events: none;
}

.journey-step {
  position: relative;
  min-height: 250px;
  padding: 92px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.journey-step span {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(221, 179, 165, 0.48);
  border-radius: 50%;
  color: var(--sage-dark);
  background: var(--rose);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
}

.journey-step h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
}

.journey-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.64;
}

.team {
  display: block;
}

.team-copy {
  max-width: 880px;
  margin-bottom: clamp(24px, 4vw, 38px);
}

.team-copy .kicker {
  margin-bottom: 14px;
}

.team-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5vw, 4.75rem);
  line-height: 0.98;
}

.team-copy p:last-child {
  max-width: 680px;
  margin-bottom: 0;
}

.team-copy p:last-child,
.safety-copy p,
.clinic-content p {
  color: var(--muted);
  line-height: 1.75;
}

.team-story {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 58px);
  padding: clamp(24px, 4vw, 36px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-story span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-story h3 {
  max-width: 360px;
  margin-top: 12px;
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  line-height: 1.04;
}

.team-story p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.78;
}

.team-story ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.team-story li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.team-story li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
}

.doctor-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  margin: 0;
  min-height: 0;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 60px rgba(20, 32, 29, 0.12);
}

.doctor-card img {
  width: 100%;
  height: clamp(340px, 31vw, 430px);
  min-height: 0;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.01);
  transition: transform 560ms ease;
}

.doctor-card:hover img {
  transform: scale(1.045);
}

.doctor-card::after {
  content: none;
}

.doctor-card figcaption {
  position: static;
  z-index: auto;
  padding: 24px 26px 26px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.doctor-card span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.doctor-card h3 {
  margin-top: 8px;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
}

.doctor-card p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
}

.clinic-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.46fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
  padding: clamp(72px, 10vw, 140px) max(20px, calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.clinic-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sage-dark);
  box-shadow: var(--shadow);
}

.clinic-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clinic-media::after {
  content: "rotina cirúrgica";
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(20, 32, 29, 0.42);
  backdrop-filter: blur(10px);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.clinic-content h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5vw, 4.85rem);
  line-height: 0.98;
}

.clinic-content {
  grid-column: 1 / -1;
  max-width: 900px;
  min-width: 0;
}

.clinic-showcase > * { min-width: 0; }

.clinic-points {
  display: grid;
  gap: 12px;
  align-content: center;
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
  background: var(--paper);
}

.clinic-points li {
  position: relative;
  min-height: 96px;
  padding: 20px 20px 20px 44px;
  border: 1px solid rgba(21, 25, 24, 0.08);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.55;
}

.clinic-points li::before {
  content: "•";
  position: absolute;
  left: 20px;
  top: 20px;
  color: var(--clay);
  font-size: 1.2rem;
  line-height: 1;
}

.structure-carousel {
  grid-column: 1 / -1;
  position: relative;
  margin-top: clamp(22px, 3vw, 34px);
}

.structure-carousel-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.structure-carousel.is-dragging .structure-carousel-viewport {
  cursor: grabbing;
}

.structure-carousel.is-dragging .structure-slide {
  cursor: grabbing;
}

.structure-carousel-track {
  display: flex;
  gap: 14px;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.structure-slide {
  position: relative;
  flex: 0 0 calc((100% - 42px) / 4);
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--sage-dark);
  cursor: zoom-in;
  text-align: inherit;
}

.structure-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(9, 14, 13, 0), rgba(9, 14, 13, 0.28));
  opacity: 0;
  transition: opacity 240ms ease;
}

.structure-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 240ms ease;
}

.structure-slide:hover::after,
.structure-slide:focus-visible::after {
  opacity: 1;
}

.structure-slide:hover img,
.structure-slide:focus-visible img {
  filter: saturate(1.04);
  transform: scale(1.035);
}

.structure-slide:focus-visible {
  outline: 2px solid rgba(185, 105, 88, 0.72);
  outline-offset: 4px;
}

.structure-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.structure-carousel-arrow {
  position: relative;
  width: 42px;
  flex: 0 0 42px;
  height: 42px;
  border: 1px solid rgba(21, 25, 24, 0.14);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(20, 32, 29, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.structure-carousel-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--sage-dark);
  border-bottom: 2px solid var(--sage-dark);
  transform: translate(-50%, -50%) rotate(45deg);
}

.structure-carousel-arrow-next::before {
  left: 47%;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.structure-carousel-arrow:hover,
.structure-carousel-arrow:focus-visible {
  border-color: rgba(185, 105, 88, 0.38);
  background: #fffaf7;
  transform: translateY(-1px);
}

.structure-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
}

.structure-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(21, 25, 24, 0.18);
  transition: width 200ms ease, background 200ms ease;
}

.structure-carousel-dot.is-active {
  width: 28px;
  background: var(--clay);
}

.safety {
  display: block;
}

.safety-copy {
  max-width: 900px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.safety-copy h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5vw, 4.85rem);
  line-height: 0.98;
}

.safety-copy p {
  max-width: 710px;
}

.safety-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.safety-video-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(21, 25, 24, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 46px rgba(20, 32, 29, 0.07);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.safety-video-card:hover {
  border-color: rgba(185, 105, 88, 0.28);
  box-shadow: 0 20px 56px rgba(20, 32, 29, 0.1);
  transform: translateY(-3px);
}

.safety-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sage-dark);
}

.safety-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 29, 0.02), rgba(20, 32, 29, 0.28));
  pointer-events: none;
  transition: opacity 180ms ease;
}

.safety-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--sage-dark);
}

.safety-video-button {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--sage-dark);
  background: transparent;
  transition: opacity 180ms ease;
}

.safety-video-button::before {
  content: "";
  grid-area: 1 / 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(20, 32, 29, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.safety-video-button::after {
  content: "";
  grid-area: 1 / 1;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid currentColor;
}

.safety-video-button:hover::before,
.safety-video-button:focus-visible::before {
  background: var(--white);
  transform: scale(1.05);
}

.safety-video-card.is-loading .safety-video-button {
  opacity: 0.5;
  pointer-events: none;
}

.safety-video-card.is-playing .safety-video-frame::after,
.safety-video-card.is-playing .safety-video-button {
  opacity: 0;
  pointer-events: none;
}

.safety-video-copy {
  flex: 1;
  padding: 15px 16px 18px;
}

.safety-video-copy h3 {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: clamp(1rem, 1.18vw, 1.1rem);
  line-height: 1.22;
}

.safety-video-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1210;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.image-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 14, 13, 0.82);
  backdrop-filter: blur(14px);
}

.image-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, 100%);
  max-height: calc(100svh - 64px);
  place-items: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms ease;
}

.image-modal.is-open .image-modal-panel {
  transform: translateY(0) scale(1);
}

.image-modal-figure {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 0;
}

.image-modal-figure img {
  width: 100%;
  max-height: min(78svh, 780px);
  object-fit: contain;
  border-radius: var(--radius);
  background: #030504;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
}

.image-modal-figure figcaption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  text-align: center;
}

.image-modal-close,
.image-modal-nav {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, background 180ms ease;
}

.image-modal-close {
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
}

.image-modal-close::before,
.image-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--sage-dark);
}

.image-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.image-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.image-modal-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
}

.image-modal-prev {
  left: -22px;
}

.image-modal-next {
  right: -22px;
}

.image-modal-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  width: 11px;
  height: 11px;
  border-left: 2px solid var(--sage-dark);
  border-bottom: 2px solid var(--sage-dark);
  transform: translate(-50%, -50%) rotate(45deg);
}

.image-modal-next::before {
  left: 47%;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.image-modal-close:hover,
.image-modal-close:focus-visible,
.image-modal-nav:hover,
.image-modal-nav:focus-visible {
  background: var(--white);
  transform: scale(1.04);
}

.image-modal-nav:hover,
.image-modal-nav:focus-visible {
  transform: translateY(-50%) scale(1.04);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 14, 13, 0.78);
  backdrop-filter: blur(14px);
}

.video-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(260px, 1fr);
  width: min(1040px, 100%);
  max-height: calc(100vh - 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #0c1311;
  color: var(--white);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms ease;
}

.video-modal.is-open .video-modal-panel {
  transform: translateY(0) scale(1);
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, background 180ms ease;
}

.video-modal-close::before,
.video-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--sage-dark);
}

.video-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.video-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.video-modal-close:hover,
.video-modal-close:focus-visible {
  background: var(--white);
  transform: scale(1.04);
}

.video-modal-media {
  display: grid;
  min-height: min(76vh, 720px);
  place-items: center;
  padding: clamp(12px, 1.6vw, 18px);
  background: #030504;
}

.video-modal-media video {
  width: auto;
  height: min(76vh, 720px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
  object-fit: contain;
}

.video-modal-media video:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.46);
  outline-offset: 3px;
}

.video-modal-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(74px, 10vh, 112px) clamp(34px, 5vw, 60px) clamp(28px, 4vw, 52px);
}

.video-modal-copy h2 {
  max-width: 520px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 0.98;
}

.video-modal-copy p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.72;
}

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

.safety-card {
  min-height: 276px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.safety-card span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.safety-card h3 {
  margin-top: 54px;
}

.safety-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: -4px 20px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: clamp(620px, 66vw, 760px);
  align-items: center;
  padding: clamp(82px, 10vw, 126px) 0;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(135deg, #f3f6f1 0%, #e8efea 100%);
  isolation: isolate;
}

.final-cta > img {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: min(52%, 740px);
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.92;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(247, 248, 245, 0.98) 0%, rgba(247, 248, 245, 0.96) 46%, rgba(247, 248, 245, 0.72) 72%, rgba(247, 248, 245, 0.24) 100%);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.62fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.contact-copy h2 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.98;
}

.contact-copy > p {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.contact-note {
  max-width: 540px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-note span,
.contact-card span {
  display: block;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-note strong {
  display: block;
  max-width: 430px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.45;
}

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

.contact-card {
  position: relative;
  display: block;
  min-height: 146px;
  padding: 22px;
  border: 1px solid rgba(21, 25, 24, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 60px rgba(20, 32, 29, 0.08);
  backdrop-filter: blur(12px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.contact-card::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.48;
  transform: rotate(45deg);
}

.contact-card:hover {
  border-color: rgba(185, 105, 88, 0.3);
  background: var(--white);
  box-shadow: 0 22px 72px rgba(20, 32, 29, 0.12);
  transform: translateY(-3px);
}

.contact-card strong {
  display: block;
  max-width: 100%;
  margin-top: 12px;
  padding-right: 22px;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.15;
}

.contact-card small {
  display: block;
  max-width: 240px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-card-primary {
  min-height: 178px;
  grid-column: 1 / -1;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 32, 29, 0.98), rgba(42, 62, 55, 0.96)),
    var(--sage-dark);
}

.contact-card-primary span {
  color: var(--rose);
}

.contact-card-primary strong {
  color: var(--white);
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
}

.contact-card-primary small {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card-wide {
  grid-column: 1 / -1;
  min-height: 128px;
}

.procedure-detail-hero {
  position: relative;
  display: grid;
  min-height: min(640px, 70svh);
  align-items: end;
  overflow: clip;
  color: var(--white);
  isolation: isolate;
}

.procedure-detail-hero > img,
.procedure-detail-shade {
  position: absolute;
  inset: 0;
}

.procedure-detail-hero > img {
  z-index: -2;
  width: 100%;
  height: calc(100% + 50px);
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.02);
}

.procedure-detail-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 12, 11, 0.9), rgba(20, 32, 29, 0.6), rgba(20, 32, 29, 0.34)),
    linear-gradient(180deg, rgba(9, 12, 11, 0.28), rgba(9, 12, 11, 0.78));
}

.procedure-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  align-items: end;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 36px) 0 clamp(42px, 6vh, 64px);
}

.procedure-detail-content {
  width: 100%;
  max-width: 860px;
}

.procedure-detail-content h1 {
  max-width: min(100%, 980px);
  font-size: 5.7rem;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.procedure-detail-section {
  padding: clamp(78px, 10vw, 132px) 0;
}

.procedure-detail-grid {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.procedure-detail-copy {
  max-width: 1040px;
}

.procedure-detail-copy h2 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  line-height: 0.98;
}

.procedure-detail-copy p:not(.kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.procedure-detail-copy p + p {
  margin-top: 14px;
}

.procedure-topics-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(34px, 4vw, 56px);
  background:
    linear-gradient(180deg, var(--paper), #fff);
}

.procedure-topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(var(--max), calc(100% - 40px));
  margin: clamp(34px, 5vw, 62px) auto 0;
}

.procedure-topic-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 26px);
  align-items: start;
  min-height: 0;
  padding: clamp(26px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 245, 0.92)),
    var(--white);
  box-shadow: 0 16px 46px rgba(20, 32, 29, 0.055);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.procedure-topic-card::before {
  content: "";
  position: absolute;
  top: clamp(26px, 4vw, 42px);
  bottom: clamp(26px, 4vw, 42px);
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--clay), var(--gold), var(--sage));
  opacity: 0.64;
}

.procedure-topic-card:hover {
  border-color: rgba(87, 118, 111, 0.28);
  box-shadow: 0 24px 76px rgba(20, 32, 29, 0.1);
  transform: translateY(-4px);
}

.procedure-topic-card span,
.procedure-doctor-mini span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.procedure-topic-card h2 {
  max-width: 780px;
  margin: 14px 0 0;
  font-size: clamp(2.15rem, 3.5vw, 3.3rem);
  line-height: 1;
}

.procedure-topic-body {
  max-width: 940px;
}

.procedure-topic-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.78;
}

.procedure-topic-card p + p {
  margin-top: 14px;
}

.procedure-care-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 40px));
  margin: clamp(24px, 4vw, 42px) auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 32, 29, 0.96), rgba(36, 57, 52, 0.96)),
    var(--sage-dark);
  box-shadow: 0 28px 92px rgba(20, 32, 29, 0.16);
}

.procedure-care-strip article {
  min-height: 168px;
  padding: clamp(22px, 3vw, 30px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.procedure-care-strip article:last-child {
  border-right: 0;
}

.procedure-care-strip span {
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.procedure-care-strip p {
  max-width: 300px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.68;
}

.procedure-professionals {
  position: relative;
  padding: clamp(76px, 10vw, 136px) 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--white), #f5f7f3);
}

.procedure-professional-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(460px, 0.92fr);
  gap: clamp(32px, 6vw, 76px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  align-items: start;
}

.procedure-professional-copy {
  position: sticky;
  top: calc(var(--header-h) + 34px);
}

.procedure-professional-copy h2 {
  max-width: 560px;
  font-size: clamp(2.6rem, 5vw, 4.85rem);
  line-height: 0.98;
  overflow-wrap: break-word;
}

.procedure-professional-copy p:not(.kicker) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.procedure-doctor-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
}

.procedure-doctor-mini {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 60px rgba(20, 32, 29, 0.12);
}

.procedure-doctor-mini:nth-child(2) {
  margin-top: 46px;
}

.procedure-doctor-mini img {
  width: 100%;
  height: clamp(340px, 30vw, 430px);
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.01);
  transition: transform 560ms ease;
}

.procedure-doctor-mini:hover img {
  transform: scale(1.045);
}

.procedure-doctor-mini figcaption {
  padding: 24px 26px 26px;
  border-top: 1px solid var(--line);
}

.procedure-doctor-mini h3 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.procedure-doctor-mini p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.procedure-faq-section {
  padding: clamp(76px, 10vw, 136px) 0;
  background:
    linear-gradient(180deg, rgba(230, 239, 235, 0.84), rgba(247, 248, 245, 0.98)),
    var(--paper);
}

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

.procedure-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.82fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.procedure-faq-copy {
  position: sticky;
  top: calc(var(--header-h) + 34px);
}

.procedure-faq-copy h2 {
  font-size: clamp(2.55rem, 5.2vw, 4.8rem);
}

.procedure-faq-copy p:not(.kicker) {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.75;
}

.procedure-faq-section .faq-list {
  max-width: none;
}

.procedure-contact {
  min-height: 620px;
}

.procedure-contact .contact-copy h2 {
  max-width: 680px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  padding: 42px clamp(20px, 4vw, 56px) 28px;
  color: var(--white);
  background: var(--sage-dark);
}

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

.footer-brand img {
  width: 68px;
  height: auto;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.footer-social img {
  width: 22px;
  height: 22px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 840;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 16px 44px rgba(37, 211, 102, 0.32);
  transition: transform 240ms ease, opacity 240ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
}

.floating-whatsapp.is-muted {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.reveal-ready [data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms cubic-bezier(0.16, 1, 0.3, 1), transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@supports (animation-timeline: view()) {
  .journey-step {
    animation: view-rise both cubic-bezier(0.16, 1, 0.3, 1);
    animation-timeline: view();
    animation-range: entry 8% cover 34%;
  }
}

@keyframes view-rise {
  from {
    opacity: 0.35;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: inline-grid !important;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 18px;
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(247, 248, 245, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    max-height: calc(100svh - var(--header-h) - 24px);
    overflow-y: auto;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .site-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .section-head,
  .team,
  .clinic-showcase,
  .safety,
  .contact-shell,
  .procedure-hero-inner,
  .procedure-detail-grid,
  .procedure-professional-grid,
  .procedure-faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head .kicker,
  .section-head h2,
  .section-head > p:not(.kicker) {
    grid-column: 1;
  }

  .team-copy {
    position: static;
  }

  .team-story {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-story h3 {
    max-width: 100%;
  }

  .procedure-professional-copy,
  .procedure-faq-copy {
    position: static;
  }

  .procedure-detail-content h1 {
    font-size: 4.45rem;
  }

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

  .journey-track,
  .safety-video-grid,
  .safety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-track::before {
    display: none;
  }

  .journey-step {
    min-height: 220px;
  }

  .journey-step:nth-child(2) {
    border-right: 0;
  }

  .faq-list {
    grid-column: auto;
  }

  .structure-slide {
    flex-basis: calc((100% - 14px) / 2);
    aspect-ratio: 16 / 9;
  }

  .contact-actions-grid {
    max-width: 620px;
  }

  .video-modal-panel {
    grid-template-columns: minmax(260px, 360px) minmax(240px, 1fr);
  }

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

@media (max-width: 740px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 16px;
  }

  .header-action {
    display: none;
  }

  .nav-toggle {
    position: fixed;
    top: 12px;
    right: auto;
    left: calc(100vw - 60px);
    z-index: 960;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
  }

  .nav-toggle span {
    width: 20px;
    background: currentColor;
  }

  .brand img {
    width: 48px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-bg {
    object-position: 58% center;
  }

  .hero-inner {
    width: min(100% - 32px, var(--max));
    padding-bottom: 96px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.05rem, 16vw, 4.15rem);
  }

  h2 {
    font-size: clamp(2.3rem, 12vw, 3.7rem);
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-rail {
    display: none;
  }

  .trust-strip {
    display: none;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 74px 0;
  }

  .team-copy {
    display: block;
    margin-bottom: 34px;
  }

  .team-story {
    margin-bottom: 30px;
    padding: 24px 0;
  }

  .team-copy .kicker {
    margin-bottom: 12px;
  }

  .team-copy h2 {
    font-size: clamp(2.15rem, 10.2vw, 3.05rem);
    line-height: 1;
  }

  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .doctor-card figcaption {
    padding: 22px 76px 24px 20px;
  }

  .filter-shell {
    position: relative;
    top: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 10px 16px 12px;
    overflow: visible;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: rgba(247, 248, 245, 0.94);
  }

  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    overflow: visible;
    padding-bottom: 0;
  }

  .filter-button {
    width: auto;
    min-height: 36px;
    flex: 0 0 auto;
    padding: 0 14px;
    border: 1px solid rgba(21, 25, 24, 0.08);
    background: rgba(255, 255, 255, 0.76);
    font-size: 0.8rem;
  }

  .filter-count {
    align-self: center;
    margin: 0;
    color: rgba(21, 25, 24, 0.52);
    font-size: 0.76rem;
    text-align: center;
  }

  .procedure-grid,
  .procedure-topic-grid,
  .procedure-care-strip,
  .journey-track,
  .safety-video-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .procedure-topic-grid,
  .procedure-care-strip,
  .procedure-faq-shell {
    width: min(100% - 40px, var(--max));
  }

  .procedure-topic-card {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 24px 20px;
  }

  .procedure-topic-card::before {
    top: 0;
    right: auto;
    bottom: auto;
    left: 20px;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--clay), var(--gold), var(--sage));
  }

  .procedure-topic-card h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }

  .procedure-topic-body {
    max-width: 100%;
  }

  .procedure-professional-grid {
    width: min(100% - 40px, var(--max));
  }

  .procedure-doctor-mini-grid {
    grid-template-columns: 1fr;
  }

  .procedure-doctor-mini img {
    height: 340px;
  }

  .procedure-doctor-mini:nth-child(2) {
    margin-top: 0;
  }

  .procedure-care-strip article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .procedure-care-strip article:last-child {
    border-bottom: 0;
  }

  .procedure-card.is-featured {
    min-height: 270px;
  }

  .procedure-card.is-featured h3 {
    max-width: 92%;
  }

  .procedure-card.is-featured > span {
    max-width: min(100%, 250px);
  }

  .procedure-card.is-featured::after {
    left: 18px;
    right: auto;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp img {
    width: 24px;
    height: 24px;
  }

  .journey-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    min-height: 0;
    padding: 18px;
    border-right: 0;
    border-bottom: 0;
    background: rgba(255, 255, 255, 0.09);
  }

  .journey {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding: 60px 16px 68px;
  }

  .journey .section-head {
    margin-bottom: 28px;
  }

  .journey .section-head .kicker {
    margin-bottom: 14px;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .journey .section-head h2 {
    max-width: 100%;
    font-size: clamp(1.95rem, 9.2vw, 2.45rem);
    line-height: 1.02;
  }

  .journey .section-head p:not(.kicker) {
    max-width: 100%;
    font-size: 0.96rem;
    line-height: 1.64;
  }

  .journey-track {
    position: relative;
    gap: 14px;
  }

  .journey-track::before {
    display: block;
    top: 18px;
    bottom: 18px;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(221, 179, 165, 0.7), rgba(255, 255, 255, 0.12));
  }

  .journey-step span {
    position: relative;
    top: auto;
    left: auto;
    width: 42px;
    height: 42px;
    grid-row: 1 / span 2;
    font-size: 0.74rem;
  }

  .journey-step h3 {
    grid-column: 2;
    margin: 1px 0 8px;
    font-size: 1.08rem;
  }

  .journey-step p {
    grid-column: 2;
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .journey-step:last-child {
    border-bottom: 0;
  }

  .journey::before {
    background-position: 58% center;
    opacity: 0.46;
  }

  .journey::after {
    background:
      linear-gradient(180deg, rgba(20, 32, 29, 0.78), rgba(20, 32, 29, 0.88)),
      linear-gradient(90deg, rgba(20, 32, 29, 0.88), rgba(20, 32, 29, 0.58));
  }

  .doctor-card {
    min-height: 0;
  }

  .doctor-card img {
    height: 340px;
    min-height: 0;
  }

  .clinic-showcase {
    padding: 74px 16px;
  }

  .clinic-media {
    aspect-ratio: 4 / 5;
  }

  .structure-slide {
    flex-basis: 82%;
    aspect-ratio: 4 / 3;
  }

  .structure-carousel-controls {
    gap: 10px;
    margin-top: 12px;
  }

  .final-cta {
    min-height: auto;
    padding: 82px 0;
  }

  .final-cta > img {
    inset: 0;
    width: 100%;
    opacity: 0.2;
  }

  .final-cta::after {
    background: linear-gradient(180deg, rgba(247, 248, 245, 0.94), rgba(247, 248, 245, 0.86));
  }

  .contact-shell {
    width: min(100% - 32px, var(--max));
    gap: 28px;
  }

  .contact-copy h2 {
    max-width: 100%;
    font-size: clamp(2.3rem, 11vw, 3.4rem);
    line-height: 1;
  }

  .contact-copy > p {
    font-size: 1rem;
  }

  .contact-note {
    margin-top: 24px;
    padding-top: 18px;
  }

  .contact-actions-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .contact-card-primary,
  .contact-card-wide {
    min-height: 0;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-card-primary strong {
    font-size: 1.34rem;
  }

  .image-modal {
    padding: 12px;
  }

  .image-modal-panel {
    max-height: calc(100svh - 24px);
  }

  .image-modal-figure img {
    max-height: 76svh;
  }

  .image-modal-close {
    top: 12px;
    right: 12px;
  }

  .image-modal-prev {
    left: 10px;
  }

  .image-modal-next {
    right: 10px;
  }

  .image-modal-nav {
    width: 40px;
    height: 40px;
  }

  .video-modal {
    padding: 10px;
  }

  .video-modal-panel {
    grid-template-columns: 1fr;
    width: min(430px, 100%);
    max-height: calc(100svh - 20px);
    overflow: auto;
  }

  .video-modal-media {
    min-height: 0;
    padding: 10px 10px 0;
  }

  .video-modal-media video {
    width: min(100%, 360px);
    height: auto;
    max-height: 64svh;
  }

  .video-modal-copy {
    padding: 18px 18px 22px;
  }

  .video-modal-copy h2 {
    margin: 10px 0 12px;
    font-size: clamp(1.65rem, 8vw, 2.4rem);
    line-height: 1;
  }

  .video-modal-close {
    top: 18px;
    right: 18px;
  }

  .procedure-detail-content,
  .procedure-hero-inner,
  .procedure-detail-grid {
    width: min(100% - 40px, var(--max));
  }

  .procedure-detail-content h1 {
    font-size: 2.55rem;
    line-height: 0.98;
    white-space: nowrap;
  }

  .procedure-detail-hero {
    min-height: auto;
  }

  .procedure-hero-inner {
    padding: calc(var(--header-h) + 24px) 0 34px;
  }

  .back-link {
    margin-bottom: 12px;
  }

  .procedure-detail-copy h2,
  .procedure-professional-copy h2,
  .procedure-faq-copy h2 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.6vw, 2.55rem);
    line-height: 1;
    text-wrap: balance;
  }

  .procedure-detail-copy p:not(.kicker),
  .procedure-faq-copy p:not(.kicker) {
    max-width: 100%;
  }

  .procedure-professionals,
  .procedure-faq-section,
  .procedure-detail-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .procedure-detail-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 360px) {
  .procedure-detail-content h1 {
    font-size: 1.64rem;
  }
}

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

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

/* Keep long procedure names readable and within small screens. */
.procedure-detail-content h1 {
  white-space: normal;
  overflow-wrap: break-word;
}

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.medical-reference a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 720px) {
  .procedure-detail-content { width: 100%; }
  .procedure-detail-content h1 { font-size: clamp(2rem, 8.5vw, 3rem); line-height: 1.06; }
  .procedure-detail-page.landing-procedure .procedure-detail-hero,
  .procedure-detail-page.landing-page-mamoplastia .procedure-detail-hero { min-height: 0; }
}
