@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1b2b;
  --ink-2: #334155;
  --ink-3: #64748b;
  --bg: #ffffff;
  --bg-2: #f6f8fa;
  --bg-3: #eef2f5;
  --line: #e2e8f0;
  --brand: #0d6b62;
  --brand-2: #0a5750;
  --brand-ink: #063b36;
  --brand-50: #ecf7f5;
  --brand-100: #d3eeea;
  --amber: #b45309;
  --amber-50: #fff7ea;
  --amber-200: #f6d9a8;
  --red-50: #fdeeee;
  --red: #b42318;
  --green: #15803d;
  --green-50: #ebf7ef;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 43, 0.06);
  --shadow: 0 1px 2px rgba(11, 27, 43, 0.05), 0 8px 24px -8px rgba(11, 27, 43, 0.12);
  --shadow-lg: 0 2px 4px rgba(11, 27, 43, 0.04), 0 24px 56px -16px rgba(11, 27, 43, 0.22);
  --max: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--brand); }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid var(--brand-2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 6px 16px -6px rgba(13, 107, 98, 0.55);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--bg-2); }
.btn-sm { padding: 9px 14px; font-size: 0.92rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo img { width: 28px; height: 28px; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }
@media (min-width: 860px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 80px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(13, 107, 98, 0.12), transparent 60%),
    radial-gradient(700px 380px at -10% 10%, rgba(13, 107, 98, 0.07), transparent 60%),
    linear-gradient(180deg, #f7fbfa 0%, #fff 100%);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--amber-200);
  color: var(--amber);
  font-size: 0.85rem; font-weight: 600;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18); }

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
  font-weight: 750;
  margin: 0 0 20px;
  max-width: 19ch;
}
.hero h1 .hl { color: var(--brand); }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 54ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; color: var(--ink-3); font-size: 0.92rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Maqueta del producto ---------- */
.mock-wrap { position: relative; }
.mock-stage { position: relative; }
.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8dee6; display: block; }
.mock-bar .url { margin-left: 10px; font-size: 0.78rem; color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; }
.mock-body { padding: 22px; display: grid; gap: 16px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mock-head small { display: block; color: var(--ink-3); font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.mock-head strong { font-size: 1.08rem; letter-spacing: -0.01em; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-amber { background: var(--amber-50); color: var(--amber); border: 1px solid var(--amber-200); }
.pill-green { background: var(--green-50); color: var(--green); border: 1px solid #bfe3cb; }
.pill .icon { width: 14px; height: 14px; }

.mock-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mock-list li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 0.92rem; }
.mock-list li > span:not(.st) { flex: 1; color: var(--ink-2); }
.mock-list li em { font-style: normal; font-size: 0.8rem; color: var(--ink-3); }
.st { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.st .icon { width: 15px; height: 15px; }
.st-ok { background: var(--green-50); color: var(--green); }
.st-wait { background: var(--amber-50); color: var(--amber); }

.risk { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: var(--bg-2); }
.risk-top { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-2); }
.risk-top b { color: var(--amber); }
.risk-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.risk-bar i { height: 6px; border-radius: 99px; background: #dfe5eb; display: block; }
.risk-bar i.on1 { background: #22a06b; }
.risk-bar i.on2 { background: #f59e0b; }
.mock-foot { display: flex; gap: 10px; }
.mock-foot .btn { flex: 1; font-size: 0.88rem; padding: 10px 12px; box-shadow: none; }

.toast {
  position: absolute;
  left: -28px; bottom: -56px;
  display: flex; gap: 12px; align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  max-width: 290px;
  font-size: 0.86rem;
}
.toast b { display: block; font-size: 0.9rem; }
.toast span { color: var(--ink-3); }
.toast .st { width: 34px; height: 34px; border-radius: 10px; }
.mock-caption { margin-top: 76px; text-align: center; font-size: 0.8rem; color: var(--ink-3); }
@media (max-width: 979px) {
  .toast { position: relative; left: auto; bottom: auto; max-width: none; margin: -18px 14px 0; }
  .mock-caption { margin-top: 20px; }
}
@media (max-width: 480px) {
  .mock-body { padding: 16px; }
  .mock-foot .btn { font-size: 0.8rem; padding: 9px 8px; white-space: nowrap; }
  .mock-list li em { display: none; }
}
@media (max-width: 859px) {
  .tl { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start; }
  .tl .node { grid-row: span 2; margin-bottom: 0; }
  .tl time { padding-top: 8px; }
}

/* ---------- Franja de normas ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding-top: 22px; padding-bottom: 22px; color: var(--ink-3); font-size: 0.9rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; }
.trust .icon { width: 18px; height: 18px; color: var(--ink-3); }

/* ---------- Secciones ---------- */
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } }
.alt { background: var(--bg-2); }
.kicker { color: var(--brand); font-weight: 650; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 720; margin: 0 0 14px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
h3 { font-size: 1.06rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 650; margin: 0 0 6px; }

.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .g4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.card p { color: var(--ink-2); font-size: 0.97rem; }
.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); }
.ic .icon { width: 22px; height: 22px; }
.ic-warn { background: var(--red-50); color: var(--red); border-color: #f5cccc; }

/* ---------- Calendario normativo ---------- */
.timeline { position: relative; display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 860px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: linear-gradient(90deg, var(--brand) 0 30%, var(--line) 30% 100%); }
}
.tl { position: relative; }
.tl .node { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--ink-3); position: relative; z-index: 1; margin-bottom: 16px; }
.tl .node .icon { width: 18px; height: 18px; }
.tl.done .node { border-color: var(--brand); color: var(--brand); }
.tl.now .node { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 6px var(--brand-100); }
.tl.key .node { border-color: #f59e0b; color: var(--amber); background: var(--amber-50); }
.tl time { display: block; font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em; }
.tl p { color: var(--ink-2); font-size: 0.94rem; margin-top: 4px; }
.tl.key time { color: var(--amber); }
.countdown-box { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: var(--radius); background: var(--amber-50); border: 1px solid var(--amber-200); }
.countdown-box p { color: #7a3e06; font-weight: 550; }
.countdown-box strong { font-size: 1.5rem; letter-spacing: -0.02em; color: var(--amber); margin-right: 6px; }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; }
.step-num { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--ink-3); font-size: 0.82rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; }
.step-num::before { content: counter(s); width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 0.92rem; letter-spacing: 0; }

/* ---------- Para quién ---------- */
.who { display: grid; gap: 14px; }
@media (min-width: 720px) { .who { grid-template-columns: repeat(3, 1fr); } }
.who div { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-weight: 600; box-shadow: var(--shadow-sm); }
.who .ic { margin: 0; width: 40px; height: 40px; }
.who-note { margin-top: 18px; color: var(--ink-3); font-size: 0.95rem; text-align: center; }

/* ---------- Precios ---------- */
.plans { display: grid; gap: 24px; max-width: 860px; margin: 0 auto; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 24px 56px -20px rgba(13, 107, 98, 0.35); }
.plan .tag { position: absolute; top: -13px; left: 32px; background: var(--brand); color: #fff; font-size: 0.78rem; font-weight: 650; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.15rem; }
.plan .for { color: var(--ink-3); font-size: 0.94rem; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.price b { font-size: 3rem; line-height: 1; letter-spacing: -0.04em; font-weight: 750; }
.price span { color: var(--ink-3); font-weight: 500; }
.founder { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; color: var(--brand); font-weight: 600; background: var(--brand-50); border-radius: 8px; padding: 5px 10px; margin-top: 10px; align-self: flex-start; }
.founder .icon { width: 15px; height: 15px; }
.feats { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; flex: 1; }
.feats li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.97rem; }
.feats .icon { width: 18px; height: 18px; color: var(--brand); margin-top: 3px; }
.price-foot { text-align: center; color: var(--ink-3); margin-top: 28px; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px 28px; box-shadow: var(--shadow-sm); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 620; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* ---------- Lista de espera ---------- */
.signup { background: var(--brand-ink); color: #fff; position: relative; overflow: hidden; }
.signup::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 100% 0%, rgba(94, 234, 212, 0.16), transparent 60%), radial-gradient(600px 360px at 0% 100%, rgba(94, 234, 212, 0.10), transparent 60%); pointer-events: none; }
.signup .wrap { position: relative; display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .signup .wrap { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.signup h2 { color: #fff; }
.signup .kicker { color: #7dd3c7; }
.signup-copy p { color: #c9e3df; font-size: 1.06rem; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; color: #e5f3f1; }
.perks .icon { color: #7dd3c7; margin-top: 2px; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); }
.form-card iframe { width: 100%; border: 0; min-height: 640px; }
.form-pending { color: var(--ink-3); background: var(--bg-2); border-radius: 10px; padding: 16px; }
.form-legal { font-size: 0.86rem; color: var(--ink-3); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.form-legal .icon { width: 16px; height: 16px; margin-top: 3px; }

/* ---------- Pie ---------- */
footer { padding: 40px 0 48px; font-size: 0.92rem; color: var(--ink-3); border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 16px; }
@media (min-width: 760px) { footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { color: var(--ink-2); text-decoration: none; }
footer nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 22px; height: 22px; }

/* ---------- Páginas legales ---------- */
.legal { padding: 56px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); letter-spacing: -0.03em; margin: 0 0 8px; }
.legal .sub { color: var(--ink-3); margin-bottom: 32px; }
.legal h2 { font-size: 1.15rem; margin: 32px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ol { padding-left: 20px; }
.todo { background: #fff3c4; color: #7a5a00; padding: 0 4px; border-radius: 4px; }

:focus-visible { outline: 3px solid #38bdf8; outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

@media (max-width: 640px) {
  .hero { padding: 40px 0 64px; }
  .hero-cta .btn { width: 100%; }
  .topbar .btn-sm { padding: 8px 12px; font-size: 0.88rem; }
}
section[id] { scroll-margin-top: 64px; }

/* =========================================================
   Movimiento y microinteracciones
   ========================================================= */
:root { interpolate-size: allow-keywords; }

.topbar { transition: box-shadow 0.25s ease, background 0.25s ease; }
.topbar.scrolled { box-shadow: 0 6px 24px -12px rgba(11, 27, 43, 0.25); background: rgba(255, 255, 255, 0.94); }

/* Entrada de la cabecera al cargar */
.js .hero-grid > div:first-child > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .hero-grid > div:first-child > *:nth-child(2) { animation-delay: 0.06s; }
.js .hero-grid > div:first-child > *:nth-child(3) { animation-delay: 0.12s; }
.js .hero-grid > div:first-child > *:nth-child(4) { animation-delay: 0.18s; }
.js .hero-grid > div:first-child > *:nth-child(5) { animation-delay: 0.24s; }
.js .mock-stage { animation: rise 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Punto del plazo que late */
.eyebrow .dot { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18); } 50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.05); } }

/* Maqueta: comprobaciones una a una, barra de riesgo y aviso */
.js .mock-wrap .mock-list li { animation: slideIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .mock-wrap .mock-list li:nth-child(1) { animation-delay: 0.6s; }
.js .mock-wrap .mock-list li:nth-child(2) { animation-delay: 0.85s; }
.js .mock-wrap .mock-list li:nth-child(3) { animation-delay: 1.1s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.js .mock-wrap .risk-bar i.on1, .js .mock-wrap .risk-bar i.on2 { transform-origin: left; animation: grow 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .mock-wrap .risk-bar i.on1 { animation-delay: 1.5s; }
.js .mock-wrap .risk-bar i.on2 { animation-delay: 1.8s; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .mock-wrap .toast { animation: toastIn 0.6s 3.1s cubic-bezier(0.2, 0.8, 0.2, 1.15) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
.pop { animation: pop 0.45s cubic-bezier(0.2, 0.8, 0.2, 1.4); }
@keyframes pop { 0% { transform: scale(0.6); } 100% { transform: scale(1); } }
.mock-list li.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { background: var(--green-50); border-color: #bfe3cb; } 100% { background: #fff; border-color: var(--line); } }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.js .reveal.in { opacity: 1; translate: none; }

/* Línea de plazos que se dibuja */
@media (min-width: 860px) {
  .js .timeline::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1); }
  .js .timeline.drawn::before { transform: scaleX(1); }
}
.tl.now .node::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(0.85); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }

/* Microinteracciones */
.btn-arrow .icon { transition: transform 0.2s ease; }
.btn-arrow:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); }
.card, .plan, .who > div { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover, .who > div:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd8e1; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.featured:hover { box-shadow: 0 30px 64px -20px rgba(13, 107, 98, 0.45); }
.card .ic, .who .ic { transition: transform 0.25s ease, background 0.25s ease; }
.card:hover .ic, .who > div:hover .ic { transform: scale(1.06) rotate(-3deg); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
.nav a:hover::after { transform: scaleX(1); }

/* Preguntas frecuentes que se abren con suavidad (navegadores modernos) */
.faq details::details-content { height: 0; overflow: clip; transition: height 0.3s ease, content-visibility 0.3s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq summary:hover { color: var(--brand); }

/* Fondo de la cabecera con luz que se mueve despacio */
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(13, 107, 98, 0.14), transparent 65%); animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
.hero .wrap { position: relative; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-120px, 80px); } }

/* Botón fijo en móvil */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; text-align: center; background: var(--brand); color: #fff; font-weight: 650; text-decoration: none; padding: 15px 16px; border-radius: 14px; box-shadow: 0 12px 30px -8px rgba(6, 59, 54, 0.55); transform: translateY(140%); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .mobile-cta.show { transform: none; }
}

/* Quien prefiere menos movimiento: todo quieto y visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .timeline::before { transform: none; }
}
