/* ============================================================================
   styles.css — Landing "Trabajo, gano... pero no avanzo" (educación financiera).
   Paleta vibrante. Todo el sistema visual vive en las variables de :root.
   ============================================================================ */

:root {
  /* --- Base: violeta profundo --- */
  --bg:        #120a26;
  --bg-2:      #170d30;
  --surface:   #1f1145;
  --surface-2: #2a1858;
  --border:    #3a2472;
  --border-2:  #5836a6;

  --text:      #f5f1ff;
  --muted:     #bcaee0;
  --faint:     #8a7ab5;

  /* --- Acentos vivos --- */
  --coral:   #ff5d5d;
  --orange:  #ff8a3d;
  --amber:   #ffc24b;
  --magenta: #ff4d94;
  --pink:    #f857a6;
  --violet:  #a855f7;
  --cyan:    #22d3ee;
  --teal:    #2dd4bf;
  --emerald: #34d399;
  --danger:  #ff6b6b;

  /* --- Gradientes --- */
  --grad-cta:  linear-gradient(135deg, #ff4d94 0%, #ff5d5d 45%, #ff8a3d 100%);
  --grad-cool: linear-gradient(135deg, #22d3ee 0%, #6d5efc 55%, #a855f7 100%);
  --grad-grow: linear-gradient(135deg, #2dd4bf 0%, #34d399 100%);
  --grad-warm: linear-gradient(135deg, #ffc24b 0%, #ff8a3d 100%);
  --grad-text: linear-gradient(100deg, #ffc24b 0%, #ff8a3d 30%, #ff4d94 65%, #a855f7 100%);
  --grad-border: linear-gradient(120deg, #22d3ee, #a855f7, #ff4d94, #ffc24b);

  /* Mesh de fondo multicolor */
  --mesh:
    radial-gradient(720px 460px at 82% -6%,  rgba(255,77,148,.28), transparent 60%),
    radial-gradient(680px 520px at 6% 8%,    rgba(34,211,238,.22), transparent 58%),
    radial-gradient(760px 620px at 96% 42%,  rgba(168,85,247,.20), transparent 60%),
    radial-gradient(680px 520px at 12% 82%,  rgba(45,212,191,.16), transparent 60%);

  --font-head: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 70px -24px rgba(0,0,0,.7);
  --shadow-color: 0 20px 50px -18px rgba(255,77,148,.5);
  --ring: 0 0 0 4px rgba(168,85,247,.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  background-image: var(--mesh);
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 800px; }
.wrap--form { max-width: 1060px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }

/* ---------------- Eyebrow ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, rgba(255,77,148,.22), rgba(168,85,247,.22));
  border: 1px solid rgba(255,77,148,.4);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 4px rgba(255,77,148,.3); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 4px rgba(255,77,148,.3);} 50%{ box-shadow: 0 0 0 7px rgba(255,77,148,0);} }

.hl {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------------- Botones ---------------- */
.btn {
  --pad-y: 15px; --pad-x: 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 13px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .14s ease, box-shadow .25s ease, filter .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--lg { --pad-y: 18px; --pad-x: 36px; font-size: 17.5px; }
.btn--block { display: flex; width: 100%; }
.btn--primary {
  background: var(--grad-cta); color: #fff; font-weight: 800;
  box-shadow: var(--shadow-color), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { transform: translateY(-2px) scale(1.01); filter: brightness(1.06); box-shadow: 0 26px 60px -16px rgba(255,77,148,.65); }
.btn--primary:active { transform: translateY(0); }
.btn--grow { background: var(--grad-grow); color: #07271e; font-weight: 800; box-shadow: 0 18px 44px -16px rgba(52,211,153,.6); }
.btn--grow:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--ghost { background: rgba(255,255,255,.05); color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--magenta); background: rgba(255,77,148,.1); }
.btn--text { background: none; color: var(--muted); border: none; padding-left: 6px; }
.btn--text:hover { color: var(--text); }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,10,38,.72);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-stuck { border-bottom-color: var(--border); background: rgba(18,10,38,.9); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--grad-cta); color: #fff; font-size: 16px; font-weight: 900;
  box-shadow: 0 6px 16px -4px rgba(255,77,148,.6);
}
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.brand__name strong { font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__cta { padding: 10px 20px; font-size: 15px; }

/* ---------------- Hero ---------------- */
.hero { padding: 66px 0 40px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 50px; align-items: center; }
.hero__title { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; margin: 20px 0 20px; }
.hero__sub { font-size: clamp(17px, 2vw, 20.5px); color: var(--muted); max-width: 570px; margin: 0 0 30px; }
.hero__sub strong { color: #fff; }
.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.hero__badges b { color: var(--emerald); font-weight: 900; }

/* Tarjeta ilustrativa del hero */
.hero__card { justify-self: end; width: 100%; max-width: 400px; }
.flashcard {
  position: relative; border-radius: 22px; padding: 26px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2); box-shadow: var(--shadow);
  overflow: hidden;
}
.flashcard::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: 22px;
  background: var(--grad-border); background-size: 300% 300%; animation: slideGrad 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
@keyframes slideGrad { to { background-position: 300% 0; } }
.flashcard__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.flashcard__label { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.flashcard__lines { display: grid; gap: 13px; margin-bottom: 16px; }
.fline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.fline b { margin-left: auto; font-family: var(--font-head); color: #fff; }
.fbar { height: 9px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; flex: 0 0 130px; }
.fbar span { display: block; height: 100%; border-radius: 999px; animation: grow 1.1s cubic-bezier(.2,.8,.2,1) both; }
.fbar--c span { background: var(--grad-cta); }
.fbar--w span { background: var(--grad-warm); animation-delay: .12s; }
.fbar--g span { background: var(--grad-grow); animation-delay: .24s; }
@keyframes grow { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); } }
.flashcard__hint { color: var(--faint); font-size: 13px; margin: 0; }

.pill { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.pill--live { color: #fff; background: linear-gradient(120deg, var(--magenta), var(--violet)); }

/* ---------------- ENCUESTA (protagonista) ---------------- */
.diag { padding: 20px 0 84px; }
.diag__head { text-align: center; max-width: 680px; margin: 0 auto 26px; }
.diag__head .eyebrow { margin-bottom: 14px; }
.diag__head h2 { font-size: clamp(26px, 3.8vw, 40px); margin: 0 0 10px; }
.diag__head p { color: var(--muted); font-size: 17.5px; margin: 0; }

.survey {
  position: relative; max-width: 760px; margin: 0 auto;
  border-radius: 26px; padding: 6px;
  background: var(--grad-border); background-size: 300% 300%;
  animation: slideGrad 7s linear infinite;
  box-shadow: 0 40px 90px -30px rgba(255,77,148,.45);
}
.survey__inner {
  background: linear-gradient(180deg, #221252, #1a0f3e);
  border-radius: 21px; padding: 34px 34px 30px; min-height: 340px;
}
.survey__progress { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.survey__bar { flex: 1; height: 12px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.survey__bar span { display: block; height: 100%; border-radius: 999px; background: var(--grad-cta); transition: width .45s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 16px rgba(255,77,148,.6); }
.survey__count { font-size: 13px; color: #fff; font-weight: 700; white-space: nowrap; background: rgba(255,255,255,.08); padding: 4px 11px; border-radius: 999px; }
.survey__vibe { font-size: 14px; font-weight: 600; margin: 0 0 22px; min-height: 20px; }
.survey__vibe b { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.survey__q { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 3.2vw, 30px); margin: 0 0 6px; }
.survey__qhint { color: var(--faint); font-size: 14.5px; margin: 0 0 22px; }
.survey__opts { display: grid; gap: 13px; }
.opt {
  display: flex; align-items: center; gap: 15px; width: 100%; text-align: left;
  background: rgba(255,255,255,.03); border: 1.5px solid var(--border); border-radius: 15px;
  padding: 15px 17px; cursor: pointer; color: var(--text); font-size: 16.5px; font-family: var(--font-body);
  transition: border-color .16s ease, background .16s ease, transform .14s ease, box-shadow .2s ease;
}
.opt:hover { transform: translateX(3px); border-color: var(--border-2); background: rgba(255,255,255,.06); }
.opt.is-selected { border-color: transparent; background: linear-gradient(120deg, rgba(255,77,148,.18), rgba(168,85,247,.18)); box-shadow: var(--ring); }
.opt__ico {
  width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; font-size: 23px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border); transition: transform .2s ease;
}
.opt:hover .opt__ico { transform: scale(1.08) rotate(-4deg); }
.opt.is-selected .opt__ico { background: var(--grad-cta); border-color: transparent; }
.opt__txt { flex: 1; }
.opt__check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-2); flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 13px; opacity: .35; }
.opt.is-selected .opt__check { background: var(--grad-grow); border-color: transparent; opacity: 1; }
.survey__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.survey__back { background: none; border: none; color: var(--muted); font-size: 15px; cursor: pointer; font-family: var(--font-body); padding: 8px; }
.survey__back:hover { color: #fff; }
.survey__back[hidden] { visibility: hidden; }
.survey__step { animation: fadeStep .38s ease; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Resultado de la encuesta */
.result { text-align: center; padding: 12px 4px; }
.result__emoji { font-size: 54px; margin-bottom: 8px; animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.result__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; color: #fff; background: var(--grad-cta); padding: 9px 18px; border-radius: 999px; font-size: 15px; margin-bottom: 18px; box-shadow: var(--shadow-color); }
.result h3 { font-size: clamp(23px, 3.4vw, 33px); margin: 0 0 12px; }
.result p { color: var(--muted); max-width: 540px; margin: 0 auto 26px; font-size: 16.5px; }
.result__lock { color: var(--faint); font-size: 13.5px; margin-top: 14px; }

/* ---------------- Section base ---------------- */
.section { padding: 84px 0; position: relative; }
.section--alt { background: rgba(255,255,255,.018); border-block: 1px solid var(--border); }
.section__head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: clamp(27px, 3.6vw, 40px); margin: 16px 0 12px; }
.section__head p { color: var(--muted); font-size: 18px; margin: 0; }

/* ---------------- Trust strip ---------------- */
.strip { border-block: 1px solid var(--border); background: linear-gradient(120deg, rgba(255,77,148,.06), rgba(34,211,238,.06)); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 22px; }
.strip__inner div { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.strip__inner strong { font-family: var(--font-head); font-size: 27px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.strip__inner span { color: var(--muted); font-size: 13.5px; }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px 26px; overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.step:hover { transform: translateY(-4px); border-color: var(--border-2); }
.step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; }
.step:nth-child(1)::before { background: var(--grad-cta); }
.step:nth-child(2)::before { background: var(--grad-warm); }
.step:nth-child(3)::before { background: var(--grad-grow); }
.step__num { font-family: var(--font-head); font-weight: 900; font-size: 40px; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .9; }
.step h3 { font-size: 21px; margin: 12px 0 10px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.step__tag { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 5px 13px; border-radius: 999px; }
.step__tag--free { color: #07271e; background: var(--grad-grow); }
.step__tag--paid { color: #fff; background: linear-gradient(120deg, var(--violet), var(--magenta)); }

/* ---------------- Registro / form ---------------- */
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.formgrid__copy h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 16px 0 14px; }
.formgrid__copy > p { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--text); font-size: 15.5px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 23px; height: 23px; border-radius: 50%; background: var(--grad-grow); color: #07271e; font-weight: 900; font-size: 13px; display: grid; place-items: center; }
.microtrust { color: var(--faint); font-size: 14px; margin: 0; }

.formgrid__card { position: relative; border-radius: 24px; padding: 3px; background: var(--grad-border); background-size: 300% 300%; animation: slideGrad 7s linear infinite; box-shadow: var(--shadow); }
.formgrid__card-inner { background: linear-gradient(180deg, #221252, #1a0f3e); border-radius: 21px; padding: 30px 28px; }

.lf { display: grid; gap: 16px; }
.lf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fld { display: grid; gap: 7px; }
.fld label { font-size: 13.5px; font-weight: 700; color: var(--text); }
.fld input {
  width: 100%; background: rgba(0,0,0,.25); border: 1.5px solid var(--border); border-radius: 12px;
  color: var(--text); font-size: 16px; padding: 13px 14px; outline: none; font-family: var(--font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.fld input::placeholder { color: var(--faint); }
.fld input:focus { border-color: var(--violet); box-shadow: var(--ring); }
.fld input.is-bad { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13px; min-height: 0; }
.err:empty { display: none; }

.phone { display: flex; gap: 9px; }
.phone__cc { position: relative; flex: 0 0 auto; }
.phone__cc-btn { display: flex; align-items: center; gap: 7px; height: 100%; background: rgba(0,0,0,.25); border: 1.5px solid var(--border); border-radius: 12px; color: var(--text); font-size: 15px; padding: 0 13px; cursor: pointer; font-family: var(--font-body); }
.phone__cc-btn:hover { border-color: var(--border-2); }
.phone__dial { color: var(--amber); font-weight: 700; }
.phone__caret { color: var(--faint); font-size: 12px; }
.phone input[type="tel"] { flex: 1; width: 100%; background: rgba(0,0,0,.25); border: 1.5px solid var(--border); border-radius: 12px; color: var(--text); font-size: 16px; padding: 13px 14px; outline: none; font-family: var(--font-body); transition: border-color .15s, box-shadow .15s; }
.phone input[type="tel"]:focus { border-color: var(--violet); box-shadow: var(--ring); }
.phone__list { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; margin: 0; padding: 6px; list-style: none; width: 270px; max-height: 280px; overflow-y: auto; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 14px; box-shadow: var(--shadow); }
.phone__opt { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; cursor: pointer; font-size: 15px; }
.phone__opt:hover { background: rgba(255,77,148,.14); }
.phone__opt b { font-weight: 700; }
.phone__opt span:last-child { color: var(--muted); }

.consent { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--magenta); flex: 0 0 auto; }
.consent span { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.consent a { color: var(--amber); text-decoration: underline; }

.lf__status { text-align: center; font-size: 14.5px; margin: 2px 0 0; }
.lf__status.is-error { color: var(--danger); }
.lf__legal { color: var(--faint); font-size: 12.5px; text-align: center; margin: 0; line-height: 1.5; }

/* Panel de gracias */
.thanks { text-align: center; padding: 14px 6px; animation: fadeStep .4s ease; }
.thanks__check { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad-grow); color: #07271e; font-size: 36px; font-weight: 900; display: grid; place-items: center; box-shadow: 0 16px 36px -8px rgba(52,211,153,.6); animation: pop .5s cubic-bezier(.2,1.4,.4,1) both; }
.thanks h3 { font-size: 25px; margin: 0 0 10px; }
.thanks p { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.thanks .btn { margin-bottom: 12px; }

/* ---------------- Cards ---------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.card__ico { width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px; border-radius: 14px; margin-bottom: 14px; }
.card:nth-child(4n+1) .card__ico { background: linear-gradient(135deg, rgba(255,77,148,.25), rgba(255,138,61,.25)); }
.card:nth-child(4n+2) .card__ico { background: linear-gradient(135deg, rgba(34,211,238,.25), rgba(109,94,252,.25)); }
.card:nth-child(4n+3) .card__ico { background: linear-gradient(135deg, rgba(45,212,191,.25), rgba(52,211,153,.25)); }
.card:nth-child(4n+4) .card__ico { background: linear-gradient(135deg, rgba(255,194,75,.25), rgba(255,138,61,.25)); }
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------------- Testimonios ---------------- */
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; margin: 0; }
.tcard__stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 12px; font-size: 17px; }
.tcard blockquote { margin: 0 0 18px; font-size: 16.5px; line-height: 1.6; }
.tcard figcaption { display: flex; align-items: center; gap: 12px; }
.tcard__av { width: 46px; height: 46px; border-radius: 50%; color: #fff; font-weight: 800; display: grid; place-items: center; font-family: var(--font-head); }
.tcard:nth-child(1) .tcard__av { background: var(--grad-cta); }
.tcard:nth-child(2) .tcard__av { background: var(--grad-cool); }
.tcard:nth-child(3) .tcard__av { background: var(--grad-grow); color: #07271e; }
.tcard figcaption strong { display: block; font-size: 15px; }
.tcard figcaption span { color: var(--faint); font-size: 13.5px; }

/* ---------------- Oferta ---------------- */
.offer { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: center; position: relative; border-radius: 26px; padding: 4px; background: var(--grad-border); background-size: 300% 300%; animation: slideGrad 8s linear infinite; box-shadow: var(--shadow); }
.offer__body { display: contents; }
.offer__copy { background: linear-gradient(180deg, #221252, #1a0f3e); border-radius: 23px 0 0 23px; padding: 44px 42px; }
.offer__copy h2 { font-size: clamp(25px, 3.4vw, 36px); margin: 16px 0 14px; }
.offer__copy > p { color: var(--muted); font-size: 16.5px; margin: 0 0 20px; }
.offer__copy strong { color: #fff; }
.offer__actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 24px; }
.offer__note { color: var(--faint); font-size: 13.5px; }
.offer__price { background: linear-gradient(180deg, #2a1858, #1f1145); border-radius: 0 23px 23px 0; padding: 34px 28px; text-align: center; margin: 3px; margin-left: 0; }
.offer__ptag { display: inline-block; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(120deg, var(--violet), var(--magenta)); padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.offer__amount { font-family: var(--font-head); display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.offer__from { font-size: 14px; color: var(--faint); font-weight: 500; }
.offer__amount strong { font-size: 42px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.offer__per { color: var(--muted); font-size: 15px; }
.offer__pdesc { color: var(--muted); font-size: 14px; margin: 12px 0 18px; }
.offer__mini { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.offer__mini li { color: var(--emerald); font-size: 14px; font-weight: 600; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; transition: border-color .2s ease; }
.faq__item[open] { border-color: var(--border-2); }
.faq__item summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 17px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 26px; font-weight: 400; transition: transform .2s; background: var(--grad-cta); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); margin: 0 0 18px; font-size: 15.5px; }
.faq__item a { color: var(--amber); }

/* ---------------- CTA final ---------------- */
.final { padding: 96px 0; text-align: center; background: radial-gradient(760px 380px at 50% 0%, rgba(255,77,148,.2), transparent 62%); }
.final__inner h2 { font-size: clamp(27px, 4.2vw, 44px); margin: 0 0 12px; }
.final__inner p { color: var(--muted); font-size: 18px; margin: 0 0 28px; }

/* ---------------- Footer ---------------- */
.foot { background: #0c0620; border-top: 1px solid var(--border); padding: 48px 0 28px; }
.foot__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 28px; }
.foot__brand { max-width: 340px; }
.foot__brand .brand { margin-bottom: 12px; }
.foot__tag { color: var(--faint); font-size: 14px; margin: 0; }
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot__links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot__links a:hover { color: var(--amber); }
.foot__risk { border-top: 1px solid var(--border); padding-top: 22px; }
.foot__risk p { color: var(--faint); font-size: 12.5px; line-height: 1.6; margin: 0 0 10px; }
.foot__risk strong { color: var(--muted); }
.foot__copy { color: var(--faint); }

/* ---------------- Páginas legales ---------------- */
.legal { max-width: 820px; margin: 0 auto; padding: 40px 22px 80px; }
.legal__back { display: inline-flex; align-items: center; gap: 7px; color: var(--amber); text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 26px; }
.legal__back:hover { text-decoration: underline; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 6px; }
.legal__updated { color: var(--faint); font-size: 14px; margin: 0 0 30px; }
.legal h2 { font-size: 21px; margin: 30px 0 10px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--amber); }
.legal__note { margin-top: 34px; padding: 16px 20px; border-left: 3px solid var(--magenta); background: var(--surface); border-radius: 10px; color: var(--muted); font-size: 14px; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .fbar span, .survey, .formgrid__card, .offer, .flashcard::before { animation: none !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; gap: 38px; }
  .hero__card { justify-self: stretch; max-width: none; }
  .formgrid { grid-template-columns: 1fr; gap: 28px; }
  .offer { grid-template-columns: 1fr; }
  .offer__copy { border-radius: 23px 23px 0 0; padding: 34px 28px; }
  .offer__price { border-radius: 0 0 23px 23px; margin: 0 3px 3px; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 58px 0; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .cards { grid-template-columns: 1fr; }
  .lf__row { grid-template-columns: 1fr; }
  .survey__inner { padding: 26px 20px; }
  .nav__cta { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
