/* ============ TOKENS ============ */
:root {
  --navy-900: #001c40;
  --navy-800: #00274f;
  --navy-700: #003a71;
  --navy-600: #004a8c;
  --blue-500: #0d5fb8;
  --cyan-500: #29abe1;
  --cyan-400: #4fc3e8;
  --grad-start: #1a48c3;
  --grad-end: #34c1e0;
  --gold: #f6cd39;
  --gold-dark: #e0b62a;
  --orange: #e8a162;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #eef1f5;
  --gray-300: #d7dee6;
  --gray-500: #8a97a6;
  --text-dark: #16233a;

  --font-display: 'Poppins', 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --container-width: 1180px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
}

p { margin: 0; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

ul { list-style: none; margin: 0; padding: 0; }

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(45deg,rgba(27, 72, 196, 1) 0%, rgba(53, 168, 224, 1) 50%);
  color: var(--white);
  width: 70%;
  box-shadow: 0 10px 24px rgba(0, 58, 113, 0.35);
}

.btn-white {
  background: var(--white);
  color: var(--navy-700);
  box-shadow: 0 10px 20px rgba(0, 20, 50, 0.18);

}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-outline {
  background: var(--navy-700);
  color: var(--white);
  padding: 12px 20px;
  font-size: 0.82rem;
  border-radius: 8px;
}

/* ============ LOGO ============ */
.logo, .footer-logo, .trust-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--cyan-400), var(--blue-500));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.logo-badge.dark { background: linear-gradient(160deg, var(--cyan-400), var(--navy-700)); }

.logo-dollar { color: var(--gold); }

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--cyan-400);
  margin-top: 2px;
}
.logo-s { color: var(--gold); }

.trust-logo-text { display: flex; flex-direction: column; }
.logo-text-dark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--navy-700);
}
.logo-s-dark { color: var(--orange); }
.trust-logo-text small {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  font-weight: 700;
  margin-top: 2px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding-bottom: 10px;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px 0;
  position: relative;
}

.topbar { margin-bottom: 10px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 6px;
}
.hero-copy h1 .accent { color: var(--cyan-400); display: inline-block; }

.hero-sub {
  color: #cfe0f5;
  font-size: 0.98rem;
  margin: 14px 0 24px;
  max-width: 440px;
  line-height: 1.5;
}

.signup-form {
  background: transparent;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.signup-form label {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 10px;
}

.signup-form input {
  padding: 14px 16px;
  border-radius: 8px;
  border: none;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  outline: none;
}
.signup-form input::placeholder { color: #9aa7b6; }
.signup-form input:focus { box-shadow: 0 0 0 3px rgba(41, 171, 225, 0.6); }

.signup-form .btn-primary { margin-top: 18px; }

.fine-print {
  color: #a9bcd4;
  font-size: 0.7rem;
  margin-top: 8px;
}

.hero-media { position: relative; display: flex; justify-content: left; }
.hero-woman {
  height: 45%;
  max-height: 400px;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
}

/* ---- hero bottom (cyan band: login + needs card) ---- */
.hero-bottom {
  background: var(--cyan-500);
  padding-bottom: 56px;
  position: relative;
}
.hero-bottom-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}
.login-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 16px;
}
.login-block span {
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.login-block .btn-white { padding: 14px 40px; width: 70%;}

/* ---- needs card ---- */
.needs-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  max-width: 450px;
  margin-top: -130px;
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 50px rgba(0, 30, 70, 0.25);
}
.needs-card h2 {
  color: #0049cc;
  font-size: 2.5rem;
}
.needs-card h2 span {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0049cc;
  margin-top: 4px;
}
.needs-list { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.needs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}
.needs-list img { width: 22px; height: 22px; flex-shrink: 0; }

/* La copia móvil se activa únicamente dentro del breakpoint responsive. */
.needs-card--mobile,
.hero-visual-group--mobile { display: none; }

/* ============ HOW IT WORKS ============ */
.how-it-works {
  padding: 70px 0 60px;
  background: var(--white);
}
.section-title {
  text-align: center;
  color: var(--navy-700);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 44px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(20, 40, 80, 0.06);
}
.step-icon {
  display: inline-flex;
  width: 100px;
  height:100px;
  margin-bottom: 16px;
}
.step-icon svg { width: 100%; height: 100%; }
.step-card p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-dark);
}
.step-card strong { color: var(--navy-700); }
.accent-text { color: var(--blue-500); }

.mascot-row {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 36px;
  align-items: center;
  justify-content: center;
}
.mascot-media {
  width: 100%;
  
}
.mascot-media img { width: 100%; }

.benefits-list { display: flex; flex-direction: column; gap: 14px; }
.benefits-list li {
  font-size: 2.05rem;
  color: var(--navy-700);
  display: flex;
  align-items: center;
  gap: 10px;
}
.benefits-list .arrow { color: var(--blue-500); font-weight: 700; }
.benefits-list strong { font-weight: 800; }

/* ============ PROMO BANNER ============ */
.promo-banner {
  background: linear-gradient(100deg, var(--grad-start) 0%, var(--grad-end) 100%);
  padding: 56px 0;
  text-align: center;
  justify-content: center;
}
.promo-inner img {width: 100%;}

.promo-banner .btn-white {color:0049cc; font-size: 1.5rem; font-weight: 800; width: 420px; } 

.promo-banner .btn-white span {color: #f2c138; padding:0 0 0 10px;}

/* ============ TRUST ============ */
.trust { padding: 70px 0; background: var(--white); }
.trust-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}
.trust-logo { align-items: center; }
.trust-copy h2 {
  color: var(--navy-700);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 18px;
}
.trust-copy p {
  color: #4a5568;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ============ STATS ============ */
.stats {
  position: relative;
  background-image: url(img_home/resumido_fondo.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--gray-50);
  display: flex;
  padding: 60px 0;
  overflow: hidden;
}
.stats-watermark {

  position: absolute;
  
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stats-icon {
  width: 150px;
  height: 150px;
  min-width: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.stats-icon svg { width: 36px; height: 36px; }
.stats-copy h3 {
  color: var(--navy-700);
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.stats-copy p {
  color: #4a5568;
  font-size: 1.5rem;
  line-height: 1.5;
}

/* ============ LEGAL STRIP ============ */
.legal-strip {
  background: var(--gray-100);
  padding: 26px 0;
}
.legal-strip-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.legal-link {
  font-size: 0.82rem;
  color: #445064;
  flex: 1 1 220px;
}
.legal-link a { color: var(--navy-700); font-weight: 700; text-decoration: underline; }
.legal-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.bcra-banner { width: 260px; border-radius: 6px; flex-shrink: 0; }

/* ============ FINE PRINT ============ */
.fine-print-section {
  padding: 30px 0 20px;
  background: var(--white);
  text-align: center;
}
.fine-print-section p {
  font-size: 0.72rem;
  line-height: 1.6;
  color: #6b7686;
  margin-bottom: 12px;
}
.fine-print-section .cftea {
  font-weight: 800;
  color: var(--navy-700);
  font-size: 2rem;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-900);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-inner p {
  color: #9fb2c9;
  font-size: 0.78rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual-group--desktop { display: none; }
  .hero-visual-group--mobile { display: block; }
  .hero-media { max-width: 180px; margin: 0 auto; }
  .hero-copy,
  .login-block {
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    text-align: center;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
  }
  .hero-copy h1,
  .hero-copy .hero-sub,
  .hero-copy .fine-print,
  .login-block span {
    width: 100%;
    text-align: center;
  }
  .hero-copy .hero-sub {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy .btn-primary,
  .login-block .btn-white {
    width: 70%;
    max-width: 450px;
    min-height: 58px;
    box-sizing: border-box;
  }
  .needs-card--desktop { display: none; }
  .needs-card--mobile {
    display: block;
    width: 70%;
    max-width: 450px;
    box-sizing: border-box;
    margin: 0 auto 24px;
  }
  .hero-bottom-grid { grid-template-columns: 1fr; }
  .login-block { padding-top: 24px; }
  .how-it-works { padding-top: 60px; }
  .steps { grid-template-columns: 1fr; }
  .mascot-row { grid-template-columns: 1fr; text-align: center; }
  .mascot-media { max-width: 220px; margin: 0 auto; }
  .benefits-list {
    width: 100%;
    align-items: stretch;
    text-align: left;
  }
  .benefits-list li {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: clamp(1.25rem, 4vw, 1.7rem);
    line-height: 1.3;
  }
  .benefits-list .arrow {
    flex: 0 0 auto;
  }
  .trust-grid { grid-template-columns: 1fr; text-align: center; }
  .trust-logo { justify-content: center; }
  .stats-inner { flex-direction: column; text-align: center; }
  .legal-strip-inner { justify-content: center; text-align: center; }
  .legal-buttons { justify-content: center; }
}

@media (max-width: 560px) {
  .hero { padding-bottom: 24px; }
  .needs-card { padding: 22px 18px; }
  .needs-card--mobile h2 { font-size: 1.65rem; }
  .needs-card--mobile h2 span { font-size: 1.05rem; }
  .needs-card--mobile .needs-list li { font-size: 0.95rem; }
  .promo-line2 { gap: 8px; }
  .bcra-banner { width: 100%; max-width: 320px; }
}
