/* ==========================================================================
   Gllooma - hoja de estilos principal
   Tipografia: Parkinsans (display, 300-800) + IBM Plex Sans (texto, 400-700)
   Paleta: crema #fffbf4 dominante, azul noche #180c3d para el texto,
           terracota #dd6b3f como unico color de accion.
   ========================================================================== */

@import url("fonts.css");

/* --------------------------------------------------------------- tokens -- */
:root {
  /* color */
  --cream: #fffbf4;
  --cream-2: #fcf6e7;
  --sand: #f3efe8;
  --butter: #fbecca;
  --peach: #ffeadd;
  --lime: #edf5c4;
  --sky: #dcf3ff;
  --navy: #180c3d;
  --navy-soft: #2a1d55;
  --slate: #4b4754;
  --terra: #dd6b3f;
  --terra-dark: #c2542b;
  --terra-bright: #ff6b42;
  --forest: #2a6f38;
  --line: rgba(24, 12, 61, 0.1);
  --line-strong: rgba(24, 12, 61, 0.18);

  /* tipografia */
  --font-display: "Parkinsans", "Trebuchet MS", sans-serif;
  --font-text: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  /* escala */
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.08rem);
  --step-1: clamp(1.13rem, 1.05rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.7vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.9vw, 3.4rem);
  --step-5: clamp(2.6rem, 1.6rem + 4.6vw, 4.75rem);

  /* espacio */
  --gap: 24px;
  --pad-section: clamp(64px, 8vw, 128px);
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --radius-xl: 44px;
  --shell: 1240px;

  /* movimiento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-s: 0 2px 6px rgba(24, 12, 61, 0.05);
  --shadow-m: 0 14px 34px -18px rgba(24, 12, 61, 0.28);
  --shadow-l: 0 40px 80px -40px rgba(24, 12, 61, 0.42);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button { font: inherit; color: inherit; cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

[hidden] { display: none !important; }

hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--terra); color: #fff; }

.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: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  font-weight: 600;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 0; }

/* ----------------------------------------------------------- tipografia -- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); letter-spacing: -0.045em; }
h2 { font-size: var(--step-4); letter-spacing: -0.04em; }
h3 { font-size: var(--step-2); letter-spacing: -0.03em; }
h4 { font-size: var(--step-1); letter-spacing: -0.02em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--slate);
  max-width: 56ch;
}

.accent { color: var(--terra); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra-dark);
  background: var(--peach);
  border-radius: 999px;
  padding: 8px 16px;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terra);
  flex: none;
}
.eyebrow.on-lime { background: rgba(255, 255, 255, 0.72); }
.eyebrow.on-navy { background: rgba(255, 255, 255, 0.1); color: var(--butter); }

/* ---------------------------------------------------------------- layout -- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: var(--pad-section); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--cream2 { background: var(--cream-2); }
.section--sand { background: var(--sand); }
.section--peach { background: var(--peach); }
.section--lime { background: var(--lime); }
.section--sky { background: var(--sky); }
.section--butter { background: var(--butter); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h2,
.section--navy h3 { color: var(--cream); }

.section-head { max-width: 54ch; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.is-centered {
  margin-inline: auto;
  text-align: center;
}
.section-head.is-centered .lead { margin-inline: auto; }
.section-head .lead { margin-top: 18px; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.grid {
  display: grid;
  gap: var(--gap);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* fondo decorativo suave */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blobs::before,
.blobs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.75;
}
.blobs::before {
  width: 520px; height: 520px;
  background: var(--peach);
  top: -180px; right: -120px;
}
.blobs::after {
  width: 440px; height: 440px;
  background: var(--lime);
  bottom: -220px; left: -140px;
  opacity: 0.6;
}
.section > .shell { position: relative; z-index: 1; }

/* --------------------------------------------------------------- botones -- */
.btn {
  --btn-bg: var(--terra);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-text);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1;
  padding: 18px 30px;
  border: 0;
  border-radius: 999px;
  text-align: center;
  transition: transform 0.25s var(--ease-pop), box-shadow 0.25s var(--ease-out),
    background-color 0.2s linear;
  box-shadow: 0 10px 24px -12px rgba(221, 107, 63, 0.9);
}
.btn:hover { background: var(--terra-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-busy { opacity: 0.65; pointer-events: none; }

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border: 2px solid var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.btn--navy { --btn-bg: var(--navy); box-shadow: 0 10px 24px -14px rgba(24, 12, 61, 0.8); }
.btn--navy:hover { background: var(--navy-soft); }

.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--navy); box-shadow: none; }
.btn--cream:hover { background: #fff; }

.btn--block { width: 100%; }
.btn--sm { padding: 13px 22px; font-size: var(--step--1); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ----------------------------------------------------------------- pills -- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step--1);
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}
.pill--terra { background: var(--terra); color: #fff; border-color: transparent; }
.pill--lime { background: var(--lime); border-color: transparent; }
.pill--sky { background: var(--sky); border-color: transparent; }
.pill--butter { background: var(--butter); border-color: transparent; }
.pill--peach { background: var(--peach); border-color: transparent; }

/* ---------------------------------------------------------------- tarjetas */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-s);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card h3 { font-size: var(--step-1); }
.card p { color: var(--slate); }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--peach);
  flex: none;
}
.card-icon img { width: 28px; height: 28px; }
.card-icon.is-lime { background: var(--lime); }
.card-icon.is-sky { background: var(--sky); }
.card-icon.is-butter { background: var(--butter); }
.card-icon.is-sand { background: var(--sand); }

/* numero grande para pasos */
.step-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--terra);
}

/* lista con check */
.checks { display: grid; gap: 12px; }
.checks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  line-height: 1.5;
}
.checks li::before {
  content: "";
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--forest) url("../img/ic-check.svg") center / 12px no-repeat;
  flex: none;
}
.checks--soft li::before { background-color: var(--terra); }
.checks--muted li { color: var(--slate); }
.checks--muted li::before { background-color: rgba(24, 12, 61, 0.25); }

/* franja de datos */
.factbar {
  background: var(--navy);
  color: var(--cream);
  padding: 18px 0;
  overflow: hidden;
}
.factbar-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  align-items: center;
}
.factbar-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.01em;
}
.factbar-item::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terra-bright);
}

/* ------------------------------------------------------------------- nav -- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 244, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s linear, box-shadow 0.25s linear;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -20px rgba(24, 12, 61, 0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--slate);
  transition: color 0.18s linear, background-color 0.18s linear;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--navy); background: var(--sand); }
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease-out), background-color 0.15s linear;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero -- */
.hero { padding-block: clamp(48px, 7vw, 104px) clamp(56px, 8vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 48ch; }
.hero-actions { margin-top: 32px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--slate);
}
.hero-trust li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--forest) url("../img/ic-check.svg") center / 10px no-repeat;
  flex: none;
}

.hero-art { position: relative; }
.hero-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: var(--shadow-l);
  transform: rotate(-2deg);
}
.hero-photo img { width: 100%; aspect-ratio: 5 / 5.4; object-fit: cover; }
.hero-badge {
  position: absolute;
  left: -18px; bottom: 44px;
  background: #fff;
  border-radius: var(--radius-m);
  padding: 16px 20px;
  box-shadow: var(--shadow-m);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
  transform: rotate(1.5deg);
}
.hero-badge .card-icon { width: 44px; height: 44px; border-radius: 14px; }
.hero-badge .card-icon img { width: 22px; height: 22px; }
.hero-badge b { font-family: var(--font-display); font-size: var(--step-0); display: block; }
.hero-badge span { font-size: var(--step--1); color: var(--slate); line-height: 1.35; display: block; }
.hero-chip {
  position: absolute;
  right: -10px; top: 26px;
  background: var(--butter);
  border-radius: 999px;
  padding: 11px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  box-shadow: var(--shadow-s);
  transform: rotate(4deg);
}

/* --------------------------------------------------------------- edades -- */
.age-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-s);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.age-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.age-card-img { position: relative; }
.age-card-img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.age-card-img .pill { position: absolute; left: 16px; top: 16px; }
.age-card-body { padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.age-card-body h3 { font-size: var(--step-2); }
.age-card-body p { color: var(--slate); }
.age-card-body .checks { margin-top: auto; }
.age-card-body .checks li { font-size: var(--step--1); }

/* ---------------------------------------------------------------- video -- */
.video-card {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  background: var(--navy);
}
.video-card img,
.video-card video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(24, 12, 61, 0.22);
  transition: background-color 0.25s linear;
}
.video-play:hover { background: rgba(24, 12, 61, 0.34); }
.video-play span {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--terra);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s var(--ease-pop);
}
.video-play:hover span { transform: scale(1.08); }
.video-play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }

/* ----------------------------------------------------------------- pasos -- */
.steps { counter-reset: step; }
.step {
  background: #fff;
  border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.step h3 { font-size: var(--step-1); }
.step p { color: var(--slate); }

/* --------------------------------------------------------------- precios -- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
  align-items: stretch;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-s);
}
.plan--featured {
  background: var(--navy);
  color: var(--cream);
  border-color: transparent;
  box-shadow: var(--shadow-l);
}
.plan--featured h3 { color: var(--cream); }
.plan--featured .plan-price { color: var(--cream); }
.plan--featured .plan-desc,
.plan--featured .plan-note { color: rgba(255, 251, 244, 0.72); }
.plan--featured .checks li::before { background-color: var(--terra-bright); }
.plan--featured hr { border-top-color: rgba(255, 251, 244, 0.16); }

.plan-flag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--terra-bright);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-s);
}
.plan-name { font-size: var(--step-2); }
.plan-desc { color: var(--slate); font-size: var(--step--1); line-height: 1.55; min-height: 3em; }
.plan-price {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-price sup {
  font-size: 0.42em;
  font-weight: 600;
  top: -0.7em;
  letter-spacing: 0;
}
.plan-price small {
  font-family: var(--font-text);
  font-size: 0.3em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--slate);
}
.plan--featured .plan-price small { color: rgba(255, 251, 244, 0.7); }
.plan-note { font-size: var(--step--1); color: var(--slate); }
.plan .checks { flex: 1; }
.plan .checks li { font-size: var(--step--1); }
.plan .btn { margin-top: 4px; }

.plans-legal {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  font-size: var(--step--1);
  color: var(--slate);
  text-align: center;
}
.plans-legal span { display: inline-flex; align-items: center; gap: 8px; }

/* ------------------------------------------------------------------- faq -- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px clamp(18px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.faq-icon {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
  position: relative;
  transition: background-color 0.2s linear, transform 0.3s var(--ease-out);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), background-color 0.2s linear;
}
.faq-icon::before { width: 13px; height: 2px; }
.faq-icon::after { width: 2px; height: 13px; }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--terra); }
.faq-q[aria-expanded="true"] .faq-icon::before,
.faq-q[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease-out);
}
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 clamp(18px, 2.4vw, 28px) 24px;
  color: var(--slate);
  max-width: 68ch;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* --------------------------------------------------------------- garantia */
.guarantee {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-s);
}
.guarantee-text { flex: 1 1 320px; }
.guarantee-seal {
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-size: var(--step-1);
  flex: none;
  border: 3px dashed rgba(42, 111, 56, 0.4);
}

/* ---------------------------------------------------------------- avisos -- */
.note {
  border-radius: var(--radius-m);
  padding: 20px 24px;
  background: var(--butter);
  border: 1px solid rgba(24, 12, 61, 0.08);
  font-size: var(--step--1);
  line-height: 1.6;
}
.note--sky { background: var(--sky); }
.note--peach { background: var(--peach); }
.note--lime { background: var(--lime); }
.note strong { font-weight: 600; }

/* ------------------------------------------------------------ formularios */
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: var(--step--1); font-weight: 600; }
.field .hint { font-size: var(--step--1); color: var(--slate); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: var(--step-0);
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.18s linear;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--terra); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: var(--step--1);
  line-height: 1.55;
  margin-bottom: 16px;
}
.field-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--terra); }
.form-msg {
  border-radius: var(--radius-s);
  padding: 14px 18px;
  font-size: var(--step--1);
  margin-bottom: 18px;
  display: none;
}
.form-msg.is-error { display: block; background: #fdecec; color: #8f1d1d; }
.form-msg.is-ok { display: block; background: var(--lime); color: #1d4a26; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-s);
}

/* ------------------------------------------------------------------ legal */
.doc { max-width: 820px; }
.doc h2 {
  font-size: var(--step-2);
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.doc h2:first-of-type { margin-top: 32px; }
.doc h3 { font-size: var(--step-1); margin: 30px 0 12px; }
.doc p, .doc li { color: var(--slate); }
.doc ul, .doc ol { margin: 0 0 18px; padding-left: 22px; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li { margin-bottom: 8px; padding-left: 4px; }
.doc a { color: var(--terra-dark); text-decoration: underline; text-underline-offset: 2px; }
.doc a:hover { color: var(--terra); }
.doc-meta {
  font-size: var(--step--1);
  color: var(--slate);
  background: var(--sand);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  margin-bottom: 8px;
}
.doc-table { width: 100%; overflow-x: auto; margin-bottom: 20px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: var(--step--1); min-width: 520px; }
.doc-table th,
.doc-table td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  vertical-align: top;
  color: var(--slate);
}
.doc-table th { background: var(--sand); color: var(--navy); font-weight: 600; }

.page-head {
  padding-block: clamp(44px, 6vw, 80px) clamp(28px, 3vw, 44px);
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: var(--step--1); color: var(--slate); margin-bottom: 14px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb span { opacity: 0.55; margin-inline: 6px; }

.legal-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.legal-index a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  font-weight: 600;
  font-size: var(--step--1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.2s linear, transform 0.2s var(--ease-out);
}
.legal-index a:hover { border-color: var(--terra); transform: translateY(-2px); }
.legal-index a::after { content: "\2192"; color: var(--terra); }

/* ----------------------------------------------------------------- footer */
.footer {
  background: var(--navy);
  color: rgba(255, 251, 244, 0.74);
  padding-block: clamp(52px, 6vw, 84px) 0;
  font-size: var(--step--1);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 60px);
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; line-height: 1.6; margin-bottom: 20px; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tags span {
  border: 1px solid rgba(255, 251, 244, 0.22);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--butter);
  white-space: nowrap;
}

.footer-col h4 {
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--butter);
  margin: 0 0 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a,
.footer-col button.linkish {
  color: rgba(255, 251, 244, 0.74);
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  transition: color 0.18s linear;
}
.footer-col a:hover,
.footer-col button.linkish:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* franja de identidad del vendedor: visible en todas las paginas */
.footer-identity {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px 32px;
  margin: 0;
  padding-block: 30px;
  border-top: 1px solid rgba(255, 251, 244, 0.14);
}
.footer-identity > div { display: grid; gap: 5px; align-content: start; }
.footer-identity dt {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 251, 244, 0.45);
}
.footer-identity dd { margin: 0; line-height: 1.55; color: rgba(255, 251, 244, 0.8); }
.footer-identity dd span { color: rgba(255, 251, 244, 0.5); }
.footer-identity a { color: rgba(255, 251, 244, 0.86); }
.footer-identity a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 251, 244, 0.14);
  padding-block: 26px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 251, 244, 0.6);
}
.footer-bottom p { margin: 0; }
.footer-pay { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-pay span {
  border: 1px solid rgba(255, 251, 244, 0.22);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 251, 244, 0.8);
}

/* ------------------------------------------- modal de consentimiento ----- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 12, 61, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s linear, visibility 0.26s;
  overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box {
  width: min(560px, 100%);
  background: var(--cream);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3.4vw, 38px);
  box-shadow: var(--shadow-l);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.34s var(--ease-out);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal.is-open .modal-box { transform: none; }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.modal-head h2 { font-size: var(--step-2); }
.modal-close {
  width: 38px; height: 38px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: var(--navy);
  transition: background-color 0.18s linear;
}
.modal-close:hover { background: var(--sand); }
.modal-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px 22px;
  margin-bottom: 22px;
}
.modal-summary b { font-family: var(--font-display); font-size: var(--step-1); }
.modal-summary .plan-price { font-size: var(--step-2); }
.modal-summary .plan-price small { font-size: 0.34em; }
.modal .field-check { margin-bottom: 18px; }
.modal .field-check a { text-decoration: underline; text-underline-offset: 2px; color: var(--terra-dark); }

/* --------------------------------------------------------- banner cookies */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 140%);
  z-index: 300;
  width: min(1060px, calc(100vw - 32px));
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  padding: clamp(20px, 2.6vw, 30px);
  transition: transform 0.5s var(--ease-out), opacity 0.4s linear;
  opacity: 0;
  visibility: hidden;
}
.cookie.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.cookie-main {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  justify-content: space-between;
}
.cookie-copy { flex: 1 1 380px; }
.cookie-copy h2 { font-size: var(--step-1); margin-bottom: 8px; }
.cookie-copy p { font-size: var(--step--1); color: var(--slate); margin: 0; max-width: 62ch; }
.cookie-copy a { color: var(--terra-dark); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-prefs { display: none; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 22px; }
.cookie.is-config .cookie-prefs { display: block; }
.cookie-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cookie-group:last-of-type { border-bottom: 0; }
.cookie-group b { font-family: var(--font-display); font-size: var(--step-0); }
.cookie-group p { font-size: var(--step--1); color: var(--slate); margin: 4px 0 0; }
.cookie-group .locked { font-size: var(--step--1); color: var(--slate); font-weight: 600; }

.switch { position: relative; width: 50px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch i {
  position: absolute;
  inset: 0;
  background: rgba(24, 12, 61, 0.2);
  border-radius: 999px;
  transition: background-color 0.22s linear;
  pointer-events: none;
}
.switch i::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.24s var(--ease-out);
}
.switch input:checked + i { background: var(--forest); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:focus-visible + i { outline: 3px solid var(--terra); outline-offset: 2px; }

/* --------------------------------------------------------------- reveal -- */
/* El ocultamiento previo a la animacion depende de la clase .js, que anade el
   propio script nada mas cargarse. Si el JavaScript falla o esta bloqueado, el
   contenido se ve igual: nunca una pagina en blanco. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .js .hero-anim > * { animation: rise 0.85s var(--ease-out) both; animation-delay: var(--d, 0ms); }
  @keyframes rise {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
  }
  .factbar-track { animation: slide 34s linear infinite; }
  @keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
}

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; width: 100%; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 78px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 16px clamp(20px, 5vw, 40px) 26px;
    box-shadow: var(--shadow-m);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s linear, transform 0.28s var(--ease-out), visibility 0.22s;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 16px; font-size: var(--step-0); border-radius: var(--radius-s); }
  .nav-cta { margin: 10px 0 0; }
  .nav-toggle { display: grid; }
  .nav-inner { gap: 12px; }
  .hero-badge { left: 0; bottom: -18px; }
  .guarantee { flex-direction: column-reverse; align-items: flex-start; text-align: left; }
}

@media (max-width: 640px) {
  :root { --gap: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-chip { right: 0; top: 14px; font-size: 0.78rem; padding: 9px 15px; }
  .hero-badge { position: static; transform: none; max-width: none; margin-top: 18px; }
  .hero-photo { transform: none; border-width: 6px; }
  .btn { padding: 16px 24px; width: 100%; }
  .btn--sm { width: auto; }
  .btn-row { gap: 10px; }
  .cookie { bottom: 0; width: 100vw; border-radius: var(--radius-l) var(--radius-l) 0 0; border-left: 0; border-right: 0; border-bottom: 0; }
  .cookie-actions .btn { width: 100%; }
  .guarantee-seal { width: 108px; height: 108px; font-size: var(--step-0); }
  .plan-flag { white-space: normal; text-align: center; }
  .doc h2 { margin-top: 36px; }
}

@media print {
  .nav, .footer, .cookie, .page-head .breadcrumb { display: none; }
  body { background: #fff; }
  .doc { max-width: none; }
}
