/* =========================================================
   MUVE CENTER · Hoja de estilos principal
   ========================================================= */

/* ---------- 1. Variables base ---------- */
:root {
  color-scheme: dark;
  --bg: #111111;
  --surf: #18191b;
  --ink: #e9e2d3;
  --mute: #a39e92;
  --line: #2a2b2d;
  --acc: #c9291b;
  --acc-ink: #f4efe3;
  --dark: #0d0d0d;
  --dark-ink: #e9e2d3;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.cream {
  --bg: #e9e2d3;
  --surf: #f2ece0;
  --ink: #111111;
  --mute: #6f6a5f;
  --line: #cfc7b5;
  background: var(--bg);
  color: var(--ink);
  border-block: 0;
}

/* ---------- 2. Reset / base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Inter, system-ui, sans-serif;
  overflow-x: clip;
}
h1, h2, h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}
img, svg { max-width: 100%; }
h1, h2, h3, p, li, summary, span { overflow-wrap: break-word; }

.wrap { max-width: 1080px; margin: auto; padding: 0 20px; }
section { padding: 72px 0; }
h2 {
  font-size: clamp(34px, 6vw, 54px);
  font-weight: 800;
  margin-bottom: 14px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.lead { color: var(--mute); max-width: 640px; margin: 0 0 36px; }

/* ---------- 3. Navegación ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--dark);
  color: var(--dark-ink);
}
nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font: 800 26px "Barlow Condensed", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.logo b { color: var(--acc); }
nav a.l {
  color: var(--dark-ink);
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
  opacity: .8;
}
.nl { display: flex; align-items: center; }

/* ---------- 4. Botones ---------- */
.btn {
  display: inline-block;
  background: var(--acc);
  color: var(--acc-ink);
  font-weight: 600;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  border: 0;
  font-size: 15px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}
.btn.s { padding: 9px 18px; font-size: 14px; margin-left: 20px; }
.btn.o { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn.dk { background: #101011; color: #eae3d3; }

/* ---------- 5. Hero + Slider (Swiper) ---------- */
.hero {
  --stats-h: 120px;                       /* JS lo ajusta con la altura real de .stats */
  --ov: calc(var(--stats-h) / 2);         /* cuánto de .stats se superpone al slider */
  position: relative;
  background: var(--dark);
  color: var(--dark-ink);
  padding: 0 0 calc(var(--ov) + 28px);
}
.hero-slider {
  --swiper-theme-color: #c9291b;
  --swiper-navigation-size: 18px;
  --swiper-navigation-sides-offset: 24px;
  --swiper-pagination-bottom: calc(11px + var(--ov) + 14px);   /* sobre la barra .stats */
  --swiper-pagination-bullet-size: 10px;
  --swiper-pagination-bullet-horizontal-gap: 5px;
  --swiper-pagination-bullet-inactive-color: #f4efe3;
  --swiper-pagination-bullet-inactive-opacity: .5;
  --swiper-pagination-color: #c9291b;
  position: relative;
  width: 100%;
  max-width: 1860px;
  margin-inline: auto;
  padding: 11px;
}
.hero-swiper {
  border-radius: 16px;
  overflow: hidden;
}
.hero-swiper .swiper-slide {
  height: auto;
  border-radius: 16px;
  overflow: hidden;
}
/* Antes de que cargue Swiper, solo se ve el primer slide */
.hero-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }

/* Slide 1: contenido original del hero */
.hero-slide--content {
  --copy-pad: 24px;
  background: radial-gradient(circle at 85% 10%, rgba(201, 41, 27, .28), transparent 45%), var(--bg);
  border: 1px solid rgba(233, 226, 211, .08);
}
.hero-copy {
  padding: clamp(40px, 7vw, 84px) var(--copy-pad) calc(var(--ov) + 40px);
}
.hero h1 {
  font-size: clamp(52px, 11vw, 120px);
  font-weight: 700;
  max-width: 900px;
}
.hero h1 em { font-style: normal; color: var(--acc); }
.hero p {
  max-width: 560px;
  opacity: .82;
  font-size: 18px;
  margin: 22px 0 30px;
}
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Slides 2 y 3: banners promocionales (<picture>/<img> responsive) */
.hero-slide--img {
  position: relative;
  min-height: min(120vw, 460px);
  background: #161616;
}
.hero-slide--img::before {
  content: attr(data-placeholder);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px; text-align: center;
  color: var(--mute); font-size: 14px;
  border: 2px dashed rgba(233, 226, 211, .22);
  border-radius: 16px;
}
.hero-slide--img picture,
.hero-slide--img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero-slide--img img { object-fit: cover; object-position: center; }
.hero-banner-link { position: absolute; inset: 0; z-index: 1; }

/* Flechas y puntos superpuestos dentro del slider */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  display: none;                         /* en móvil se navega con swipe y puntos */
  width: 44px; height: 44px;
  margin-top: -22px;
  align-items: center; justify-content: center;
  border-radius: var(--rb);
  background: rgba(13, 13, 13, .6);
  color: var(--dark-ink);
  backdrop-filter: blur(6px);
  transition: background-color .25s ease, color .25s ease;
}
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover { background: var(--acc); color: var(--acc-ink); }
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after { font-size: 18px; font-weight: 700; }
.hero-slider .swiper-pagination-bullet {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
  transition: width .3s ease, background-color .3s ease, opacity .3s ease;
}
.hero-slider .swiper-pagination-bullet-active { width: 28px; border-radius: 999px; }

/* ---------- 6. Stats (barra flotante sobre el slider) ---------- */
.stats {
  position: absolute;
  left: 50%;
  bottom: 39px;                           /* 28px (padding hero) + 11px (padding slider) */
  transform: translateX(-50%);
  z-index: 6;                             /* por encima de slides, flechas y puntos */
  width: min(1080px, calc(100% - 2 * var(--site-pad, 24px)));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  padding: 12px;
  background: rgba(13, 13, 13, .92);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
}
.stat {
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  padding: 14px 16px;
}
.stat b {
  display: block;
  font: 600 34px "Barlow Condensed", sans-serif;
  color: var(--acc);
  line-height: 1;
}
.stat span {
  font-size: 13px;
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (min-width: 1024px) {
  .hero-slide--content { --copy-pad: max(88px, calc((100% - 1080px) / 2)); }  /* alinea con el resto de la página y deja libres las flechas */
  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next { display: flex; }
}
@media (max-width: 767px) {
  .hero { --ov: 48px; padding-bottom: 28px; }
  .hero-slider { --swiper-pagination-bottom: calc(11px + var(--ov) + 14px); }
  .stats {                                /* en móvil: flota 48px sobre el slider y sigue el flujo normal */
    position: relative; left: auto; bottom: auto; transform: none;
    width: calc(100% - 32px);
    margin: calc(var(--ov) * -1) auto 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px; padding: 8px;
  }
  .stat { padding: 12px; }
  .stat b { font-size: 28px; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- 7. Grid y tarjetas ---------- */
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.card h3 { font-size: 26px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--mute); font-size: 15px; }

.promo {
  background: var(--acc);
  color: var(--acc-ink);
  border-color: transparent;
}
.promo p { color: rgba(17, 20, 16, .78); }
.promo .big { font: 800 64px "Barlow Condensed", sans-serif; line-height: 1; }

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}

/* ---------- 8. Planes ---------- */
.plan .price {
  font: 800 44px "Barlow Condensed", sans-serif;
  margin: 10px 0 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.plan .price small {
  font: 400 14px Inter, sans-serif;
  color: var(--mute);
}
.plan ul { padding: 0; margin: 16px 0 22px; list-style: none; font-size: 15px; }
.plan li {
  padding: 6px 0 6px 24px;
  position: relative;
  border-top: 1px solid var(--line);
}
.plan li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #de2d1c;
  font-weight: 700;
}
.plan.feat { border: 2px solid var(--acc); position: relative; }
.plan .btn { width: 100%; text-align: center; }

/* ---------- 9. Método (steps) ---------- */
.steps { counter-reset: s; position: relative; --ml: 22px; }
.step {
  position: relative;
  padding-left: 70px;
  padding-bottom: 26px;
  border-left: 0;
  margin-left: var(--ml);
}
.step:before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: -23px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--acc-ink);
  font: 800 22px/44px "Barlow Condensed", sans-serif;
  text-align: center;
  border: 2px solid transparent;
  line-height: 40px;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.step h3 { font-size: 24px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--mute); }

.track {
  position: absolute;
  left: calc(var(--ml) - 2px);
  top: 22px;
  bottom: 26px;
  width: 2px;
  background: rgba(233, 226, 211, .16);
  display: block;
}
.fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acc);
  transition: height .12s linear;
}
.anim .fill { height: 0; }
.anim .step { opacity: .4; transition: opacity .35s ease; }
.anim .step.on { opacity: 1; }
.anim .step:before {
  background: var(--dark);
  color: var(--mute);
  border-color: rgba(233, 226, 211, .22);
}
.anim .step.on:before {
  background: var(--acc);
  color: var(--acc-ink);
  border-color: var(--acc);
}

/* ---------- 10. Secciones oscuras / CTA ---------- */
.dark { background: var(--dark); color: var(--dark-ink); }
.dark .lead,
.dark .card p { color: rgba(244, 246, 238, .72); }
.dark .card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
}
.dark .tag { color: var(--acc); }

.pill {
  float: none;
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--acc);
  margin-bottom: 10px;
}

.cta {
  text-align: center;
  background: var(--acc);
  color: var(--acc-ink);
}
.cta h2 { font-size: clamp(38px, 8vw, 76px); }
.cta .btn {
  background: var(--dark);
  color: var(--dark-ink);
  font-size: 17px;
  padding: 16px 32px;
}

/* ---------- 11. FAQ ---------- */
details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--mute); margin: 10px 0 0; }
.note { font-size: 12px; color: var(--mute); margin-top: 18px; }

/* ---------- 12. Horarios (hgrid) ---------- */
.hgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.hcol { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hd, .hb, .hr {
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 18px;
  min-width: 0;
}
.hd {
  background: #101010;
  color: #e9e2d3;
  min-height: 58px;
  font: 800 30px/1 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  margin-top: 0;
}
.hd.hs { margin-top: 10px; }
.hb { background: #232528; color: #e9e2d3; min-height: 56px; }
.hb b {
  font: 800 28px/1 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}
.hb span { font-size: 13px; text-align: right; opacity: .9; }
.hr { background: #b8b5a8; min-height: 56px; }
.ht {
  font: 600 32px/1 "Barlow Condensed", sans-serif;
  color: #ece6d8;
  text-transform: uppercase;
  white-space: nowrap;
}
.hc { display: flex; gap: 14px; font-size: 15px; color: #c9291b; }
.hc i, .hc s { font-style: normal; min-width: 28px; text-align: center; }
.hc s { color: #8d897d; }

/* ---------- 13. Sistema de diseño tipográfico ---------- */
:root {
  --r: 14px;
  --rb: 8px;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 72px;
  --fh1: clamp(48px, 10vw, 112px);
  --fh2: clamp(34px, 6vw, 54px);
  --fh3: 32px;
  --fh4: 26px;
  --fh5: 20px;
  --fh6: 13px;
  --fp: 16px;
  --fl: 18px;
}
body { font-size: var(--fp); line-height: 1.6; }
h1 { font-size: var(--fh1); line-height: .95; font-weight: 800; }
h2 { font-size: var(--fh2); line-height: 1; font-weight: 800; margin: 0 0 var(--s2); }
h3 { font-size: var(--fh3); line-height: 1.05; font-weight: 800; margin: 0 0 var(--s1); }
h4 { font-size: var(--fh4); line-height: 1.1; font-weight: 800; margin: 0 0 var(--s1); }
h5 { font: 600 var(--fh5)/1.3 Inter, sans-serif; text-transform: none; margin: 0 0 var(--s1); }
h6 { font: 600 var(--fh6)/1.3 Inter, sans-serif; letter-spacing: .14em; margin: 0 0 var(--s1); }
p { margin: 0 0 var(--s2); }
.lead { font-size: var(--fl); max-width: 640px; margin: 0 0 var(--s4); }
.cta .lead { margin-inline: auto; }
.hero p { font-size: var(--fl); margin: var(--s3) 0 var(--s4); }
.tag { font-size: var(--fh6); margin-bottom: var(--s1); }
section { padding: var(--s6) 0; }
.grid { gap: var(--s2); }
.card { border-radius: var(--r); padding: var(--s3); }
.card h3, .card h4 { margin-bottom: var(--s1); }
.card p { font-size: 15px; margin: 0; }
.step h3 { font-size: var(--fh3); margin-bottom: var(--s1); }
.step p { margin: 0; }
.btn { border-radius: var(--rb); padding: 14px var(--s3); font-size: 15px; }
.btn.s { padding: 10px var(--s2); font-size: 14px; }
.cta .btn { font-size: var(--fl); padding: 16px var(--s4); }
.sub { font-size: var(--fh3); margin: 0 0 var(--s2); }
.sub small {
  display: block;
  font: 400 14px/1.4 Inter, sans-serif;
  color: var(--mute);
  text-transform: none;
  margin-top: 4px;
}
.grid + .sub { margin-top: var(--s5); }
.plan h4 { font-size: var(--fh3); }
.plan p { margin: 0; }
.plan ul { margin: var(--s2) 0 var(--s3); }
.hd { font-size: var(--fh4); }
.hb b { font-size: var(--fh4); }
.ht { font-size: var(--fh3); }
.note { margin-top: var(--s3); }
details p { margin: var(--s1) 0 0; }
.hgrid { gap: var(--s2); }
.hcol { gap: var(--s1); }
.hd, .hb, .hr { border-radius: var(--r); }

/* ---------- 14. Etiquetas tipo "tag" inclinadas ---------- */
.tag {
  display: inline-block;
  background: #eae3d3;
  color: #101011;
  padding: 7px 13px 6px;
  transform: rotateZ(-1.6deg);
  font: 600 14px/1.2 "Barlow Condensed", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 var(--s3);
}
.dark .tag { color: #101011; }
.cream .tag { background: #101011; color: #eae3d3; }

/* ---------- 15. App (tarjetas con imagen) ---------- */
.appcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s4) var(--s3) 0;
  overflow: hidden;
}
.appcard h3 { letter-spacing: .08em; }
.appcard p { max-width: 340px; }
.shot {
  position: relative;
  margin: var(--s4) 0 0;
  width: min(100%, 300px);
  aspect-ratio: 4/5;
  border-radius: 32px 32px 0 0;
  overflow: hidden;
  background: rgba(233, 226, 211, .05);
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shot::before {
  content: "Inserta aquí tu imagen";
  color: var(--mute);
  font-size: 14px;
  padding: 0 var(--s2);
  text-align: center;
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ---------- 16. "¿Por qué elegirnos?" ---------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: center;
}
.why p { max-width: 520px; }
.why .btns {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-top: var(--s3);
}

/* ---------- 17. Footer ---------- */
footer {
  background: var(--dark);
  color: var(--dark-ink);
  padding: var(--s4) 0;
  font-size: var(--fp);
  opacity: 1;
}
footer .wrap { display: block; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { text-decoration: underline; }

.fgrid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) 2fr;
  gap: var(--s2);
  margin-bottom: var(--s2);
}
.fcard {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--s4);
  min-width: 0;
}
.fred {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--acc-ink);
}
.fred h3 { font-size: var(--fh3); line-height: 1.1; margin: 0; }
.fred dl { margin: var(--s2) 0 var(--s4); }
.fred dl div {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  padding: var(--s2) 0;
  border-bottom: 1px dotted rgba(244, 239, 227, .55);
  align-items: baseline;
  gap: var(--s3);
}
.fred dl div:last-child { border-bottom: 0; }
.fred dt, .fred dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.5;
}
.fred dd { text-align: right; font-size: 14px; letter-spacing: .1em; }
.fred p { margin: var(--s2) 0 0; font-size: var(--fp); line-height: 1.5; }

.flogo {
  font: 800 clamp(40px, 6vw, 56px)/1 "Barlow Condensed", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 0;
  margin: 0;
}
.flogo a { display: inline-block; }
.flogo img {
  display: block;
  height: clamp(36px, 5vw, 52px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.faddr {
  color: var(--mute);
  margin: var(--s1) 0 var(--s5);
  font-size: 17px;
  line-height: 1.5;
}

.fcols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--s4) var(--s3);
}
.fcols h4 {
  margin: 0 0 var(--s2);
  font-size: var(--fh4);
  line-height: 1.1;
}
.fcols ul { list-style: none; margin: 0; padding: 0; }
.fcols li {
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
}

.fbot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s2);
  flex-wrap: wrap;
}
.fbot p { margin: 0; font-size: 14px; line-height: 1.6; opacity: .85; }
.fsoc { display: flex; gap: var(--s1); margin-bottom: var(--s2); }
.fsoc a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--rb);
}
.top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--rb);
  background: var(--acc);
  color: var(--acc-ink) !important;
}

/* ---------- 18. Header / footer ancho ---------- */
:root {
  --font-head: "Barlow Condensed", "Barlow", Impact, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --site-max: 1680px;
  --site-pad: clamp(16px, 2.5vw, 40px);
}

body, p, li, a, small, dt, dd, summary, details, button, input,
.btn, .lead, .note, .faddr, .fsoc, .badge, .pill {
  font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6, .sub, .logo, .hd, .hb b, .ht,
.stat b, .plan .price, .step:before, .tag, .flogo {
  font-family: var(--font-head);
}
.plan .price small, .sub small { font-family: var(--font-body); }
button { font: inherit; }

h1, h2 { font-weight: 700; }
h3, h4, h5, h6, .sub, .card h3, .card h4, .step h3,
.fred h3, .fcols h4, .plan h4 { font-weight: 600; }
.stat b, .plan .price, .step:before, .hd, .hb b, .ht { font-weight: 600; }
.tag, .btn, summary { font-weight: 600; }
.badge, .pill, .logo b { font-weight: 500; }
b, strong { font-weight: 600; }
.fcols li, .fred dt, .fred dd { font-weight: 500; }

nav .wrap, footer .wrap {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--site-pad);
}
nav .wrap { height: 68px; }
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.logo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
footer .wrap { max-width: none; padding-inline: clamp(16px, 2.5vw, 40px); }
.fgrid { grid-template-columns: minmax(300px, 1fr) 2.6fr; }

/* ---------- 19. Animación menú ---------- */
.nl a.l {
  position: relative;
  padding: 6px 0;
  transition: opacity .22s ease;
}
.nl a.l::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--acc);
  transition: width .22s ease;
}
.nl a.l:hover, .nl a.l:focus-visible { opacity: 1; }
.nl a.l:hover::after, .nl a.l:focus-visible::after { width: 100%; }

/* ---------- 20. Botones hover ---------- */
.btn {
  position: relative;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1),
              box-shadow .25s ease,
              background-color .25s ease,
              color .25s ease,
              border-color .25s ease,
              filter .25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(201, 41, 27, .55);
  filter: brightness(1.08);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
  filter: brightness(.97);
}
.btn.o:hover {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--acc-ink);
  filter: none;
}
.btn.dk:hover { background: var(--acc); color: var(--acc-ink); }
.cta .btn:hover {
  background: var(--acc-ink);
  color: #111;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  filter: none;
}
.btn:focus-visible, .top:focus-visible, .fsoc a:focus-visible {
  outline: 2px solid var(--acc-ink);
  outline-offset: 3px;
}
.top {
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), filter .25s ease;
}
.top:hover { transform: translateY(-3px); filter: brightness(1.1); text-decoration: none; }
.fsoc a { transition: background-color .25s ease, color .25s ease; }
.fsoc a:hover { background: rgba(233, 226, 211, .1); text-decoration: none; }
footer a { transition: color .2s ease; }
.fcols a:hover { color: var(--acc); text-decoration: none; }

/* ---------- 21. Botón flotante "Volver arriba" ---------- */
.to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--rb);
  background: var(--acc);
  color: var(--acc-ink);
  text-decoration: none;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease,
              visibility 0s linear .3s, filter .25s ease;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .3s ease, transform .3s ease,
              visibility 0s, filter .25s ease;
}
.to-top.show:hover { transform: translateY(-3px); filter: brightness(1.1); }
.to-top:focus-visible { outline: 2px solid var(--acc-ink); outline-offset: 3px; }

/* ---------- 22. Subtítulo planes en escritorio ---------- */
@media (min-width: 901px) {
  .sub small { display: inline; margin: 0 0 0 12px; white-space: nowrap; }
}

/* ---------- 23. Media queries ---------- */
@media (max-width: 900px) {
  .fgrid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; gap: var(--s3); }
}

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

@media (max-width: 700px) {
  nav a.l { display: none; }
}

@media (max-width: 600px) {
  section { padding: 52px 0; }
  .wrap { padding: 0 16px; }
  .hero p { font-size: 16px; }
  .hero .btns .btn { width: 100%; }
  .grid.g3 { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .step { padding-left: 56px; margin-left: 18px; }
  .cta .btn { width: 100%; padding: 16px 18px; }
  .btn.s { margin-left: 12px; padding: 9px 14px; }
  :root {
    --ml: 18px;
    --fh3: 28px;
    --fh4: 24px;
    --fh5: 18px;
  }
  .fcard { padding: var(--s3); }
  .fred dl div { flex-direction: column; gap: 4px; }
  .fred dd { text-align: left; }
  .fcols { grid-template-columns: 1fr 1fr; }
  .lead, .hero p { font-size: 16px; }
  .why .btns .btn { width: 100%; }
  footer .wrap { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .hd { font-size: 26px; }
  .hb { flex-wrap: wrap; padding: 10px 14px; }
  .hb b { font-size: 22px; }
  .hb span { font-size: 12px; }
  .hr { padding: 0 14px; }
  .ht { font-size: 22px; }
  .hc { gap: 8px; font-size: 14px; }
  .hc i, .hc s { min-width: 24px; }
}

@media (max-width: 360px) {
  .logo { font-size: 22px; }
  .btn.s { padding: 8px 12px; font-size: 13px; }
  .hero h1 { font-size: 46px; }
  .fcols { grid-template-columns: 1fr; }
}

/* ---------- 24. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, .top, .nl a.l::after, .step, .fill { transition: none !important; }
  .btn:hover, .top:hover { transform: none; }
  .to-top, .to-top.show { transition: none; }
}