/* =============================================================
   SimulaSubsidio — Página de inicio (antes en línea en index.html)
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:      #0C0CAF;
  --brand-dark: #07077A;
  --brand-mid:  #1414C8;
  --brand-light:#EEF2FF;
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;
  --border:     #E2E8F0;
  --surface:    #FFFFFF;
  --bg:         #F8FAFC;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;

  background:
radial-gradient(circle at 20% 20%, rgba(12,12,175,.06), transparent 40%),
radial-gradient(circle at 80% 10%, rgba(12,12,175,.05), transparent 40%),
radial-gradient(circle at 50% 90%, rgba(12,12,175,.04), transparent 45%),
#F8FAFC;

}

/* ── TOPNAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--brand-dark);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg, .nav-logo-icon img { width: 28px; height: 28px; display: block; }

.nav-brand {
  font-size: 1.50rem;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -.02em;
}

.nav-brand span { color: var(--brand); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--brand);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: .45rem 1.1rem;
  border-radius: 99px;
  text-decoration: none;
  transition: background .18s, transform .15s;
  letter-spacing: .01em;
}

.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* ── HERO ── */
   .hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  
  justify-content: center;
  padding: 80px 2rem 80px;
  position: relative;
  overflow: hidden;
}

/* Background grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .45;
  z-index: 0;
}

/* Blue radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(12,12,175,.1) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-left {
  text-align: left;
}

/* ── HERO PANEL (lado derecho): ejemplo animado de una simulación ── */
.hp {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / .96;
  justify-self: center;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
}

.hp-orbita {
  position: absolute;
  inset: 8% 6%;
  border: 1.5px dashed #C7D2FE;
  border-radius: 50%;
  animation: hpGiro 60s linear infinite;
}
.hp-orbita::before, .hp-orbita::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand-mid);
  box-shadow: 0 0 0 5px rgba(20,20,200,.12);
}
.hp-orbita::before { top: 14%; left: 10%; }
.hp-orbita::after { bottom: 6%; right: 26%; background: #6366F1; width: 7px; height: 7px; }

.hp-deco { position: absolute; display: block; animation: hpFlota 7s ease-in-out infinite; }
.hp-deco--1 { top: 2%; left: 46%; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); opacity: .5; }
.hp-deco--2 { top: 50%; left: -3%; width: 14px; height: 14px; border: 2px solid var(--brand-mid); border-radius: 50%; opacity: .4; animation-delay: -2s; }
.hp-deco--3 { bottom: 0; right: 8%; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid #6366F1; opacity: .45; animation-delay: -4s; }
.hp-deco--4 { top: 38%; right: -2%; width: 10px; height: 10px; background: #C7D2FE; border-radius: 3px; transform: rotate(20deg); animation-delay: -1s; }

/* Tarjetas */
.hp-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid #E0E7FF;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -8px rgba(12,12,175,.18);
  animation: hpEntra .7s cubic-bezier(.2,.8,.2,1) both, hpFlota 8s ease-in-out infinite;
  animation-delay: var(--d, .3s), calc(var(--d, .3s) + .8s);
}
.hp-card--puntaje { top: 5%; left: 0; width: 63%; --d: .25s; z-index: 3; }
.hp-card--corte   { top: 0; right: 0; width: 34%; --d: .45s; z-index: 2; animation-duration: .7s, 9s; }
.hp-card--ahorro  { bottom: 3%; left: 2%; width: 64%; --d: .6s; z-index: 4; padding-bottom: .7rem; animation-duration: .7s, 10s; }
.hp-card--arriendo{ bottom: 14%; right: 0; width: 32%; --d: .8s; z-index: 5; animation-duration: .7s, 7.5s;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 100%); border-color: transparent; color: #fff; }

.hp-card-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .7rem; }
.hp-card-tit { font-size: .74rem; font-weight: 700; color: var(--brand-dark); display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.hp-card-tit i { color: var(--brand); font-size: .72rem; }
.hp-chip { font-size: .64rem; font-weight: 700; color: var(--brand); background: var(--brand-light); border-radius: 99px; padding: .2rem .55rem; white-space: nowrap; }
.hp-label { font-size: .66rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

.hp-puntaje-body { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.hp-num { font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif; font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.hp-num small { font-size: .8rem; font-weight: 700; color: var(--text-muted); margin-left: .25rem; letter-spacing: 0; }
.hp-ok { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; font-size: .66rem; font-weight: 700; color: #047857; background: #ECFDF5; border-radius: 99px; padding: .2rem .55rem; white-space: nowrap; }
.hp-ok i { font-size: .58rem; }

.hp-donut { width: 92px; height: 92px; flex-shrink: 0; transform: rotate(-90deg); }
.hp-donut circle { fill: none; stroke-width: 5.5; }
.hp-donut-base { stroke: #EEF2FF; }
.hp-seg { stroke-dasharray: var(--l) calc(100 - var(--l)); stroke-dashoffset: var(--o); stroke-linecap: round; transition: stroke-dasharray 1.1s cubic-bezier(.2,.8,.2,1); }
.hp-seg--1 { stroke: var(--brand); }
.hp-seg--2 { stroke: var(--brand-mid); transition-delay: .15s; }
.hp-seg--3 { stroke: #6366F1; transition-delay: .3s; }
.hp-seg--4 { stroke: #A5B4FC; transition-delay: .45s; }

.hp-leyenda { list-style: none; margin: .8rem 0 0; padding: .7rem 0 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .9rem; }
.hp-leyenda li { display: flex; align-items: center; gap: .4rem; font-size: .66rem; color: var(--text-secondary); white-space: nowrap; }
.hp-leyenda b { margin-left: auto; color: var(--text-primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.hp-pt { width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0; }
.hp-pt--1 { background: var(--brand); } .hp-pt--2 { background: var(--brand-mid); }
.hp-pt--3 { background: #6366F1; } .hp-pt--4 { background: #A5B4FC; }

/* Corte regional */
.hp-card--corte .hp-label { margin-bottom: .55rem; }
.hp-barra { display: grid; grid-template-columns: 1fr; gap: .2rem; margin-bottom: .45rem; font-size: .62rem; color: var(--text-secondary); font-weight: 600; }
.hp-barra-track { height: 7px; border-radius: 99px; background: #EEF2FF; overflow: hidden; }
.hp-barra-track i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-mid)); transition: width 1s cubic-bezier(.2,.8,.2,1) .2s; }
.hp-barra--corte .hp-barra-track i { background: #CBD5E1; transition-delay: .35s; }
.hp-dif { font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--brand); letter-spacing: -.03em; margin-top: .15rem; }
.hp-dif small { font-size: .62rem; color: var(--text-muted); font-weight: 700; letter-spacing: 0; }

/* Plan de ahorro */
.hp-sube { font-size: .66rem; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: .25rem; }
.hp-sube i { font-size: .58rem; }
.hp-area { display: block; width: 100%; height: auto; overflow: visible; }
.hp-grid { stroke: #F1F5F9; stroke-width: 1; }
.hp-meta { stroke: #94A3B8; stroke-width: 1; stroke-dasharray: 4 4; }
.hp-area-linea { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1) .2s; }
.hp-area-fill { transition: opacity 1s ease .9s; }
.hp-grafico { position: relative; }
.hp-meta-tag { position: absolute; left: 0; top: 42.9%; transform: translateY(-115%); font-size: .58rem; font-weight: 600; color: var(--text-muted); }
.hp-punto { position: absolute; left: 94.67%; top: 17.86%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 0 0 6px rgba(12,12,175,.12); transition: transform .4s cubic-bezier(.3,1.6,.5,1) 1.7s; }
.hp-tooltip { position: absolute; left: 94.67%; top: 17.86%; translate: calc(-100% - 12px) -50%; font-size: .66rem; font-weight: 700; color: #fff; background: var(--text-primary); border-radius: 6px; padding: .2rem .45rem; white-space: nowrap; transition: opacity .3s ease 1.9s, transform .3s ease 1.9s; }
.hp-meses { display: flex; justify-content: space-between; padding: .4rem .2rem 0; font-size: .58rem; color: var(--text-muted); font-weight: 600; }

/* Arriendo DS N°52 */
.hp-card--arriendo .hp-card-tit { color: #fff; margin-bottom: .6rem; }
.hp-card--arriendo .hp-card-tit i { color: #A5B4FC; }
.hp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.hp-checks li { display: flex; align-items: center; gap: .4rem; font-size: .64rem; color: rgba(255,255,255,.85); white-space: nowrap; transition: opacity .35s ease, transform .35s ease; }
.hp-checks i { width: 15px; height: 15px; border-radius: 50%; background: rgba(255,255,255,.16); display: inline-grid; place-items: center; font-size: .5rem; color: #fff; flex-shrink: 0; }
.hp-checks li:nth-child(1) { transition-delay: 1.4s; }
.hp-checks li:nth-child(2) { transition-delay: 1.6s; }
.hp-checks li:nth-child(3) { transition-delay: 1.8s; }

.hp-logo { position: absolute; top: 39%; left: 74%; z-index: 6; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-dark); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(12,12,175,.08), 0 10px 24px -6px rgba(7,7,122,.5); animation: hpEntra .6s cubic-bezier(.2,.8,.2,1) 1s both, hpFlota 6s ease-in-out 1.8s infinite; }
.hp-ejemplo { position: absolute; left: 2%; bottom: -1.4rem; font-size: .62rem; color: var(--text-muted); font-weight: 600; letter-spacing: .04em; }

/* Estado inicial (solo cuando el script va a animar) */
.hp--prep .hp-seg { stroke-dasharray: 0 100; }
.hp--prep .hp-barra-track i { width: 0; }
.hp--prep .hp-area-linea { stroke-dashoffset: 1; }
.hp--prep .hp-area-fill { opacity: 0; }
.hp--prep .hp-punto { transform: scale(0); }
.hp--prep .hp-tooltip { opacity: 0; transform: translateY(4px); }
.hp--prep .hp-checks li { opacity: 0; transform: translateX(-6px); }

@keyframes hpEntra { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes hpFlota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes hpGiro { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
  .hp-card { padding: .85rem .9rem; }
  .hp-num { font-size: 2rem; }
  .hp-donut { width: 76px; height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .hp *, .hp *::before, .hp *::after, .hp-card, .hp-logo { animation: none !important; transition: none !important; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--brand-light);
  color: var(--brand);
  border: 1px solid #C7D2FE;
  border-radius: 99px;
  padding: .35rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeUp .5s ease both;
}

.hero-badge i { font-size: .7rem; }

.hero-title {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-primary);
  letter-spacing: -.035em;
  margin-bottom: 1.5rem;
  animation: fadeUp .55s .1s ease both;
}

.hero-title em {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-mid) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  white-space: nowrap;
}

.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .02em;
  height: .12em;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), #6366F1);
  opacity: .25;
  transform-origin: left;
  animation: subrayado .8s .7s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes subrayado { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 0 2.5rem;
  font-weight: 400;
  animation: fadeUp .6s .2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .65s .3s ease both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--brand);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  padding: .875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background .18s, transform .15s, box-shadow .18s;
  box-shadow: 0 4px 20px rgba(12,12,175,.25);
}

.btn-hero-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(12,12,175,.35);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  color: var(--text-primary);
  font-size: .95rem;
  font-weight: 600;
  padding: .875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: border-color .18s, background .18s, transform .15s;
}

.btn-hero-secondary:hover {
  border-color: #A5B4FC;
  background: var(--brand-light);
  transform: translateY(-2px);
}

.hero-note {
  margin-top: 1.5rem;
  font-size: .78rem;
  color: var(--text-muted);
  animation: fadeUp .7s .4s ease both;
}

.hero-note i { margin-right: .3rem; }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-left { text-align: center; }
  .hero-left .hero-sub { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hp { max-width: 420px; aspect-ratio: auto; display: grid; gap: .75rem; padding-bottom: 1.4rem; }
  .hp-card { position: relative; inset: auto; width: auto; }
  .hp-card--corte, .hp-card--arriendo, .hp-logo, .hp-orbita, .hp-deco { display: none; }
  .hp-card--ahorro { left: auto; bottom: auto; }
  .hp-ejemplo { left: 0; bottom: 0; }
  .nav-cta { display: none; }
}

/* ── SIMULADORES SECTION ── */
.section {
  padding: 3rem 2rem;

  
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}

.section-title {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  font-size: clamp(1.7rem, 3.3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ── SIMULATOR CARDS ── */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.sim-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

   

.sim-card:hover {
  border-color: #A5B4FC;
  box-shadow: 0 8px 40px rgba(12,12,175,.1);
  transform: translateY(-3px);
}

.sim-card:hover::before {
  opacity: 1;
}

.sim-card-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--brand-light);
  color: var(--brand);
  border: 1px solid #C7D2FE;
  border-radius: 99px;
  padding: .25rem .75rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  width: fit-content;
}

.sim-card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  flex-shrink: 0;
}

.sim-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .3rem;
}

.sim-card-desc {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sim-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.sim-card-tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.sim-tag {
  background: #F1F5F9;
  color: var(--text-secondary);
  font-size: .68rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 4px;
}

.sim-card-arrow {
  width: 32px; height: 32px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  font-size: .75rem;
  flex-shrink: 0;
  transition: background .18s, transform .18s;
}

.sim-card:hover .sim-card-arrow {
  background: var(--brand);
  color: #fff;
  transform: translateX(2px);
}

/* Coming soon card */
.sim-card--soon {
  opacity: .55;
  pointer-events: none;
  border-style: dashed;
}

.sim-card--soon .sim-card::before { display: none; }

.badge-soon {
  background: #F1F5F9;
  color: var(--text-muted);
  border-color: var(--border);
}

/* ── DISCLAIMER ── */
.disclaimer {
  background: #FFFBEB;
  border-top: 1px solid #FDE68A;
  border-bottom: 1px solid #FDE68A;
  padding: 1.25rem 2rem;
}

.disclaimer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}

.disclaimer-inner i {
  color: #D97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-inner p {
  font-size: .82rem;
  color: #78350F;
  line-height: 1.65;
}

.disclaimer-inner a {
  color: #92400E;
  font-weight: 700;
}

/* ── FOOTER ── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}

.footer-logo-icon {
  width: 28px; height: 28px;
  background: var(--brand-dark);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}

.footer-logo-icon svg, .footer-logo-icon img { width: 16px; height: 16px; display: block; }

.footer-brand {
  font-size: .88rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.footer-brand span { color: var(--brand); }

.footer-copy {
  font-size: .78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: .78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s;
}

.footer-links a:hover { color: var(--brand); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .sim-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .stats-inner { gap: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nav { padding: 0 1.25rem; }
  .hero { padding: 90px 1.25rem 4rem; }
  .section { padding: 3rem 1.25rem; }
}


/* Botón de cookies con aspecto de enlace en el pie */
.footer-link-btn { font: inherit; font-size: .78rem; color: var(--text-muted); background: none; border: 0; padding: 0; cursor: pointer; transition: color .15s; }
.footer-link-btn:hover { color: var(--brand); }
