/* FinanciArg — Landing Page Styles
   Mobile-first · Conversion-focused · Inter font
   ─────────────────────────────────────────────── */

:root {
  --navy:      #00205B;
  --navy-mid:  #003E9C;
  --navy-dark: #001440;
  --orange:    #FF4E00;
  --orange-h:  #e64400;
  --gold:      #F5A623;
  --text:      #1a1a2e;
  --text-muted:#5a6070;
  --bg-light:  #F5F7FF;
  --white:     #ffffff;
  --border:    #dde3f0;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,32,91,.10);
  --shadow-lg: 0 12px 48px rgba(0,32,91,.18);
  --font:      'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { /* scroll-behavior manejado por Lenis */ }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--light { background: var(--bg-light); }

/* ── Honeypot ────────────────────────────────────── */
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ── Botones ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--radius); font-family: var(--font);
  font-weight: 700; font-size: 16px; cursor: pointer; border: 2px solid transparent;
  transition: background .2s, transform .15s, box-shadow .2s; line-height: 1.2;
}
.btn--primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-h); border-color: var(--orange-h); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,78,0,.35); }
.btn--outline  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--bg-light); }
.btn--lg { padding: 18px 36px; font-size: 18px; border-radius: 14px; }
.btn--submit { width: 100%; font-size: 17px; padding: 16px; margin-top: 4px; }

/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('/assets/hero.jpg');
  background-size: cover; background-position: center top;
  background-color: var(--navy);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,20,64,.82) 0%,
    rgba(0,32,91,.70) 50%,
    rgba(0,20,64,.55) 100%
  );
}
.hero__content {
  position: relative; z-index: 1;
  padding: 100px 20px 80px;
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
}
.hero__logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.hero__brand { font-size: 22px; font-weight: 900; color: var(--white); letter-spacing: -.5px; }
.hero__badge {
  background: var(--orange); color: var(--white); font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px; letter-spacing: .5px; text-transform: uppercase;
}
.hero__title {
  font-size: clamp(36px, 8vw, 68px); font-weight: 900; color: var(--white);
  line-height: 1.05; letter-spacing: -1.5px; max-width: 700px;
}
.hero__title em { color: var(--gold); font-style: normal; }
.hero__sub { font-size: clamp(16px, 2.5vw, 20px); color: rgba(255,255,255,.88); font-weight: 500; max-width: 520px; }
.hero__ctas { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero__social-proof { font-size: 14px; color: rgba(255,255,255,.80); font-weight: 500; }
.hero__scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.5); font-size: 20px; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ── TRUST STRIP ─────────────────────────────────── */
.trust-strip { background: var(--navy); padding: 16px 0; }
.trust-strip__inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; align-items: center; }
.trust-item { color: rgba(255,255,255,.90); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.trust-item__icon { font-size: 16px; }

/* ── STORY ───────────────────────────────────────── */
.story__inner { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.story__photo-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); width: 100%; max-width: 540px;
  background: linear-gradient(135deg, #0a2a5e 0%, #1a5276 100%);
  min-height: 300px;
}
.story__photo { width: 100%; height: 100%; object-fit: cover; }
.photo--placeholder { display: flex; align-items: center; justify-content: center; }
.photo--placeholder::after {
  content: "📸 Agregar foto familia con auto";
  color: rgba(255,255,255,.6); font-size: 14px; padding: 40px;
  text-align: center; position: absolute;
}
.story__photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,20,64,.85));
  color: var(--white); font-size: 13px; font-weight: 600;
  padding: 40px 16px 16px; text-align: center;
}
.story__copy { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.story__copy h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; }
.story__copy p { color: var(--text-muted); font-size: 16px; line-height: 1.7; }

/* ── EYEBROW & HELPERS ───────────────────────────── */
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange); }
.section__title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; text-align: center; letter-spacing: -.5px; margin-bottom: 12px; }
.section__title--light { color: var(--white); }
.section__sub { text-align: center; color: var(--text-muted); font-size: 17px; max-width: 540px; margin: 0 auto 48px; }
.stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }

/* ── BENEFITS ────────────────────────────────────── */
.benefits__grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
.benefit-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-card__icon { font-size: 36px; margin-bottom: 14px; }
.benefit-card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.benefit-card__text { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ── FORM SECTION ────────────────────────────────── */
.form-section { background: var(--navy); }
.form-section__inner { display: flex; flex-direction: column; gap: 40px; }
.form-section__copy { color: var(--white); display: flex; flex-direction: column; gap: 16px; }
.form-section__copy .eyebrow { color: var(--gold); }
.form-section__copy h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.5px; color: var(--white); }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: rgba(255,255,255,.90); }
.checklist li::before { content: '✓'; color: var(--gold); font-weight: 800; font-size: 18px; flex-shrink: 0; }
.inline-testimonial {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 20px;
  background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 16px;
}
.inline-testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: rgba(255,255,255,.2); }
.inline-testimonial .stars { font-size: 14px; margin-bottom: 4px; }
.inline-testimonial blockquote { font-size: 14px; color: rgba(255,255,255,.85); font-style: italic; margin-bottom: 4px; }
.inline-testimonial cite { font-size: 12px; color: rgba(255,255,255,.6); font-style: normal; }

/* ── CARD ────────────────────────────────────────── */
.card { background: var(--white); border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow-lg); }
.card__heading { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.card__sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* ── FORM ────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__label { font-size: 13px; font-weight: 600; color: var(--text); }
.required { color: var(--orange); }
.form__input, .form__select {
  width: 100%; padding: 13px 14px; border: 2px solid var(--border); border-radius: 10px;
  font-family: var(--font); font-size: 15px; color: var(--text); background: var(--white);
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.form__input:focus, .form__select:focus {
  outline: none; border-color: var(--navy-mid); box-shadow: 0 0 0 3px rgba(0,62,156,.12);
}
.form__input.is-error, .form__select.is-error { border-color: #dc2626; }
.form__input::placeholder { color: #aab0c0; }
.form__error { font-size: 12px; color: #dc2626; min-height: 16px; }
.form__feedback { font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: 8px; }
.form__feedback.info { background: #eff6ff; color: var(--navy-mid); }
.form__feedback:not(.info):not(:empty) { background: #fef2f2; color: #dc2626; }
.form__legal { font-size: 11px; color: var(--text-muted); text-align: center; line-height: 1.5; margin-top: 8px; }
.hidden { display: none !important; }

/* ── SUCCESS ─────────────────────────────────────── */
.success { text-align: center; padding: 32px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.success__icon { font-size: 56px; }
.success__title { font-size: 26px; font-weight: 800; color: var(--navy); }
.success__text { color: var(--text-muted); font-size: 16px; }
.success__text--small { font-size: 14px; }

/* ── HOW IT WORKS ────────────────────────────────── */
.how .section__title { margin-bottom: 48px; }
.how__steps { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.how__step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.how__step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy);
  color: var(--white); font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.how__step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.how__step p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.how__step-arrow { text-align: center; font-size: 28px; color: var(--orange); font-weight: 700; padding: 4px; transform: rotate(90deg); }

/* ── TESTIMONIALES ───────────────────────────────── */
.testimonials { background: var(--navy); }
.testimonials__grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 40px 0; }
.testimonial-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; }
.testimonial-card .stars { margin-bottom: 12px; }
.testimonial-card blockquote { font-size: 15px; color: rgba(255,255,255,.88); font-style: italic; line-height: 1.65; margin-bottom: 16px; }
.testimonial-card footer { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: rgba(255,255,255,.15); flex-shrink: 0; }
.testimonial-card footer strong { display: block; font-size: 14px; font-weight: 700; color: var(--white); }
.testimonial-card footer span { font-size: 12px; color: rgba(255,255,255,.55); }
.testimonial-card--featured {
  position: relative; padding: 0; overflow: hidden; min-height: 320px;
  display: flex; align-items: flex-end; border: none;
  background: linear-gradient(135deg, #0a2a5e 0%, #1a5276 100%);
}
.testimonial-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__photo-overlay {
  position: relative; z-index: 1; padding: 24px; width: 100%;
  background: linear-gradient(transparent, rgba(0,20,64,.92));
}
.testimonial-card__photo-overlay blockquote { font-size: 16px; color: var(--white); margin-bottom: 8px; }
.testimonial-card__photo-overlay cite { font-size: 13px; color: rgba(255,255,255,.70); font-style: normal; }
.testimonials__cta { text-align: center; }

/* ── FAQ ─────────────────────────────────────────── */
.faq__inner { max-width: 700px; margin: 0 auto; }
.faq__inner .section__title { text-align: left; }
.faq__list { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq__question {
  list-style: none; padding: 18px 20px; font-weight: 600; font-size: 15px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  background: var(--white); color: var(--navy);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: '+'; font-size: 22px; color: var(--orange); font-weight: 400; flex-shrink: 0; }
details[open] .faq__question::after { content: '−'; }
.faq__answer { padding: 0 20px 20px; background: var(--white); }
.faq__answer p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }

/* ── FINAL CTA ───────────────────────────────────── */
.final-cta { background: var(--orange); padding: 72px 0; text-align: center; }
.final-cta__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final-cta h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--white); max-width: 560px; line-height: 1.2; }
.final-cta p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 480px; }

/* ── FOOTER ──────────────────────────────────────── */
.footer { background: var(--navy-dark); padding: 24px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer__brand { font-size: 18px; font-weight: 900; color: var(--white); }
.footer__text { font-size: 12px; color: rgba(255,255,255,.45); }

/* ── RESPONSIVE: tablet ──────────────────────────── */
@media (min-width: 640px) {
  .benefits__grid { grid-template-columns: repeat(3, 1fr); }
  .how__steps { flex-direction: row; align-items: flex-start; }
  .how__step { flex: 1; }
  .how__step-arrow { transform: none; padding: 28px 0; align-self: flex-start; margin-top: 26px; }
  .trust-strip__inner { gap: 8px 40px; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card--featured { grid-column: span 2; }
}

/* ── RESPONSIVE: desktop ─────────────────────────── */
@media (min-width: 900px) {
  .story__inner { flex-direction: row; gap: 60px; align-items: center; }
  .story__photo-wrap { flex: 0 0 480px; }
  .form-section__inner { flex-direction: row; gap: 60px; align-items: flex-start; }
  .form-section__copy { flex: 1; padding-top: 8px; }
  .form-section__form-wrap { flex: 0 0 440px; }
  .testimonials__grid { grid-template-columns: 1fr 1.2fr 1fr; }
  .testimonial-card--featured { grid-column: auto; min-height: 380px; }
  .hero__ctas { flex-direction: row; align-items: center; }
  .hero__video-wrap { max-width: 720px; }
}

/* ── HERO VIDEO INTRO ─────────────────────────────── */
.hero__video-wrap {
  width: 100%;
  max-width: 640px;
  margin: 32px auto 0;
}
.hero__video {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
  border: 2px solid rgba(255,255,255,.12);
}
