:root {
  --teal-dark: #0d3b40;
  --teal: #157f7c;
  --teal-light: #4fa8a3;
  --orange: #e8793c;
  --orange-dark: #d4652a;
  --cream: #f7f5f1;
  --ink: #1c2b2c;
  --gray: #5b6b6c;
  --border: #e3e0da;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
}

h2 { font-size: 2rem; color: var(--teal-dark); }
h3 { font-size: 1.3rem; color: var(--teal-dark); }

p { margin: 0 0 16px; color: var(--gray); }

a { color: var(--teal); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 760px; }

.section { padding: 64px 0; }
.section-alt { background: var(--cream); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.logo { height: 34px; width: auto; display: block; }
.logo-footer { height: 40px; opacity: 0.95; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-cta { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(232,121,60,0.35); }
.btn-cta:hover { background: var(--orange-dark); }
.btn-secondary { background: transparent; color: var(--teal); border: 2px solid var(--teal); padding: 12px 26px; }
.btn-small { padding: 10px 20px; font-size: 0.9rem; }

/* Hero */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,59,64,0.75) 0%, rgba(13,59,64,0.55) 40%, rgba(232,121,60,0.35) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 80px 24px; }
.badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.hero h1 { font-size: 2.6rem; color: #fff; margin-bottom: 8px; }
.hero .accent { color: #ffb27a; }
.hero-sub {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.6);
}
.hero-desc { max-width: 560px; color: #f0ece5; font-size: 1.05rem; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; font-weight: 600; }
.hero-meta-item { background: rgba(255,255,255,0.15); padding: 8px 16px; border-radius: 10px; backdrop-filter: blur(4px); }
.hero-cupos { margin-top: 14px; color: #ffd7b0; font-weight: 700; letter-spacing: 0.05em; }

/* Promo bar */
.promo-bar {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.center-cta { text-align: center; margin-top: 32px; }

/* Fanny */
.fanny-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
}
.fanny-photo { width: 100%; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.quote {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  color: var(--teal-dark);
  font-size: 1.15rem;
  border-left: 4px solid var(--orange);
  padding-left: 16px;
  margin-top: 20px;
}

/* Autoridad del Instituto */
.authority { text-align: center; }
.authority-logo { height: 44px; width: auto; margin-bottom: 24px; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.stat {
  background: var(--cream);
  border-radius: 14px;
  padding: 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--teal);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.3;
}

/* Info */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.info-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 20px;
}
.info-card h3 { font-size: 1rem; margin-bottom: 8px; }
.info-card p { margin: 0; font-size: 0.92rem; }

.pricing-card {
  background: var(--teal-dark);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}
.pricing-card h3 { color: #fff; }
.pricing-detail { color: #cfe4e2; font-size: 0.9rem; }
.pricing-row { margin: 16px 0; }
.pricing-old { text-decoration: line-through; color: #9fc2c0; font-size: 1.1rem; margin-right: 12px; }
.pricing-new { font-size: 2.2rem; font-weight: 800; color: #ffd7b0; font-family: 'Poppins', sans-serif; }
.pricing-tag { display: block; margin-top: 6px; font-size: 0.85rem; color: #cfe4e2; }
.pricing-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
}
.pricing-list li { padding: 6px 0; font-size: 0.9rem; color: #e4f0ef; }

/* Form / Wizard */
.section-form { background: var(--cream); }
.form-intro { text-align: center; }
.wizard {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.progress-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.progress-step.active { background: var(--teal); color: #fff; }
.progress-step.done { background: var(--orange); color: #fff; }

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }

.wizard label {
  display: block;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 6px;
  margin-top: 18px;
  font-size: 0.95rem;
}
.wizard label:first-of-type { margin-top: 0; }
.wizard input[type="text"],
.wizard input[type="email"],
.wizard input[type="tel"] {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
}
.wizard input:focus { outline: none; border-color: var(--teal); }

.option-group { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.option-btn {
  text-align: left;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  transition: all .15s ease;
}
.option-btn:hover { border-color: var(--teal-light); }
.option-btn.selected { border-color: var(--teal); background: rgba(21,127,124,0.08); font-weight: 600; color: var(--teal-dark); }

.pricing-reminder {
  background: var(--cream);
  border-left: 4px solid var(--orange);
  padding: 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.wizard-actions .btn { flex: 1; text-align: center; }

.field-error { color: var(--orange-dark); font-size: 0.85rem; margin-top: 6px; display: none; }
.field-error.show { display: block; }

.wizard-success { text-align: center; padding: 20px 0; }
.success-icon { font-size: 3rem; margin-bottom: 12px; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #25D366;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 200;
}

/* Footer */
.site-footer { background: var(--teal-dark); color: #cfe4e2; padding: 48px 0 24px; }
.footer-inner { text-align: center; }
.footer-contact p { color: #cfe4e2; margin: 6px 0; }
.footer-contact a { color: #ffd7b0; }
.footer-copy { margin-top: 24px; font-size: 0.8rem; color: #7ea6a3; }

/* Responsive */
@media (max-width: 760px) {
  .hero h1 { font-size: 2rem; }
  .fanny-grid { grid-template-columns: 1fr; }
  .fanny-photo { max-width: 240px; margin: 0 auto; }
  .info-grid { grid-template-columns: 1fr; }
  .wizard { padding: 22px; }
  .pricing-new { font-size: 1.8rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
