@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");


/* FONDO DE TODA LA PÁGINA */
body {
 background: linear-gradient(135deg, #d4f7dc, #ffffff);
   background-size: cover;       /* que cubra todo el body */
  background-position: center;  /* centrado */
  background-repeat: no-repeat; /* no se repita */
  background-attachment: fixed; /* efecto parallax al hacer scroll */
  font-family: Arial, Helvetica, sans-serif;
  padding-top: 15px; /* 30px + 70px */
  margin: 0; /* importante para evitar espacios indeseados */
  font-family: Arial, Helvetica, sans-serif;
}
img, .hero-inner, .container {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CONTENEDOR */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


/* ===== MENÚ ===== */
/* NAVBAR CONTROLADO */

/* ===== NAVBAR ===== */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
   background: linear-gradient(135deg, #d4f7dc, #ffffff);
  z-index: 999;
  transition: box-shadow 0.3s ease;
}
.menu.scrolled {
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* EFECTO AL PASAR EL MOUSE EN TODA LA BARRA */
.menu:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* CONTENIDO CENTRADO */
.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

/* LOGO */
.logo {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* ICONO MENU (MÓVIL) */
.menu-icono {
  width: 25px;
  cursor: pointer;
  display: none;
}

/* NAVBAR LISTA */
.navbar ul {
  display: flex;
  gap: 25px; /* mejor que margin */
  list-style: none;
  align-items: center;
}

/* LINKS */
.navbar ul li a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: normal;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 5px 0;
  transition: color 0.3s ease;
}

/* LÍNEA ANIMADA */
.navbar ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: #4caf7a; /* verde */
  transition: width 0.3s ease;
}

/* HOVER */
.navbar ul li a:hover {
  color: #4caf7a;
}

.navbar ul li a:hover::after {
  width: 100%;
}

/* LINK ACTIVO */
.navbar ul li a.active {
  color: #4caf7a;
}

.navbar ul li a.active::after {
  width: 100%;
}

.social-nav {
  display: flex;
  align-items: center; /* Centra verticalmente el contenido */
  padding-left: 10px; /* Opcional: espacio antes del icono */
}
.social-nav a {
  display: flex;
  align-items: center;
}

.social-nav img {
  width: 15px;
  height: 15px;
  opacity: 0.7;
  display: block; /* para evitar espacios extra si fuera imagen inline */
  margin-top: 0;
}

.social-nav img:hover {
  opacity: 1;
}

.footer {
  background-color: #4caf50;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
}


.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: 160px repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}


.footer-top .logo-3 {
  width: 140px;
}


.footer .links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
}


.footer .links img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}


.footer .links ul {
  padding: 0;
  margin: 0;
}

.footer .links li {
  list-style: none;
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  padding: 12px 10px;
  font-size: 12px;
  background-color: #43a047;
}

.hero-logo {
  display: none;
}

/* =========================
   CONTENEDOR MÁS ANCHO
========================= */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================
   SECCIÓN
========================= */
.nosotros {
    padding: 80px 0;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
}

/* =========================
   TITULOS
========================= */
.nosotros-heading {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: #1e293b;
}

.nosotros-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #64748b;
}

/* =========================
   LAYOUT PRINCIPAL
========================= */
.content-pro {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

@media (max-width: 768px) {

    .content-pro {
        flex-direction: column;
    }

    .container-wide {
        padding: 0 20px;
    }

    .nosotros-heading {
        font-size: 24px;
    }

}
@media (max-width: 500px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top .logo-2 {
    margin-bottom: 10px;
  }
}



.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
  z-index: 999;
}

.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 20px;
}

.logo {
  height: 60px;
}

/* MENU PC */
.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CONTENEDOR */
.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
    position: relative;
}

/* LOGO */
.logo {
    width: 120px;
}

/* ICONO */
.menu-icono {
    width: 45px;
    height: 45px;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

/* líneas */
.menu-icono span {
    height: 3px;
    width: 28px;
    background: #1e293b;
    border-radius: 5px;
}

/* NAV DESKTOP */
.navbar ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.navbar a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: 0.3s;
}

/* SOCIAL */
.social-nav img {
    width: 20px;
}

#menu-toggle {
    display: none;
}

/* 📱 MOBILE */
@media (max-width: 768px) {

    /* mostrar hamburguesa */
    .menu-icono {
        display: flex;
        cursor: pointer;
        z-index: 1001;
    }

    /* menú oculto por defecto */
    .navbar {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 50%;
        height: auto;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
        transition: 0.4s ease;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        border-radius: 12px 0 0 12px;
        
    }

    /* menú abierto (JS agrega esta clase) */
    .navbar.active {
        right: 0;
    }

    /* lista vertical */
    .navbar ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* separadores */
    .navbar li {
        border-bottom: 1px solid #e2e8f0;
    }

    /* links estilo app */
    .navbar a {
        display: block;
        padding: 16px 28px;
        font-size: 16px;
        text-decoration: none;
        color: #1e293b;
        line-height: 1.9;
    }

    /* efecto toque */
    .navbar a:active {
        background: #e0f2fe;
    }
}




.team-pro {
  padding: 80px 20px;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);

padding-bottom: 15px;
}

.section-title {
  text-align: center;
 font-size: 30px;
  font-weight: 900;
  color: #1f3d2b;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 0px;
}


.bank-intro {
  max-width: 800px;
  margin: 0 auto 20px auto;
 
  padding: 10px 20px;
}

.bank-intro h2 {
  font-size: 22px;
  color: #1f3d2b;
  margin-bottom: 10px;
margin-top: 20px;
}

.bank-intro p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}





/* GRID CENTRADO COMO TU IMAGEN */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 260px); /* 🔥 ancho fijo */
  justify-content: center; /* 🔥 centra las cards */
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 30px;
}

/* CARD PEQUEÑA */
.card-item {
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #e5e7eb;
}

/* TEXTO */
.card-item p {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 20px;
}

/* BOTÓN VERDE */
.btn {
  display: inline-block;
  background: #4CAF50;
  color: white;
  padding: 10px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
}

.btn:hover {
  background: #43a047;
}



.memoria-anual {
  padding: 80px 20px;
  background: linear-gradient(135deg, #d4f7dc, #ffffff);
}

.memoria-container {
  max-width: 600px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
}

/* Imagen */
.memoria-img {
  flex: 1;
}

.memoria-img img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Texto */
.memoria-content {
  flex: 1;
}

.memoria-content h2 {
  font-size: 28px;
  color: #1f3d2b;
  margin-bottom: 15px;
  font-family: "Poppins", sans-serif;
}

.memoria-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
  font-family: "Poppins", sans-serif;
}

/* Botón */
.btn-ver {
  display: inline-block;
  padding: 10px 28px;
  background: #4caf50;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  transition: 0.3s;
}

.btn-ver:hover {
  background: #3e8e41;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .memoria-container {
    flex-direction: column;
    text-align: center;
  }

  .memoria-content {
    text-align: center;
  }
}


@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 260px);
  }
}

/* CELULAR */
@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr; /* 🔥 una sola columna */
    justify-content: center;
  }

  .card-item {
    width: 90%;
    margin: 0 auto; /* centrar */
  }
}



@media (max-width: 768px) {

  .memoria-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .memoria-content {
    text-align: center;
  }

  .memoria-content h2 {
    font-size: 22px;
  }

  .memoria-content p {
    font-size: 14px;
  }

  /* imagen en celular */
  .memoria-img {
    width: 100%;
    height: 250px;
  }

  .memoria-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }

  /* botón centrado */
  .btn-ver {
    display: inline-block;
    margin-top: 10px;
  }
}