/* CREZZE v10 — paleta seria: azul marino + grises fríos, con el rosa del logo solo como acento.
   Para cambiar la paleta entera, toca solo las variables de :root. */

:root {
  --bg: #ffffff;
  --tinta: #0b1b33;          /* azul marino: textos y botones oscuros */
  --sec: #4b5b78;            /* texto secundario */
  --linea: #d3def0;

  --rosa: #2f49c9;           /* rosa del logo: solo botones y detalles */
  --rosa-h: #243aa8;
  --rosa-claro: #e6f0fc;     /* fondo gris frío suave (secciones alternas) */
  --rosa-txt: #c22a62;       /* coral oscuro: lo que pagas de más */
  --azul: #3550d0;           /* azul real: enlaces y detalles */
  --azul-h: #243aa8;
  --azul-claro: #e6f0fc;     /* mismo gris frío suave */
  --azul-txt: #2f49c9;
  --oscuro: #0b1b33;         /* secciones oscuras */
  --rojo: #c62f21;           /* solo para avisos de error */

  /* En Mac, iPhone e iPad se ve con la tipografía de Apple; en Windows y Android, con la del sistema */
  --f: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;

  --r-pill: 980px;
  --r-tile: 28px;
  --r-input: 12px;
  --r-m: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--tinta);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--rosa); color: var(--tinta); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid rgba(36, 87, 214, .55); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--rosa); color: var(--tinta); padding: 10px 16px; border-radius: var(--r-pill); z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  font: inherit; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; text-decoration: none; text-align: center;
  border: 0; border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--rosa); color: var(--tinta); }
.btn--primary:hover { background: var(--rosa-h); }
.btn--light { background: #fff; color: var(--tinta); }
.btn--light:hover { background: var(--azul-claro); }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn--lg { padding: 16px 32px; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.ico { flex: none; }

.link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 1.1rem; color: var(--azul-txt); text-decoration: none; }
.link::after { content: "›"; font-size: 1.5em; line-height: .8; transition: transform .2s; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link:hover::after { transform: translateX(3px); }

/* ---------- Barra superior ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
          backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 48px; width: auto; }
.nav { display: none; gap: 30px; margin-left: auto; margin-right: 6px; }
.nav a { text-decoration: none; font-size: .85rem; color: var(--tinta); opacity: .75; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
@media (min-width: 860px) { .nav { display: flex; } }

/* ---------- Portada ---------- */
.hero { padding-block: clamp(48px, 9vw, 104px) clamp(48px, 8vw, 96px); text-align: center; overflow: hidden; }
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.04; font-weight: 700; letter-spacing: -.045em;
  max-width: 20ch; margin-inline: auto;
  text-wrap: balance;
}
.hero h1 .mute { display: block; color: var(--sec); }
.mark { padding-inline: .06em; background: linear-gradient(transparent 60%, var(--rosa) 60% 92%, transparent 92%); color: var(--tinta); }
.hero__lead { margin: 28px auto 0; max-width: 34ch; font-size: clamp(1.2rem, 2.6vw, 1.55rem); line-height: 1.35; letter-spacing: -.02em; }
.hero__terms { margin: 16px auto 0; max-width: 52ch; color: var(--sec); font-size: 1.02rem; }

.ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px 40px; margin-top: 36px; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta small { color: var(--sec); font-size: .9rem; }
.cta .link { padding-block: 16px; }
@media (max-width: 560px) { .cta--main, .cta--main .btn { width: 100%; } }

.hero__trust { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--sec); font-size: .95rem; }

/* Móvil de ejemplo */
.phone {
  position: relative;
  width: min(300px, 78vw);
  margin: clamp(44px, 7vw, 72px) auto 0;
  padding: 10px;
  background: #1d1d1f;
  border-radius: 52px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .45), 0 0 0 1.5px #3a3a3c inset;
  text-align: left;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; background: #000; border-radius: 20px; z-index: 2;
}
.screen { display: flex; flex-direction: column; min-height: 520px; background: #fff; border-radius: 42px; overflow: hidden; }
.screen__bar { display: flex; align-items: center; gap: 10px; padding: 52px 18px 12px; border-bottom: 1px solid #ececef; font-weight: 600; font-size: .85rem; }
.screen__bar img { width: 30px; height: 30px; }
.chat { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 22px; background: #f2f2f7; font-size: .82rem; line-height: 1.35; letter-spacing: 0; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 18px; opacity: 0; transform: translateY(10px); animation: aparece .5s ease-out var(--d) forwards; }
.msg--out { align-self: flex-end; background: var(--tinta); color: #fff; border-bottom-right-radius: 6px; }
.msg--in { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.thumb { width: 128px; margin-bottom: 8px; padding: 9px 10px; background: #fff; border-radius: 8px; }
.thumb i { display: block; height: 5px; margin: 6px 0; background: #d2d2d7; border-radius: 3px; }
.thumb i.hl { background: var(--rosa); }
.msg--res { padding: 14px 16px; }
.msg--res span { display: block; color: var(--sec); font-size: .78rem; }
.msg--res strong { display: block; margin-top: 2px; color: var(--tinta); font-size: 1.9rem; line-height: 1.05; letter-spacing: -.04em; }
.msg--res strong small { font-size: .9rem; font-weight: 600; letter-spacing: -.01em; }
.hero__caption { margin-top: 20px; color: var(--sec); font-size: .85rem; }

@keyframes aparece { to { opacity: 1; transform: none; } }

/* ---------- Secciones ---------- */
.sec { padding-block: clamp(64px, 10vw, 128px); }
.sec--azul { background: var(--azul-claro); }
.sec--rosa { background: var(--rosa-claro); }
.sec--negro { background: var(--oscuro); color: #f5f5f7; }
.h2 { font-size: clamp(2rem, 5.4vw, 3.5rem); line-height: 1.07; font-weight: 700; letter-spacing: -.04em; text-align: center; max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.sub { margin: 18px auto 0; max-width: 40ch; text-align: center; color: var(--sec); font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.4; letter-spacing: -.015em; }

/* Tres datos */
.facts { display: grid; gap: 48px; text-align: center; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.facts strong { display: block; font-size: clamp(3.4rem, 9vw, 5.4rem); line-height: 1; font-weight: 700; letter-spacing: -.055em; }
.facts p { margin: 14px auto 0; max-width: 24ch; color: var(--sec); font-size: 1.08rem; }

/* Trampas */
.tiles { display: grid; gap: 18px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 32px); background: var(--rosa-claro); border-radius: var(--r-tile); }
.tile--azul { background: var(--azul-claro); }
.tile h3 { font-size: clamp(1.5rem, 2.6vw, 1.85rem); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; }
.tile > p { margin-top: 12px; color: var(--sec); }
.tile__vis { margin-top: auto; padding-top: 36px; }

.bars { display: block; width: 100%; height: auto; }
.bars-leg { display: flex; justify-content: space-between; margin-top: 8px; color: var(--sec); font-size: .82rem; }
.bars-leg b { color: var(--rosa-txt); font-weight: 600; }

.meter + .meter { margin-top: 18px; }
.meter span { display: block; margin-bottom: 6px; color: var(--sec); font-size: .85rem; }
.meter i { display: block; height: 14px; border-radius: 7px; background: #e0457b; }
.meter i.ok { background: var(--tinta); width: 42%; }

.chips { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; background: #fff; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; }
.chips li::before {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--rosa-txt);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M18 6 6 18' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M18 6 6 18' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.after { margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.after p { margin: 0 auto 24px; max-width: 24ch; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; font-weight: 600; letter-spacing: -.03em; }

/* Pasos */
.steps { display: grid; gap: 18px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { padding: clamp(28px, 4vw, 36px) clamp(24px, 3vw, 32px); background: #fff; border-radius: var(--r-tile); }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; background: var(--tinta); color: #fff; font-size: 1.3rem; font-weight: 700; border-radius: 50%; }
.steps h3 { font-size: 1.5rem; line-height: 1.15; font-weight: 700; letter-spacing: -.03em; }
.steps p { margin-top: 10px; color: var(--sec); }
.steps__guarantee { margin: 36px auto 0; max-width: 40ch; text-align: center; font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }

/* Caso real */
.case { text-align: center; }
.case__big { font-size: clamp(4.5rem, 17vw, 11rem); line-height: .95; font-weight: 700; letter-spacing: -.06em; color: var(--rosa); }
.case h2 { margin: 14px auto 0; max-width: 16ch; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.case__text { margin: 20px auto 0; max-width: 40ch; color: #a9b6cc; font-size: 1.15rem; }
.case__guarantee { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 560px; padding: clamp(24px, 4vw, 36px); background: #14294a; border-radius: var(--r-tile); text-align: left; }
.case__guarantee h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.025em; color: #fff; }
.case__guarantee p { margin-top: 12px; }
.case__guarantee p + p { color: #a9b6cc; }


/* Negocios */
.neg { text-align: center; }
.neg__text { margin: 28px auto 0; max-width: 40ch; font-size: clamp(1.2rem, 2.4vw, 1.45rem); line-height: 1.45; letter-spacing: -.02em; }
.neg__strong { margin-top: 22px; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; }
.neg__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 36px; }
.neg__pills li { padding: 9px 18px; background: var(--azul-claro); border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; }

/* Precio */
.price { display: grid; gap: 40px; align-items: center; }
@media (min-width: 940px) { .price { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; } }
.price__intro .h2 { text-align: left; margin-inline: 0; max-width: 12ch; }
.price__intro .ticks li { max-width: 46ch; }
.calc { padding: clamp(24px, 4vw, 40px); background: #fff; border-radius: var(--r-tile); }
.calc__tag { display: inline-block; margin-bottom: 8px; padding: 5px 12px; background: var(--rosa); color: var(--tinta); border-radius: var(--r-pill); font-weight: 600; font-size: .8rem; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linea); }
.calc__row span { color: var(--sec); }
.calc__row strong { font-size: 1.6rem; line-height: 1; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.calc__neg { color: var(--rosa-txt); }
.calc__row--total { border-bottom: 0; padding-bottom: 6px; }
.calc__row--total span { color: var(--tinta); font-weight: 600; }
.calc__row--total strong { font-size: clamp(2.2rem, 5vw, 3rem); color: var(--tinta); }
.calc__note { margin-top: 14px; color: var(--sec); font-size: .85rem; }

/* Quién soy */
.who { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .who { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }
.who__photo { position: relative; width: 100%; max-width: 420px; aspect-ratio: 16 / 9; margin-inline: auto; overflow: hidden; background: var(--azul-claro); border-radius: var(--r-tile); display: grid; place-items: center; color: var(--sec); }
.who__photo svg { width: 38%; height: auto; opacity: .45; }
.who__photo span { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: .85rem; }
.who__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who h2 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.07; font-weight: 700; letter-spacing: -.04em; }
.who p { margin-top: 18px; max-width: 46ch; font-size: 1.15rem; line-height: 1.5; }
.who p.mute { color: var(--sec); }

/* Formulario */
.formsec { display: grid; gap: 40px; align-items: start; }
@media (min-width: 940px) { .formsec { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }
.formsec__intro .h2 { text-align: left; margin-inline: 0; max-width: 12ch; }
.formsec__lead { margin-top: 20px; font-size: 1.25rem; line-height: 1.35; color: var(--sec); max-width: 30ch; }
.ticks { margin-top: 28px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; max-width: 40ch; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; background: var(--azul-txt);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.formsec__alt { margin-top: 28px; color: var(--sec); }
.formsec__alt a { color: var(--azul-txt); font-weight: 600; text-underline-offset: 3px; }

.form, .done { padding: clamp(24px, 4vw, 44px); background: #fff; border-radius: var(--r-tile); }
.field { margin-bottom: 20px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend, .field .lbl { display: block; margin-bottom: 8px; padding: 0; font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--sec); }
.row { display: grid; gap: 0 18px; }
@media (min-width: 600px) { .row { grid-template-columns: 1fr 1fr; } }

.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .field input[type="file"] {
  width: 100%; padding: 14px 16px;
  font: inherit; letter-spacing: -.01em; color: inherit;
  background: #fff;
  border: 1px solid var(--linea); border-radius: var(--r-input);
  transition: border-color .2s, box-shadow .2s;
}
.field input:hover, .field textarea:hover { border-color: #a1a1a6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--azul-txt); box-shadow: 0 0 0 4px rgba(36, 87, 214, .18); }
.field textarea { resize: vertical; min-height: 96px; }
.field input[type="file"] { padding: 9px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 8px 16px;
  font: inherit; font-weight: 600; color: var(--tinta);
  background: var(--azul-claro); border: 0; border-radius: var(--r-pill); cursor: pointer;
}
.field [aria-invalid="true"] { border-color: var(--rojo); }
.err { margin-top: 6px; color: var(--rojo); font-weight: 500; font-size: .9rem; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; margin: 0 !important; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.pill span { display: inline-block; padding: 10px 20px; font-weight: 600; background: #fff; border: 1px solid var(--linea); border-radius: var(--r-pill); transition: background-color .2s, border-color .2s, color .2s; }
.pill:hover span { border-color: #a1a1a6; }
.pill input:checked + span { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid rgba(36, 87, 214, .55); outline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: .92rem !important; color: var(--sec); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--rosa-txt); cursor: pointer; }
.check a { color: var(--tinta); font-weight: 600; text-underline-offset: 3px; }

.form__status { margin-top: 16px; padding: 12px 16px; background: #fdeceb; color: #8a1f14; border-radius: var(--r-m); font-weight: 500; }
.form__status a { font-weight: 700; }

.done { text-align: center; display: grid; justify-items: center; gap: 14px; padding-block: clamp(40px, 7vw, 64px); }
.done:focus { outline: none; }
.done__ico { color: var(--azul-txt); }
.done h3 { font-size: 2rem; font-weight: 700; letter-spacing: -.035em; }
.done p { max-width: 34ch; color: var(--sec); }


/* Subida de varias facturas */
.field .lbl { display: block; margin-bottom: 8px; font-weight: 600; font-size: .95rem; }
.files { position: relative; }
.files__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.field .files__btn { display: inline-block; margin: 0; padding: 11px 22px; background: var(--azul-claro); border: 1px solid var(--linea); border-radius: var(--r-pill); font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s; }
.field .files__btn:hover { border-color: #a1a1a6; background: #e8ecf4; }
.files__input:focus-visible + .files__btn { outline: 3px solid rgba(36, 87, 214, .55); outline-offset: 3px; }
.files__list { display: grid; gap: 8px; margin-top: 12px; }
.files__list:empty { display: none; }
.files__list li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f8f9fc; border: 1px solid var(--linea); border-radius: var(--r-input); font-size: .92rem; }
.files__list .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.files__list .s { flex: none; color: var(--sec); }
.files__list .q { flex: none; padding: 4px 4px; background: none; border: 0; color: var(--rosa-txt); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Preguntas */
.faq__list { margin: clamp(36px, 6vw, 56px) auto 0; max-width: 760px; border-bottom: 1px solid var(--linea); }
.faq details { border-top: 1px solid var(--linea); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--sec); font-size: 1.9rem; line-height: 1; font-weight: 300; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; max-width: 60ch; color: var(--sec); }

/* Cierre */
.closing { padding-block: clamp(72px, 11vw, 128px); background: var(--oscuro); color: #f5f5f7; text-align: center; }
.closing h2 { margin: 0 auto; max-width: 16ch; font-size: clamp(2rem, 5.6vw, 3.6rem); line-height: 1.07; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; }
.closing .btn { margin-top: 36px; }

/* Pie */
.foot { padding-block: 40px 100px; background: #f3f5f9; color: var(--sec); font-size: .8rem; }
.foot__in { display: grid; gap: 6px; }
.foot__logo { display: block; height: 40px; width: auto; margin-bottom: 8px; }
.foot a { color: var(--tinta); text-underline-offset: 3px; }

/* Botón flotante de WhatsApp */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px;
  background: var(--rosa); color: var(--tinta); border-radius: 50%;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .4);
  transition: transform .2s, background-color .2s;
}
.fab:hover { background: var(--rosa-h); transform: scale(1.06); }


/* Portada con imagen: el texto va en la zona oscura y vacía de arriba de la foto */
.hero--img {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(32px, 4vw, 56px) 0;
  background: #483c31;
  color: #fff;
}
.hero--img .hero__content { position: relative; z-index: 2; }
.hero--img h1 { max-width: none; font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: 1.06; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero--img h1 .mute { color: rgba(255, 255, 255, .86); }
.hero--img .mark { padding: 0 .16em; background: var(--rosa); color: var(--tinta); border-radius: .18em; text-shadow: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero--img .hero__lead { max-width: 52ch; margin-top: 22px; font-size: clamp(1.1rem, 2vw, 1.3rem); color: #fff; text-shadow: 0 1px 16px rgba(0, 0, 0, .4); }
.hero--img .ctas { margin-top: 28px; }
.hero--img .cta small { color: #eee6df; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero--img .link { padding: 15px 26px; color: #fff; border: 2px solid rgba(255, 255, 255, .75); border-radius: var(--r-pill); }
.hero--img .link:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }

/* La imagen se ve entera y en proporción; sube un poco para que el texto quede sobre su parte vacía */
.hero__pic {
  position: relative; z-index: 0;
  margin-top: calc(min(100vw, 1280px) * -.21);
  background: linear-gradient(to bottom, #483c31 0%, #4a3f33 10%, #4e4034 20%, #564636 30%, #674f39 40%, #76573d 50%, #8c6949 60%, #957454 70%, #95775a 80%, #58493c 90%, #2a241d 100%);
}
.hero__pic picture { display: block; width: min(100%, 1280px); margin-inline: auto; }
.hero__pic img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
}
@media (min-width: 1281px) {
  .hero__pic img {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%);
            mask-composite: intersect;
  }
}
@media (max-width: 700px) { .hero__pic { margin-top: -26vw; } }

.hero__strip { padding-block: 30px 40px; background: #35291f; color: #fff; text-align: center; }
.hero__strip .hero__terms { margin: 0 auto; max-width: 62ch; color: #f0e9e3; font-size: 1.02rem; }
.hero__strip .hero__trust { margin-top: 16px; color: #e3d9d0; }

.demo { padding-block: clamp(56px, 9vw, 104px) clamp(24px, 4vw, 48px); text-align: center; }
.demo .phone { margin-top: 0; }

/* Aparición suave al bajar (solo si el navegador lo permite y no se pide reducir movimiento) */
.js-reveal .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .msg { animation: none; opacity: 1; transform: none; }
  .btn, .fab, .faq summary::after, .link::after { transition: none; }
}

/* v12: azul del logo (#3550d0 → #2fbfd4) */
.btn--primary { background: linear-gradient(135deg,#3550d0,#2fbfd4); color: #fff; }
.btn--primary:hover { background: linear-gradient(135deg,#2c44bd,#27a9be); }
.hero--img .btn--primary, .closing .btn--primary { background: #fff; color: var(--tinta); }
.fab { background: linear-gradient(135deg,#3550d0,#2fbfd4); }
.fab:hover { background: linear-gradient(135deg,#2c44bd,#27a9be); }
.steps__n, .calc__tag { background: linear-gradient(135deg,#3550d0,#2fbfd4); color: #fff; }
.pill input:checked + span { background: linear-gradient(135deg,#3550d0,#2fbfd4); border-color: transparent; }
.msg--out { background: linear-gradient(135deg,#3550d0,#2fbfd4); }
.meter i.ok { background: linear-gradient(135deg,#3550d0,#2fbfd4); }
::selection { background: #cfe6ff; color: var(--tinta); }
.foot a, .check a { color: var(--azul-txt); }
.case__big { color: #7fe3f0; }

/* Aparición más rápida en móvil (evita secciones en blanco al hacer scroll rápido) */
@media (max-width: 700px) {
  .js-reveal .rv { transform: translateY(8px); transition-duration: .25s; transition-delay: 0s !important; }
}
