/* =========================================================
   Sonrisa Viva · Demo de portfolio de Raccoon Web
   Stack: HTML + CSS + JS nativo. Sin frameworks, sin build.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --cream: #FBF6EE;
  --cream-2: #F4E9D9;
  --cream-3: #EFE2CF;
  --paper: #FFFDF9;
  --ink: #211E19;
  --ink-2: #3D382F;
  --ink-3: #6B6355;
  --clay: #C25E3F;
  --clay-dark: #A4482B;
  --clay-soft: #E9C3B1;
  --sage: #5C6F5D;
  --sage-deep: #2E4034;
  --gold: #C9A15E;
  --line: rgba(33, 30, 25, .12);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(33, 30, 25, .05);
  --shadow-md: 0 18px 40px -18px rgba(33, 30, 25, .25);
  --shadow-lg: 0 40px 80px -40px rgba(33, 30, 25, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--clay); color: var(--cream); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.022em;
  color: var(--ink);
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* ---------- 3. Utilidades ---------- */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
main [id], section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }
.skip {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--ink); color: var(--cream); padding: .8rem 1.2rem;
  border-radius: 8px; transition: top .2s;
}
.skip:focus { top: 1rem; }

/* Textura de grano sutil */
.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Barra de progreso de scroll */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--clay), var(--gold));
  transition: width .1s linear;
}

/* ---------- 4. Tipografía ---------- */
.h2 {
  font-size: clamp(2.3rem, 1.6rem + 3.2vw, 4.15rem);
  font-weight: 400;
}
.h2 em, .h2--xl em {
  font-style: italic;
  color: var(--clay);
  font-weight: 400;
}
.h2--xl { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.2rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 1.4rem;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--clay); position: relative; flex: none;
}
.pulse::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  border: 1px solid var(--clay); animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(.7); opacity: .9; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { opacity: 0; }
}

.lead { font-size: clamp(1.08rem, 1rem + .5vw, 1.32rem); line-height: 1.6; color: var(--ink-2); }
.section-note { font-size: .95rem; color: var(--ink-3); max-width: 34ch; line-height: 1.6; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head--light .h2, .section-head--light .section-note { color: var(--cream); }
.section-head--light .section-note { color: rgba(251, 246, 238, .7); }
.section-head--light .eyebrow { color: rgba(251, 246, 238, .65); }
.section-head--light .pulse { background: var(--gold); }
.section-head--light .h2 em { color: var(--gold); }

/* ---------- 5. Botones ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .65rem; padding: 1rem 1.6rem; border-radius: 999px;
  font-size: .92rem; font-weight: 700; letter-spacing: -.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease-out); }
.btn > span { position: relative; z-index: 2; }
.btn > svg { position: relative; z-index: 2; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: var(--clay-dark); transform: translateY(101%);
  transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.985); }

.btn-primary { --btn-bg: var(--clay); --btn-fg: #fff; box-shadow: 0 12px 30px -14px rgba(194, 94, 63, .9); }
.btn-primary::before { background: var(--ink); }
.btn-primary:hover { box-shadow: 0 18px 40px -16px rgba(33, 30, 25, .5); }

.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--cream); }
.btn-ghost:hover::before { transform: translateY(0); }

.btn-light { --btn-bg: var(--cream); --btn-fg: var(--sage-deep); }
.btn-light::before { background: var(--gold); }
.btn-light:hover { color: var(--ink); }

.btn-outline-light {
  --btn-bg: transparent; --btn-fg: var(--cream);
  border: 1px solid rgba(251, 246, 238, .35);
}
.btn-outline-light::before { background: var(--cream); }
.btn-outline-light:hover { color: var(--ink); }

.btn-sm { padding: .72rem 1.15rem; font-size: .84rem; }
.btn-block { width: 100%; margin-top: .4rem; }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease), backdrop-filter .4s;
}
.site-header.is-stuck {
  height: 68px;
  background: rgba(251, 246, 238, .82);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(33, 30, 25, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 12px; background: var(--clay); color: #fff;
  transition: transform .5s var(--ease-out), background .3s;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-text {
  font-family: var(--serif); font-size: 1.28rem; color: var(--ink);
  letter-spacing: -.03em; line-height: 1;
}
.brand-text em { font-style: italic; color: var(--clay); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a {
  position: relative; font-size: .9rem; font-weight: 600; color: var(--ink-2);
  padding: .3rem 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--clay); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.tel {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .88rem; font-weight: 700; color: var(--ink);
}
.tel svg { width: 17px; height: 17px; color: var(--clay); }
.tel:hover { color: var(--clay); }

.burger { display: none; width: 42px; height: 42px; position: relative; z-index: 2; }
.burger span {
  position: absolute; left: 11px; width: 20px; height: 1.6px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: clip;
}
.hero-grid {
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}

.blob-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  will-change: transform;
}
.blob-1 { width: 46vw; height: 46vw; left: -14vw; top: -12vw; background: radial-gradient(circle at 40% 40%, #F0CBB6, transparent 68%); }
.blob-2 { width: 38vw; height: 38vw; right: -10vw; top: 8vw; background: radial-gradient(circle at 50% 50%, #DCE0C8, transparent 66%); }
.blob-3 { width: 30vw; height: 30vw; left: 34vw; bottom: -14vw; background: radial-gradient(circle at 50% 50%, #F3DFC0, transparent 68%); }

.hero-copy { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(2.7rem, 1.4rem + 5.4vw, 5.6rem);
  line-height: .98; letter-spacing: -.035em;
  margin-bottom: clamp(1.2rem, 2.4vw, 1.8rem);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: block; }
.hero-title em {
  font-style: italic; color: var(--clay); position: relative;
  padding-right: .06em;
}
.hero-title em::after {
  content: ''; position: absolute; left: 2%; right: 0; bottom: .1em; height: .07em;
  background: var(--clay); opacity: .3; border-radius: 99px;
  transform: scaleX(0); transform-origin: left;
  animation: underline 1.1s var(--ease-out) 1s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }

.hero-lead { max-width: 46ch; margin-bottom: clamp(1.6rem, 3vw, 2.2rem); font-size: clamp(1.02rem, .96rem + .3vw, 1.16rem); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: clamp(2rem, 4vw, 2.8rem); }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 2.6rem);
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.hero-trust div { display: flex; flex-direction: column; gap: .15rem; }
.hero-trust dt { font-size: .9rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.hero-trust dd { font-size: .78rem; color: var(--ink-3); }
.stars { color: var(--gold); letter-spacing: .06em; font-size: .82rem; }

/* Visual del hero */
.hero-visual { position: relative; z-index: 1; }
.hero-photo {
  position: relative;
  aspect-ratio: .82;
  border-radius: 58% 42% 47% 53% / 46% 50% 50% 54%;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow-lg);
  animation: morph 16s ease-in-out infinite alternate;
  will-change: transform, border-radius;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
@keyframes morph {
  0%   { border-radius: 58% 42% 47% 53% / 46% 50% 50% 54%; }
  50%  { border-radius: 46% 54% 55% 45% / 54% 44% 56% 46%; }
  100% { border-radius: 52% 48% 44% 56% / 48% 56% 44% 52%; }
}

.hero-ring {
  position: absolute; top: -3.5%; right: -4%;
  width: clamp(110px, 15vw, 172px); height: auto;
  color: var(--ink-3);
  animation: spin 26s linear infinite;
  opacity: .85;
}
.hero-ring text {
  font-family: var(--sans); font-size: 11.4px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; fill: currentColor;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-card {
  position: absolute; display: flex; align-items: center; gap: .7rem;
  background: rgba(255, 253, 249, .9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(33, 30, 25, .07);
  border-radius: 16px; padding: .75rem 1rem;
  box-shadow: var(--shadow-md);
  will-change: transform;
}
.hero-card strong { display: block; font-size: .84rem; color: var(--ink); letter-spacing: -.01em; }
.hero-card span:last-child { display: block; font-size: .74rem; color: var(--ink-3); }
.hero-card svg { width: 22px; height: 22px; color: var(--clay); flex: none; }
.card-a { left: -6%; bottom: 16%; }
.card-b { right: -4%; top: 22%; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4E9E63; flex: none;
  box-shadow: 0 0 0 4px rgba(78, 158, 99, .18);
  animation: blink 2.6s ease-in-out infinite;
}
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(78, 158, 99, .05); } }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
}
.hero-scroll .line {
  width: 1px; height: 42px; background: linear-gradient(var(--ink-3), transparent);
  position: relative; overflow: hidden;
}
.hero-scroll .line::after {
  content: ''; position: absolute; inset: 0; background: var(--clay);
  animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- 8. Marquee ---------- */
.marquee-band {
  position: relative; z-index: 2;
  background: var(--clay); color: var(--cream);
  transform: rotate(-1.6deg) scale(1.04);
  padding-block: 1.05rem;
  box-shadow: 0 18px 40px -30px rgba(33, 30, 25, .7);
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track span {
  font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem);
  letter-spacing: -.01em; white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--clay-soft); font-size: 1rem; opacity: .8; }
.marquee-band:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. La clínica ---------- */
.clinica { background: var(--cream); }
.clinica-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.clinica-head .h2 { max-width: 14ch; }
.clinica-grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.clinica-media { position: relative; }
.clinica-photo {
  width: 100%; aspect-ratio: 1.5; object-fit: cover;
  border-radius: 200px 24px 24px 24px;
  box-shadow: var(--shadow-md);
}
.clinica-detail {
  position: absolute; right: -1.2rem; bottom: -2.4rem; z-index: 1;
  width: 37%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 16px; border: 6px solid var(--cream);
  box-shadow: 0 30px 60px -30px rgba(33, 30, 25, .45);
  transform: rotate(2.5deg);
  transition: transform .6s var(--ease-out);
}
.clinica-media:hover .clinica-detail { transform: rotate(0deg) scale(1.02); }
.clinica-media figcaption {
  position: absolute; left: 1.4rem; bottom: 1.4rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 253, 249, .92); backdrop-filter: blur(10px);
  padding: .55rem .9rem; border-radius: 999px;
  font-size: .76rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }

.clinica-copy > p + p { margin-top: 1rem; }
.feature-list { margin-top: 2rem; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .85rem; align-items: flex-start; }
.feature-list svg {
  width: 20px; height: 20px; flex: none; margin-top: .25rem;
  color: var(--sage); background: rgba(92, 111, 93, .1);
  border-radius: 50%; padding: 3px;
}
.feature-list strong { display: block; font-size: .95rem; color: var(--ink); }
.feature-list span { font-size: .88rem; color: var(--ink-3); }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
}
.stat-num {
  display: flex; align-items: baseline; gap: .1rem;
  font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem);
  color: var(--ink); line-height: 1; letter-spacing: -.03em;
}
.stat-num i { font-style: italic; font-size: .55em; color: var(--clay); }
.stat-label { font-size: .76rem; color: var(--ink-3); letter-spacing: .02em; }

/* ---------- 10. Tratamientos ---------- */
.trat { background: var(--cream-2); }
.trat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(.9rem, 1.6vw, 1.4rem);
}
.trat-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--paper); border: 1px solid rgba(33, 30, 25, .07);
  border-radius: var(--radius-lg); padding: 0;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.trat-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 100% at 100% 0%, rgba(194, 94, 63, .09), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.trat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(194, 94, 63, .28); }
.trat-card:hover::before { opacity: 1; }

.trat-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--cream-3);
}
.trat-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s;
}
.trat-card:hover .trat-media img { transform: scale(1.06); filter: saturate(1.05); }
.trat-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33, 30, 25, .18), transparent 35%, transparent 70%, rgba(33, 30, 25, .22));
  pointer-events: none;
}
.trat-num {
  position: absolute; top: 1rem; right: 1.1rem; z-index: 2;
  font-family: var(--serif); font-size: .78rem; color: var(--ink);
  background: rgba(255, 253, 249, .9); backdrop-filter: blur(6px);
  border-radius: 999px; padding: .2rem .6rem; letter-spacing: .06em;
}
.trat-icon {
  position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 2;
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 14px; background: rgba(255, 253, 249, .95); color: var(--clay);
  box-shadow: var(--shadow-sm);
  transition: background .4s, color .4s, transform .5s var(--ease-out);
}
.trat-icon svg { width: 25px; height: 25px; }
.trat-card:hover .trat-icon { background: var(--clay); color: #fff; transform: rotate(-6deg); }
.trat-body {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.4rem clamp(1.2rem, 2vw, 1.7rem) 4.1rem;
}
.trat-card h3 { font-size: clamp(1.32rem, 1.15rem + .5vw, 1.55rem); }
.trat-card p { font-size: .93rem; color: var(--ink-3); max-width: 40ch; }
.trat-price { margin-top: .35rem; font-size: .85rem; color: var(--ink-3); }
.trat-price b { font-family: var(--serif); font-size: 1.28rem; color: var(--ink); font-weight: 500; }
.trat-link {
  position: absolute; right: 1.4rem; bottom: 1.4rem; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink); background: var(--paper);
  transition: background .4s, color .4s, transform .5s var(--ease-out);
}
.trat-link svg { width: 18px; height: 18px; }
.trat-link:hover { background: var(--ink); color: var(--cream); transform: rotate(-45deg); }
.trat-foot { margin-top: 2.2rem; font-size: .92rem; color: var(--ink-3); }
.trat-foot a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 11. Casos / Comparador ---------- */
.casos { background: var(--sage-deep); color: var(--cream); overflow: clip; }
.casos::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 80% 0%, rgba(201, 161, 94, .18), transparent 70%);
  pointer-events: none;
}
.compare { position: relative; max-width: 1080px; margin-inline: auto; }
.compare-stage {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 10; background: #1d2b22;
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .8);
  cursor: ew-resize; user-select: none;
  --pos: 50%;
}
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.compare-before { filter: sepia(.46) saturate(.72) brightness(.93) contrast(.92) hue-rotate(-6deg); }
.compare-clip {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  will-change: clip-path;
}
.compare-tag {
  position: absolute; top: 1.1rem; z-index: 3;
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(20, 28, 23, .55); backdrop-filter: blur(8px);
  color: #fff; padding: .42rem .8rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
}
.compare-tag--before { left: 1.1rem; }
.compare-tag--after { right: 1.1rem; background: rgba(194, 94, 63, .82); border-color: transparent; }

.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  transform: translateX(-50%); z-index: 4;
  width: 56px; display: grid; place-items: center;
  touch-action: none;
}
.compare-handle::before {
  content: ''; position: absolute; top: 0; bottom: 0; width: 2px;
  background: rgba(255, 255, 255, .92); box-shadow: 0 0 24px rgba(0, 0, 0, .45);
}
.grip {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; color: var(--sage-deep);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55);
  transition: transform .3s var(--ease-out);
}
.grip svg { width: 24px; height: 24px; }
.compare-stage:hover .grip, .compare-stage:focus-visible .grip { transform: scale(1.07); }
.compare-stage.is-dragging .grip { transform: scale(.94); }

.compare-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-top: 1.8rem;
}
.compare-kicker { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.compare-meta p { margin-top: .35rem; color: rgba(251, 246, 238, .78); max-width: 46ch; font-size: .96rem; }

/* ---------- 12. Tecnología ---------- */
.tec { background: var(--cream); }
.tec-grid {
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.tec-media { position: relative; }
.tec-photo {
  border-radius: 24px 120px 24px 24px;
  overflow: hidden; box-shadow: var(--shadow-md);
  will-change: transform;
}
.tec-photo img { width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.tec-chip {
  position: absolute; background: var(--paper); border-radius: 14px;
  padding: .7rem 1rem; box-shadow: var(--shadow-md);
  border: 1px solid rgba(33, 30, 25, .07);
}
.tec-chip--1 { right: -3%; bottom: 8%; text-align: left; }
.tec-chip span { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tec-chip b { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 500; }

.tec-copy .lead { margin-bottom: 2rem; }
.tec-list { display: grid; gap: 1.4rem; }
.tec-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.tec-num {
  flex: none; font-family: var(--serif); font-size: .8rem; color: var(--clay);
  border: 1px solid rgba(194, 94, 63, .3); border-radius: 50%;
  width: 34px; height: 34px; display: grid; place-items: center; margin-top: .1rem;
}
.tec-list strong { display: block; font-size: 1rem; color: var(--ink); margin-bottom: .2rem; }
.tec-list p { font-size: .9rem; color: var(--ink-3); }

/* ---------- 13. Equipo ---------- */
.equipo { background: var(--cream-2); }
.equipo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.2rem);
}
.person { position: relative; }
.person-photo {
  position: relative; overflow: hidden; margin-bottom: 1.1rem;
  border-radius: 140px 140px 20px 20px;
  background: var(--cream-3);
  aspect-ratio: .82;
}
.person-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.35) contrast(1.02);
  transition: transform 1s var(--ease-out), filter .7s var(--ease);
}
.person:hover .person-photo img { transform: scale(1.05); filter: grayscale(0); }
.person-role {
  position: absolute; left: .9rem; bottom: .9rem;
  background: rgba(255, 253, 249, .94); backdrop-filter: blur(8px);
  border-radius: 12px; padding: .5rem .75rem;
  font-size: .68rem; font-weight: 700; line-height: 1.35;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.person:hover .person-role, .person:focus-within .person-role { opacity: 1; transform: translateY(0); }
.person h3 { font-size: 1.42rem; margin-bottom: .35rem; }
.person p { font-size: .88rem; color: var(--ink-3); margin-bottom: .7rem; }
.person > a {
  font-size: .82rem; font-weight: 700; color: var(--clay);
  display: inline-flex; align-items: center; gap: .35rem;
}
.person > a::after { content: '→'; transition: transform .3s var(--ease-out); }
.person > a:hover::after { transform: translateX(4px); }

/* ---------- 14. Opiniones ---------- */
.opiniones { background: var(--cream); overflow: clip; }
.carousel-nav { display: flex; gap: .5rem; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--ink); transition: background .3s, color .3s, transform .3s;
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn:hover { background: var(--ink); color: var(--cream); }
.carousel-btn:disabled { opacity: .3; cursor: not-allowed; }

.rev-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; scrollbar-width: none;
  scroll-behavior: smooth;
}
/* En escritorio, tres opiniones a la vez: la cuarta asoma al navegar */
@media (min-width: 901px) {
  .rev-track { grid-auto-columns: calc((100% - 2.4rem) / 3); }
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-card {
  scroll-snap-align: start;
  background: var(--paper); border: 1px solid rgba(33, 30, 25, .07);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.4vw, 2.2rem);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.rev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rev-card blockquote {
  font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .35vw, 1.32rem);
  line-height: 1.42; color: var(--ink); letter-spacing: -.015em;
  margin: 0; flex: 1;
}
.rev-card footer { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.rev-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none;
  border: 1px solid rgba(33, 30, 25, .08);
  background: var(--cream-3);
}
.rev-card footer div { display: flex; flex-direction: column; gap: .05rem; }
.rev-card footer strong { font-size: .9rem; color: var(--ink); }
.rev-card footer span { font-size: .76rem; color: var(--ink-3); }

.rev-dots { display: flex; gap: .45rem; justify-content: center; margin-top: 1.6rem; }
.rev-dots button {
  width: 26px; height: 4px; border-radius: 99px; background: rgba(33, 30, 25, .16);
  transition: background .3s, width .3s var(--ease-out);
}
.rev-dots button[aria-selected="true"] { background: var(--clay); width: 44px; }

/* ---------- 15. Cita ---------- */
.cita { background: var(--cream-2); position: relative; overflow: clip; }
.cita::before {
  content: ''; position: absolute; width: 60vw; height: 60vw; right: -25vw; top: -20vw;
  background: radial-gradient(circle, rgba(233, 195, 177, .5), transparent 65%);
  pointer-events: none;
}
.cita-grid {
  display: grid; grid-template-columns: 1fr .92fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
  position: relative; z-index: 1;
}
.cita-copy .lead { margin-bottom: 2rem; max-width: 42ch; }
.cita-info { display: grid; gap: 1.4rem; }
.cita-info li { display: flex; gap: .9rem; align-items: flex-start; }
.info-icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--paper); color: var(--clay); box-shadow: var(--shadow-sm);
}
.info-icon svg { width: 20px; height: 20px; }
.cita-info strong { display: block; font-size: .92rem; color: var(--ink); margin-bottom: .1rem; }
.cita-info p { font-size: .86rem; color: var(--ink-3); line-height: 1.55; }
.cita-info a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }

.mapa {
  position: relative; margin-top: 1.8rem;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(33, 30, 25, .1);
  box-shadow: var(--shadow-sm);
  background: var(--cream-3);
}
.mapa iframe {
  display: block; width: 100%; height: 230px; border: 0;
  filter: saturate(.5) sepia(.16) contrast(.96) brightness(1.02);
}
.mapa-tag {
  position: absolute; left: .9rem; top: .9rem;
  background: rgba(255, 253, 249, .93); backdrop-filter: blur(8px);
  border-radius: 999px; padding: .4rem .8rem;
  font-size: .73rem; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.cita-card {
  background: var(--paper); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2.4rem);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(33, 30, 25, .06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { position: relative; margin-bottom: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 1.45rem .95rem .5rem;
  background: var(--cream); border: 1px solid rgba(33, 30, 25, .1);
  border-radius: 12px; font-size: .93rem; color: var(--ink);
  transition: border-color .25s, background .25s, box-shadow .25s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field label {
  position: absolute; left: .95rem; top: 50%;
  font-size: .92rem; color: var(--ink-3); pointer-events: none;
  transform: translateY(-50%); transform-origin: left center;
  transition: transform .25s var(--ease-out), color .25s;
  white-space: nowrap;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--clay);
  background: #fff; box-shadow: 0 0 0 4px rgba(194, 94, 63, .1);
}
.field textarea + label { top: 1.7rem; }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--select label {
  transform: translateY(-1.32rem) scale(.8);
  color: var(--clay);
}
.field--select { position: relative; }
.field--select select { cursor: pointer; }
.field--select::after {
  content: ''; position: absolute; right: 1.1rem; top: 1.3rem;
  width: 7px; height: 7px; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3);
  transform: rotate(45deg); pointer-events: none;
}
.field.has-error input, .field.has-error select { border-color: #C0392B; background: #FDF3F2; }
.form-legal { font-size: .74rem; color: var(--ink-3); text-align: center; margin-top: .9rem; line-height: 1.5; }
.form-legal a { text-decoration: underline; }
.form-error { color: #C0392B; font-size: .82rem; margin-top: .6rem; text-align: center; }

.form-success { text-align: center; padding: 1.5rem 0; }
.success-icon {
  width: 62px; height: 62px; margin: 0 auto 1.2rem; border-radius: 50%;
  background: rgba(92, 111, 93, .12); color: var(--sage);
  display: grid; place-items: center;
  animation: pop .6s var(--ease-out);
}
.success-icon svg { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.form-success h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.form-success p { font-size: .92rem; color: var(--ink-3); margin-bottom: 1.4rem; }
.form-success a { color: var(--clay); text-decoration: underline; }

/* ---------- 16. FAQ ---------- */
.faq { background: var(--cream); }
.faq-grid {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.faq-head { position: sticky; top: 110px; }
.faq-head p { margin-top: 1rem; font-size: .92rem; color: var(--ink-3); }
.faq-head a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.4rem 0; text-align: left;
  font-family: var(--serif); font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
  color: var(--ink); transition: color .3s;
}
.faq-q:hover { color: var(--clay); }
.faq-q i {
  position: relative; flex: none; width: 22px; height: 22px;
  border: 1px solid var(--line); border-radius: 50%;
}
.faq-q i::before, .faq-q i::after {
  content: ''; position: absolute; left: 50%; top: 50%; background: var(--ink-2);
  transition: transform .35s var(--ease-out), background .3s;
}
.faq-q i::before { width: 9px; height: 1.4px; transform: translate(-50%, -50%); }
.faq-q i::after { width: 1.4px; height: 9px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-q i { background: var(--clay); border-color: var(--clay); }
.faq-item.is-open .faq-q i::before, .faq-item.is-open .faq-q i::after { background: #fff; }
.faq-item.is-open .faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.faq-a > p {
  overflow: hidden; font-size: .93rem; color: var(--ink-3);
  max-width: 62ch; padding-right: 2rem; min-height: 0;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > p { padding-bottom: 1.5rem; }

/* ---------- 17. CTA final ---------- */
.cta-final {
  background: var(--sage-deep); color: var(--cream);
  padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; overflow: clip;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(50% 70% at 15% 20%, rgba(194, 94, 63, .28), transparent 70%),
    radial-gradient(40% 60% at 85% 90%, rgba(201, 161, 94, .2), transparent 70%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner .eyebrow { color: rgba(251, 246, 238, .7); }
.cta-inner .pulse { background: var(--gold); }
.cta-inner .h2 em { color: var(--gold); }
.cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }

/* ---------- 18. Footer ---------- */
.site-footer {
  background: var(--ink); color: rgba(251, 246, 238, .72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .88rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-bottom: 2.6rem; border-bottom: 1px solid rgba(251, 246, 238, .12);
}
.brand--light .brand-text { color: var(--cream); }
.brand--light .brand-text em { color: var(--clay-soft); }
.footer-brand p { margin: 1rem 0 1.3rem; font-size: .86rem; line-height: 1.6; max-width: 32ch; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(251, 246, 238, .18);
  display: grid; place-items: center; color: var(--cream);
  transition: background .3s, transform .3s, border-color .3s;
}
.footer-social svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-2px); }

.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col h4 {
  font-family: var(--sans); font-size: .72rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cream);
  margin-bottom: .4rem;
}
.footer-col a { font-size: .86rem; transition: color .25s, transform .25s; width: fit-content; }
.footer-col a:hover { color: var(--clay-soft); transform: translateX(3px); }
.footer-col p { font-size: .86rem; line-height: 1.6; }
.footer-hours { color: rgba(251, 246, 238, .45); font-size: .8rem !important; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.6rem; font-size: .78rem; color: rgba(251, 246, 238, .45);
}
.footer-legal { display: flex; gap: 1.2rem; }
.footer-legal a:hover { color: var(--cream); }
.demo-note {
  margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(251, 246, 238, .08);
  font-size: .72rem; color: rgba(251, 246, 238, .32); text-align: center;
}
.demo-note strong { color: rgba(251, 246, 238, .55); }

/* ---------- 19. CTA móvil ---------- */
.mobile-cta {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 90;
  display: none; align-items: center; justify-content: center; gap: .6rem;
  background: var(--clay); color: #fff; padding: 1rem;
  border-radius: 999px; font-weight: 700; font-size: .95rem;
  box-shadow: 0 18px 40px -12px rgba(33, 30, 25, .55);
}
.mobile-cta svg { width: 18px; height: 18px; }

/* WhatsApp flotante (solo escritorio, donde no hay CTA fijo) */
.wa-float {
  position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 95;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 18px 36px -14px rgba(37, 211, 102, .8);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 22px 44px -14px rgba(37, 211, 102, .9); }
.wa-float::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, .45);
  animation: waPing 3s var(--ease) infinite;
  pointer-events: none;
}
@keyframes waPing {
  0% { transform: scale(.92); opacity: .8; }
  70%, 100% { transform: scale(1.18); opacity: 0; }
}

/* ---------- 20. Animaciones de entrada ---------- */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  filter: blur(5px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

.js .hero-title .line > span { transform: translateY(110%); opacity: 0; }
.js .hero-title.is-in .line > span {
  animation: lineUp 1.15s var(--ease-out) forwards;
}
.js .hero-title.is-in .line:nth-child(2) > span { animation-delay: .14s; }
@keyframes lineUp { to { transform: translateY(0); opacity: 1; } }
.js .hero-title.is-in em::after { animation-delay: 1.05s; }

/* La foto solo anima opacidad y desenfoque: el transform lo controla el parallax */
.js .hero-photo {
  opacity: 0; filter: blur(14px); transform: translate3d(0, 0, 0);
  transition: opacity 1.3s var(--ease-out), filter 1.3s var(--ease-out);
}
.js .hero-photo.is-in { opacity: 1; filter: none; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 1.1rem; }
  .nav a { font-size: .84rem; }
  .tel span { display: none; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }

  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--cream);
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a { font-size: 1.6rem; font-family: var(--serif); }
  .nav.is-open { opacity: 1; visibility: visible; }
  .burger { display: block; }
  body.nav-open { overflow: hidden; }
  .header-cta .btn { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-card.card-a { left: -2%; }
  .hero-card.card-b { right: -1%; }
  .hero-scroll { display: none; }

  .clinica-grid, .tec-grid, .cita-grid, .faq-grid { grid-template-columns: 1fr; }
  .clinica-photo { border-radius: 120px 20px 20px 20px; }
  .clinica-detail { width: 34%; right: -.4rem; bottom: -1.6rem; border-width: 5px; }
  .clinica-media figcaption { top: .9rem; bottom: auto; left: .9rem; }
  .clinica-media { margin-bottom: 1.6rem; }
  .faq-head { position: static; }

  .equipo-grid { grid-template-columns: repeat(2, 1fr); }
  .equipo-grid .person:last-child { grid-column: span 2; max-width: 50%; }
  .person-role { opacity: 1; transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: flex; }
  .wa-float { display: none; }
  .site-footer { padding-bottom: 5.5rem; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero-trust { gap: 1.1rem; }
  .hero-trust div { flex: 1 1 40%; }
  .trat-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 1.1rem; padding-top: 1.4rem; }
  .stat { display: flex; align-items: baseline; gap: .7rem; }
  .stat-label { font-size: .8rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .equipo-grid { grid-template-columns: 1fr; }
  .equipo-grid .person:last-child { grid-column: auto; max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .rev-track { grid-auto-columns: 86%; }
  .compare-stage { aspect-ratio: 4 / 5; }
  .compare-meta { gap: 1.2rem; }
  .compare-meta .btn { width: 100%; }
  .marquee-band { padding-block: .9rem; }
  .hero-ring, .hero-card { display: none; }
  .cta-actions .btn { width: 100%; }
}

/* ---------- 22. Accesibilidad / motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal, .js .hero-photo, .js .hero-title .line > span {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
}

@media print {
  .site-header, .mobile-cta, .hero-scroll, .grain, .scroll-progress { display: none; }
  body { background: #fff; }
}
