/* ===== VARIABLES ===== */
:root {
  --azul: #1a56db;
  --azul-dark: #1338a0;
  --azul-darker: #0f2d7a;
  --azul-light: #e8f0fe;
  --azul-mid: #3b82f6;
  --verde: #16a34a;
  --verde-light: #f0fdf4;
  --amarillo: #f59e0b;
  --amarillo-light: #fef3c7;
  --rojo: #dc2626;
  --gris-bg: #f8fafc;
  --gris-borde: #e2e8f0;
  --gris-borde-dark: #cbd5e1;
  --texto: #0f172a;
  --texto-medio: #334155;
  --texto-suave: #64748b;
  --blanco: #ffffff;
  --max: 900px;
  --radio: 14px;
  --radio-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-blue: 0 8px 32px rgba(26,86,219,0.18);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--texto);
  background: var(--blanco);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'Sora', sans-serif; line-height: 1.25; }
a { color: var(--azul); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--azul-dark);
  padding: 0 24px;
  height: 64px;
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center;
  box-shadow: 0 2px 16px rgba(19,56,160,0.25);
  transition: background 0.3s;
}
.navbar.scrolled { background: var(--azul-darker); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 17px;
  text-decoration: none; letter-spacing: -0.3px;
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.nav-logo span { color: #fbbf24; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: rgba(255,255,255,0.82); font-size: 13.5px; font-weight: 500;
  padding: 6px 11px; border-radius: 8px;
  transition: all 0.15s; white-space: nowrap;
}
.nav-links a:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }
.nav-cta-btn {
  background: #fbbf24 !important; color: #1338a0 !important;
  font-weight: 700 !important; padding: 7px 14px !important;
}
.nav-cta-btn:hover { background: #f59e0b !important; }
.nav-hamburger {
  display: none; background: none; border: none;
  color: #fff; font-size: 1.3rem; cursor: pointer; padding: 6px;
}
.mobile-nav {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--azul-darker);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column; gap: 2px;
  z-index: 199;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500;
  padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: none; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--azul-darker) 0%, var(--azul-dark) 45%, var(--azul) 100%);
  color: #fff;
  padding: 72px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 60%, rgba(251,191,36,0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50px; padding: 5px 14px;
  font-size: 12.5px; font-weight: 500; margin-bottom: 18px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
.hero h1 {
  font-size: clamp(26px, 4.5vw, 42px); font-weight: 800;
  margin-bottom: 14px; letter-spacing: -1px; line-height: 1.15;
}
.hero h1 em { font-style: normal; color: #fbbf24; }
.hero-desc {
  font-size: 16px; opacity: 0.88; max-width: 500px;
  margin-bottom: 28px; line-height: 1.7;
}
.hero-desc strong { color: #fbbf24; font-weight: 600; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fbbf24; color: var(--azul-darker);
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14.5px;
  padding: 11px 22px; border-radius: var(--radio); border: none; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
  box-shadow: 0 4px 16px rgba(251,191,36,0.35);
}
.btn-primary:hover { background: #f59e0b; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(251,191,36,0.4); text-decoration: none; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.1); color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14.5px;
  padding: 11px 22px; border-radius: var(--radio);
  border: 1.5px solid rgba(255,255,255,0.28); cursor: pointer;
  transition: all 0.2s; text-decoration: none; backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); text-decoration: none; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 12.5px; opacity: 0.8; }
.trust-item i { color: #fbbf24; font-size: 13px; }

/* Hero card */
.hero-card {
  background: #fff; border-radius: 18px; padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  color: var(--texto);
}
.hero-card-title {
  font-size: 10px; font-weight: 700; color: var(--texto-suave);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--gris-borde);
}
.hero-card-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid #f1f5f9;
}
.hero-card-row:last-of-type { border-bottom: none; }
.hero-card-label { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--texto-medio); }
.hero-card-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--azul-light); display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--azul);
}
.hero-card-val { font-size: 14px; font-weight: 700; color: var(--texto); }
.hero-card-val.azul { color: var(--azul); font-size: 15px; }
.hero-card-val.verde { color: var(--verde); }
.badge-activa {
  display: inline-flex; align-items: center; gap: 4px;
  background: #dcfce7; color: #15803d;
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 50px;
}
.badge-activa .dot2 { width: 5px; height: 5px; border-radius: 50%; background: #16a34a; }
.hero-card-btn {
  display: block; width: 100%; margin-top: 14px;
  background: linear-gradient(135deg, var(--azul-dark) 0%, var(--azul) 100%);
  color: #fff; text-align: center; font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: 14px; padding: 11px;
  border-radius: 11px; text-decoration: none; transition: all 0.2s;
}
.hero-card-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); text-decoration: none; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: #fff; border-bottom: 1px solid var(--gris-borde);
  padding: 0;
  box-shadow: var(--shadow-sm);
}
.stats-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 20px 24px; text-align: center;
  border-right: 1px solid var(--gris-borde);
  transition: background 0.15s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--gris-bg); }
.stat-num {
  font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--azul); margin-bottom: 3px;
}
.stat-label { font-size: 11.5px; color: var(--texto-suave); font-weight: 500; }

/* ===== ALERT ===== */
.alert-info {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-left: 4px solid var(--azul);
  padding: 14px 20px;
  display: flex; align-items: flex-start; gap: 12px;
}
.alert-info .icon { color: var(--azul); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.alert-info-text strong { color: var(--azul-dark); font-size: 14px; }
.alert-info-text p { color: var(--texto-medio); font-size: 13px; margin-top: 2px; line-height: 1.5; }

/* ===== SECTIONS ===== */
section { padding: 56px 24px; }
section.bg-gris { background: var(--gris-bg); }
section.bg-azul-light { background: var(--azul-light); border-top: 1px solid #bfdbfe; border-bottom: 1px solid #bfdbfe; }
.section-tag {
  display: inline-block; background: var(--azul-light); color: var(--azul);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 10px;
}
.section-titulo {
  font-size: clamp(22px, 3.5vw, 30px); font-weight: 800;
  margin-bottom: 8px; color: var(--texto); letter-spacing: -0.5px;
}
.section-sub { color: var(--texto-suave); margin-bottom: 32px; font-size: 15px; line-height: 1.65; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== AD SLOT ===== */
.ad-slot {
  background: var(--gris-bg); border-top: 1px solid var(--gris-borde);
  border-bottom: 1px solid var(--gris-borde); padding: 16px 24px; text-align: center;
}
.ad-label { font-size: 10px; color: var(--texto-suave); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }

/* ===== SIMULADOR ===== */
.simulador-card {
  background: var(--blanco); border: 1px solid var(--gris-borde);
  border-radius: var(--radio-lg); padding: 32px;
  box-shadow: var(--shadow); max-width: var(--max); margin: 0 auto;
}
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.sim-field label {
  display: block; font-size: 12.5px; font-weight: 600;
  margin-bottom: 7px; color: var(--texto-medio); text-transform: uppercase; letter-spacing: 0.5px;
}
.sim-field select, .sim-field input {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--gris-borde); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 14.5px;
  background: var(--blanco); color: var(--texto);
  transition: border 0.15s; appearance: none;
}
.sim-field select:focus, .sim-field input:focus {
  outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.btn-calcular {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--azul-dark) 0%, var(--azul) 100%);
  color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px;
  border: none; border-radius: var(--radio); cursor: pointer;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-calcular:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.resultado-sim {
  display: none; margin-top: 22px; padding: 22px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: var(--radio); border: 1px solid #bfdbfe;
}
.resultado-sim.visible { display: block; }
.resultado-titulo {
  font-family: 'Sora', sans-serif; font-size: 13px; color: var(--azul-dark);
  margin-bottom: 14px; font-weight: 700; display: flex; align-items: center; gap: 7px;
}
.resultado-items { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.resultado-fila {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; padding: 6px 0; border-bottom: 1px solid rgba(191,219,254,0.5);
}
.resultado-fila:last-child { border-bottom: none; }
.resultado-fila span:last-child { font-weight: 600; color: var(--azul-dark); }
.resultado-total {
  border-top: 2px solid #93c5fd; padding-top: 12px; margin-top: 4px;
  display: flex; justify-content: space-between; align-items: center;
}
.resultado-total span:first-child { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; }
.resultado-total span:last-child { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 800; color: var(--azul); }
.resultado-aviso { font-size: 11.5px; color: var(--texto-suave); margin-top: 10px; line-height: 1.5; }
.resultado-denegada {
  display: none; margin-top: 22px; padding: 18px 20px;
  background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radio);
}
.resultado-denegada.visible { display: block; }
.resultado-denegada p { font-size: 13.5px; color: #991b1b; line-height: 1.6; }

/* ===== CUANTÍAS ===== */
.cuantias-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; max-width: var(--max); margin: 0 auto;
}
.cuantia-card {
  background: var(--blanco); border: 1px solid var(--gris-borde);
  border-radius: var(--radio); padding: 20px;
  border-top: 3px solid var(--azul);
  box-shadow: var(--shadow-sm); transition: all 0.2s;
  position: relative; overflow: hidden;
}
.cuantia-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-top-color: var(--azul-mid); }
.cuantia-card.destacada { border-top-color: var(--amarillo); }
.cuantia-icono {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--azul-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 12px; color: var(--azul);
}
.cuantia-card.destacada .cuantia-icono { background: var(--amarillo-light); color: var(--amarillo); }
.cuantia-nombre { font-size: 12px; color: var(--texto-suave); margin-bottom: 5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.cuantia-importe { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; color: var(--azul); }
.cuantia-card.destacada .cuantia-importe { color: var(--amarillo); }
.cuantia-nota { font-size: 12px; color: var(--texto-suave); margin-top: 6px; line-height: 1.5; }
.cuantia-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--amarillo-light); color: #92400e;
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 50px;
}

/* ===== TABLA ===== */
.tabla-wrap { overflow-x: auto; max-width: var(--max); margin: 0 auto; border-radius: var(--radio); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; }
thead th {
  background: var(--azul-dark); color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 12px;
  padding: 13px 14px; text-align: left; text-transform: uppercase; letter-spacing: 0.5px;
}
thead th:first-child { border-radius: var(--radio) 0 0 0; }
thead th:last-child { border-radius: 0 var(--radio) 0 0; }
tbody td { padding: 11px 14px; border-bottom: 1px solid var(--gris-borde); color: var(--texto-medio); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--azul-light); }
.fila-4 td { font-weight: 700; background: #eff6ff; color: var(--azul-dark); }
.fila-4:hover td { background: #dbeafe !important; }
.td-highlight { font-weight: 700; color: var(--azul); }
.tabla-nota {
  margin-top: 12px; padding: 10px 14px;
  background: var(--gris-bg); border-radius: 10px;
  font-size: 12.5px; color: var(--texto-suave);
  border-left: 3px solid var(--azul);
}

/* ===== REQUISITOS ===== */
.req-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px; max-width: var(--max); margin: 0 auto;
}
.req-card {
  background: var(--blanco); border: 1px solid var(--gris-borde);
  border-radius: var(--radio); padding: 20px;
  box-shadow: var(--shadow-sm); display: flex; gap: 14px;
  transition: all 0.2s;
}
.req-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--azul-mid); }
.req-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px;
  background: var(--azul-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--azul);
}
.req-icon.verde { background: var(--verde-light); color: var(--verde); }
.req-icon.amarillo { background: var(--amarillo-light); color: var(--amarillo); }
.req-content h3 { font-size: 14px; font-weight: 700; color: var(--texto); margin-bottom: 4px; }
.req-content p { font-size: 13px; color: var(--texto-suave); line-height: 1.6; }
.req-tag {
  display: inline-block; margin-top: 6px;
  background: var(--azul-light); color: var(--azul);
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 50px;
}
.req-tag.verde { background: var(--verde-light); color: var(--verde); }
.req-tag.amarillo { background: var(--amarillo-light); color: #92400e; }

/* ===== DEDUCCIONES ===== */
.deduc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px; max-width: var(--max); margin: 0 auto;
}
.deduc-card {
  background: var(--blanco); border: 1px solid var(--gris-borde);
  border-radius: var(--radio); padding: 18px;
  box-shadow: var(--shadow-sm); transition: all 0.2s;
  border-left: 3px solid var(--verde);
}
.deduc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.deduc-card h3 { font-size: 14px; font-weight: 700; color: var(--texto); margin-bottom: 5px; display: flex; align-items: center; gap: 7px; }
.deduc-card h3 i { color: var(--verde); font-size: 13px; }
.deduc-card p { font-size: 12.5px; color: var(--texto-suave); line-height: 1.55; }
.deduc-amount {
  display: inline-block; margin-top: 8px;
  background: var(--verde-light); color: var(--verde);
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 50px;
}

/* ===== CALENDARIO ===== */
.calendario-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; max-width: var(--max); margin: 0 auto;
}
.cal-card {
  background: var(--blanco); border: 1px solid var(--gris-borde);
  border-radius: var(--radio); padding: 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: all 0.2s;
  position: relative; overflow: hidden;
}
.cal-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--azul-dark), var(--azul));
}
.cal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cal-fase {
  font-size: 10.5px; font-weight: 700; color: var(--texto-suave);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
.cal-fecha {
  font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 800;
  color: var(--azul); margin-bottom: 5px;
}
.cal-desc { font-size: 12.5px; color: var(--texto-suave); line-height: 1.5; }
.cal-badge {
  display: inline-block; margin-top: 8px;
  font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 50px;
}
.cal-badge.activo { background: #dcfce7; color: #15803d; }
.cal-badge.proximo { background: var(--amarillo-light); color: #92400e; }
.cal-badge.futuro { background: var(--gris-bg); color: var(--texto-suave); }

/* ===== PASOS ===== */
.pasos { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.paso { display: flex; gap: 20px; position: relative; padding-bottom: 28px; }
.paso:last-child { padding-bottom: 0; }
.paso:not(:last-child)::after {
  content: ''; position: absolute; left: 20px; top: 46px; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--azul), var(--gris-borde));
}
.paso-num {
  flex-shrink: 0; width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--azul-dark), var(--azul));
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 15px;
  position: relative; z-index: 1; box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}
.paso-contenido {
  background: var(--blanco); border: 1px solid var(--gris-borde);
  border-radius: var(--radio); padding: 16px 18px; flex: 1;
  box-shadow: var(--shadow-sm); transition: all 0.2s;
}
.paso-contenido:hover { box-shadow: var(--shadow); border-color: var(--azul-mid); }
.paso-contenido h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--texto); }
.paso-contenido p { font-size: 13.5px; color: var(--texto-suave); line-height: 1.65; }
.paso-tip {
  display: flex; align-items: flex-start; gap: 7px;
  margin-top: 8px; padding: 8px 12px;
  background: var(--amarillo-light); border-radius: 8px;
  font-size: 12px; color: #92400e;
}
.paso-tip i { color: var(--amarillo); flex-shrink: 0; margin-top: 2px; }

/* ===== RECLAMACIONES ===== */
.reclama-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; max-width: var(--max); margin: 0 auto;
}
.reclama-card {
  background: var(--blanco); border: 1px solid var(--gris-borde);
  border-radius: var(--radio); padding: 22px;
  box-shadow: var(--shadow-sm); transition: all 0.2s;
}
.reclama-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.reclama-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--azul-light); color: var(--azul);
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 15px;
  margin-bottom: 12px;
}
.reclama-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; color: var(--texto); }
.reclama-card p { font-size: 13px; color: var(--texto-suave); line-height: 1.6; }
.reclama-plazo {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 12px; background: var(--amarillo-light); color: #92400e;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 7px;
}

/* ===== FAQs ===== */
.faqs { max-width: var(--max); margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gris-borde);
  border-radius: 0; overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--gris-borde); }
.faq-pregunta {
  width: 100%; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 17px 4px; cursor: pointer;
  font-family: 'Sora', sans-serif; font-size: 14.5px; font-weight: 600;
  color: var(--texto); text-align: left; transition: color 0.15s;
}
.faq-pregunta:hover { color: var(--azul); }
.faq-icono {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px;
  background: var(--azul-light); color: var(--azul);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all 0.25s;
}
.faq-item.abierto .faq-icono { background: var(--azul); color: #fff; transform: rotate(45deg); }
.faq-respuesta {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  font-size: 14px; color: var(--texto-suave); line-height: 1.7;
}
.faq-respuesta-inner { padding: 0 4px 16px; }
.faq-item.abierto .faq-respuesta { max-height: 400px; }

/* ===== PATRIMONIO ===== */
.patrimonio-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px; max-width: var(--max); margin: 0 auto;
}
.pat-card {
  background: var(--blanco); border: 1px solid var(--gris-borde);
  border-radius: var(--radio); padding: 18px;
  box-shadow: var(--shadow-sm); text-align: center; transition: all 0.2s;
}
.pat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pat-icon { font-size: 1.8rem; margin-bottom: 8px; }
.pat-tipo { font-size: 12px; color: var(--texto-suave); font-weight: 500; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.pat-limite { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 800; color: var(--azul); }
.pat-nota { font-size: 11.5px; color: var(--texto-suave); margin-top: 4px; }

/* ===== WEBS RELACIONADAS ===== */
.webs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; max-width: var(--max); margin: 0 auto;
}
.web-card {
  display: block; background: var(--blanco); border: 1.5px solid var(--gris-borde);
  border-radius: var(--radio); padding: 22px;
  transition: all 0.2s; text-decoration: none; color: var(--texto);
  box-shadow: var(--shadow-sm);
}
.web-card:hover { border-color: var(--azul); transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.web-card.verde:hover { border-color: var(--verde); }
.web-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 50px; margin-bottom: 12px;
}
.web-badge.azul { background: var(--azul-light); color: var(--azul); }
.web-badge.verde { background: var(--verde-light); color: var(--verde); }
.web-card h3, .web-card-title { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.web-card p { font-size: 13px; color: var(--texto-suave); margin-bottom: 12px; line-height: 1.6; }
.web-url { font-size: 12.5px; color: var(--azul); font-weight: 600; }
.web-card.verde .web-url { color: var(--verde); }

/* ===== FOOTER ===== */
footer {
  background: #0f172a; color: rgba(255,255,255,0.65);
  padding: 40px 24px 20px;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.footer-brand .logo {
  display: flex; align-items: center; gap: 8px;
  color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 16px;
  margin-bottom: 10px;
}
.footer-brand .logo span { color: #fbbf24; }
.footer-brand p { font-size: 13px; line-height: 1.65; max-width: 260px; }
.footer-col h4 {
  color: #fff; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 13px; transition: color 0.15s; }
.footer-col ul li a:hover { color: #fbbf24; text-decoration: none; }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 12px;
}
.footer-update {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.07); border-radius: 50px;
  padding: 4px 12px; font-size: 11.5px;
}
.footer-disclaimer {
  max-width: var(--max); margin: 16px auto 0;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11.5px; color: rgba(255,255,255,0.35); line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-inner .stat-item:nth-child(2) { border-right: none; }
  .stats-inner .stat-item:nth-child(3) { border-top: 1px solid var(--gris-borde); }
  .stats-inner .stat-item:nth-child(4) { border-top: 1px solid var(--gris-borde); border-right: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  section { padding: 40px 20px; }
}
@media (max-width: 560px) {
  .sim-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 20px 48px; }
  .hero-btns { flex-direction: column; }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--azul);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--azul-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}
.scroll-top-btn:active {
  transform: translateY(0);
}
@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

