@font-face {
  font-family: "SF-PRO";
  src: url(source/typography/SFPRODISPLAYMEDIUM.OTF)
}

@font-face {
  font-family: "SF-REGU";
  src: url(source/typography/SFPRODISPLAYREGULAR.OTF)
}
/* ══════════════════════════════════════════════════════════════════════
   ÍNDICE DE SECCIONES DE ESTE ARCHIVO
   ══════════════════════════════════════════════════════════════════════
   1. GLOBAL — Reset, Header, Menú, Botón WhatsApp   (todos los .html)
   2. INDEX.HTML — Página de inicio
   3. FOOTER — Global (todos los .html)
   4. RESPONSIVE — Tablet y Celular (Global + Index.html)
   5. PRESTAMOS.HTML
   6. INVERTIR.HTML
   7. QUIENES-SOMOS.HTML
   8. SBS.HTML
   ══════════════════════════════════════════════════════════════════════ */

/* ==========================================================================
   1. GLOBAL — Reset, Header, Menú de navegación, Botón WhatsApp
   Usado por: index.html, prestamos.html, invertir.html,
              Quienes-somos.html, sbs.html
   ========================================================================== */

html{
  box-sizing: border-box;
  font-size: 62.5%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

#Lima-Cash #headerLima.fixed-header{
  
}

#headerLima.fixed-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: height .3s;
  
}

#site-logo{
  display: flex;
  align-items: center;
}

#site-logo a {
  text-decoration:none;
  color:inherit;
}

#site-logo img {
  width: 130px;

}

ul li{
  list-style: none;
}

ul li a{
  text-decoration: none;
  font-size: 17px;
  color: #333333;
  font-family: "SF-REGU";
}

.wrapper{
  width: fit-content;
  min-width: 0;
  margin: auto;
  border-radius: 50px;
  background-color:  #ffffff;
  padding: 0 20px;
  display: flex;
  align-items: center;
  
}

#site-logo{
  float: left;
   height: 100%;
   display: flex;
   align-items: center;
}

.nav-links{
  flex:1;
  justify-content: flex-end;
  display: flex;
  align-items: center;
}

.d-flex{
  display: flex;
}

.link-header{
  margin: 0px 8px;
  padding-top: 7px;
}

.link-header a:hover,
.link-header a.active {
  color: #1a7a4a;
  font-weight: 500;
}

#header{
  padding: 12px 0;
  height: 80px;
}

.btn-whatsapp{
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #1a7a4a;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 50px;
  white-space: nowrap;
  margin-left: 12px;
  font-family: "SF-PRO"
}

.btn-whatsapp:hover {
  background-color: #155f39;

}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  z-index: 1100;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  background-color: #1ebd59;
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
    bottom: 16px;
    right: 16px;
  }
}

/* Botón hamburguesa (oculto en escritorio) */
.menu-btn {
  display: none;
  font-size: 26px;
  color: #1a7a4a;
  cursor: pointer;
  margin-left: 12px;
}

/* Menú responsive */
@media (max-width: 900px) {
  .menu-btn {
    display: flex;
    align-items: center;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 999;
  }

  .nav-links nav {
    width: 100%;
  }

  .nav-links .d-flex {
    flex-direction: column;
    width: 100%;
    padding: 10px 20px 20px;
  }

  .nav-links.open {
    max-height: 500px;
  }

  .link-header {
    margin: 10px 0;
    opacity: 0;
    transform: translateX(-16px);
  }

  .nav-links.open .link-header {
    animation: linkFadeIn 0.4s ease forwards;
  }

  .nav-links.open .link-header:nth-child(1) { animation-delay: 0.05s; }
  .nav-links.open .link-header:nth-child(2) { animation-delay: 0.1s; }
  .nav-links.open .link-header:nth-child(3) { animation-delay: 0.15s; }
  .nav-links.open .link-header:nth-child(4) { animation-delay: 0.2s; }
  .nav-links.open .link-header:nth-child(5) { animation-delay: 0.25s; }

  .btn-whatsapp {
    margin: 12px 0 0 0;
    opacity: 0;
    transform: translateX(-16px);
  }

  .nav-links.open .btn-whatsapp {
    animation: linkFadeIn 0.4s ease forwards;
    animation-delay: 0.3s;
  }

  @keyframes linkFadeIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* ==========================================================================
   2. INDEX.HTML — Página de inicio
   Secciones: portada, banner promocional, franja de iconos, imagen
   emprendedor, "por qué confiar en nosotros", testimonios, aliados,
   "visítanos" (esta última también se usa en Quienes-somos.html)
   ========================================================================== */

/* portada */
.portada{
  background-image: url(source/background.jpg);
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
  padding-left: 250px;
}

.portada::before{
  content: '';
  position: absolute;
  top: 0;
  left:0;
  width:100%;
  height:100%;
  background: linear-gradient(
    to right,
    rgba(26, 122, 74, 0.95) 0%,
    rgba(26, 122, 74, 0.6) 50%,
    rgba(26, 122, 74, 0) 100%
  );
  z-index: 1
}


.header_text{
  Text-align: left;
  color: #fbfffb;
  z-index: 2;

} 

h2.no-margin{
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  font-family: "SF-PRO";
}

.description-title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  font-family: "SF-REGU";
}

.btn-whatsappv2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  padding: 14px 28px;
  background-color: rgb(134, 198, 65);
  color: #082008;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  border: none;
  font-family: "SF-PRO";
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsappv2:hover {
  background-color: rgb(162, 223, 162);
  transition: 1.5s;
  color: black;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.6);
}

/* Banner promocional */
.promo-banner {
  position: relative;
  height: 500px;
  background-image: url(source/Paginaweb/2258.jpg);
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 122, 74, 0.55);
  z-index: 1;
}

.promo-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  color: #ffffff;
}

.promo-text {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  font-family: "SF-REGU";
}

.promo-amount {
  display: block;
  font-size: 26px;
  margin-bottom: 20px;
  font-family: "SF-PRO";
}

.btn-contactanos {
  display: inline-block;
  background-color: #8bc34a;
  color: #0a3d24;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 15px;
  font-family: "SF-PRO";
  border-color: white;
}

.btn-contactanos:hover {
  background-color: #79ad3f;
}

/* Franja de iconos */
.icon-strip {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #ffffff;
  padding: 30px 20px;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 30px;
  border-right: 1px solid #1a7a4a;
}

.icon-item:last-child {
  border-right: none;
}

.icon-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.icon-item p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0d2a4d;
  font-family: "SF-PRO";
  line-height: 1.3;
}

/*Imagen*/
.image-enteprenuer12 {
  display: flex;
  justify-content: center;
}
.image-enteprenuer12 img{
  width: 700px;
  height: auto;
}

/* Por qué confiar en nosotros */
.trust-section {
  background-color: #f0f0f0;
  padding: 60px 80px;
}

.trust-title {
  text-align: center;
  color: #1a7a4a;
  font-size: 30px;
  font-family: "SF-PRO";
  margin: 0 0 40px 0;
}

.trust-grid {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 400px;
}

.trust-icon {
  width: 56px;
  height: 56px;
  border: 2px solid #1a7a4a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1a7a4a;
}

.trust-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.trust-text h4 {
  margin: 0 0 8px 0;
  color: #1a7a4a;
  font-size: 20px;
  font-family: "SF-PRO";
}

.trust-text p {
  margin: 0;
  color: #666666;
  font-size: 15px;
  line-height: 1.5;
  font-family: "SF-REGU";
}

/* Testimonios */
.testimonials-section {
  background-color: #eef0f4;
  padding: 60px 80px;
  text-align: center;
}

.testimonials-title {
  color: #0d4d16;
  font-size: 30px;
  font-family: "SF-PRO";
  margin: 0 0 40px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1150px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stars {
  color: #3cf523;
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.testimonial-quote {
  color: #335c38;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px 0;
  font-family: "SF-REGU";
}

.testimonial-name {
  margin: 0 0 4px 0;
  font-weight: 700;
  color: #0d4d0d;
  font-family: "SF-PRO";
}

.testimonial-role {
  margin: 0;
  color: #7a8494;
  font-size: 14px;
  font-family: "SF-REGU";
}

.testimonial-video {
  width: 100%;          /* Toma el ancho del contenedor (.testimonial-card) */
  max-width: 320px;     /* Ancho máximo deseado */
  height: 450px;        /* Altura fija deseada */
  object-fit: cover;    /* Evita que el video se estire o deforme */
  border-radius: 8px;   /* Opcional: bordes redondeados */
}

/* Nuestros aliados */
.allies-section {
  padding: 60px 80px;
  text-align: center;
}

.allies-title {
  color: #1a7a4a;
  font-size: 28px;
  font-family: "SF-PRO";
  margin: 0 0 40px 0;
}

/* Carrusel de infinite-scroll (logos aliados) */
.allies-scroll {
  overflow: hidden;
  width: 100%;
  margin-bottom: 60px;
  /* Difumina los bordes para que el loop no se vea "cortado" */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.allies-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: allies-scroll 25s linear infinite;
}

.allies-scroll:hover .allies-track {
  animation-play-state: paused; /* se detiene al pasar el mouse, opcional */
}

.allies-track img {
  max-height: 70px;
  width: auto;
  flex-shrink: 0;
}

@keyframes allies-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* -50% porque el grupo de logos está duplicado */
}

/* ----@media (prefers-reduced-motion: reduce) {
  .allies-track {
    animation: none;
  }
} */

/*--card--*/

.registered-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px;
}

.registered-title {
  color: #1a7a4a;
  font-size: 24px;
  font-family: "SF-PRO";
  margin: 0 0 24px 0;
}

.registered-logo {
  max-width: 400px;
  height: auto;
  margin-bottom: 24px;
}

.registered-divider {
  border: none;
  border-top: 1px solid #e2e2e2;
  margin: 0 0 16px 0;
}

.registered-resolution {
  color: #333333;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  font-family: "SF-REGU";
}
/* Visítanos (compartido con Quienes-somos.html) */
.visit-section {
  background-color: #f5f5f5;
  padding: 40px 0 0 0;
  text-align: center;
}

.visit-title {
  color: #1a7a4a;
  font-size: 28px;
  font-family: "SF-PRO";
  margin: 0;
  padding-bottom: 30px;
}

.map-container {
  width: 100%;
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   3. FOOTER — Global
   Usado por: index.html, prestamos.html, invertir.html,
              Quienes-somos.html, sbs.html
   ========================================================================== */
.site-footer {
  background-color: #12703f;
  color: #ffffff;
  padding: 60px 80px 0 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand {
  background: linear-gradient(135deg, #1a7a4a, #0d5c33);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
}

.footer-logo img {
  width: 140px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 20px 0;
  font-family: "SF-REGU";
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #12703f;
  text-decoration: none;
}

.footer-social img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.footer-col h5 {
  font-size: 16px;
  font-family: "SF-PRO";
  margin: 0 0 18px 0;
}

.footer-list {
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e4ffe6;
  font-size: 14px;
}

.footer-list li a:hover {
  text-decoration: underline;
}

.chevron {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.footer-schedule-row {
  display: flex;
  gap: 12px;
  font-size: 14px;
  padding: 10px 0;
  font-family: "SF-REGU";
}

.footer-schedule-row .schedule-day {
  font-weight: 700;
  min-width: 70px;
}

.schedule-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0;
}

.footer-legal-name {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 20px;
  color: #d5ead9;
  font-family: "SF-REGU";
}

.claims-book {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ffffff;
  border-radius: 6px;
  padding: 8px 12px;
  width: fit-content;
  margin-top: 14px;
  color: #ffffff;
  text-decoration: none;
}

.claims-book img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
}

.footer-col p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 0 0 12px 0;
  color: #e4ffe6;
  font-family: "SF-REGU";
}

.footer-col p.contact-address {
  align-items: flex-start;
}

.contact-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-logo {
  height: 30px;
}

.footer-bottom-left span,
.footer-bottom-right {
  font-size: 13px;
  color: #e4ffe6;
  font-family: "SF-REGU";
}

/* ==========================================================================
   4. RESPONSIVE — Tablet y Celular
   Ajusta: Header/menú global, footer global y las secciones de
   index.html (portada, banner promocional, iconos, trust, testimonios,
   aliados, visítanos)
   ========================================================================== */

/* ============================
   TABLET (hasta 1024px)
   ============================ */
@media (max-width: 1024px) {
  .portada {
    padding-left: 60px;
  }

  h2.no-margin {
    font-size: 34px;
  }

  .description-title {
    font-size: 20px;
  }

  .trust-section,
  .testimonials-section,
  .allies-section {
    padding: 50px 40px;
  }

  .trust-grid {
    gap: 40px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .image-enteprenuer12 img {
    width: 90%;
    max-width: 700px;
  }

  .site-footer {
    padding: 50px 40px 0 40px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================
   CELULAR (hasta 600px)
   ============================ */
@media (max-width: 600px) {
  #header {
    height: 64px;
  }

  #site-logo img {
    width: 100px;
  }

  .wrapper {
    padding: 0 14px;
    border-radius: 30px;
  }

  .nav-links {
    top: 64px;
  }

  /* Portada */
  .portada {
    height: auto;
    min-height: 480px;
    padding: 100px 24px 40px;
    justify-content: center;
    text-align: center;
  }

  .portada::before {
    background: rgba(26, 122, 74, 0.85);
  }

  .header_text {
    text-align: center;
  }

  h2.no-margin {
    font-size: 26px;
  }

  .description-title {
    font-size: 16px;
  }

  .btn-whatsappv2 {
    font-size: 13px;
    padding: 12px 18px;
    margin: 0 auto;
  }

  /* Banner promocional */
  .promo-banner {
    height: auto;
    padding: 60px 20px;
  }

  .promo-text {
    font-size: 22px;
  }

  .promo-amount {
    font-size: 20px;
  }

  /* Franja de iconos */
  .icon-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .icon-item {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #1a7a4a;
    padding: 14px 0;
  }

  .icon-item:last-child {
    border-bottom: none;
  }

  /* Imagen emprendedor */
  .image-enteprenuer12 img {
    width: 100%;
  }

  /* Por qué confiar en nosotros */
  .trust-section {
    padding: 40px 20px;
  }

  .trust-title {
    font-size: 24px;
  }

  .trust-grid {
    flex-direction: column;
    gap: 30px;
  }

  .trust-item {
    max-width: 100%;
  }

  /* Testimonios */
  .testimonials-section {
    padding: 40px 20px;
  }

  .testimonials-title {
    font-size: 22px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  /* Aliados */
  .allies-section {
    padding: 40px 20px;
  }

  .allies-logos {
    gap: 30px;
  }

  .allies-logos img {
    max-height: 45px;
  }

  .registered-card {
    padding: 24px;
  }

  .registered-logo {
    max-width: 100%;
  }

  /* Visítanos */
  .map-container {
    height: 300px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 20px 0 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   5. PRESTAMOS.HTML
   Secciones: cabecera interna, barra de estadísticas, beneficios del
   préstamo, requisitos, cobertura (mapa)
   ========================================================================== */

/* ===== Cabecera de página interna prestamos ===== */
.page-hero {
  padding: 140px 20px 40px;
  background-color: #ebfff0;
  text-align: center;
}

.page-hero-content h1 {
  font-family: "SF-PRO";
  color: #1c4e07;
  font-size: 36px;
  margin-bottom: 16px;
}

.page-hero-content p {
  font-family: "SF-REGU";
  color: #555;
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto;
}

/* ===== Barra de estadísticas ===== */
.stats-bar {
  background-color: #113801;
  padding: 40px 20px;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  width: 64px;
  height: 64px;
  background-color: #c7e34e;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #12325c;
  margin-bottom: 12px;
}

.stat-number {
  font-family: "SF-PRO";
  color: #ffffff;
  font-size: 20px;
  margin: 0 0 4px;
}

.stat-label {
  font-family: "SF-REGU";
  color: #c7e34e;
  font-size: 14px;
  margin: 0;
}

@media (max-width: 800px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }
}

/* ===== Beneficios para tu préstamo ===== */
.benefits-section {
  position: relative;
  background: url("source/Paginaweb/prestamos.png") center/cover no-repeat;
  padding: 70px 20px;
}

.benefits-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 25, 0.72);
}

.benefits-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.benefits-title {
  font-family: "SF-PRO";
  color: #ffffff;
  font-size: 30px;
  text-align: center;
  margin-bottom: 8px;
}

.benefits-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #c7e34e;
  margin: 16px auto 40px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.benefit-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background-color: #c7e34e;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #12325c;
}

.benefit-text h4 {
  font-family: "SF-PRO";
  color: #ffffff;
  font-size: 18px;
  margin: 4px 0 6px;
}

.benefit-text p {
  font-family: "SF-REGU";
  color: #e6e6e6;
  font-size: 15px;
  margin: 0;
}

.prereq-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-family: "SF-REGU";
  color: #e6e6e6;
  font-size: 15px;
}

.prereq-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.prereq-list i {
  color: #c7e34e;
  font-size: 16px;
  margin-top: 2px;
}

/* ===== Cobertura ===== */
.coverage-section {
  padding: 70px 20px;
  background-color: #ffffff;
}

.coverage-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* --- Mapa + pines --- */
.coverage-map {
  position: relative;   /* ancla para los pines absolutos */
  flex: 1;
  min-width: 0;
}

.coverage-map-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Texto + foto Investors --- */
.coverage-text {
  flex: 1;
  min-width: 0;
}

.coverage-title {
  font-family: "SF-PRO";
  color: #125c22;
  font-size: 32px;
  margin-bottom: 8px;
}

.coverage-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #c7e34e;
  margin-top: 14px;
}

.coverage-desc {
  font-family: "SF-REGU";
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin: 24px 0 30px;
}




/* --- Responsive --- */
@media (max-width: 900px) {
  .coverage-inner {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .coverage-section {
    padding: 40px 20px;
  }

  .coverage-title {
    font-size: 26px;
  }

  .map-pin {
    font-size: 10px;
    padding: 3px 7px;
  }
}

/* ==========================================================================
   6. INVERTIR.HTML
   Secciones: hero de inversión, barra de estadísticas, pasos para
   invertir con garantía hipotecaria
   ========================================================================== */

/* ===== Invertir: Cabecera (hero) ===== */
.invest-hero {
  background-color: #d7ffdd;
  /* 140px top padding clears the fixed header, same trick as .page-hero */
  padding: 160px 20px 70px;
}

.invest-hero-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.invest-hero-text {
  flex: 1;
  min-width: 0;
}

.invest-hero-text h1 {
  font-family: "SF-PRO";
  color: #0d3b1e;
  font-size: 40px;
  line-height: 1.25;
  margin: 0 0 20px;
}

.invest-hero-text h1 .highlight {
  color: #0b6d23;
}

.invest-hero-desc {
  font-family: "SF-REGU";
  color: #333333;
  font-size: 16px;
  margin: 0 0 18px;
}

.invest-checklist {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.invest-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "SF-REGU";
  color: #333333;
  font-size: 15px;
  margin-bottom: 10px;
}

.invest-checklist i {
  color: #1a7a4a;
  font-size: 16px;
}

.invest-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-fill-blue {
  display: inline-block;
  background-color: #287e0e;
  color: #ffffff;
  text-decoration: none;
  font-family: "SF-PRO";
  font-size: 14px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 8px;
}

.btn-fill-blue:hover {
  background-color: #0e4b33;
}

.invest-hero-image {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.invest-hero-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* ===== Invertir: barra de estadísticas ===== */
.invest-stats-bar {
  background-color: #4d9c4d;
  padding: 40px 20px;
}

.invest-stats-grid {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.invest-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.invest-stat-item i {
  font-size: 26px;
  color: #1a7a4a;
  background-color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.invest-stat-number {
  font-family: "SF-PRO";
  color: #ced4d1;
  font-size: 20px;
  margin: 0;
}

.invest-stat-label {
  font-family: "SF-REGU";
  color: #ebebeb;
  font-size: 13px;
  margin: 0;
}

.investment-steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: sans-serif;
  color: #555;
}

.investment-steps h2 {
  text-align: center;
  color: #0b2545; /*Dark B lue title*/
  margin-bottom: 50px;
  font-size: 35px;
  letter-spacing: 0.5px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px; /*Vertical gap, Horizontal gap */
}

/*Flexbox to align icon and text side-by-side */
.step-item {
  display: flex;
  align-items: center; /*Centers items vertically relative to each other */
  gap: 20px; /* Space between icon and text */
}

.step-icon {
  flex-shrink: 0; /*prevents the icon from squishing */
  width: 40px;
  height: 40px;
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  font-family: "SF-PRO";
}

/* ===== Invertir: responsive ===== */
@media (max-width: 900px) {
  .invest-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .invest-checklist li {
    justify-content: center;
  }

  .invest-hero-buttons {
    justify-content: center;
  }

  .steps-grid {
    /* Switch from 2 columns to 1 column */
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .investment-steps h2 {
    font-size: 20px;
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  .invest-hero {
    padding: 120px 20px 40px;
  }

  .invest-hero-text h1 {
    font-size: 28px;
  }

  .invest-stats-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .investment-steps {
    padding: 20px 15px;
  }

  .step-item {
    /* Optional: stack icon above text on very small screens, or keep them aligned side-by-side */
    align-items: flex-start; 
  }

  .step-item p {
    font-size: 13px;
  }
}


/* ==========================================================================
   7. QUIENES-SOMOS.HTML
   Secciones: "quiénes somos" (hero), biografía, misión y visión
   (también usa .visit-section, definida en la sección 2 — INDEX.HTML)
   ========================================================================== */

/*Quienes somos-Who we are*/
.whoweare {
 padding: 100px 0px;
 background-color: rgb(255, 255, 255);
}

.whoweare-content{
  text-align: center;
  font-family: "SF-PRO";
}

.whoweare-content img{
  width: 200px;
  size: 160px;
}



/*Quienes somos-biography*/

.biography {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  padding: 40px 20px;
  margin: 0 auto;
  font-family: "SF-REGU";
}

.biography-first {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1100px;
  margin-bottom: 60px;
  padding: 0 40px;
  box-sizing: border-box;
}

.biography-text {
  position: relative;
  text-align: center;
  flex: 1;
  min-width: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.biography-text::before {
  content: "“";
  position: absolute;
  top: -25px;
  left: 0;
  font-size: 5rem;
  color: #7a92b2;
  font-family: serif;
  line-height: 1;
}

.biography-text::after {
  content: "”";
  position: absolute;
  bottom: -40px;
  right: 0;
  font-size: 5rem;
  color: #7a92b2;
  font-family: serif;
  line-height: 1;
}

.imageg {
  width: 380px;
  max-width: 45%;
  flex-shrink: 0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
  .biography-first {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
  }

  .biography-text {
    text-align: center;
  }

  .imageg {
    width: 100%;
    max-width: 400px;
  }
}

.biography-first p strong, 
.biography-first p span {
  color: #1a73e8;
}

.biography-valor {
  display: flex;
  gap: 30px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.biography-valor > div {
  background-color: #bdf5b8;
  border-radius: 20px;
  padding: 40px;
  flex: 1;
  min-width: 320px;
  max-width: 540px;
  box-sizing: border-box;
  color: #0b2212;
}

.Misión-title,
.Visión-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #051910;
}

.Visión-img {
  width: 25px;
  height: auto;
}

.biography-valor p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1a251c;
  margin: 0;
}

/* ==========================================================================
   8. SBS.HTML
   Secciones: hero, tarjetas (registro SBS), responsive
   ========================================================================== */

/* ===== SBS - Préstamo Libre Disponibilidad ===== */
:root {
  --navy: #17600d;
  --navy-dark: #090c45;
  --text-gray: #4a4a4a;
  --badge-bg: #eef0fb;
  --card-border: #e5e5e5;
}

.sbs-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ---------- HERO SECTION ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content { padding-right: 16px; }

.badge {
  display: inline-block;
  background: var(--badge-bg);
  color: #444;
  font-style: italic;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 44px;
  line-height: 1.15;
  color: var(--navy);
  font-weight: 800;
  margin: 0 0 20px 0;
}

.hero-content p {
  font-size: 17px;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0 0 32px 0;
}

.hero-content p strong { color: #1a1a1a; }

.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-primary:hover { background: var(--navy-dark); }

.hero-image {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- CARDS SECTION ---------- */
.cards {
  display: grid;
  gap: 32px;
  margin-top: 60px;
  justify-items: center;
}

.card {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.card-image {
  position: relative;
  height: 220px;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: fit;
  display: block;
}

.card-logo-img {
  width: 70px
}
.card-logo {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.card-body { padding: 24px 24px 28px; }

.card-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: var(--navy);
  margin: 0 0 16px 0;
}

.card-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-body li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--navy);
}

.card-body li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--navy);
}

/* ---------- SBS RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding-right: 0; order: 2; }
  .hero-image { order: 1; height: 260px; }
  .hero-content h1 { font-size: 32px; }
  .cards { grid-template-columns: 1fr; }
}


/* --- pop up */
.popup {
    display: flex;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);

    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    max-width: 420px;
    width: 90%;
    padding: 15px;
    border-radius: 15px;
}

.popup-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.close {
    position: absolute;
    right: -10px;
    top: -15px;
    width: 35px;
    height: 35px;

    background-color: white;
    color: black;

    border-radius: 50%;
    font-size: 28px;
    line-height: 32px;
    text-align: center;

    cursor: pointer;
    z-index: 10000;
}

/* ---- Popup captura número WhatsApp ---- */
.wa-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.wa-popup.open {
  display: flex;
}
.wa-popup-content {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  width: 90%;
  max-width: 360px;
  position: relative;
  text-align: center;
}
.wa-popup-content h4 {
  margin: 0 0 8px;
  font-size: 20px;
}
.wa-popup-content p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #555;
}
.wa-popup-close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
  color: #888;
}
#waForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#waForm input {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
}
#waForm button {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
#waForm button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.wa-error {
  color: #d33;
  font-size: 13px;
  margin-top: 8px;
}
