:root{
  --primary:#1769c7;
  --primary-dark:#0d3765;
  --primary-soft:#eaf3ff;
  --navy:#0b1f38;
  --navy-2:#102d50;
  --green:#16a05d;
  --green-soft:#eaf8f0;
  --text:#17243a;
  --muted:#6f7e91;
  --border:#e2e8f0;
  --light:#f5f8fc;
  --white:#ffffff;
  --shadow:0 12px 35px rgba(15,23,42,.08);
  --shadow-lg:0 25px 60px rgba(7,22,44,.15);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
  overflow-x:hidden;
}

a{
  text-decoration:none;
}

button,
input{
  font-family:inherit;
}

/* ==========================================
   NAVBAR
========================================== */

header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:rgba(8,29,52,.96);
  backdrop-filter:blur(14px);
  box-shadow:0 4px 20px rgba(0,0,0,.08);
}

.navbar{
  max-width:1280px;
  margin:auto;
  height:78px;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
}

.logo{
  display:flex;
  align-items:center;
  gap:11px;
  color:white;
  flex-shrink:0;
}

.logo-box{
  width:43px;
  height:43px;
  background:white;
  color:var(--primary-dark);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:17px;
}

.logo-text{
  display:flex;
  flex-direction:column;
}

.logo-text strong{
  font-size:17px;
  line-height:1.1;
}

.logo-text span{
  font-size:8px;
  opacity:.7;
  margin-top:3px;
}

.nav-links{
  display:flex;
  align-items:center;
  list-style:none;
  gap:26px;
}

.nav-links a{
  color:#dce7f4;
  font-size:12px;
  font-weight:500;
  transition:.2s;
}

.nav-links a:hover{
  color:white;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:9px;
}

.btn-banca,
.btn-credito{
  min-height:42px;
  padding:0 16px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:11px;
  font-weight:600;
  transition:.2s;
  white-space:nowrap;
}

.btn-banca{
  background:white;
  color:var(--primary-dark);
}

.btn-credito{
  background:var(--primary);
  color:white;
}

.btn-banca:hover,
.btn-credito:hover{
  transform:translateY(-2px);
}

.menu-toggle{
  display:none;
  width:43px;
  height:43px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.08);
  color:white;
  border-radius:10px;
  font-size:19px;
  cursor:pointer;
}

/* ==========================================
   HERO
========================================== */

.hero{
  padding:150px 24px 80px;
  min-height:690px;
  display:flex;
  align-items:center;
  background:
  radial-gradient(circle at 75% 25%,rgba(60,139,229,.30),transparent 30%),
  linear-gradient(135deg,#071b32,#0d3a69 60%,#145999);
  color:white;
}

.hero-container{
  width:100%;
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
  align-items:center;
  gap:70px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  border-radius:30px;
  font-size:10px;
  margin-bottom:21px;
}

.hero-content h1{
  max-width:680px;
  font-size:58px;
  line-height:1.08;
  letter-spacing:-1.8px;
  margin-bottom:22px;
}

.hero-description{
  max-width:650px;
  color:#d8e4f1;
  font-size:16px;
  line-height:1.8;
  margin-bottom:30px;
}

.hero-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn-primary,
.btn-secondary,
.btn-dark,
.btn-outline{
  min-height:49px;
  padding:0 21px;
  border-radius:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:12px;
  font-weight:600;
  transition:.2s;
}

.btn-primary{
  background:white;
  color:var(--primary-dark);
}

.btn-secondary{
  border:1px solid rgba(255,255,255,.35);
  color:white;
  background:rgba(255,255,255,.07);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-dark:hover,
.btn-outline:hover{
  transform:translateY(-2px);
}

.hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:28px;
}

.hero-trust div{
  display:flex;
  align-items:center;
  gap:7px;
  color:#dce8f4;
  font-size:10px;
}

.hero-trust i{
  color:#4bd28d;
}

.hero-card{
  background:white;
  color:var(--text);
  padding:27px;
  border-radius:22px;
  box-shadow:var(--shadow-lg);
}

.hero-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:22px;
}

.small-title{
  font-size:9px;
  color:var(--primary);
  font-weight:700;
  letter-spacing:1px;
}

.hero-card h3{
  font-size:21px;
  margin-top:3px;
}

.security-icon{
  width:45px;
  height:45px;
  background:var(--primary-soft);
  color:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
}

.feature-item{
  display:flex;
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid #eef2f7;
}

.feature-icon{
  width:39px;
  height:39px;
  border-radius:10px;
  background:#f1f6fc;
  color:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.feature-item strong{
  display:block;
  font-size:12px;
}

.feature-item span{
  display:block;
  margin-top:2px;
  font-size:9px;
  color:var(--muted);
}

.card-login{
  width:100%;
  height:46px;
  background:var(--primary);
  color:white;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:11px;
  font-weight:600;
  margin-top:18px;
}

/* ==========================================
   TRUST
========================================== */

.trust-strip{
  background:white;
  border-bottom:1px solid var(--border);
}

.trust-container{
  max-width:1200px;
  margin:auto;
  padding:28px 24px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.trust-item{
  display:flex;
  align-items:center;
  gap:11px;
}

.trust-icon{
  width:42px;
  height:42px;
  border-radius:11px;
  background:var(--primary-soft);
  color:var(--primary);
  display:flex;
  justify-content:center;
  align-items:center;
  flex-shrink:0;
}

.trust-item strong{
  display:block;
  font-size:11px;
}

.trust-item span{
  display:block;
  font-size:8px;
  color:var(--muted);
  margin-top:2px;
}

/* ==========================================
   SECTIONS
========================================== */

.section{
  padding:90px 24px;
}

.section-heading{
  max-width:700px;
  margin:0 auto 48px;
  text-align:center;
}

.section-heading span,
.eyebrow{
  color:var(--primary);
  font-size:10px;
  font-weight:700;
  letter-spacing:1.4px;
}

.section-heading h2{
  font-size:36px;
  line-height:1.2;
  margin:8px 0 11px;
}

.section-heading p{
  color:var(--muted);
  font-size:12px;
}

/* ==========================================
   SERVICES
========================================== */

.services{
  background:var(--light);
}

.services-grid{
  max-width:900px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}

.service-card{
  background:white;
  padding:30px;
  border:1px solid var(--border);
  border-radius:19px;
  position:relative;
  box-shadow:0 8px 25px rgba(15,23,42,.04);
}

.service-card.featured{
  border-color:#b9d7fa;
}

.service-badge{
  position:absolute;
  top:18px;
  right:18px;
  background:var(--primary-soft);
  color:var(--primary);
  border-radius:20px;
  padding:5px 9px;
  font-size:8px;
  font-weight:700;
}

.service-icon{
  width:50px;
  height:50px;
  border-radius:13px;
  background:var(--primary-soft);
  color:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  margin-bottom:18px;
}

.service-card h3{
  font-size:18px;
}

.service-card > p{
  font-size:11px;
  color:var(--muted);
  margin:9px 0 18px;
  line-height:1.8;
}

.service-card ul{
  list-style:none;
  margin-bottom:21px;
}

.service-card li{
  display:flex;
  gap:8px;
  align-items:center;
  font-size:10px;
  margin:9px 0;
  color:#4b596c;
}

.service-card li i{
  color:var(--green);
}

.service-card > a{
  display:inline-flex;
  gap:7px;
  align-items:center;
  color:var(--primary);
  font-size:10px;
  font-weight:600;
}

/* ==========================================
   SIMULADOR
========================================== */

.simulador{
  background:white;
}

.simulator-layout{
  max-width:1000px;
  margin:auto;
  display:grid;
  grid-template-columns:1.4fr .6fr;
  gap:25px;
}

.sim-box{
  background:white;
  border:1px solid var(--border);
  border-radius:19px;
  padding:28px;
  box-shadow:var(--shadow);
}

.form-group{
  margin-bottom:17px;
}

.form-group label{
  display:block;
  font-size:10px;
  font-weight:600;
  margin-bottom:7px;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
}

.input-money,
.input-wrapper{
  height:47px;
  border:1px solid #dbe3ec;
  border-radius:10px;
  display:flex;
  align-items:center;
  overflow:hidden;
  transition:.2s;
}

.input-money:focus-within,
.input-wrapper:focus-within{
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(23,105,199,.08);
}

.input-money span,
.input-wrapper span{
  padding:0 13px;
  color:#748397;
  font-size:11px;
}

.input-money input,
.input-wrapper input{
  flex:1;
  height:100%;
  min-width:0;
  border:none;
  outline:none;
  font-size:13px;
  padding:0 12px;
}

.simular-btn{
  width:100%;
  height:48px;
  border:none;
  border-radius:10px;
  background:var(--primary);
  color:white;
  font-weight:600;
  cursor:pointer;
  font-size:11px;
}

.resultado-simulador{
  margin-top:19px;
  border-radius:13px;
  background:#f5f9ff;
  border:1px solid #e2ecf9;
  padding:20px;
}

.resultado-vacio{
  min-height:95px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  color:#8795a7;
  text-align:center;
  gap:8px;
}

.resultado-vacio i{
  font-size:22px;
}

.resultado-vacio p{
  font-size:10px;
}

.sim-info{
  background:var(--navy);
  color:white;
  border-radius:19px;
  padding:27px;
}

.sim-info-icon{
  width:45px;
  height:45px;
  border-radius:12px;
  background:rgba(255,255,255,.1);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:19px;
}

.sim-info h3{
  font-size:17px;
}

.sim-info > p{
  color:#c7d4e3;
  font-size:10px;
  line-height:1.8;
  margin:10px 0 20px;
}

.sim-feature{
  display:flex;
  gap:8px;
  align-items:center;
  font-size:10px;
  margin:11px 0;
}

.sim-feature i{
  color:#50d694;
}

.whatsapp-text{
  min-height:43px;
  padding:0 12px;
  margin-top:21px;
  background:#25d366;
  color:white;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:10px;
  font-weight:600;
}

/* ==========================================
   ABOUT
========================================== */

.about{
  background:var(--light);
}

.about-container{
  max-width:1050px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:55px;
  align-items:center;
}

.about-content h2{
  margin:9px 0 15px;
  font-size:34px;
  line-height:1.25;
}

.about-content p{
  color:var(--muted);
  font-size:11px;
  margin:10px 0;
  line-height:1.85;
}

.about-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}

.btn-dark{
  background:var(--navy);
  color:white;
}

.btn-outline{
  color:var(--primary-dark);
  border:1px solid #cdd8e4;
  background:white;
}

.about-panel{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
}

.about-panel > div{
  min-height:130px;
  background:white;
  border:1px solid var(--border);
  border-radius:15px;
  padding:18px;
}

.about-panel i{
  color:var(--primary);
  display:block;
  margin-bottom:16px;
}

.about-panel span{
  display:block;
  color:var(--muted);
  font-size:8px;
}

.about-panel strong{
  display:block;
  margin-top:3px;
  font-size:11px;
}

/* ==========================================
   CTA
========================================== */

.cta{
  padding:60px 24px;
  background:linear-gradient(135deg,#1769c7,#0e4d8d);
  color:white;
}

.cta-content{
  max-width:1050px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.cta span{
  font-size:8px;
  letter-spacing:1.2px;
  font-weight:600;
  opacity:.8;
}

.cta h2{
  font-size:31px;
  margin:5px 0;
}

.cta p{
  font-size:11px;
  opacity:.85;
}

.cta-button{
  min-width:205px;
  height:49px;
  padding:0 18px;
  border-radius:11px;
  background:#25d366;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:11px;
  font-weight:600;
}

/* ==========================================
   FOOTER
========================================== */

.footer{
  background:#07182b;
  color:#d8e3ed;
}

.footer-container{
  max-width:1150px;
  margin:auto;
  padding:58px 24px 40px;
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.4fr;
  gap:35px;
}

.footer-logo{
  width:43px;
  height:43px;
  background:white;
  color:var(--primary-dark);
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  margin-bottom:13px;
}

.footer-brand h3{
  color:white;
  font-size:17px;
}

.footer-brand p{
  max-width:260px;
  color:#91a3b6;
  font-size:9px;
  margin-top:8px;
  line-height:1.8;
}

.footer-column h4{
  color:white;
  font-size:11px;
  margin-bottom:14px;
}

.footer-column a,
.footer-column p{
  display:block;
  color:#92a5b8;
  font-size:9px;
  margin:8px 0;
  line-height:1.7;
}

.footer-column a:hover{
  color:white;
}

.footer-column i{
  margin-right:6px;
}

.footer-bottom{
  max-width:1150px;
  margin:auto;
  border-top:1px solid rgba(255,255,255,.08);
  padding:20px 24px;
  color:#778da3;
  font-size:8px;
  display:flex;
  justify-content:space-between;
  gap:20px;
}

/* ==========================================
   WHATSAPP
========================================== */

.whatsapp{
  position:fixed;
  right:22px;
  bottom:22px;
  width:55px;
  height:55px;
  border-radius:50%;
  background:#25d366;
  color:white;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:24px;
  box-shadow:0 12px 25px rgba(0,0,0,.2);
  z-index:900;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1050px){

  .nav-links{
    display:none;
  }

  .hero-container{
    gap:35px;
  }

  .hero-content h1{
    font-size:48px;
  }

}

@media(max-width:850px){

  .navbar{
    height:70px;
    padding:0 16px;
  }

  .nav-actions{
    display:none;
  }

  .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .nav-links{
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:#081d34;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:13px 16px 18px;
    gap:0;
    border-top:1px solid rgba(255,255,255,.07);
  }

  .nav-links.show{
    display:flex;
  }

  .nav-links li{
    width:100%;
  }

  .nav-links a{
    display:block;
    width:100%;
    padding:12px 5px;
    border-bottom:1px solid rgba(255,255,255,.06);
  }

  .nav-links::after{
    content:"Banca en línea";
    display:flex;
    justify-content:center;
    align-items:center;
    margin-top:12px;
    height:43px;
    background:white;
    color:var(--primary-dark);
    border-radius:9px;
    font-size:11px;
    font-weight:600;
  }

  .hero{
    padding:120px 18px 60px;
  }

  .hero-container{
    grid-template-columns:1fr;
  }

  .hero-content{
    text-align:center;
  }

  .hero-badge{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-description{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-buttons,
  .hero-trust{
    justify-content:center;
  }

  .hero-card{
    max-width:520px;
    width:100%;
    margin:auto;
  }

  .trust-container{
    grid-template-columns:1fr 1fr;
  }

  .simulator-layout{
    grid-template-columns:1fr;
  }

  .about-container{
    grid-template-columns:1fr;
  }

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

  .footer-container{
    grid-template-columns:1fr 1fr;
  }

}

@media(max-width:600px){

  .logo-text span{
    display:none;
  }

  .hero{
    padding-top:108px;
  }

  .hero-content h1{
    font-size:37px;
    letter-spacing:-1px;
  }

  .hero-description{
    font-size:13px;
  }

  .hero-buttons{
    flex-direction:column;
  }

  .btn-primary,
  .btn-secondary{
    width:100%;
  }

  .hero-trust{
    flex-direction:column;
    align-items:center;
  }

  .hero-card{
    padding:22px;
  }

  .trust-container{
    grid-template-columns:1fr;
    padding:23px 18px;
  }

  .section{
    padding:65px 16px;
  }

  .section-heading{
    margin-bottom:34px;
  }

  .section-heading h2{
    font-size:28px;
  }

  .services-grid{
    grid-template-columns:1fr;
  }

  .service-card{
    padding:24px;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  .sim-box,
  .sim-info{
    padding:21px;
  }

  .about-content h2{
    font-size:28px;
  }

  .about-panel{
    grid-template-columns:1fr 1fr;
  }

  .cta h2{
    font-size:26px;
  }

  .cta-button{
    width:100%;
  }

  .footer-container{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-logo{
    margin-left:auto;
    margin-right:auto;
  }

  .footer-brand p{
    margin-left:auto;
    margin-right:auto;
  }

  .footer-bottom{
    flex-direction:column;
    text-align:center;
  }

}

@media(max-width:390px){

  .hero-content h1{
    font-size:32px;
  }

  .about-panel{
    grid-template-columns:1fr;
  }

}
