@font-face {
  font-family: 'Aller';
  src: url('fonts/Aller_Rg.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Aller';
  src: url('fonts/Aller_Bd.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Aller';
  src: url('fonts/Aller_It.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Aller';
  src: url('fonts/Aller_BdIt.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

/* Escalado base para todo */
html {
  font-size: 100%; /* 16px por defecto */
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Imágenes responsivas automáticamente */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Reescalado automático sin tocar clases */
@media (max-width: 1200px) {
  html {
    font-size: 95%; /* 15.2px */
  }
}

@media (max-width: 992px) {
  html {
    font-size: 90%; /* 14.4px */
  }
}

@media (max-width: 768px) {
  html {
    font-size: 85%; /* 13.6px */
  }
}

@media (max-width: 576px) {
  html {
    font-size: 80%; /* 12.8px */
  }
}

@media (max-width: 400px) {
  html {
    font-size: 75%; /* 12px */
  }
}

body {
  font-family: 'Aller', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  margin-bottom: 0;
}

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

html, body {
  width: 100%;
  height: 100%;
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  height: 100px;
  box-sizing: border-box;
}

.nav-spacer {
  height: 80px;
}

main {
  padding: 20px;
}

.logo img {
  max-height: 80px;
  width: auto;
  height: auto;
  max-width: 180px;
  margin-left: 20px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 30px;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #818181;
  padding: 10px 15px;
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.nav-links a:hover {
  color: #77b4d5;
  font-weight: bold;
}

.dropdown-content {
  position: fixed;
  left: 0;
  top: 80px;
  background-color: #3A718E;
  display: none;
  width: 100vw;
  z-index: 999;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.dropdown-content a {
  color: #e5e5e5;
  text-align: center;
  text-decoration: none;
  flex: 1;
  padding: 10px;
}

.dropdown-content a:hover {
  color: white;
  font-weight: bold;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

/* Botón Contáctanos visible en escritorio */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Botón Contáctanos estilo */
.btn.contact-section-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: transparent;
  color: #3a718e;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #3a718e;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.contact-section-btn:hover {
  background-color: #77b4d5;
  color: #3A718E;
  transform: scale(1.05);
}

/* Mobile */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  padding: 10px;
}

.mobile-search,
.mobile-contact {
  display: none;
}

/* Centrado menú responsive + mostrar botón solo en responsive */
@media (max-width: 768px) {
  /* NAV general: organización vertical */
  nav {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
    height: auto;
  }

  /* LOGO alineado a la izquierda */
  .logo {
    margin-right: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .logo img {
    max-height: 60px;
    max-width: 140px;
    margin-left: 0;
  }

  /* ICONO BURGER a la izquierda */
  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    margin-left: 10px;
  }

  /* OCULTAR el botón de escritorio */
  .nav-actions {
    display: none !important;
  }

  /* MENÚ responsive: vertical y a la izquierda */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    background-color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100px;
    left: 0;
  }

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

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

  .nav-links a {
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid #ddd;
  }

  /* BOTÓN CONTÁCTANOS dentro del menú responsive */
  .mobile-contact {
    display: flex !important;
    justify-content: flex-start;
    width: 100%;
    padding: 10px 0;
  }

  .mobile-contact .btn.contact-section-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    margin-left: 0;
    font-size: 16px;
    font-weight: bold;
    color: #3a718e;
    border: 2px solid #3a718e;
    border-radius: 30px;
    background-color: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-contact .btn.contact-section-btn:hover {
    background-color: #77b4d5;
    color: #3A718E;
    transform: scale(1.05);
  }

  /* OCULTAR otros elementos no necesarios */
  .desktop-search,
  .desktop-contact {
    display: none !important;
  }

  .dropdown-content {
    position: relative;
    flex-direction: column;
    width: 100%;
  }
}





/*Aqui comienza el banner principal*/


/* Tamaño del slider */

/* Tamaño del slider */
/* Importar la tipografía Aller */


/* Tamaño del slider */
.contenedor {
  display: flex;
  flex-direction: column; /* Fuerza que estén en renglones distintos */
  align-items: flex-start; /* Opcional: alinea el texto a la izquierda */
}
.vida-title {
  line-height: 1.1; /* o prueba con 1.0 o 1.2 según tu diseño */
  margin: 0;
  padding: 0;
}

.mySwiper {
  width: 100%;
  max-width: 130vw;
  height: 100%;
  max-height: 680vw;
}

 
.mySwiper img {
  height: 100%;
  width: 100%;
  max-width: 130vw;
  max-height: 680vw;
}
@media (max-width: 768px) {
  .titulo-estilo-boton {
    font-size: 14px;
    padding: 8px 18px;
  }
}
/* Puntos de la paginación */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border-radius: 50%; /* Perfectamente redondos */
  transition: background-color 0.3s ease, transform 0.3s ease;
  opacity: 100%;
}

.swiper-pagination-bullet-active {
  background-color: #77b4d5; /* Color activo */
  transform: scale(1.4);
}

/* Personalización de los botones Next y Prev */

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #77b4d5;
  color: white;
  border-radius: 50px; /* Botón completamente redondeado */
  text-decoration: none;
  transition: background-color 0.3s ease;  transform: scale(1.2); /* Efecto de agrandamiento */
}

/* Botones prev y next */
.swiper-button-next,
.swiper-button-prev {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: transparent;
  color: rgb(255, 255, 255);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #3A718E;
}

/* Ocultar el fondo del ícono flecha predeterminado */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
}

/* Paginación (los puntos) */
.swiper-pagination-bullet {
  border: 2px solid gray;
  background: transparent !important;
  opacity: 1;
  width: 12px;
  height: 12px;
  margin: 0 4px !important;
  transition: border-color 0.3s ease;
}

.swiper-pagination-bullet:hover,
.swiper-pagination-bullet-active {
  border-color: #77b4d5; /* azul */
}


/* Ajustes para mantener centrado el contenido */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px; /* Tamaño del ícono */
}

/* Contenido en los slides */
.slide-content { /* Banners */
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 400px;
  color: white; 
}

.slide-content h2 { /* Banners */
  font-size: 42px; /* Letra más grande */
  font-weight: bold;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.slide-content h2::before { /* Banners*/
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Fondo negro muy difuminado */
  filter: blur(10px); /* Difuminado del fondo */
  z-index: -1; /* Enviar el fondo detrás del texto */
  border-radius: 8px; /* Bordes ligeramente redondeados */
}


.slide-content .btn { /* Descubrir mas */
  background-color: #77b4d5;
  color: white;
  padding: 15px 30px;
  border-radius: 50px; /* Botón completamente redondeado */
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.slide-content .btn:hover {
  background-color: #3a718e;
}

/* Ajuste de posición para las imágenes */

.swiper-slide-banner1index {
  width: 100%;
  height: 46vw;
}

.swiper-slide-banner2index {
  width: 100%;
  height: 800px;
}

.swiper-slide-banner3index {
  width: 100%;
  height: 1100px;
}
.swiper-slide img {
  width: auto;
  height: 800px;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
/*###############################################################################################################################################################################################*/

/* ALIADOS */
.banner-container-aliados {
  width: 70vw;
  margin-left: calc(-50vw + 50%);
  left: 13%;
  position: relative;
  display: inline-block; /* O block, según tu layout */

}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.logo-overlay {
  position: absolute;
  bottom: 10px;
  left: 130px;
  width: 1200px;
  height: auto;
  z-index: 2;
}

/* La imagen ocupa todo el ancho */
.banner-container-aliados .banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Botón único y con tu estilo visual */
.btn-banner-aliados {
  position: absolute;
  bottom: 15%;   /* Posición proporcional */
  right: 4%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: transparent;
  color: #3a718e;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #3a718e;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  white-space: nowrap;
}

/* Hover */
.btn-banner-aliados:hover {
  background-color: #77b4d5;
  color: #3A718E;
  transform: scale(1.05);
}

/* Tablet */
@media (max-width: 1024px) {
  .btn-banner-aliados {
    font-size: 12px;
    padding: 8px 16px;
    right: 0.5%;
  }
}

/* Tablet pequeño / móvil horizontal */
@media (max-width: 768px) {
  .btn-banner-aliados {
    font-size: 8px;
    padding: 6px 12px;
    border-width: 1.5px;
    right: 0.5%;

  }
}

@media (max-width: 480px) {
  .btn-banner-aliados {
    font-size: 5px;
    padding: 4px 8px;
    border-width: 1px;
    right: 0.5%;
  }
}
/*###############################################################################################################################################################################################*/


/*Aqui comienzan las tarjetas Nuestros Seguros */

/* Slider */
/* Aqui comienzan las tarjetas Nuestros Seguros */

/* Slider */
.insurance-section {
  padding: 40px 20px;
  color: white;
  text-align: center;
  background: url('Recursos/fondo_nuestros_seguros.png') no-repeat center center;
  background-size: cover;
  background-attachment: scroll; /* evita desacomodo en móvil */
  min-height: 100vh; /* se adapta al alto de la pantalla */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-container .card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  color: black;
  transition: transform 0.3s ease;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-container .card:hover {
  transform: translateY(-10px);
}

.card:hover .btn {
  display: inline-block;
}

.card .btn a {
  color: white;
  text-decoration: none;
}

.card-slider {
  display: none;
  overflow: hidden;
  margin: 0 auto;
}

.card-slider.active {
  display: flex;
  justify-content: center;
}

/* Contenedor de tarjetas */
.cards {
  margin: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Estilos para las tarjetas */
.card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 250px;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
  cursor: pointer;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  background-color: #edf2fa;
  color: #3A718E;
}

.card:hover h3,
.card:hover p {
  color: #3A718E;
}

/* Imágenes responsivas */
.card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* Texto en tarjeta */
.card h3 {
  font-size: 18px;
  color: #3a718e;
  margin: 10px 0;
  font-weight: bold;
}

.card p {
  font-size: 14px;
  color: #818181;
  margin-bottom: 10px;
}

/* Responsividad */
@media (max-width: 1024px) {
  .card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .card {
    width: 100%;
  }
  .insurance-section {
    padding: 20px 10px;
    background-attachment: scroll;
  }
}

/* Línea degradada */
.divider {
  width: 100% !important;
  height: 4px !important;
  background: linear-gradient(to right, #3A718E, #77b4d5, #3A718E) !important;
  margin: 20px 0 !important;
  display: block !important;
  z-index: 10;
  position: relative;
}

/* Estilos para las tabs */
.tabs {
  display: flex;
  justify-content: center;
  margin: 20px 0 40px 0;
  gap: 40px;
}

.tab {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 0;
  font-size: 30px;
  font-weight: bold;
  position: relative;
  color: #77b4d5;
  transition: color 0.3s ease;
}

.tab.active {
  color: white;
  font-weight: bolder;
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: white;
  border-radius: 2px;
}

.tab:not(.active)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #77b4d5;
  border-radius: 2px;
}

/* Botón "Conoce más" más redondeado */
.btn {
  margin-top: auto;
  padding: 10px 22px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 9999px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.btn a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.btn:hover,
.btn:focus,
.card:hover .btn {
  background-color: #77b4d5;
}

.btn:hover a,
.btn:focus a,
.card:hover .btn a {
  color: white;
}

/*###############################################################################################################################################################################################*/



/* Sección principal de cada seguro*/
/* Estilos generales */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
}

/* Logo a la izquierda */
.logo img {
  height: 45px;
}

/* Contenedor del menú centrado */
.menu-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Menú centrado */
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* Botón Contáctanos alineado a la derecha */
.nav-actions {
  flex-shrink: 0;
}

/* Estilo de los enlaces */
.nav-links li a {
  text-decoration: none;
  color: #818181;
  font-weight: 600;
  padding: 8px 12px;
}

/* Botón Contacto con borde inicialmente */
.btn.contact-section-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: transparent;
  color: #3a718e ;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #3a718e;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.contact-section-btn:hover {
  background-color: #77b4d5;
  color: #3A718E;
  transform: scale(1.05);
} 

/* Ocultar el menú al inicio */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background: #f2f2f2;
  padding: 20px;
  border-radius: 0 0 20px 0;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.categorias {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  margin-right: 20px;
}

.categoria {
  font-size: 18px;
  color: #818181;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.categoria .flecha {
  margin-left: 6px;
  font-size: 16px;
  display: none;
}

.categoria.activa {
  color: #3A718E;
  font-weight: bold;
  border: none;
  outline: none;
  background: none;
  box-shadow: none;
}
.categoria.activa .flecha {
  display: inline;
}

.submenus {
  display: flex;
}

.submenu {
  display: none;
  flex-direction: column;
  list-style-type: disc;
  padding-left: 20px;
}

.submenu.activo {
  display: flex;
}

.submenu li {
  margin-bottom: 8px;
}

.submenu li a {
  text-decoration: none;
  color: #818181;
  font-size: 16px;
  transition: color 0.3s;
}

.submenu li a:hover {
  color: #3A718E;
}
/*###############################################################################################################################################################################################*/





/*Desde aqui comienza el blog*/
/* Sección del Blog */
.blog-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f2f2f2;
}

.blog-title {
    background-color: #f2f2f2;
    color: white;
    padding: 15px 0;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.blog-title h2 {
    margin: 0;
}
/*###############################################################################################################################################################################################*/


/*desde aquí comienza el footer*/
/* Footer */
/* Footer */
.footer {
  background-color: #3A718E;
  color: white;
  padding: 50px 0;
  text-align: center;
  width: 100%;
  margin: 0;
  position: relative;
  left: 0;
}

.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-columns {
    display: flex;
    flex: 1;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #cce7f0;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.footer-column p {
    font-size: 14px;
    color: #cce7f0;
}

/* Línea separadora vertical en contactanos */
.blog-column {
    position: relative;
    padding-left: 20px;
}

.blog-column .line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 2px;
    background-color: #77b4d5;
}

/* Redes Sociales */
.footer-social {
    text-align: center;
    margin-top: 20px;
}

.footer-social h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    position: relative;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #cce7f0;
}

.social-link:hover::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background-color: #cce7f0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #cce7f0;
    padding-top: 10px;
    margin-top: 20px;
    font-size: 12px;
    color: #cce7f0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.btn-whatsapp-card {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, gap 0.3s ease;
}

/* Estilo base */
.btn-whatsapp-card i,
.btn-whatsapp-card span {
  transition: color 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp-card i {
  font-size: 20px;
  color: white;
}

.btn-whatsapp-card span {
  font-family: 'Aller', sans-serif;
  font-size: 18px;
  color: white;
}

/* Hover sobre todo el botón */
.btn-whatsapp-card:hover {
  gap: 25px; /* más separación cuando crece */
}

.btn-whatsapp-card:hover i,
.btn-whatsapp-card:hover span {
  color: #77b4d5;
  transform: scale(1.2);
}
/*###############################################################################################################################################################################################*/



/* NOTICIAS */
.news-section {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: 40px 20px;
  background: #f2f2f2;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
}

.news-section h2 {
  font-size: 30px;
  color: #3A718E;
  margin-bottom: 30px;
}

.news-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 40px;
  scroll-snap-type: x mandatory;
}

.news-card {
  background: white;
  border-radius: 10px;
  flex: 0 0 300px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.news-card h3 {
  font-size: 20px;
  color: #3A718E;
  margin: 15px 0 10px;
}

.news-card p {
  font-size: 16px;
  color: #818181;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #77b4d5;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  border-radius: 50%;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.arrow:hover {
  background: #3A718E;
}

/* Oculta el botón por defecto */
.news-card .btn-noticia {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: inline-block;
  margin-top: 10px;
  background-color: #77b4d5;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
}

/* Muestra el botón cuando se pasa el cursor sobre la tarjeta */
.news-card:hover .btn-noticia {
  opacity: 1;
  visibility: visible;
}
/*###############################################################################################################################################################################################*/



/* CONTENEDOR GENERAL PARA CENTRAR Y AJUSTAR ANCHO */
.contenedor-ajustado {
  font-family: 'Aller', sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* BANNER PRINCIPAL DE CADA SEGURO */
.single-banner {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
    color: #f2f2f2;

}

.banner-image {
  width: 100%;
  height: 50vw;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #f2f2f2;
  z-index: 2;
}

/* Badge */


.badge-indicador {
  display: inline-block;
  background-color: #77b4d5;
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 22px; /* de 14px a 22px */
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  top: -4vw;
  left: -4vw;

}

/* Contenedor */
.vida-box {
  text-align: left;
}

/* Título principal */
.vida-title {
  font-size: 70px; /* de 60px a 90px */
  font-weight: bold;
  margin: 0;
  color: #ffffff;
  position: relative;
  top: -4vw;
  left: -4vw;
}

.vida-title-co {
  font-size: 70px; /* de 60px a 90px */
  font-weight: bold;
  margin: 0;
  color: #ffffff;
  position: relative;
  top: -6vw;
  left: -6vw;
}
/* Frase */
.vida-frase {
  font-size: 20px; /* de 20px a 30px */
  margin: 8px 0 10px;
  color: #ffffff;

}

/* Línea azul */
.vida-linea {
  width: 300px;
  height: 3px;
  background-color: #3A718E;
  border-radius: 2px;
  position: relative;
  top: -4vw;
  left: -4vw;
}
.vida-linea-co {
  width: 350px;
  height: 3px;
  background-color: #3A718E;
  border-radius: 2px;
  position: relative;
  top: -5vw;
  left: -6vw;
}



/* VIDA PERSONAS*/
/* IMAGEN QUIETA Y CENTRADA EN TODAS LAS RESOLUCIONES */
.swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Imagen que llena el banner completo */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 hace que la imagen llene todo el espacio sin espacios blancos */
  display: block;
}

.mySwiper-bannervidaperson {
  width: 100%;
  width: 100%;
  max-width: 1520px;
  height: 100%;
  max-height: 460px;
  top: 6vw;
}

/* RESPONSIVE AJUSTES */
@media (max-width: 2000px) {
  .slide-image {
    max-height: 625px;
  }
}

@media (max-width: 1024px) {
  .slide-image {
    max-height: 625px;
  }
}

@media (max-width: 768px) {
  .slide-image {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .slide-image {
    max-height: 625px;
  }
}

.banner-container,
.banner-deudor,
.banner-accidentes,
.banner-exequiales {
  position: relative;
  z-index: 1;
  overflow: hidden;
}


/* Imagen principal de cada sección */
.banner-img,
.img-deudor,
.img-accidentes,
.img-exequiales {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  max-width: none;
}

/* Secciones específicas */
.banner-container-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 41vw;
}

.banner-container {
  width: 75vw;
  margin-left: calc(-50vw + 50%);
  top: -2vw;
  margin-bottom: -15px;
  left: 11%;
  height: 42vw;

}

.banner-deudor {
  width: 55vw;
  margin-left: 2vw;
  left: 15%;
  height: 20vw;
  top: 2vw;

}

.banner-container-accidentes {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 22vw;
  
}
.banner-accidentes {
  width: 70vw;
  margin-left: calc(-50vw + 50%);
  left: 17%;
  height: 25vw;
  top: 2vw;

}

.banner-container-exequiales {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: white;
  border-radius: 3%;
  height: 17vw;
}
.banner-exequiales {
  width: 60vw;
  margin-left: 2vw;
  margin-bottom: 20px;
  height: 15vw;
  right: -12%;
  top: 1vw;

}

/* Overlay contenedor */
.overlay-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* permite que los clics pasen si no se interactúa */
  border-radius: 100%;
}

/* Imágenes sobrepuestas */
.overlay {
  position: absolute;
  width: 120px; /* puedes ajustar el tamaño */
  height: auto;
  pointer-events: auto;
}

/* Posiciones personalizadas */
.overlay.overlay-vida1 {
  top: 29vw;
  left: 4vw;
  width: 13vw;
  border-radius: 10%;
}

.overlay.overlay-vida2 {
  top: 29vw;
  right: 25vw;
  width: 13vw;
  border-radius: 10%;
}

.overlay.overlay-deudor {
  top: 1,3vw;
  left: 8%;
  width: 22vw;
  border-radius: 10%;
}

.overlay.overlay-accidentes {
  top: 3vw;
  right: 12vw;
  width: 22vw;
  border-radius: 10%;
}

.overlay.overlay-exequiales {
  top: 1vw;
  left: 10%;
  width: 22vw;
  border-radius: 10%;
}


/* VIDA EMPRESAS ##################################################################*/
.swiper-slide-vidaempre {
  width: 100%;
  height: 700px;
  
}

.mySwiper-bannervidaempre {
  width: 100%;
  max-width: 1520px;
  height: 100%;
  max-height: 600px;
  top: 0,5vw;
}

.banner-image-vidaempresas {
  width: 100%;
  height: 630px;
  object-fit: cover;
}

.banner-content-vidaempresas {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #f2f2f2;
  z-index: 2;
}

.banner-vidagrupo,
.banner-escolaresempresas,
.banner-personalesempresas,
.banner-exequialesempresas {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Imagen principal de cada sección */
.img-vidagrupo,
.img-escolaresempresas,
.img-personalesempresas,
.img-exequialesempresas {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  max-width: none;
}

/* Secciones específicas */
/* Estilos base para pantallas grandes */
.bannerc-principal {
  width: 100vw;
  height: 46vw;
  overflow: hidden;
  position: relative;
}

.bannerc-principal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bannerp-principal {
  width: 100vw;
  height: 50vw;
}

/* Tablets */
@media (max-width: 991px) {
  .bannerc-principal {
    height: 60vw;
  }
  .bannerp-principal {
    height: 65vw;
  }
}

/* Celulares grandes */
@media (max-width: 767px) {
  .bannerc-principal {
    height: 80vw;
  }
  .bannerp-principal {
    height: 85vw;
  }
}

/* Celulares pequeños */
@media (max-width: 480px) {
  .bannerc-principal {
    height: 100vw;
  }
  .bannerp-principal {
    height: 105vw;
  }
}

.banner-container-grupo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 23vw;
}
.banner-vidagrupo {
  width: 67vw;
  margin-left: calc(-50vw + 50%);
  top: -3vw;
  margin-bottom: -15px;
  left: 13%;
  height: 30vw;

}

.banner-container-escolempre {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 21vw;
}
.banner-escolaresempresas {
  width: 69vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 10px;
  margin-bottom: -15px;
  left: 13%;
  height: 21vw;

}

.banner-personalesempresas {
  width: 62vw;
  margin-left: 2vw;
  left: 12%;
  height: 17vw;
  margin-top: 30px;
}

.banner-exequialesempresas {
  width: 60vw;
  margin-left: 2vw;
  left: 15%;
  height: 17vw;
  margin-top: 30px;
}

/* Overlay contenedor */
.overlay-vidaempresas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* permite que los clics pasen si no se interactúa */
  border-radius: 100%;
}

/* Imágenes sobrepuestas */
.overlay {
  position: absolute;
  max-width: none;
  height: auto;
  pointer-events: auto;
}

/* Posiciones personalizadas */
.overlay.overlay-vidagrupo {
  top: 12vw;
  right: 1vw;
  width: 22vw;
  border-radius: 10%;
}

.overlay.overlay-personalesempresas {
  top: 1vw;
  left: 8%;
  width: 22vw;
  border-radius: 10%;
}

.overlay.overlay-escolaresempresas {
  top: 4vw;
  right: 5vw;
  width: 22vw;
  border-radius: 10%;
}

.overlay.overlay-exequialesempresas {
  top: 1vw;
  left: 5%;
  width: 22vw;
  border-radius: 10%;
}

/*###############################################################################################################################################################################################*/


/* PATRIMONIO PERSONAS ##################################################################*/
.swiper-slide-patriperso {
  width: 100%;
  height: 800px;
}
.mySwiper-bannerpatripersons {
  width: 100%;
  max-width: 1520px;
  height: 100%;
  max-height: 650px;
}

.single-banner-patrimoniopersonas {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.banner-image-patrimoniopersonas {
  width: 100%;
  height: 40vw;
  object-fit: cover;
}

.banner-content-patrimoniopersonas {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #929ba8;
  z-index: 2;
}

.banner-vehiculospersonas,
.banner-responsabilidadpersonas,
.banner-hogarpersonas,
.banner-medicapersonas,
.banner-arrendamientopersonas,
.banner-cumplimientopersonas {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Imagen principal de cada sección */
.img-vehiculospersonas,
.img-responsabilidadpersonas,
.img-hogarpersonas,
.img-medicapersonas,
.img-arrendamientopersonas,
.img-cumplimientopersonas {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  max-width: none;
}

/* Secciones específicas */
.banner-vehiculospersonas-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 25vw;
}

.banner-vehiculospersonas {
  width: 67vw;
  margin-left: calc(-50vw + 50%);
  top: -3vw;
  margin-bottom: -15px;
  left: 17%;
}

.banner-responsabilidadpersonas {
  width: 63vw;
  margin-left: 2vw;
  left: 15%;
  height: 21vw;
  margin-top: 35px;
}
.banner-hogarpersonas-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 19vw;
}

.banner-hogarpersonas {
  width: 65vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: -15px;
  left: 16%;
  height: 19vw;

}

.banner-medicapersonas {
  width: 62vw;
  margin-left: 2vw;
  left: 15%;
  height: 22vw;
  margin-top: 35px;
}

.banner-arrendamientopersonas-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 18vw;
}

.banner-arrendamientopersonas {
  width: 63vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: -15px;
  left: 17%;
  height: 17vw;

}

.banner-cumplimientopersonas {
  width: 57vw;
  margin-left: 2vw;
  left: 15%;
  height: 18vw;
  margin-top: 35px;
}

/* Overlay contenedor */
.overlay-patrimoniopersonas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* permite que los clics pasen si no se interactúa */
  border-radius: 100%;
}

/* Imágenes sobrepuestas */
.overlay {
  position: absolute;
  width: 120px; /* puedes ajustar el tamaño */
  height: auto;
  pointer-events: auto;
}

/* Posiciones personalizadas */
.overlay.overlay-vehiculospersonas {
  top: 12vw;
  left: 1%;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-responsabilidadpersonas {
  top: 2vw;
  right: 12%;
  width: 21vw;
  border-radius: 10%;
  
}

.overlay.overlay-hogarpersonas {
  top: 2vw;
  left: 6vw;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-medicapersonas {
  top: 3vw;
  right: 10%;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-arrendamientopersonas {
  top: 2vw;
  left: 8%;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-cumplimientopersonas {
  top: 1vw;
  right: 8%;
  width: 21vw;
  border-radius: 10%;
}


/* PATRIMONIO EMPRESAS ##################################################################*/
.swiper-slide-patriempre {
  width: 100%;
  height: 800px;
}

.mySwiper-bannerpatriempre {
  width: 100%;
  max-width: 1500px;
  height: 100%;
  max-height: 650px;
}


.single-banner-patrimonioempresas {
  position: relative;
  width: 100%;
  height: 95vh;
  overflow: hidden;
}

.banner-image-patrimonioempresas {
  width: 100%;
  height: 40vw;
  object-fit: cover;
}

.banner-content-patrimonioempresas {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #929ba8;
  z-index: 2;
}

.banner-autosempresas,
.banner-responsabilidadempresas,
.banner-multiriesgoempresas,
.banner-hospitalempresas,
.banner-coopropiedadesempresas,
.banner-mercanciaempresas,
.banner-riesgoempresas {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Imagen principal de cada sección */
.img-autosempresas,
.img-responsabilidadempresas,
.img-multiriesgoempresas,
.img-hospitalempresas,
.img-coopropiedadesempresas,
.img-mercanciaempresas,
.img-riesgoempresas {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  max-width: none;
}

/* Secciones específicas */
.banner-autosempresas-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 25vw;
}
.banner-autosempresas {
  width: 67vw;
  margin-left: calc(-50vw + 50%);
  top: -4vw;
  margin-bottom: -15px;
  left: 15%;
  height: 34vw;

}

.banner-responsabilidadempresas {
  width: 60vw;
  margin-left: 2vw;
  left: 15%;
  height: 21vw;
  margin-top: 35px;
  margin-bottom: 35px;
}

.banner-multiriesgoempresas-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 19vw;
}

.banner-multiriesgoempresas {
  width: 67vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: -15px;
  left: 16%;
  height: 18vw;

}

.banner-hospitalempresas {
  width: 58vw;
  margin-left: 2vw;
  left: 14%;
  height: 18vw;
  margin-top: 35px;
  margin-bottom: 35px;
}

.banner-coopropiedadesempresas-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 18vw;
}
.banner-coopropiedadesempresas {
  width: 66vw;
  margin-left: calc(-50vw + 50%);
  left: 19%;
  height: 24vw;

}

.banner-mercanciaempresas {
  width: 62vw;
  margin-left: 2vw;
  left: 14%;
  height: 16vw;
  margin-top: 35px;
  margin-bottom: 35px;
}

.banner-riesgoempresas-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 19vw;
}
.banner-riesgoempresas {
  width: 70vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: -15px;
  left: 16%;
  height: 22vw;
}

/* Overlay contenedor */
.overlay-patrimonioempresas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* permite que los clics pasen si no se interactúa */
  border-radius: 100%;
}

/* Imágenes sobrepuestas */
.overlay {
  position: absolute;
  width: 120px; /* puedes ajustar el tamaño */
  height: auto;
  pointer-events: auto;
}

/* Posiciones personalizadas */
.overlay.overlay-autosempresas {
  top: 14vw;
  left: 7%;
  width: 22vw;
  border-radius: 10%;
}

.overlay.overlay-responsabilidadempresas {
  top: 3vw;
  right: 8%;
  width: 22vw;
  border-radius: 10%;
}

.overlay.overlay-multiriesgoempresas {
  top:2vw;
  left: 3%;
  width: 22vw;
  border-radius: 10%;
}

.overlay.overlay-hospitalempresas {
  top: 2vw;
  right: 4%;
  width: 22vw;
  border-radius: 10%;
}

.overlay.overlay-coopropiedadesempresas {
  top: 2vw;
  left: 3%;
  width: 22vw;
  border-radius: 10%;
}

.overlay.overlay-mercanciaempresas {
  top: 1vw;
  right: 9%;
  width: 22vw;
  border-radius: 10%;
}

.overlay.overlay-riesgoempresas {
  top: 3vw;
  left: 5%;
  width: 22vw;
  border-radius: 10%;
}

/*###############################################################################################################################################################################################*/

/* SALUD EMPRESA ##################################################################*/
.swiper-slide-saludempresa {
  width: 100%;
  height: 800px;
}

.mySwiper-bannersaludempre {
  width: 100%;
  max-width: 1520px;
  height: 100%;
  max-height: 650px;
}
.banner-image-saludempresa {
  width: 100%;
  height: 60vw;
  object-fit: cover;
}

.banner-content-saludempresa {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #929ba8;
  z-index: 2;
}

.banner-prepagadaempresas,
.banner-cirugiaempresas,
.banner-arlempresas,
.banner-seguroempresas {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Imagen principal de cada sección */
.img-prepagadaempresas,
.img-cirugiaempresas,
.img-arlempresas,
.img-seguroempresas {  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  max-width: none;
}

/* Secciones específicas */
.banner-prepagadaempresas-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 26vw;
}

.banner-prepagadaempresas {
  width: 67vw;
  margin-left: calc(-50vw + 50%);
  top: -3vw;
  left: 12%;
  height: 33vw;

}

.banner-cirugiaempresas {
  width: 61vw;
  margin-left: 2vw;
  left: 11%;
  height: 17vw;
  margin-bottom: 35px;
}

.banner-arlempresas-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 23vw;
}

.banner-arlempresas {
  width: 66vw;
  margin-left: calc(-50vw + 50%);
  left: 11%;
  height: 25vw;

}

.banner-seguroempresas {
  width: 62vw;
  margin-left: 2vw;
  left: 10%;
  height: 18vw;
  margin-bottom: 35px;
}

/* Overlay contenedor */
.overlay-saludempresas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* permite que los clics pasen si no se interactúa */
  border-radius: 100%;
}

/* Imágenes sobrepuestas */
.overlay {
  position: absolute;
  width: 120px; /* puedes ajustar el tamaño */
  height: auto;
  pointer-events: auto;
}

/* Posiciones personalizadas */
.overlay.overlay-prepagadaempresas {
  top: 13vw;
  right: 8%;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-cirugiaempresas {
  top: 3vw;
  left: 10%;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-arlempresas {
  top: 7vw;
  right: 10%;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-seguroempresas {
  top: 3vw;
  left: 10%;
  width: 21vw;
  border-radius: 10%;
}

/* SALUD PERSONA ##################################################################*/
.swiper-slide-saludpersona {
  width: 100%;
  height: 800px;
}

.mySwiper-bannersaludpersons {
  width: 100%;
  max-width: 1520px;
  height: 100%;
  max-height: 460px;
  top: 5vw;
}

.single-banner-saludpersona {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.banner-image-saludpersona {
  width: 100%;
  height: 60vw;
  object-fit: cover;
}

.banner-content-saludpersona {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #929ba8;
  z-index: 2;
}

.banner-polizapersonas,
.banner-prepagadapersonas,
.banner-cirugiapersonas,
.banner-quirurgicaspersonas,
.banner-seguropersonas {

  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Imagen principal de cada sección */
.img-polizapersonas,
.img-prepagadapersonas,
.img-cirugiapersonas,
.img-quirurgicaspersonas,
.img-seguropersonas {  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  max-width: none;
}

/* Secciones específicas */
.banner-polizapersonas-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 24vw;
}

.banner-polizapersonas {
  width: 67vw;
  margin-left: calc(-50vw + 50%);
  top: -4vw;
  margin-bottom: -15px;
  left: 13%;
}

.banner-prepagadapersonas {
  width: 54vw;
  margin-left: 2vw;
  left: 20%;
  height: 17vw;
  margin-top: 35px;
}

/*.banner-cirugiapersonas {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 20px;
}
*/

.banner-quirurgicaspersonas-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 19vw;
}

.banner-quirurgicaspersonas {
  width: 65vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: -15px;
  left: 15%;
  height: 20vw;

}

.banner-seguropersonas {
  width: 57vw;
  margin-left: 2vw;
  left: 17%;
  height: 20vw;
  margin-top: 35px;
  margin-bottom: 1vw;

}

/* Overlay contenedor */
.overlay-saludpersonas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* permite que los clics pasen si no se interactúa */
  border-radius: 100%;
}

/* Imágenes sobrepuestas */
.overlay {
  position: absolute;
  width: 120px; /* puedes ajustar el tamaño */
  height: auto;
  pointer-events: auto;
}

/* Posiciones personalizadas */
.overlay.overlay-polizapersonas {
  top: 12vw;
  right: 10%;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-prepagadapersonas {
  top: 1vw;
  left: 2%;
  width: 21vw;
  border-radius: 10%;
}
/*
.overlay.overlay-cirugiapersonas {
  top: 8vw;
  right: 6vw;
  width: 37vw;
  border-radius: 10%;
}
*/
.overlay.overlay-quirurgicaspersonas {
  top: 3vw;
  right: 6%;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-seguropersonas {
  top: 5vw;
  left: 5%;
  width: 21vw;
  border-radius: 10%;
}
/*###############################################################################################################################################################################################*/

/* AHORRO PERSONAS */
.swiper-slide-ahorro {
  width: 100%;
  height: 800px;
}

.mySwiper-bannerahorro {
  width: 100%;
  max-width: 1520px;
  height: 100%;
  max-height: 460px;
  top: 5vw;
}

.banner-content-ahorropersona {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #929ba8;
  z-index: 2;
}

.banner-pensionesahorro,
.banner-seguroahorro,
.banner-rescateahorro,
.banner-vitaliciasahorro,
.banner-dolaresahorro {

  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Imagen principal de cada sección */
.img-pensionesahorro,
.img-seguroahorro,
.img-rescateahorro,
.img-vitaliciasahorro,
.img-dolaresahorro {  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  max-width: none;
}

/* Secciones específicas */
.banner-pensionesahorro-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 27vw;
}

.banner-pensionesahorro {
  width: 67vw;
  margin-left: calc(-50vw + 50%);
  top: -1vw;
  margin-bottom: -15px;
  left: 18%;
}

.banner-seguroahorro {
  width: 61vw;
  margin-left: 2vw;
  left: 15%;
  height: 18vw;
  margin-top: 10px;
}

.banner-rescateahorro-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 20vw;
}

.banner-rescateahorro {
  width: 69vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: -15px;
  left: 15%;
  height: 20vw;

}

.banner-vitaliciasahorro {
  width: 61vw;
  margin-left: 2vw;
  left: 15%;
  height: 18vw;
  margin-top: 10px;
}

.banner-dolaresahorro-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 20vw;
}
.banner-dolaresahorro {
  width: 68vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: -15px;
  left: 11%;
  height: 22vw;

}

/* Overlay contenedor */
.overlay-ahorropersonas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* permite que los clics pasen si no se interactúa */
  border-radius: 100%;
}

/* Imágenes sobrepuestas */
.overlay {
  position: absolute;
  width: 120px; /* puedes ajustar el tamaño */
  height: auto;
  pointer-events: auto;
}

/* Posiciones personalizadas */
.overlay.overlay-pensionesahorro {
  top: 13vw;
  left: 1vw;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-seguroahorro {
  top: 2vw;
  right: 10%;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-rescateahorro {
  top: 3vw;
  left: 5%;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-vitaliciasahorro {
  top: 1.5vw;
  right: 11%;
  width: 21vw;
  border-radius: 10%;
}

.overlay.overlay-dolaresahorro {
  top: 4vw;
  left: 11%;
  width: 21vw;
  border-radius: 10%;
}

/*###############################################################################################################################################################################################*/

/* CONOCENOS */
/* CONOCENOS */
/* Contenedor que centra el título */
.titulo-estilo-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: transparent;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid white;
  border-radius: 30px;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  transition: all 0.3s ease;
  text-align: center;
  margin: 0 auto 40px auto;
  margin-top: -460px;
  width: center;
}

@media (max-width: 768px) {
  .titulo-estilo-boton {
    font-size: 14px;
    padding: 8px 18px;
  }
}


:root {
  --bg-color: white;
  --hover-bg-color: #edf2fa;
  --text-color: white;
  --hover-text-color: #3A718E;
  --title-color: #3A718E;
  --subtitle-color: #3A718E;
  --instagram-text-color: #3A718E;
  --btn-border-color: transparent;
  --btn-text-color: white;
  --btn-bg-color: #77b4d5;
  --btn-hover-bg: #3A718E;
}

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

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

/* ---------- SECCIÓN CONTACTO ---------- */
.contact-banner {
  margin-top: 20px;
  background-color: #3A718E;
  padding: 100px 20px;
  width: 100%;
  margin-bottom: 20px;
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
}

/* Tarjeta individual */
.social-card {
  background: var(--bg-color);
  border-radius: 30px;
  padding: 40px 35px;
  width: 320px;
  height: 420px;
  color: var(--text-color);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

.social-card:hover {
  transform: scale(1.1);
  background-color: var(--hover-bg-color);
  color: var(--hover-text-color);
}

.social-card h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--title-color);
}

.social-card p {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 25px;
  color: var(--subtitle-color);
}

.social-card .social-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 25px;
}

.social-card .social-info span {
  font-size: 20px;
  font-weight: 600;
  color: var(--instagram-text-color);
}

.btn-group {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-card .btn {
  display: none;
  padding: 14px 28px;
  border: 2px solid var(--btn-border-color);
  border-radius: 9999px;
  background-color: var(--btn-bg-color);
  color: var(--btn-text-color);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 16px;
}

.social-card:hover .btn {
  display: inline-block;
}

.social-card .btn a {
  color: var(--btn-text-color);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  display: inline-block;
}

.social-card .btn:hover {
  background-color: var(--btn-hover-bg);
  color: white;
}

.social-card .btn:hover a {
  color: white;
}

.social-link i {
  font-size: 28px;
  color: white;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link-conocenos i {
  font-size: 28px;
  color: #3A718E;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link i:hover {
  color: #77b4d5;
  transform: scale(1.2);
}

.social-info span {
  font-weight: bold;
  font-size: 60px;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .social-card {
    width: 90%;
    height: auto;
    padding: 30px 20px;
  }

  .social-card h2 {
    font-size: 28px;
    text-align: center;
  }

  .social-card p {
    font-size: 18px;
    text-align: center;
  }

  .social-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-group .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- RESTO DEL ESTILO QUE YA TENÍAS ---------- */



.banner-conocenos, .banner-desconocida, .banner-objetivo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.swiper-slide-banner1conoce {
  width: 100%;
  height: 800px;
}
.mySwiper-banner1conoce {
  width: 100%;
  max-width: 1520px;
  height: 100%;
  max-height: 620px;
} 

.banner-conocenos {
  width: 70vw;
  margin-left: 2vw;
  left: 15%;
  height: 40vw;
}

.banner-desconocida-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #ffffff;
  border-radius: 3%;
  height: 20vw;
}

.banner-desconocida {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 20vw;
}

.banner-objetivo-fondo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #f2f2f2;
  border-radius: 3%;
  height: 29vw;
}

.banner-objetivo {
  width: 60vw;
  margin-left: calc(-50vw + 50%);
  left: 20%;
  height: 29vw;
}

.img-conocenos,
.img-desconocida,
.img-objetivo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none;
  max-width: none;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  height: 100px;
  box-sizing: border-box;
}

.logo img {
  margin-left: 100px;
  height: 80px;
}

.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #818181;
  padding: 10px 15px;
  display: block;
  font-size: 18px;
}

.nav-links a:hover {
  color: #3A718E;
  font-weight: bold;
}

.dropdown-content {
  position: fixed;
  left: 0;
  top: 80px;
  background-color: #3A718E;
  display: none;
  width: 100vw;
  z-index: 999;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.dropdown-content a {
  color: #e5e5e5;
  text-align: center;
  text-decoration: none;
  flex: 1;
  padding: 10px;
}

.dropdown-content a:hover {
  color: white;
  font-weight: bold;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

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

.social-card {
  width: 350px;
}


.btn-contact {
  display: inline-block;
  background-color: #3A718E;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-contact:hover {
  background-color: #3A718E;
}

.search-bar {
  display: flex;
  align-items: center;
}

.search-bar input {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.desktop-search {
  display: flex;
}

.mobile-search,
.mobile-contact {
  display: none;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  padding: 10px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

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

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid #ddd;
  }

  .mobile-search,
  .mobile-contact {
    display: flex;
    justify-content: center;
    padding: 10px;
  }

  .desktop-search,
  .desktop-contact {
    display: none;
  }

  .dropdown-content {
    position: relative;
    flex-direction: column;
    width: 100%;
  }
}