:root {
  --ink: #071b28;
  --ink-soft: #173645;
  --teal: #23cabb;
  --teal-bright: #67eadc;
  --ice: #e7f8f5;
  --paper: #f7faf9;
  --white: #ffffff;
  --line: rgba(7, 27, 40, 0.13);
  --muted: #60727b;
  --shadow: 0 24px 70px rgba(4, 27, 41, 0.16);
  --radius-lg: 32px;
  --radius-md: 20px;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--white);
  padding: .75rem 1rem;
  border-radius: 10px;
  font-weight: 700;
}

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

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 50;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  text-decoration: none;
  isolation: isolate;
  animation: logo-float 7s ease-in-out infinite;
}

.brand,
.footer-brand {
  --logo-rx: 0deg;
  --logo-ry: 0deg;
  --logo-x: 0px;
  --logo-y: 0px;
  position: relative;
  perspective: 720px;
  transform-style: preserve-3d;
}

.brand-logo {
  width: clamp(252px, 23vw, 300px);
  height: auto;
  filter: drop-shadow(0 5px 9px rgba(3, 25, 36, .1));
  transform: perspective(720px) translate3d(var(--logo-x), var(--logo-y), 0) rotateX(var(--logo-rx)) rotateY(var(--logo-ry));
  transform-origin: 28% 50%;
  transition: transform .22s cubic-bezier(.2,.75,.25,1), filter .22s ease;
  will-change: transform, filter;
  animation: logo-depth 7s ease-in-out infinite;
}

.brand::after,
.footer-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 26px;
  background: linear-gradient(112deg, transparent 40%, rgba(255,255,255,.5) 49%, transparent 58%);
  background-size: 280% 100%;
  mask: url('./vita-clinic-baleares-logo-3d.svg') center / 100% 100% no-repeat;
  -webkit-mask: url('./vita-clinic-baleares-logo-3d.svg') center / 100% 100% no-repeat;
  animation: logo-shine 7s ease-in-out infinite;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.brand:hover { animation-play-state: paused; }
.brand:hover .brand-logo,
.brand:focus-visible .brand-logo,
.footer-brand:hover .brand-logo,
.footer-brand:focus-visible .brand-logo {
  animation: none;
  filter: drop-shadow(0 12px 16px rgba(3, 25, 36, .2));
}
.brand:hover::after,
.brand:focus-visible::after,
.footer-brand:hover::after,
.footer-brand:focus-visible::after,
.brand.logo-tap::after,
.footer-brand.logo-tap::after {
  animation: logo-shine 1.1s ease-out;
}
.brand.logo-tap .brand-logo,
.footer-brand.logo-tap .brand-logo { animation: logo-tap .62s cubic-bezier(.2,.8,.2,1); }

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes logo-depth {
  0%, 100% { transform: perspective(720px) rotateX(2deg) rotateY(-7deg) translateZ(0); filter: drop-shadow(2px 5px 6px rgba(3,25,36,.15)); }
  50% { transform: perspective(720px) rotateX(-3deg) rotateY(7deg) translateZ(16px); filter: drop-shadow(-3px 12px 9px rgba(3,25,36,.23)); }
}

@keyframes logo-shine {
  0%, 25% { opacity: 0; background-position: 100% 50%; }
  35% { opacity: .65; }
  65%, 100% { opacity: 0; background-position: 0% 50%; }
}

@keyframes logo-tap {
  0% { transform: perspective(720px) scale(1); }
  42% { transform: perspective(720px) scale(.98) rotateX(5deg) rotateY(-12deg); }
  72% { transform: perspective(720px) scale(1.04) rotateX(-4deg) rotateY(9deg); }
  100% { transform: perspective(720px) scale(1); }
}

.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a { color: var(--ink-soft); font-size: .88rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover { color: #087d76; }
.header-cta { justify-self: end; }

.menu-toggle { display: none; }

.button {
  min-height: 52px;
  padding: .85rem 1.35rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover { background: #0c3345; box-shadow: 0 12px 30px rgba(7,27,40,.17); transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(35,202,187,.55); outline-offset: 3px; }
.button-small { min-height: 43px; padding: .65rem 1.05rem; font-size: .83rem; }
.button-light { color: var(--ink); background: var(--teal-bright); border-color: var(--teal-bright); }
.button-light:hover { background: var(--white); }

.hero {
  min-height: calc(100vh - 92px);
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  padding: 3.8rem 0 5.5rem;
  position: relative;
}

.hero-glow {
  position: absolute;
  left: -20vw;
  top: 8%;
  width: 54vw;
  height: 54vw;
  background: radial-gradient(circle, rgba(69,222,207,.13), transparent 65%);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.4rem; color: #176f6c; font-size: .77rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 1px; background: currentColor; }
.eyebrow.dark { color: #167f78; }
.eyebrow.light { color: var(--teal-bright); }

.hero h1,
.section h2,
.principle h2,
.closing h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

.hero h1 { max-width: 720px; font-size: clamp(3.7rem, 6.4vw, 6.7rem); }
.hero h1 em { color: #0e8f86; font-weight: 500; }
.hero-lede { max-width: 620px; margin: 2rem 0; color: #415c68; font-size: clamp(1.03rem, 1.4vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.text-link { font-weight: 750; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link span { color: #138b83; margin-left: .25rem; }

.trust-strip { margin: 3.3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 620px; border-top: 1px solid var(--line); }
.trust-strip div { padding: 1.15rem .75rem .2rem 0; }
.trust-strip dt { color: #1d9b92; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.trust-strip dd { margin: .25rem 0 0; color: var(--ink-soft); font-size: .81rem; font-weight: 680; }

.hero-visual { position: relative; justify-self: stretch; }
.image-shell { position: relative; min-height: 660px; border-radius: 210px 210px 34px 34px; overflow: hidden; background: linear-gradient(145deg, #d7f2ee, #87bbb8 50%, #123743); box-shadow: var(--shadow); }
.image-shell::before { content: ""; position: absolute; inset: 11px; z-index: 2; border: 1px solid rgba(255,255,255,.46); border-radius: 200px 200px 27px 27px; pointer-events: none; }
.image-shell img { width: 100%; height: 660px; object-fit: cover; object-position: 50% 54%; }
.image-vignette { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3,21,31,.48)); pointer-events: none; }
.floating-card { position: absolute; z-index: 3; right: 30px; bottom: 28px; display: flex; gap: .8rem; align-items: center; padding: .95rem 1.05rem; border: 1px solid rgba(255,255,255,.5); border-radius: 16px; background: rgba(247,250,249,.86); backdrop-filter: blur(14px); box-shadow: 0 15px 40px rgba(3,20,31,.18); }
.floating-card div { display: flex; flex-direction: column; line-height: 1.3; }
.floating-card small { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.floating-card strong { margin-top: .2rem; font-size: .86rem; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px rgba(35,202,187,.16); }
.doctor-seal { position: absolute; z-index: 5; top: 80px; left: -44px; width: 112px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--ink); color: var(--white); box-shadow: 0 18px 38px rgba(4,27,41,.22); }
.doctor-seal::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(103,234,220,.45); border-radius: inherit; }
.doctor-seal strong { color: var(--teal-bright); font-family: Georgia, serif; font-size: 1.85rem; line-height: 1; }
.doctor-seal span { margin-top: .3rem; font-size: .62rem; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }

.principle { width: 100%; padding: 6.5rem max(20px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .36fr 1.64fr; gap: 2rem; background: var(--ink); color: var(--white); }
.section-index { margin: .35rem 0 0; color: var(--teal-bright); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.principle h2 { max-width: 850px; font-size: clamp(3rem, 5.4vw, 5.6rem); }
.principle h2 span { color: var(--teal-bright); font-style: italic; }
.principle > div > p { max-width: 670px; margin: 2rem 0 0 auto; color: #b7c9d1; font-size: 1.05rem; }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 8rem 0; }
.section-heading { max-width: 750px; margin-bottom: 3.5rem; }
.section-heading h2, .safety h2, .doctor h2, .assessment h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.section-heading > p:last-child { max-width: 590px; margin: 1.3rem 0 0; color: var(--muted); font-size: 1.05rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.15fr .75fr; align-items: end; gap: 3rem; }
.split-heading > p:last-child { margin: 0; color: #bad0d6; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: 0 12px 45px rgba(4,27,41,.06); }
.steps li { min-height: 330px; padding: 1.7rem; display: flex; flex-direction: column; border-right: 1px solid var(--line); position: relative; transition: background .25s ease, transform .25s ease; }
.steps li:last-child { border-right: 0; }
.steps li:hover { background: var(--ice); }
.step-number { color: #789099; font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.step-photo { width: calc(100% + 3.4rem); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 25%; display: block; margin: 1.15rem -1.7rem 0; border-block: 1px solid var(--line); }
.steps h3 { margin: 1.4rem 0 .5rem; font-size: 1.18rem; }
.steps p { margin: 0; color: var(--muted); font-size: .91rem; }

.programs { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - var(--max)) / 2)); background: #0b2634; color: var(--white); }
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.program-card { min-height: 500px; padding: 1.65rem; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: rgba(255,255,255,.04); position: relative; }
.program-card.featured { border-color: var(--teal); background: linear-gradient(160deg, rgba(35,202,187,.18), rgba(255,255,255,.05) 52%); box-shadow: 0 20px 55px rgba(0,0,0,.16); }
.recommended { position: absolute; top: 1rem; right: 1rem; padding: .35rem .65rem; border-radius: 999px; background: var(--teal-bright); color: var(--ink); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.program-top { display: flex; gap: .8rem; color: #9bb3bc; font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; }
.program-top p { margin: 0; }
.program-card h3 { margin: 2.2rem 0 .55rem; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; letter-spacing: -.035em; }
.program-description { min-height: 4.9rem; margin: 0 0 1.2rem; color: #bfd0d6; font-size: .93rem; line-height: 1.55; }
.price { margin: 0 0 1.35rem; color: #aac1c9; }
.price strong { color: var(--white); font-size: 1.35rem; }
.formula-label { margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); color: #8faab4; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.program-card .formula-list { list-style: none; padding: .9rem 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: .48rem; border: 0; }
.program-card .formula-list li { padding: .44rem .7rem; border: 1px solid rgba(103,234,220,.22); border-radius: 999px; background: rgba(103,234,220,.07); color: #e1edef; font-size: .78rem; font-weight: 700; line-height: 1.2; }
.program-card .formula-list li::before { display: none; }
.program-meta { margin: 1.35rem 0 1.5rem; color: #91aab4; font-size: .78rem; }
.program-select { width: 100%; min-height: 48px; margin-top: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: transparent; color: var(--white); font-weight: 750; cursor: pointer; transition: .2s ease; }
.program-select:hover { background: var(--white); color: var(--ink); }
.pricing-note { max-width: 800px; margin: 1.4rem 0 0; color: #91aab4; font-size: .81rem; }

.safety { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.safety-copy { position: sticky; top: 3rem; }
.safety-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.safety-callout { margin-top: 2.2rem; padding: 1rem; display: flex; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.safety-callout svg { width: 34px; flex: 0 0 34px; fill: none; stroke: #108b83; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.safety-callout p { margin: 0; display: flex; flex-direction: column; }
.safety-callout span { color: var(--muted); font-size: .78rem; }
.safety-list { border-top: 1px solid var(--line); }
.safety-list article { display: grid; grid-template-columns: 55px 1fr; gap: 1rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.safety-list article > span { color: #16948b; font-size: .75rem; font-weight: 850; }
.safety-list h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.safety-list p { margin: 0; color: var(--muted); }

.doctor { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; background: #0b2634; color: var(--white); overflow: hidden; }
.doctor-portrait { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 250px 250px 30px 30px; background: #071b28; box-shadow: 0 26px 60px rgba(0,0,0,.28); }
.doctor-portrait img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 38%; }
.doctor-copy { max-width: 670px; }
.doctor-role { color: var(--teal-bright); font-weight: 750; }
.doctor-copy > p:not(.eyebrow):not(.doctor-role) { max-width: 600px; color: #bed0d6; font-size: 1.05rem; }
.doctor-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.doctor-tags span { padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #d8e5e8; font-size: .76rem; }

.assessment { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.assessment-intro > p:not(.eyebrow):not(.privacy-inline) { color: var(--muted); }
.privacy-inline { display: flex; gap: .6rem; align-items: center; margin-top: 1.7rem; color: #187b75; font-size: .81rem; font-weight: 700; }
.privacy-inline svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.assessment-form, .summary-panel { padding: clamp(1.4rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 18px 60px rgba(4,27,41,.07); }
.field { margin-bottom: 1.7rem; padding: 0; border: 0; }
.field > label, .field legend { display: block; margin-bottom: .65rem; color: var(--ink-soft); font-size: .82rem; font-weight: 800; }
.field input[type="text"], .field select { width: 100%; min-height: 54px; padding: .75rem 1rem; border: 1px solid #c9d5d8; border-radius: 13px; background: #fbfdfd; color: var(--ink); }
.field input::placeholder { color: #84969e; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { min-height: 48px; padding: .65rem .8rem; display: flex; align-items: center; justify-content: center; border: 1px solid #cfdbde; border-radius: 12px; color: #45616d; text-align: center; font-size: .82rem; font-weight: 700; transition: .2s ease; }
.choice-grid input:checked + span { border-color: #159c92; background: var(--ice); color: #076b66; box-shadow: inset 0 0 0 1px #159c92; }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(35,202,187,.45); outline-offset: 2px; }
.form-submit { width: 100%; }
.form-footnote { margin: .9rem 0 0; color: #748890; font-size: .75rem; text-align: center; }
.summary-panel h3 { margin: 0 0 1rem; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.summary-text { padding: 1.1rem; border-radius: 14px; background: var(--ice); color: var(--ink-soft); white-space: pre-line; }
.summary-panel .button { width: 100%; }
.whatsapp-send { border-color: #0d8c72; background: #0d8c72; }
.whatsapp-send:hover { background: #08735e; }
.email-send { margin-top: .75rem; }
.text-button { width: 100%; margin-top: .75rem; padding: .65rem; border: 0; background: transparent; color: var(--ink); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.copy-status { min-height: 1.5rem; margin: .7rem 0 0; color: #117c75; font-size: .8rem; text-align: center; }

.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; cursor: pointer; font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #17877f; font-size: 1.2rem; transition: transform .2s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { margin: -.2rem 3rem 1.5rem 0; color: var(--muted); }

.closing { padding: 8rem 20px; text-align: center; background: linear-gradient(135deg, #0d7f79, #08323f 72%); color: var(--white); position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: -50%; background: radial-gradient(circle at 50% 50%, rgba(103,234,220,.16), transparent 35%); pointer-events: none; }
.closing > * { position: relative; }
.closing > p { color: var(--teal-bright); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.closing h2 { margin: 1rem auto 2.3rem; font-size: clamp(3rem, 6vw, 6rem); }
.closing h2 span { color: var(--teal-bright); font-style: italic; }

.site-footer { padding: 3rem max(20px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: end; background: #061721; color: var(--white); }
.footer-brand { width: max-content; display: block; text-decoration: none; }
.footer-brand-logo { width: min(100%, 310px); filter: drop-shadow(0 8px 14px rgba(0,0,0,.34)); }
.footer-note { color: #8ba1aa; font-size: .72rem; }
.footer-note p { margin: .15rem 0; }
.footer-note a { display: inline-block; margin-top: .35rem; color: var(--teal-bright); font-weight: 700; text-underline-offset: 3px; }
.copyright { margin: 0; color: #718991; font-size: .72rem; white-space: nowrap; }

.whatsapp-float {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  min-height: 54px;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: #0d8c72;
  color: var(--white);
  box-shadow: 0 16px 42px rgba(2,39,33,.28);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-float:hover { background: #08735e; transform: translateY(-2px); }
.whatsapp-float svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .menu-toggle { width: 44px; height: 44px; padding: 0; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 82px 20px auto; padding: 1.2rem; display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 20px; background: rgba(247,250,249,.97); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem .5rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { max-width: 790px; }
  .hero-visual { width: min(100%, 680px); justify-self: center; }
  .image-shell, .image-shell img { min-height: 570px; height: 570px; }
  .doctor-seal { left: 20px; top: 60px; }
  .principle { grid-template-columns: 1fr; }
  .principle > div > p { margin-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { border-bottom: 1px solid var(--line); }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(n+3) { border-bottom: 0; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: auto; }
  .program-card ul { min-height: 160px; }
  .safety, .assessment, .faq { grid-template-columns: 1fr; }
  .safety-copy { position: static; }
  .doctor { grid-template-columns: .8fr 1.2fr; gap: 3rem; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .site-header, .hero, .section { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 78px; }
  .brand-logo { width: min(250px, calc(100vw - 92px)); }
  .hero { min-height: auto; padding: 2.8rem 0 4.5rem; }
  .hero h1 { font-size: clamp(3.2rem, 14.3vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { text-align: center; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div { display: grid; grid-template-columns: 38px 1fr; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .trust-strip dd { margin: 0; }
  .image-shell, .image-shell img { min-height: 480px; height: 480px; }
  .image-shell { border-radius: 150px 150px 25px 25px; }
  .image-shell::before { border-radius: 145px 145px 19px 19px; }
  .doctor-seal { width: 94px; left: 12px; top: 45px; }
  .doctor-seal strong { font-size: 1.5rem; }
  .floating-card { right: 16px; left: 16px; bottom: 16px; }
  .principle, .programs, .doctor { padding-inline: 14px; }
  .principle, .section { padding-block: 5.5rem; }
  .principle h2, .section-heading h2, .safety h2, .doctor h2, .assessment h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .split-heading { grid-template-columns: 1fr; gap: 1.3rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .steps li:last-child { border-bottom: 0 !important; }
  .step-photo { aspect-ratio: 3 / 2; }
  .program-card { padding: 1.4rem; }
  .program-card ul { min-height: auto; }
  .doctor { grid-template-columns: 1fr; }
  .doctor-portrait { order: 2; border-radius: 180px 180px 24px 24px; }
  .choice-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .copyright { grid-column: auto; }
  .closing { padding-block: 6.5rem; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 54px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
}

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


/* Product references: preserve complete labels without magnifying crops. */
.program-product { margin: 1rem 0 1.5rem; }
.product-image { height: 280px; padding: 18px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: #fff; }
.product-image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.program-product figcaption { margin-top: .8rem; color: #e1edef; font-size: 1rem; font-weight: 700; }
.program-product small { display: block; margin-top: .3rem; color: #aac1c9; font-size: .875rem; font-weight: 400; }
.program-product a { color: #67eadc; text-underline-offset: 3px; }
.product-note { max-width: 900px; margin: 1.5rem 0 0; color: #bad0d6; font-size: .875rem; }
@media (max-width: 700px) { .product-image { height: 240px; padding: 14px; } }

.footer-identity { min-width: 0; }
.footer-title { display: block; color: #e5c575; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.footer-contacts { margin-top: .65rem; font-size: .75rem; line-height: 1.6; }
.footer-contacts a { color: #e5eeef; text-underline-offset: 3px; overflow-wrap: anywhere; }
.site-footer { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.copyright { grid-column: 1 / -1; }
@media (max-width: 700px) { .site-footer { grid-template-columns: 1fr; } .copyright { grid-column: auto; } }
