/* Teggo — estilos de la web estática (landing /pau, páginas legales y admin).
   Paleta: azul de marca #0057FF, cian #00E5FF, tinta #243349.
   Fuentes alojadas en la propia web (sin Google Fonts). */

@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url("/assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url("/assets/fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 800; font-display: swap; src: url("/assets/fonts/outfit-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-display: swap; src: url("/assets/fonts/fraunces-latin-700-normal.woff2") format("woff2"); }

:root {
  --blue: #0057FF;
  --cyan: #00E5FF;
  --ink: #243349;
  --ink-2: #24334D;
  --text: #0A0A0A;
  --muted: rgba(0, 0, 0, 0.6);
  --soft: rgba(0, 0, 0, 0.45);
  --line: rgba(0, 0, 0, 0.1);
  --gray-bg: #FAFAFA;
  --parchment: #FBF6EC;
  --whatsapp: #25D366;
  --radius: 1rem;
  --shadow-blue: 0 15px 40px -12px rgba(0, 87, 255, 0.5);
  --shadow-card: 0 25px 60px -25px rgba(0, 0, 0, 0.15);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--blue); color: #fff; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.serif { font-family: "Fraunces", Georgia, serif; letter-spacing: -0.02em; }
.display { font-family: "Outfit", system-ui, sans-serif; letter-spacing: -0.035em; }
.blue { color: var(--blue); }

/* ---------- Layout ---------- */
.wrap { width: 100%; margin-inline: auto; padding-inline: 20px; }
.wrap-6 { max-width: 72rem; }
.wrap-5 { max-width: 64rem; }
.wrap-4 { max-width: 56rem; }
.wrap-3 { max-width: 48rem; }
.wrap-2 { max-width: 42rem; }
@media (min-width: 640px) { .wrap { padding-inline: 32px; } }

.section { position: relative; padding-block: 64px; }
@media (min-width: 640px) { .section { padding-block: 96px; } }
.bg-gray { background: var(--gray-bg); }
.bg-parchment { background: var(--parchment); }
.parchment {
  background-color: var(--parchment);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 87, 255, 0.04) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(36, 51, 73, 0.05) 0, transparent 45%);
}

.h2 { font-family: "Fraunces", Georgia, serif; font-weight: 700; letter-spacing: -0.02em; font-size: 1.875rem; line-height: 1.12; }
@media (min-width: 640px) { .h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .h2 { font-size: 3rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: transform .2s ease, background-color .2s ease, filter .2s ease;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-blue:hover { transform: scale(1.03); }
.btn-black { background: #000; color: #fff; min-height: 44px; padding: 12px 24px; font-size: .875rem; }
.btn-black:hover { background: var(--blue); }
.btn-small { min-height: 36px; padding: 8px 16px; font-size: .75rem; }
.btn-block { width: 100%; }
.btn-outline { border: 1px solid rgba(0,0,0,.15); background: #fff; color: var(--text); }
.btn-outline:hover { border-color: rgba(0,0,0,.4); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,0,0,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: "Outfit", sans-serif; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.035em; text-decoration: none; color: var(--text); }
.logo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-link { font-size: .8125rem; font-weight: 600; text-decoration: none; color: rgba(0,0,0,.7); padding: 8px 10px; }
.nav-link:hover { color: var(--text); }
.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

/* ---------- Doodles (garabatos dibujados a mano) ---------- */
.doodle { position: absolute; pointer-events: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; transform: rotate(var(--r, 0deg)); }
.doodle.inline { position: static; }
.ink { color: var(--ink); }
.c-blue { color: var(--blue); }
@keyframes doodle-sway { 0%, 100% { transform: rotate(var(--r, 0deg)); } 50% { transform: rotate(calc(var(--r, 0deg) + 2.2deg)); } }
.sway { animation: doodle-sway 5.5s ease-in-out infinite; }
.sm-up, .md-up, .lg-up { display: none; }
@media (min-width: 640px) { .sm-up { display: block; } }
@media (min-width: 768px) { .md-up { display: block; } }
@media (min-width: 1024px) { .lg-up { display: block; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 32px 0 48px; }
@media (min-width: 640px) { .hero { padding: 64px 0 80px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; padding-top: 32px; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; } .hero-phone { order: 2; } }
.hero-copy { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .15em; font-weight: 600; color: rgba(0,0,0,.6); background: rgba(0,0,0,.05); padding: 6px 12px; border-radius: 999px; }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.h1 { margin-top: 20px; font-family: "Fraunces", Georgia, serif; font-weight: 700; letter-spacing: -0.025em; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 640px) { .h1 { font-size: 3rem; } }
@media (min-width: 768px) { .h1 { font-size: 3.75rem; } }
.underlined { position: relative; display: inline-block; }
.underlined .doodle { left: 0; bottom: -6px; width: 100%; height: 12px; stroke-width: 3; }
.lead { margin-top: 20px; font-size: 1.125rem; line-height: 1.65; color: rgba(0,0,0,.7); }
.lead-2 { margin-top: 8px; color: rgba(0,0,0,.55); }
.hero .btn-blue { margin-top: 28px; }
.note { margin: 16px auto 0; text-align: center; font-size: 11px; line-height: 1.4; color: var(--soft); max-width: 280px; }
.countdown { margin-top: 32px; display: inline-flex; align-items: center; gap: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 12px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); font-variant-numeric: tabular-nums; }

/* ---------- Phone mockup ---------- */
.phone { position: relative; margin-inline: auto; width: 250px; }
@media (min-width: 640px) { .phone { width: 280px; } }
@media (min-width: 768px) { .phone { width: 300px; } }
.phone.phone-sm { width: 240px; }
@media (min-width: 640px) { .phone.phone-sm { width: 270px; } }
.phone-glow { position: absolute; inset: -40px; z-index: -1; border-radius: 56px; background: linear-gradient(135deg, rgba(0,87,255,.25), rgba(0,229,255,.15), rgba(123,180,255,.1)); filter: blur(48px); }
.phone-body { position: relative; aspect-ratio: 9 / 19.5; border-radius: 40px; background: #000; border: 10px solid #000; box-shadow: 0 25px 70px -15px rgba(0,0,0,.35); overflow: hidden; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; border-radius: 999px; background: #000; z-index: 2; }
.phone video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-touch-callout: none; user-select: none; }
.phone video.contain { object-fit: contain; background: #F5F5F5; }
.feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; -webkit-overflow-scrolling: touch; background: #000; }
.feed-card { height: 100%; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; color: #fff; }
.g1 { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.g2 { background: linear-gradient(135deg, var(--ink-2), var(--blue)); }
.g3 { background: linear-gradient(135deg, var(--blue), #7BB4FF); }
.tag { display: inline-block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; background: rgba(255,255,255,.22); padding: 3px 9px; border-radius: 999px; }
.feed-card .tag { margin-top: 24px; align-self: flex-start; }
.feed-title { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.5rem; line-height: 1.15; text-shadow: 0 1px 4px rgba(0,0,0,.2); }
.feed-meta { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; }

/* ---------- Problem ---------- */
.problem { text-align: center; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.02em; }
@media (min-width: 640px) { .problem { font-size: 1.875rem; } }
@media (min-width: 768px) { .problem { font-size: 2.25rem; } }

/* ---------- Temario (línea del tiempo) ---------- */
.center { text-align: center; }
.sub { margin-top: 12px; font-size: .875rem; color: rgba(0,0,0,.55); }
.timeline { position: relative; margin-top: 40px; padding-left: 40px; }
@media (min-width: 640px) { .timeline { padding-left: 64px; } }
.timeline-stem { position: absolute; left: 16px; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: linear-gradient(to bottom, var(--blue), var(--cyan)); }
@media (min-width: 640px) { .timeline-stem { left: 24px; } }
.block { position: relative; margin-bottom: 24px; }
.block-letter { position: absolute; left: -24px; top: 12px; z-index: 1; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); color: var(--blue); font-family: "Fraunces", serif; font-weight: 700; font-size: .875rem; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
@media (min-width: 640px) { .block-letter { left: -36px; } }
.acc { display: block; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.acc:hover { border-color: rgba(0,87,255,.5); }
.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px; min-height: 56px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc-plus { flex-shrink: 0; margin-top: 2px; font-size: 1.25rem; line-height: 1; color: rgba(0,0,0,.5); transition: transform .2s; }
.acc[open] .acc-plus { transform: rotate(45deg); }
.block-tag { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--blue); margin-bottom: 4px; }
.block-title { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1rem; line-height: 1.35; padding-right: 48px; }
@media (min-width: 640px) { .block-title { font-size: 1.125rem; padding-right: 110px; } }
.temas { margin: 0 20px; padding: 12px 0 16px 4px; border-top: 1px solid rgba(0,0,0,.05); counter-reset: tema; }
.temas li { display: flex; gap: 12px; font-size: .875rem; color: rgba(0,0,0,.7); padding-block: 4px; }
.temas li::before { flex-shrink: 0; width: 24px; font-family: "Fraunces", serif; font-weight: 700; color: rgba(0,0,0,.4); counter-increment: tema; content: counter(tema) "."; }
.block .doodle { z-index: 2; }

/* ---------- Examen ---------- */
.cards-3 { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .cards-3 { gap: 24px; } }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; border-radius: var(--radius); background: var(--parchment); border: 1px solid rgba(0,0,0,.08); padding: 24px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue); color: #fff; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pct { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.card-title { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.25rem; margin-bottom: 8px; }
.card p { font-size: .875rem; line-height: 1.65; color: rgba(0,0,0,.6); }
.wave { width: 64px; height: 18px; margin-bottom: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; color: var(--blue); }

/* ---------- Cómo funciona ---------- */
.steps { margin-top: 32px; display: grid; gap: 16px; }
.step { display: flex; gap: 16px; align-items: flex-start; border-radius: var(--radius); background: #fff; border: 1px solid rgba(0,0,0,.08); padding: 20px; }
.step-n { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #000; color: #fff; font-family: "Fraunces", serif; font-weight: 700; }
.step p { padding-top: 6px; color: rgba(0,0,0,.75); line-height: 1.65; }
.progress-card { margin-top: 32px; border-radius: var(--radius); background: #fff; border: 1px solid rgba(0,0,0,.08); padding: 20px; }
.progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-family: "Fraunces", serif; font-weight: 600; font-size: .875rem; }
.progress-top span:last-child { font-family: ui-monospace, monospace; font-weight: 400; font-size: .75rem; color: rgba(0,0,0,.4); }
.bar { height: 12px; border-radius: 999px; background: rgba(0,0,0,.05); overflow: hidden; }
.bar > span { display: block; height: 100%; width: 60%; border-radius: 999px; background: linear-gradient(to right, var(--blue), var(--cyan)); }

/* ---------- Personalización ---------- */
.perso { overflow: hidden; }
.two-col { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }
.marker { position: relative; display: inline-block; font-weight: 600; z-index: 0; }
.marker::before { content: ""; position: absolute; inset: 2px -3px 0; z-index: -1; background: #FFF1A8; opacity: .75; border-radius: 3px 6px 4px 7px; transform: rotate(-1deg); }
.phone-stage { position: relative; padding-block: 24px; }
.phone-stage .doodle { width: 44px; }
@media (min-width: 640px) { .phone-stage .doodle { width: 54px; } }
.caption { margin: 20px auto 0; text-align: center; font-size: .75rem; color: rgba(0,0,0,.5); max-width: 260px; }
.caption + .note { margin-top: 8px; max-width: 260px; }
.examples { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .examples { grid-template-columns: 1fr 1fr; } }
.example { border-radius: var(--radius); color: #fff; padding: 20px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; }
.example .tag { align-self: flex-start; background: rgba(255,255,255,.25); }
.example-title { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.125rem; line-height: 1.35; }
@media (min-width: 640px) { .example-title { font-size: 1.25rem; } }
.perso .btn-black { margin-top: 32px; }

/* Animación "apuntes → vídeos" (respaldo si el vídeo no carga) */
.upload-anim { position: relative; height: 100%; background: #0A0A0A; overflow: hidden; }
.sheet { position: absolute; left: 28px; right: 28px; top: 56px; border-radius: 12px; background: #fff; padding: 14px; box-shadow: 0 10px 25px rgba(0,0,0,.3); animation: sheet-in 6s ease-in-out infinite; }
.sheet b { display: block; font-size: 10px; color: rgba(0,0,0,.75); margin-bottom: 8px; }
.sheet i { display: block; height: 6px; border-radius: 3px; background: rgba(0,0,0,.15); margin-top: 6px; }
.mini { position: absolute; left: 28px; right: 28px; border-radius: 12px; padding: 14px; color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.3); animation: card-pop 6s ease-in-out infinite; }
.mini-1 { bottom: 128px; }
.mini-2 { bottom: 40px; animation-delay: .35s; }
.mini .tag { font-size: 9px; }
.mini-title { font-family: "Fraunces", serif; font-weight: 600; font-size: 1rem; line-height: 1.3; margin-top: 8px; }
@keyframes sheet-in { 0% { transform: translateY(-70%) rotate(-6deg); opacity: 0; } 12% { transform: translateY(0) rotate(-2deg); opacity: 1; } 34% { transform: translateY(0) rotate(-2deg); opacity: 1; } 46%, 100% { transform: translateY(6%) scale(.55); opacity: 0; } }
@keyframes card-pop { 0%, 40% { transform: translateY(24%) scale(.8); opacity: 0; } 52%, 88% { transform: none; opacity: 1; } 100% { transform: scale(.95); opacity: 0; } }

/* ---------- Quién está detrás ---------- */
.who { text-align: center; position: relative; }
.who .wave { margin-inline: auto; margin-bottom: 20px; width: 56px; }
.who h2 { font-family: "Fraunces", serif; font-weight: 700; letter-spacing: -0.02em; font-size: 1.5rem; margin-bottom: 24px; }
@media (min-width: 640px) { .who h2 { font-size: 1.875rem; } }
.who-text { font-family: "Fraunces", Georgia, serif; font-size: 1.125rem; line-height: 1.65; color: rgba(0,0,0,.8); }
@media (min-width: 640px) { .who-text { font-size: 1.25rem; } }
.who-text .underlined { color: var(--blue); font-weight: 600; }
.who-text .underlined .doodle { bottom: -4px; height: 10px; opacity: .55; stroke-width: 2.4; }
.social { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; font-size: .875rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.social:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 32px; }
.faq .acc > summary { min-height: 52px; }
.faq-q { font-family: "Fraunces", serif; font-weight: 600; }
.faq-a { margin: 0 20px; padding: 12px 0 20px; border-top: 1px solid rgba(0,0,0,.05); font-size: .875rem; line-height: 1.65; color: rgba(0,0,0,.65); }
.faq-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- CTA final + formulario ---------- */
.final-head { position: relative; text-align: center; margin-bottom: 32px; }
.final-head .h2 { line-height: 1.05; }
.final-head p { margin-top: 16px; color: var(--muted); }
.form-card { border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: 24px; box-shadow: var(--shadow-card); }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.field { margin-top: 20px; border: 0; padding: 0; min-width: 0; }
.field:first-child { margin-top: 0; }
.label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.req { color: #C60B1E; }
.opt { color: rgba(0,0,0,.4); font-weight: 400; }
.input { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid rgba(0,0,0,.15); padding: 14px 16px; font-size: 1rem; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,87,255,.1); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; border-radius: 12px; border: 1px solid rgba(0,0,0,.15); padding: 8px; font-size: .875rem; font-weight: 600; color: rgba(0,0,0,.7); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.seg label:hover { border-color: rgba(0,0,0,.4); }
.seg input:checked + label { border-color: var(--blue); background: rgba(0,87,255,.05); color: var(--blue); }
.seg input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent { margin-top: 20px; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .75rem; line-height: 1.6; color: rgba(0,0,0,.6); }
.consent input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.form-card .btn-blue { margin-top: 24px; width: 100%; }
.form-card .btn-blue[disabled] { opacity: .55; cursor: wait; transform: none; }
.form-msg { margin-top: 12px; font-size: .875rem; text-align: center; color: rgba(0,0,0,.6); min-height: 1.25em; }
.form-msg.error { color: #B00020; font-weight: 600; }

.success-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.success-check { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; }
.success-check svg { width: 16px; height: 16px; }
.success-head h3 { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.5rem; }
.success-sub { color: var(--muted); margin-bottom: 24px; }
.ty-q { margin-top: 24px; }
.ty-q:first-child { margin-top: 0; }
.ty-label { font-size: .875rem; font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); padding: 10px 16px; font-size: .875rem; font-weight: 600; color: rgba(0,0,0,.7); transition: border-color .15s, background-color .15s, color .15s; }
.chip:hover { border-color: rgba(0,0,0,.4); }
.chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.chips.answered .chip:not([aria-pressed="true"]) { opacity: .4; pointer-events: none; }
.skip { display: flex; justify-content: flex-end; margin-top: 16px; }
.skip button { font-size: .875rem; font-weight: 600; color: rgba(0,0,0,.5); text-decoration: underline; text-underline-offset: 2px; }
.skip button:hover { color: var(--text); }
.btn-wa { margin-top: 24px; width: 100%; min-height: 48px; background: var(--whatsapp); color: #fff; font-size: .875rem; }
.btn-wa:hover { filter: brightness(1.08); }
.btn-wa svg { width: 20px; height: 20px; }

/* ---------- Sticky CTA (móvil) ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transition: transform .25s ease, opacity .25s ease; }
.sticky-cta .btn { width: 100%; min-height: 52px; box-shadow: 0 15px 40px -10px rgba(0,87,255,.6); }
.sticky-cta.off { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- Footer ---------- */
.footer { position: relative; background: #000; color: #fff; overflow: hidden; padding: 96px 0 96px; }
@media (min-width: 768px) { .footer { padding-top: 128px; } }
.footer-glow { position: absolute; left: 50%; top: 32px; transform: translateX(-50%); width: 720px; max-width: 100%; height: 480px; border-radius: 50%; background: rgba(0,229,255,.12); filter: blur(120px); pointer-events: none; }
.footer-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; }
.wordmark { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 24vw; line-height: .85; letter-spacing: -0.05em; }
@media (min-width: 768px) { .wordmark { font-size: 19vw; } }
@media (min-width: 1400px) { .wordmark { font-size: 16rem; } }
.wordmark-line { height: 6px; width: 45%; margin: 30px auto 0; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 40px rgba(0,229,255,.6); }
.slogan { font-family: "Outfit", sans-serif; font-weight: 700; letter-spacing: -0.03em; font-size: 1.875rem; line-height: 1.05; max-width: 56rem; }
@media (min-width: 640px) { .slogan { font-size: 2.25rem; } }
@media (min-width: 768px) { .slogan { font-size: 3rem; } }
.slogan span { color: var(--cyan); }
.made { font-size: .875rem; color: rgba(255,255,255,.5); }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.copy { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.35); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.6); }
.footer-nav a, .footer-nav button { text-decoration: none; color: inherit; font-size: inherit; font-weight: inherit; }
.footer-nav a:hover, .footer-nav button:hover { color: var(--cyan); }

/* ---------- Banner de cookies ---------- */
.cookie { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; animation: slide-up .45s cubic-bezier(.16,1,.3,1); }
@media (min-width: 768px) { .cookie { left: auto; right: 24px; bottom: 24px; max-width: 28rem; } }
@keyframes slide-up { from { transform: translateY(120px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-card { position: relative; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0,0,0,.25); padding: 24px; }
.cookie-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; padding-right: 24px; }
.cookie-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: #000; color: #fff; }
.cookie-icon svg { width: 16px; height: 16px; }
.cookie p { font-size: .875rem; line-height: 1.6; color: var(--muted); }
.cookie-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 640px) { .cookie-actions { flex-direction: row; } }
.cookie-actions button { flex: 1; min-height: 44px; border-radius: 999px; font-size: .875rem; font-weight: 600; padding: 10px 16px; }
.c-accept { background: var(--blue); color: #fff; }
.c-reject { border: 1px solid rgba(0,0,0,.15) !important; }
.c-prefs { color: rgba(0,0,0,.7); }
.c-prefs:hover { background: rgba(0,0,0,.05); }
.cookie-close { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,.35); }
.cookie-close:hover { color: #000; }
.pref { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-radius: 16px; border: 1px solid var(--line); padding: 12px 16px; margin-top: 12px; }
.pref b { display: block; font-size: .875rem; }
.pref small { display: block; font-size: .75rem; color: rgba(0,0,0,.5); margin-top: 2px; }
.pref-fixed { font-size: .75rem; font-weight: 600; color: rgba(0,0,0,.4); white-space: nowrap; margin-top: 2px; }
.switch { position: relative; flex-shrink: 0; width: 44px; height: 24px; margin-top: 2px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(0,0,0,.2); transition: background-color .2s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { left: 22px; }
.switch input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.cookie-more { margin-top: 12px; text-align: center; font-size: .75rem; }
.cookie-more a { color: rgba(0,0,0,.5); }

/* ---------- Páginas legales ---------- */
.legal-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.legal-header .nav-inner { padding-block: 16px; }
.back { font-size: .875rem; font-weight: 600; color: rgba(0,0,0,.6); text-decoration: none; }
.back:hover { color: #000; }
.legal { padding-block: 56px; }
@media (min-width: 768px) { .legal { padding-block: 80px; } }
.eyebrow { font-family: ui-monospace, monospace; font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; color: var(--blue); margin-bottom: 16px; }
.legal h1 { font-family: "Outfit", sans-serif; font-weight: 800; letter-spacing: -0.035em; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .legal h1 { font-size: 3rem; } }
.legal .intro { margin-top: 20px; color: var(--muted); line-height: 1.65; }
.updated { margin-top: 16px; font-size: .875rem; color: rgba(0,0,0,.4); }
.rule { height: 1px; margin: 40px 0; background: linear-gradient(to right, transparent, rgba(0,0,0,.15), transparent); }
.prose h2 { font-family: "Outfit", sans-serif; font-weight: 700; letter-spacing: -0.02em; font-size: 1.5rem; margin: 36px 0 12px; }
.prose h3 { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 1.1rem; margin: 24px 0 8px; }
.prose p, .prose li { color: rgba(0,0,0,.68); line-height: 1.7; }
.prose p { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose a, .prose .linklike { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); }
.prose .table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--gray-bg); font-family: "Outfit", sans-serif; font-weight: 700; color: var(--text); }
.related { margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(0,0,0,.08); display: flex; flex-wrap: wrap; gap: 12px; }
.related a { border-radius: 999px; border: 1px solid rgba(0,0,0,.15); padding: 8px 16px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.related a:hover { border-color: rgba(0,0,0,.4); }
.related a[aria-current="page"] { border-color: var(--blue); color: var(--blue); background: rgba(0,87,255,.05); }
.legal-footer { border-top: 1px solid rgba(0,0,0,.08); background: var(--gray-bg); }
.legal-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-block: 32px; font-size: .875rem; color: rgba(0,0,0,.5); }
@media (min-width: 640px) { .legal-footer .wrap { flex-direction: row; justify-content: space-between; } }
.legal-footer a, .legal-footer button { color: inherit; text-decoration: none; font-size: inherit; }
.legal-footer a:hover, .legal-footer button:hover { color: #000; }
.legal-footer nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; }
}
