@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap');

* {
  box-sizing: border-box
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06)
}

.logo {
  display: flex;
  align-items: center;
  gap: 50px
}

.logo img {
  height: 90px
}

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

.nav a {
  background: #2f2f2f;
  color: #fff;
  padding: 10px 18px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 600
}

.nav a.contact {
  background: linear-gradient(90deg, #49bfc0, #0a6f9c);
  padding: 12px 22px
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  height: 420px;
  background-image: url('assets/BG 01_Página de inicio.jpg');
  background-size: cover;
  background-position: center
}

.hero .carousel {
  width: 85%;
height: 400px;
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
  justify-content: center
}

.slide.active {
  opacity: 1
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px
}

.carousel .dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cfcfcf;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15)
}

.dot.active {
 background: #2b9fb0
}

.carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
  color: #666;
  cursor: pointer;
  user-select: none
}

.carousel .arrow.left {
  left: 18px
}

.carousel .arrow.right {
  right: 18px
}
/*LINEA SEPARADORA 1*/
.linea-separadora {
  height: 8px;
  background-color: #7a7a7a;
  margin: 40px 0;
}

/*LINEA SEPRADORA 2*/
.linea-separadora {
  height: 8px;
  background-color: #7a7a7a;
  margin: 40px 0;
}

/* Products */
.products {
  padding: 50px 0;
  background: transparent
}

.products .grid {
  display: flex;
  gap: 28px;
  justify-content: center
}

.card {
  width: 260px;
  background: linear-gradient(90deg, #49bfc0, #0a6f9c);
  border-radius: 14px;
  padding: 16px;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.15)
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
  padding: 6px
}

.card h4 {
  margin: 12px 0 8px;
  font-weight: 700
}

.btn-small {
  display: inline-block;
  background: #fff;000000
  color: #0a6f9c;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 8px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12)
}



.full-banner img {
  width: 100%;          /* la imagen ocupa el ancho completo */
  height: auto;         /* mantiene la proporción original */
  display: block;       /* elimina espacios en blanco debajo */
}

/* Nosotros section */
.nosotros {
  display: flex;
  gap: 28px;
  padding: 42px;
  align-items: center;
  background-size: cover
}

.nosotros .text {
  flex: 1;
  background: rgba(255, 255, 255, 0.92);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08)
}

.nosotros img {
  width: 360px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.08)
}

/* Form */
.form-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px;
  /*background: linear-gradient(90deg, #49bfc0, #0a6f9c);*/
}

.form-box {
  background: linear-gradient(90deg, #49bfc0, #0a6f9c);
  padding: 22px;
  border-radius: 12px;
  width: 78%;
  max-width: 900px;
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.2)
}

.form-box input,
.form-box select {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 8px;
  border: 0;
  outline: none
}

.submit-btn {
  background: #fff;
 /* color: #0a6f9c;*/
  padding: 12px 22px;
  border-radius: 12px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18)
}

/* Gallery carousel */
.gallery {
  padding: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px
}

.gallery img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

/* Footer */
.footer {
  background-image: url('assets/footer\ -06.jpg');
  background: size 150;px;
  color: #fff;
  padding: 46px 20px
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto
}

.footer .logo img {
  height:175px
}

.copyright {
  background: #fff;
  color: #333;
  padding: 14px;
  text-align: center
}

/* Responsive */
@media(max-width:900px) {
  .header {
    padding: 10px
  }

  .hero {
    height: 300px
  }

  .hero .carousel {
    height: 220px;
    width: 92%
  }

  .nosotros {
    flex-direction: column
  }

  .nosotros img {
    width: 100%;
    height: auto
  }

  .card {
    width: 40%
  }

  .form-box {
    width: 94%
  }

  .gallery img {
    width: 45%
  }
}

/*.banner10años{
 /* width: 100%;          /* la imagen ocupa el ancho completo */
  height: auto;         /* mantiene la proporción original */
  display: block;       /* elimina espacios en blanco debajo */
  }

/*PAGINA NOSOTROS*/



.texto-nosotros {
  background-color: #f9f9f9; /* fondo gris claro */
  text-align: center;
  padding: 60px 20px;
  font-family: 'Inter', sans-serif;
  color: #333;
}


.seccion-mision {
  background-color: #f9f9f9; /* fondo gris claro */
  text-align: center;
  padding: 60px 20px;
  font-family: 'Inter', sans-serif;
  color: #333;
}

.seccion-vision {
  background-color: #ffffff; /* fondo blanco para diferenciar de Misión */
  text-align: center;
  padding: 60px 20px;
  font-family: 'Inter', sans-serif;
  color: #333;
  }

  .seccion-creciendo {
 background-image: url(assets/BG\ 01_Página\ de\ inicio.jpg);
  width: 100%;
  text-align: center;
  padding: 60px 20px;
  font-family: 'Inter', sans-serif;
  color: #333;
}

/*PAGINA CRÉDITOS*/

.seccion-creditos-bg {
  background-image: url('assets/fondo\ créditos_CREDITOS.jpg'); /* tu imagen de fondo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  text-align: center;
  color: rgb(26, 26, 26);
  position: relative;
}

/* Fondo semitransparente */
.seccion-creditos-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 /* background-color: rgba(0,0,0,0.5); /* capa oscura sobre la imagen */
  z-index: 1;
}

.contenido-creditos-bg {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.contenido-creditos-bg h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.contenido-creditos-bg p {
  font-size: 1.2rem;
  line-height: 1.6;
}
/* Contenedor general de cada sección */


.seccion-credito {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 40px;
  font-family: 'Inter', sans-serif;
  color: #333;
}

/* Imagen de la sección */
.credito-imagen img {
  width: 400px; /* tamaño de la imagen */
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Texto de la sección */
.credito-texto {
  max-width: 600px;
}

/* Botón con degradado azul */
.boton-credito {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(90deg, #49bfc0, #0a6f9c);

  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s;
}

.boton-credito:hover {
  transform: scale(1.05);
}

/* Alineación de Con en ti (texto a la derecha, imagen a la izquierda) */
.con-en-ti {
  flex-direction: row;
  text-align: left;
}

/* Alineación de Nom Con (texto a la izquierda, imagen a la derecha) */
.nom-con {
  flex-direction: row-reverse;
  text-align: left;
}

/* Responsive: apilar en móviles */
@media (max-width: 768px) {
  .seccion-credito {
    flex-direction: column !important;
    text-align: center !important;
  }

  .credito-imagen img {
    width: 80%;
    margin-bottom: 20px;
  }
}

/* APC: imagen a la izquierda, texto a la derecha */
.apc {
  flex-direction: row;
  text-align: left;
}

/* Para Pen: texto a la izquierda, imagen a la derecha */
.para-pen {
  flex-direction: row-reverse;
  text-align: left;
}

/* El resto del CSS (flex, botones, responsive) se mantiene igual */

/* Sección Plus */
.plus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  flex-wrap: wrap;
  text-align: left; /* texto alineado a la derecha */
}

.plus .credito-imagen img {
  width: 450px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.plus .credito-texto {
  max-width: 500px;
}

.plus h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #003366;
}

.plus p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333;
}

/* Botón degradado azul (ya lo tienes, pero lo repito por claridad) */
.boton-credito {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(90deg, #49bfc0, #0a6f9c);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s;
}

.boton-credito:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .plus {
    flex-direction: column;
    text-align: center;
  }

  .plus .credito-imagen img {
    width: 90%;
  }
}



.seccion-creditos-grupales {
  background-image:url(assets/fondo\ créditos_CREDITOS.jpg);
  text-align: center;         /* centra título y párrafo */
  padding: 60px 20px;         /* espacio alrededor */
  font-family: 'Inter', sans-serif;
  color: #333;
}


/* Mujer Confía: texto a la izquierda, imagen a la derecha */
.mujer-confia {
  flex-direction: row-reverse; /* imagen derecha, texto izquierda */
  text-align: left;
}

.seccion-requisitos {
background-image: url(assets/BG\ 01_Página\ de\ inicio.jpg);
  text-align: center;
  padding: 60px 20px;
  font-family: 'Inter', sans-serif;
  color: #333;
}

.seccion-requisitos h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

/* Contenedor de requisitos vertical */
.requisitos-container {
  display: flex;
  flex-direction: column; /* apilar uno debajo del otro */
  align-items: center;    /* centrar horizontalmente */
  gap: 20px;
  margin-bottom: 40px;
}

/* Cada bloque de requisito */
.requisito {
  background-color: #FFBF31; /* amarillo */
  padding: 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px; /* ancho máximo para lectura cómoda */
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Botón degradado azul */
.seccion-requisitos .boton-credito {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(90deg, #49bfc0, #0a6f9c);
 
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s;
}

.seccion-requisitos .boton-credito:hover {
  transform: scale(1.05);
}

/* Responsive: se mantiene centrado */
@media (max-width: 768px) {
  .requisito {
    max-width: 90%;
  }
}


/*EMPEÑOS*/

.seccion-empenos {
  background-image: url('assets/fondo\ créditos_CREDITOS.jpg'); /* tu imagen de fondo */
  background-size: cover;       /* cubre toda la sección */
  background-position: center;  /* centra la imagen */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;          /* centra verticalmente */
  justify-content: center;      /* centra horizontalmente */
  height: 500px;                /* altura de la sección */
  text-align: center;
  color: rgb(29, 29, 29);                 /* color del texto */
  position: relative;
}

/* Fondo semitransparente para mejorar lectura */
.seccion-empenos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 1;
}

.contenido-empenos {
  position: relative;
  z-index: 2; /* coloca el contenido sobre la capa oscura */
  max-width: 800px;
  padding: 20px;
}

.contenido-empenos h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.contenido-empenos p {
  font-size: 1.2rem;
  line-height: 1.6;
}


/* === SECCIONES DE EMPEÑO === */
.seccion-empeno {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
}

/* Imagen del empeño */
.empeno-imagen img {
  width: 350px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Texto del empeño */
.empeno-texto {
  max-width: 500px;
}

/* Títulos y párrafos */
.empeno-texto h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #343638;
}

.empeno-texto p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.6;
}

/* Botón degradado azul */
.boton-empeno {
  display: inline-block;
  padding: 12px 25px;
   background: linear-gradient(90deg, #49bfc0, #0a6f9c);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.boton-empeno:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* === ALINEACIONES ALTERNADAS === */
.emp1 {
 

  flex-direction: row;         /* Imagen izquierda, texto derecha */
  text-align: left;
}

.emp2 {
  flex-direction: row-reverse; /* Imagen derecha, texto izquierda */
  text-align: left;
}

.emp3 {
  flex-direction: row;         /* Imagen izquierda, texto derecha */
  text-align: left;
}

.emp4 {
  flex-direction: row-reverse; /* Imagen derecha, texto izquierda */
  text-align: left;
}


.seccion-simulador {
  text-align: center;
  padding: 60px 20px;
  font-family: 'Inter', sans-serif;
  color: #333;
  background-color: #f9f9f9;
}

.seccion-simulador h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.seccion-simulador p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* Contenedor de tarjetas */
.tarjetas-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Tarjeta individual */
.tarjeta {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  width: 200px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}

.tarjeta img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.tarjeta h3 {
  font-size: 1.2rem;
  margin: 0;
}

/* Tarjeta seleccionada */
.tarjeta.seleccionada {
  border-color: #1E90FF;
  box-shadow: 0 6px 12px rgba(0,0,255,0.3);
  transform: scale(1.05);
}

/* Botón siguiente */
.boton-siguiente {
  display: inline-block;
  padding: 12px 30px;
   background: linear-gradient(90deg, #49bfc0, #0a6f9c);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
}

.boton-siguiente:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .tarjetas-container {
    flex-direction: column;
    align-items: center;
  }

  .tarjeta {
    width: 80%;
  }
}


/* === LÍNEA DIVISORIA GRIS === */
.separador {
  border: none;
  height: 2px;
  background-color: #cccccc;
  margin: 40px 0;
}

/* === RESPONSIVE (móviles y tablets) === */
@media (max-width: 768px) {
  .seccion-empeno {
    flex-direction: column;
    text-align: center;
  }

  .empeno-imagen img {
    width: 90%;
  }

  .empeno-texto {
    max-width: 90%;
  }
}









/*SECCION SUCURSALES*/
.linea-separadora1 {
  height: 8px;
  background-color: #7a7a7a;
  margin: 40px 0;
}

.linea-separadora {
  height: 8px;
  background-color: #7a7a7a;
  margin: 40px 0;
}

/*SECCION CONTACTO*/
.linea-separadora {
  height: 8px;
  background-color: #7a7a7a;
  margin: 40px 0;
}




/* ===============================
   CONTENEDOR GENERAL
================================ */
.seccion-simulador {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.seccion-simulador h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.seccion-simulador p {
  color: #555;
  margin-bottom: 24px;
}

/* ===============================
   TARJETAS MATERIAL (PASO 1)
================================ */
.tarjetas-container {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 30px;
}

.tarjeta {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  width: 260px;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.tarjeta img {
  width: 100%;
  border-radius: 12px;
}

.tarjeta h3 {
  margin-top: 12px;
  font-size: 1.2rem;
}

.tarjeta:hover {
  transform: translateY(-4px);
}

.tarjeta.seleccionada {
  border: 3px solid #1e5bd9;
  transform: translateY(-6px);
}

/* ===============================
   GRID DE PASOS
================================ */
.simulador-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  justify-items: center;
  margin-top: 32px;
}

/* ===============================
   TARJETAS ILUSTRATIVAS
================================ */
.tarjeta.ilustrativa {
  cursor: default;
  pointer-events: none;
  max-width: 260px;
}

/* ===============================
   INPUTS COMO TARJETA
================================ */
.simulador-derecha select,
.simulador-derecha input {
  width: 260px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #ddd;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  outline: none;
}

.simulador-derecha select:focus,
.simulador-derecha input:focus {
  border-color: #4fc3c7;
}

/* ===============================
   BOTÓN SIGUIENTE
================================ */
.boton-siguiente {
  margin: 36px auto 0;
  padding: 14px 32px;
  background: linear-gradient(135deg, #4fc3c7,#004A80 );
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}

.boton-siguiente:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* ===============================
   TARJETA RESULTADO
================================ */
.tarjeta-resultado {
  background: linear-gradient(135deg, #4fc3c7, #004A80);
  color: #fff;
  padding: 28px 24px;
  border-radius: 18px;
  max-width: 300px;
  width: 100%;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.tarjeta-resultado h3 {
  font-size: 1.1rem;
  opacity: .9;
}

.tarjeta-resultado .monto {
  font-size: 2.2rem;
  font-weight: bold;
  margin: 8px 0 0;
}

/* ===============================
   AVISO LEGAL
================================ */
.aviso-legal {
  font-size: 12px !important;
  color: rgb(26, 25, 25) !important;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .tarjetas-container {
    flex-direction: column;
    gap: 24px;
  }

  .simulador-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tarjeta,
  .tarjeta.ilustrativa,
  .tarjeta-resultado {
    max-width: 100%;
  }
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.footer a:hover {
  text-decoration: underline;
  opacity: 0.8;
}