/* Tu Efectivo Hoy — hoja de estilos
   Paleta: rojo marca (--red-600), dorado de acento (--gold-500), crema de fondo, tinta cálida para texto. */

:root {
  --red-600: #E31E24;
  --red-700: #B71419;
  --red-800: #8F0F13;
  --gold-500: #F2A93B;
  --gold-600: #C9832A;
  --cream-50: #FFFBF9;
  --cream-100: #FBF1EE;
  --ink-900: #241512;
  --ink-600: #6B5854;
  --line: #EEDFDB;
  --wa-green: #25994F;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: 'Nunito', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { display: block; }

h1, h2, .display {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  text-wrap: balance;
}

a { color: var(--red-600); text-decoration: none; }
a:hover { color: var(--red-700); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2.5px solid var(--red-600);
  outline-offset: 2px;
}

input {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 15px;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--ink-900);
  width: 100%;
}
input::placeholder { color: #B9A6A2; }
input:focus {
  outline: none;
  border-color: var(--red-600);
  box-shadow: 0 0 0 3px rgba(227,30,36,0.14);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { font-size: 24px; font-weight: 800; }
.brand-name .hoy { color: var(--gold-500); }

.wa-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream-100);
  border: 1.5px solid var(--line);
  color: var(--red-600);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.wa-pill:hover { background: #FFFFFF; border-color: var(--gold-500); color: var(--red-600); }

.hero { position: relative; background: var(--red-600); }
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 24px 100px;
  text-align: center;
}
.hero h1 {
  color: #FFFFFF;
  font-size: clamp(34px, 6.5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 24px;
}
.amount-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 24px;
}
.amount-label {
  color: #FFFFFF;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
}
.amount {
  color: var(--gold-500);
  font-size: clamp(52px, 10vw, 84px);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-sub {
  color: rgba(255,255,255,0.92);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto 34px;
}
.cta-btn {
  display: inline-block;
  background: #FFFFFF;
  color: var(--red-600);
  font-weight: 800;
  font-size: 17px;
  padding: 16px 40px;
  border: none;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,0,0,0.24); color: var(--red-700); }

.wave { display: block; width: 100%; height: 56px; }

.section-head { text-align: center; max-width: 560px; margin: 0 auto 36px; }
.eyebrow {
  color: var(--red-600);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; margin: 0 0 10px; }
.section-head p { font-size: 16px; color: var(--ink-600); margin: 0; line-height: 1.5; }

.form-wrap { padding: 8px 0 84px; }
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 24px 60px rgba(36,21,18,0.09);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-600); }

.submit-btn {
  width: 100%;
  background: var(--red-600);
  color: #FFFFFF;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 17px;
  padding: 17px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(227,30,36,0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.submit-btn:hover { transform: translateY(-1px); background: var(--red-700); }
.submit-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

.privacy-note {
  text-align: center;
  font-size: 12.5px;
  color: #B9A6A2;
  margin: 14px 0 0;
  line-height: 1.4;
}

.success {
  display: none;
  text-align: center;
  padding: 20px 8px 4px;
}
.success.show { display: block; }
.success svg { margin-bottom: 10px; }
.success h3 { font-family: 'Baloo 2', sans-serif; font-size: 20px; margin: 0 0 6px; }
.success p { color: var(--ink-600); font-size: 14.5px; margin: 0; line-height: 1.5; }

.about { background: var(--cream-100); padding: 76px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.about h2 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 800; margin: 0 0 16px; }
.about p { font-size: 16px; line-height: 1.6; color: var(--ink-600); margin: 0 0 24px; max-width: 520px; }
.about-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.about-cta .ask { font-size: 15px; font-weight: 700; }
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--wa-green);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(37,153,79,0.32); color: #FFFFFF; }
.about-badge {
  width: 500px;
  height: 500px;
  border-radius: 28px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 24px 50px rgba(36,21,18,0.20);
}
.about-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faq { padding: 76px 0; }
.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  line-height: 1;
  color: var(--red-600);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--ink-600); font-size: 15px; line-height: 1.6; }

footer { background: var(--ink-900); padding: 44px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand span { font-family: 'Baloo 2', sans-serif; font-size: 16px; font-weight: 800; color: #FFFFFF; }
.footer-brand .hoy { color: var(--gold-500); }
.footer-email { text-align: center; }
.footer-email a { color: #D8CDCB; font-size: 14.5px; font-weight: 600; }
.footer-email a:hover { color: #FFFFFF; }
.footer-wa { display: flex; justify-content: flex-end; }
.footer-wa a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3A2E2C;
  transition: background 0.15s ease;
}
.footer-wa a:hover { background: #4A3B38; }

@media (prefers-reduced-motion: no-preference) {
  .reveal.pre {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.pre.in { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .field-row { grid-template-columns: 1fr; }
  .amount { font-size: clamp(44px, 15vw, 64px); }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about p { margin-left: auto; margin-right: auto; }
  .about-cta { justify-content: center; }
  .about-badge { width: 220px; height: 220px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .footer-brand { justify-content: center; }
  .footer-wa { justify-content: center; }
}
