/* ===== BILLETÍN — DESIGN SYSTEM ===== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #dcfce7;
  --primary-glow: rgba(34, 197, 94, 0.15);
  --blue: #3b82f6;
  --blue-light: #dbeafe;
  --orange: #f97316;
  --orange-light: #ffedd5;
  --purple: #a855f7;
  --purple-light: #f3e8ff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --bg: #f1f5f9;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-2: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.07);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== UTILITIES ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.gradient-text { background: linear-gradient(135deg, #16a34a, #22c55e, #4ade80); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.green-text { color: var(--primary); font-weight: 600; }
.fw-600 { font-weight: 600; }
.muted { color: var(--muted); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-full);
  font-family: var(--font); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; border: none; transition: all var(--transition);
  white-space: nowrap; text-decoration: none;
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.45);
}

.btn-ghost {
  background: white;
  color: var(--text-2);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-1px); }

.btn-white { background: white; color: var(--primary-dark); font-weight: 700; }
.btn-white:hover { background: var(--primary-light); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; gap: 32px; }

.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.25rem; color: var(--text);
  flex-shrink: 0;
}
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.logo-white .logo-icon { background: rgba(255,255,255,0.2); }
.logo-white { color: white; }

.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; flex: 1;
}
.nav-links a {
  padding: 6px 14px; border-radius: var(--radius-full);
  color: var(--text-2); font-weight: 500; font-size: 0.9rem;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }

.nav-cta { margin-left: auto; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: auto;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 4px; transition: all var(--transition); }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f0fdf4 0%, #f8fafc 50%, #eff6ff 100%);
  min-height: 100vh; display: flex; align-items: center;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-light); color: var(--primary-dark);
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 600; margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.3);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.1); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px; color: var(--text);
}

.hero-subtitle {
  font-size: 1.1rem; color: var(--text-2);
  line-height: 1.7; margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; align-items: center; gap: 20px; }
.stat { text-align: center; }
.stat-value { display: block; font-size: 1.5rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat-label { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 36px; background: var(--border-2); }

/* Hero mockup */
.hero-visual {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  padding: 20px;
}

.mockup-card {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}
.main-card {
  width: 100%; max-width: 340px;
  padding: 24px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: var(--primary-dark); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.card-name { font-weight: 700; font-size: 0.95rem; }
.card-sub { font-size: 0.78rem; color: var(--muted); }
.card-status {
  margin-left: auto; padding: 4px 10px;
  background: var(--primary-light); color: var(--primary-dark);
  border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600;
}

.card-amount-row { display: flex; gap: 24px; margin-bottom: 20px; }
.card-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 4px; }
.card-amount { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.card-amount.green { color: var(--primary-dark); }

.progress-section { margin-bottom: 20px; }
.progress-header { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 10px; color: var(--text-2); font-weight: 500; }
.progress-bar { height: 8px; background: var(--bg); border-radius: var(--radius-full); overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), #4ade80); border-radius: var(--radius-full); }

.card-pay-btn {
  width: 100%; padding: 13px 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; border: none; border-radius: var(--radius-md);
  font-family: var(--font); font-weight: 600; font-size: 0.85rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all var(--transition);
}
.card-pay-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34,197,94,0.35); }

.mini-card {
  position: absolute; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  width: 180px;
}
.card-float-1 { top: 10%; right: -10px; animation: float 3.5s ease-in-out infinite; animation-delay: 0.5s; }
.card-float-2 { bottom: 12%; left: -20px; animation: float 4.5s ease-in-out infinite; animation-delay: 1s; }

.mini-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.green-bg { background: var(--primary-light); color: var(--primary-dark); }
.blue-bg { background: var(--blue-light); color: var(--blue); }
.mini-title { font-size: 0.82rem; font-weight: 600; }
.mini-sub { font-size: 0.73rem; color: var(--muted); }

.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35; pointer-events: none;
}
.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,197,94,0.4), transparent 70%);
  top: -100px; right: -100px;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%);
  bottom: -80px; left: 30%;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.trust-bar .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-label { font-size: 0.82rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.trust-logos { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.trust-logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.88rem; font-weight: 600;
  transition: color var(--transition);
}
.trust-logo:hover { color: var(--primary-dark); }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-alt { background: white; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-block; padding: 5px 14px;
  background: var(--primary-light); color: var(--primary-dark);
  border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 500px; margin: 0 auto; }

/* ===== STEPS ===== */
.steps-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute;
  top: 50px; left: calc(10% + 16px); right: calc(10% + 16px);
  height: 2px; background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
  z-index: 0;
}

.step-card {
  background: white; border-radius: var(--radius-lg);
  padding: 22px 14px; text-align: center;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative; z-index: 1;
  transition: all var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }

.step-number {
  font-size: 0.72rem; font-weight: 800; color: var(--primary);
  letter-spacing: 0.1em; margin-bottom: 10px;
}
.step-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--primary-light); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }


/* ===== SIMULATOR ===== */
.simulator-wrapper {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; max-width: 900px; margin: 0 auto;
  background: white; border-radius: var(--radius-xl);
  border: 1.5px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.simulator-controls { padding: 40px; background: var(--surface-2); }
.simulator-result { padding: 40px; }

.control-group { margin-bottom: 32px; }
.control-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.control-header label { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.control-value { font-size: 1.25rem; font-weight: 800; color: var(--primary-dark); }

/* Slider */
.slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: var(--radius-full);
  background: var(--border); outline: none; cursor: pointer;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); cursor: pointer;
  box-shadow: 0 0 0 4px white, 0 0 0 6px rgba(34,197,94,0.3);
  transition: all var(--transition);
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); cursor: pointer; border: none;
  box-shadow: 0 0 0 4px white, 0 0 0 6px rgba(34,197,94,0.3);
}
.slider-limits { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.75rem; color: var(--muted); }

/* Cuotas */
.cuotas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cuota-btn {
  padding: 10px 8px; border-radius: var(--radius-md);
  border: 2px solid var(--border); background: white;
  font-family: var(--font); font-weight: 600; font-size: 0.83rem;
  cursor: pointer; transition: all var(--transition); color: var(--text-2);
}
.cuota-btn:hover { border-color: var(--primary); color: var(--primary-dark); }
.cuota-btn.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }

.tna-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--muted);
  background: var(--border); border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.tna-row strong { color: var(--text-2); }

/* Result */
.result-main { text-align: center; padding: 24px 0 28px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.result-label { font-size: 0.82rem; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.result-amount {
  font-size: 3rem; font-weight: 900; color: var(--primary-dark);
  letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 6px;
}
.result-sub { font-size: 0.85rem; color: var(--muted); }

.result-details { margin-bottom: 28px; }
.result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.88rem; color: var(--text-2);
}
.result-row:last-child { border-bottom: none; }
.result-row span:last-child { font-weight: 600; }

.sim-disclaimer { text-align: center; font-size: 0.73rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: white; border-radius: var(--radius-lg);
  padding: 28px; border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon.green { background: var(--primary-light); color: var(--primary-dark); }
.feature-icon.blue { background: var(--blue-light); color: var(--blue); }
.feature-icon.orange { background: var(--orange-light); color: var(--orange); }
.feature-icon.purple { background: var(--purple-light); color: var(--purple); }

.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--surface-2); border-radius: var(--radius-lg);
  padding: 28px; border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.testimonial-card.featured {
  background: white; border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial-card.featured:hover { transform: scale(1.02) translateY(-3px); }

.stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card > p { font-size: 0.93rem; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.author-name { font-size: 0.88rem; font-weight: 700; }
.author-location { font-size: 0.77rem; color: var(--muted); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #16a34a, #15803d, #166534);
  padding: 80px 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: 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' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
  position: relative; display: flex;
  align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-text h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 800; color: white; margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,0.8); font-size: 1rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info { padding-top: 8px; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.contact-info > p { color: var(--muted); line-height: 1.7; margin-bottom: 32px; }
.contact-info .section-badge { margin-bottom: 16px; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--primary-light); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-label { font-size: 0.78rem; color: var(--muted); }
.contact-value { font-weight: 600; font-size: 0.95rem; }

.contact-form {
  background: white; border-radius: var(--radius-xl);
  border: 1.5px solid var(--border); padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-2); }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  font-family: var(--font); font-size: 0.92rem; color: var(--text);
  background: var(--surface-2); outline: none;
  transition: all var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary); background: white;
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-group textarea { resize: vertical; }
.form-success {
  display: none; margin-top: 14px; text-align: center;
  color: var(--primary-dark); font-weight: 600; font-size: 0.92rem;
  background: var(--primary-light); padding: 12px; border-radius: var(--radius-md);
}
.form-success.visible { display: block; }

/* ===== FOOTER ===== */
.footer {
  background: #0f172a; color: rgba(255,255,255,0.7); padding: 64px 0 0;
}
.footer-inner { display: grid; grid-template-columns: 1.5fr 2fr; gap: 64px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 0.8rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer-col a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between;
  font-size: 0.78rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 8px;
}

/* ===== ANIMATIONS ===== */
[data-animate] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate="fade-left"] { transform: translateX(32px); }
[data-animate].visible { opacity: 1; transform: none; }
[data-delay="50"] { transition-delay: 0.05s; }
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-content: flex-start; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid::before { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 4px; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: white; padding: 16px 24px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links a { padding: 10px 14px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .simulator-wrapper { grid-template-columns: 1fr; }
  .cuotas-grid { grid-template-columns: repeat(4, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card.featured { transform: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 2.2rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cuotas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
}
