body {
  font-family: Arial, sans-serif;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  /* simulamos que está dentro del container */
  display: flex;
  justify-content: center;
    border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

/* Establece un ancho igual al container */
.nav-container {
  max-width: 1200px;
  width: 100%;
  padding: 1rem 1.5rem;
}

.subtitulo {
    color: #000;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.1;
}

 /* Contenedor que centra horizontalmente el nav */
    header > .nav-container {
      display: flex;
      justify-content: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 1rem 0;
    }

    /* El ul nav en fila horizontal */
    ul.nav.align-items-center {
      display: flex;
      align-items: center;
      padding-left: 0;
      margin-bottom: 0;
      list-style: none;
    }

    /* Logo como item, sin margen derecha */
    .nav-logo {
      padding: 0;
      margin-right: 5px;
      display: flex;
      align-items: center;
    }
    .nav-logo img {
      height: 40px;
      display: block;
    }

    /* Separación pequeña entre items */
    ul.nav.align-items-center > li {
      margin-right: 15px;
    }

    /* Último item (botón) sin margen derecha */
    ul.nav.align-items-center > li:last-child {
      margin-right: 0;
    }

    /* Botón con padding ajustado para que no se vea muy grande */
    .btn-gradient {
      padding: 8px 20px;
      font-weight: bold;
      border-radius: 8px;
      white-space: nowrap;
    }


header > div.d-flex {
  justify-content: center;
}

/* Estilo para texto negro en los links del navbar */
.nav-link,
.navbar-nav .nav-link,
.dropdown-menu .dropdown-item {
  color: #000 !important;
  font-weight: 500;
}

/* Menú desplegable personalizado */
.dropdown-menu {
  background-color: #6b35d2;
  border-radius: 10px;
  padding: 10px 0;
  min-width: 160px;
  border: none;
}

.dropdown-menu .dropdown-item {
  color: white !important;
  padding: 10px 20px;
  text-align: center;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #5a2fc1;
  border-radius: 5px;
}

/* Línea divisoria */
.dropdown-menu .dropdown-divider {
  border-top: 1px solid #845edb;
  margin: 0;
}

/* Botón "Plataforma Digital" */
.btn-gradient {
  background: linear-gradient(180deg,#6535D2 51%, #371682 100%);
  color: #fff;
  font-weight: 400;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  margin-top: 20px;
}


.btn-gradient:hover {
    background: linear-gradient(180deg, #371682 100%, #6535D2 51%);
  color: #fff;
}

.titulo-principal {
  font-size: 3.5rem;      /* Puedes ajustar según preferencia, por ejemplo 4rem */
  font-weight: 700;
  line-height: 1.1;
  color: #6535D2;
}

.titulo-secundario {
  font-size: 2.5rem;      /* Puedes ajustar según preferencia, por ejemplo 4rem */
  font-weight: 700;
  line-height: 1.2;
  color: #6535D2;
}

.seccion-banner {
  background-color: #F9F6FD;
  padding: 60px 0;
  margin-left: -24px;
  margin-right: -24px;
}

.seccion-convenios {
  background-color: #F5F5F5;
  padding: 60px 0;
  margin-left: -24px;
  margin-right: -24px;
}

.seccion-testimonios {
  background-color: #FFF;
  padding: 60px 0;
}


.footer-metacap {
  font-family: Arial, sans-serif;
  color: white;
  background: linear-gradient(to bottom, #6535D2, #371682);

  padding: 40px 20px 0;
    margin-left: -24px;
  margin-right: -24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  text-align: center;
  padding-bottom: 20px;
  gap: 10px;
}

.footer-column {
  margin: 10px 20px;
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  font-size: 2.5em;
  font-weight: bold;
}

.footer-column h4 {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-column p {
  margin: 5px 0;
}

.footer-social i {
  font-size: 1.5em;
  margin: 0 10px;
  cursor: pointer;
}

.footer-bottom {
  background-color: #7b3de3;
  width: calc(100% + 40px); /* 24px de cada lado */
  margin-left: -20px;
  margin-right: -20px;
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
}

.footer-bottom-text {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.footer-bottom-text a {
  color: white;
  text-decoration: none;
}

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

.footer-logos img {
  height: 30px;
  margin-left: 10px;
}

.redes-sociales {
  display: flex;
  gap: 12px;
  justify-content: center; /* o start/end según lo necesites */
}

.icono-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: white;
  color: #6C2BD9; /* color del ícono, ajusta según tu diseño */
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.3s, color 0.3s;
}

.icono-social:hover {
  background-color: #6C2BD9;
  color: white;
}

.footer-heading {
  font-size: 1rem; /* Puedes ajustar libremente este valor */
  font-weight: bold;
  margin-bottom: 10px;
}


/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url("../img/cta-bg2.jpg") center center;
  background-size: cover;
  padding: 80px 0;
}

.cta h3 {
  color: #364146;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #576971;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
  background: #009cea;
}

.cta .cta-btn:hover {
  background: #008bd1;
}

@media (min-width: 1024px) {
  .cta {
    background-attachment: fixed;
  }
}

@media (min-width: 769px) {
  .cta .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}


/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 60px 0;
  background-color: #fff;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  background-color: #f9f6fd;
  border-radius: 16px;
  padding: 30px 20px;
  margin: 0 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  text-align: left;
  min-height: 240px;
}

.testimonials .testimonial-item-convenio {
  background-color: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  margin: 0 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  text-align: left;
  min-height: 100px;
}




/* Icono de comillas */
.testimonials .testimonial-item i.quote-icon-left {
  font-size: 32px;
  color: #6535D2;
  margin-bottom: 10px;
  display: block;
}

.testimonials .testimonial-item i.quote-icon-right {
  font-size: 32px;
  color: #6535D2;
  margin-bottom: 10px;
  display: block;
}

/* Texto de la cita */
.testimonials .testimonial-item p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #000;
  margin: 0;
  padding: 0;
}

/* Imagen del usuario redonda */
.testimonials .testimonial-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #6535D2;
  margin: 0;
}

/* Footer del testimonio con nombre e imagen */
.testimonials .testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

/* Nombre del usuario */
.testimonials .testimonial-user-info h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  color: #000;
}

/* Carrusel: bullets */
.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
  text-align: center;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #6535D2;
  margin: 0 4px;
  transition: 0.3s;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #6535D2;
}


/* Sección principal del producto */
.hero-metacredit {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), /* Capa oscura del 20% */
    url('assets/imgs/metacredit-guy2.jpg') no-repeat center center / cover;
  border-radius: 30px;
  overflow: hidden;
  min-height: 300px;
  max-width: 1150px;
}

.hero-metapass{
  background: 
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), /* Capa oscura del 20% */
    url('assets/imgs/metapass.jpg') no-repeat center center / cover;
  border-radius: 30px;
  overflow: hidden;
  min-height: 300px;
  max-width: 1150px;
}

.hero-text {
  color: white;
  padding: 20px;
}



/* Beneficios y requisitos */
.info-box {
  border-radius: 20px;
  background-color: #f5f5ff; /* color base por si no se define uno específico */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Fondo claro para Beneficios */
.bg-beneficios {
  background-color: #f5f2ff; /* blanco casi puro */
}

/* Fondo lavanda para Requisitos */
.bg-requisitos {
  background-color: #fdfdff; /* tono lila suave */
}

.bg-riesgos {
  background-color: #f9f9f9;
}

.info-box ul {
  padding-left: 1.2em;
  list-style: none;
}

.info-box ul li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.8em;
}

.info-box ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #7b3de3;
  font-size: 1.1em;
}


.btn-hover-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.btn-hover-text .text-hover {
  opacity: 0;
  position: absolute;
  left: 0;
  right: 0;
  transition: opacity 0.3s ease;
}

.btn-hover-text .text-default {
  transition: opacity 0.3s ease;
}

.btn-hover-text:hover .text-default {
  opacity: 0;
}

.btn-hover-text:hover .text-hover {
  opacity: 1;
}

.card-section h3,
.card-section .card-title {
  color: #6535D2;
}


.text-metacap {
  color: #6535D2;
}


.producto-metacredit {
  /* margin-left: -24px; */
  /* margin-right: -24px; */
}

.seccion-banner-nosotros .container .row {
  border-radius: 30px !important;
}

.accordion-button {
  background-color: white;
  color: #6535D2;
  border-radius: 10px !important;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.accordion-body {
  background-color: white;
  border-radius: 0 0 10px 10px;
}

.lista-requisitos {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: black;
}

.lista-requisitos li::marker {
  color: #D5CAF0;
}


.bg-light-gray {
  background-color: #F5F5F5;
}


.ubicaciones-section {
  background-color: #F5F5F5;
}

.mapa-ubicaciones {
  max-height: 400px;
}

.ubicaciones-accordion .accordion-button {
  background-color: white;
  color: #6535D2;
  font-weight: bold;
  border-radius: 15px;
}

.ubicaciones-accordion .accordion-body {
  background-color: white;
  border-radius: 15px;
  padding: 15px;
}

.ubicacion-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.btn-maps {
  background-color: #D5CAF0;
  color: #6535D2;
  font-weight: bold;
  border-radius: 20px;
  padding: 5px 15px;
  text-decoration: none;
}

.btn-maps:hover {
  background-color: #6535D2;
  color: white;
}

.carousel-indicators {
  bottom: -45px; /* desplaza hacia abajo, ajusta si quieres más/menos separación */
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #D5CAF0;
}

.carousel-indicators .active {
  background-color: #6535D2;
}


.map-container {
  position: relative;
  display: inline-block;
}

.map-pin {
  position: absolute;
  width: 30px;
  transform: translate(-50%, -100%);
  transition: all 0.3s ease;
  z-index: 1; /* Base */
}

/* Cuando el pin es activo, va al frente */
.map-pin.active {
  z-index: 10;
}

/* Posiciones exactas para tu mapa */
#pin-sp { top: 41.86%; left: 55.22%; }
#pin-hp { top: 67.61%; left: 56.55%; }
#pin-leon { top: 69.36%; left: 50.98%; }
#pin-gto { top: 68.36%; left: 53.6%; }
#pin-ira { top: 68.86%; left: 53.6%; }
#pin-merida { top: 66.36%; left: 90.77%; }
#pin-americas { top: 69.11%; left: 55.73%; }
#pin-sjr { top: 64.36%; left: 59.01%; }

.distincion-section {
  background-color: transparent; /* o un color si quieres */
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.distincion-card {
  background-color: #F9F7FD;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 400px; /* antes ocupaba todo el ancho */
  margin: 0 auto;   /* centrado horizontal */
}

.distincion-card p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}

.icon-wrapper {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6535D2;
  font-size: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}


.link-modal {
  cursor: pointer;
}


.rotated-icon {
  display: inline-block;
  transform: rotateY(180deg); /* Efecto espejo en 3D */
}

.no-mb {
  margin-bottom: 0 !important;
}


/* Botón hamburguesa */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #6535D2;
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%; /* Fuera de pantalla por defecto */
  width: 100%;
  height: 100vh;
  background-color: #6535D2;
  color: white;
  padding: 4rem 2rem;
  transition: right 0.3s ease-in-out;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto; /* Permite scroll si el contenido es largo */
}

.mobile-menu.active {
  right: 0; /* Visible cuando tiene clase active */
}

/* Prevent scroll del body cuando el menú está abierto */
body.menu-open {
  overflow: hidden;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  width: 100%;
  text-align: center;
}

.mobile-menu ul li {
  margin: 1.5rem 0;
}

.mobile-menu ul li a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.5rem 0;
  width: 100%;
}

/* Submenu a ancho completo */
.mobile-menu .nav-item.dropdown .submenu {
  display: none;
  background-color: #4b28a5;
  border-radius: 0 0 8px 8px; /* Bordes redondeados solo abajo */
  padding: 0;
  margin: 0;
  width: 100%; /* Ocupa todo el ancho */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative; /* Cambiado de absolute a relative */
}

.mobile-menu .submenu li {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%; /* Cada li ocupa todo el ancho */
}

.mobile-menu .submenu li a {
  color: #fff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  min-height: 40px;
  line-height: 1.2;
  white-space: nowrap;
  width: 100%; /* Enlace ocupa todo el ancho */
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.mobile-menu .submenu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu .submenu li.divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Botón cerrar */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.btn-gradient-gray {
  background: linear-gradient(180deg, #f0f0f0 51%, #ffffff 100%);
  color: #000 !important;
  font-weight: 400;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px; 
  display: block;       /* asegura que se vea alargado */
  text-align: center;   /* centra el texto */
}

/* Hover */
.btn-gradient-gray:hover {
  background: linear-gradient(180deg, #e0e0e0 0%, #f5f5f5 100%);
  color: #371682; /* texto violeta más oscuro */
}