* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  text-align: center;
  background-color: #ffffff;
  color: #333;
  padding: 1rem;
  padding-top: 6rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

header {
  margin-bottom: 1.5rem;
}

  /* navbar */
  #navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    padding: 0 20px;
  }

  .nav-container {
    display: flex;
    width: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-icon {
    display: none;
  }

  .dropdown.active .btn {
    background-color: #122068;
    color: white;
    border: 2px solid #122068;
}

.dropdown.active > .btn {
  background-color: #122068;
  color: white;
  border-color: #122068;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
}

.submenu.show {
  display: block;
  display: flex;
}

  .submenu .sub-btn {
    background-color: #122068;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border: none;
    text-align: left;
    width: 100%;
  }

  .submenu .sub-btn:hover {
    background-color: #122068;
  }

  .submenu .sub-btn.active {
    background-color: #2c3eaa;
    font-weight: bold;
    position: relative;
  }

  .submenu .sub-btn.active::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background-color: #4dabf7;
    border-radius: 2px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .nav-buttons {
    display: flex;
    gap: 10px;
  }

  .btn:hover {
    background-color: #ffffff;
    border-radius: 5px;
    border: 2px solid #122068;
    transform: scale(1.05);
  }

  .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .container-all {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
  }

  #Logo1 {
    width: auto;
    height: 50px;
    margin: 10px 0;
  }
  
  .img-responsive {
    max-width: 100%;
    height: auto;
  }
  
  h1 {
    font-size: 1.5em;
    color: #44A7DD;
    margin-bottom: 10px;
  }
  
  h2 {
    font-size: 1.5em;
    color: #44A7DD;
    margin-bottom: 10px;
  }
  
  .section h2 {
    font-size: 2em;
    color: #44A7DD;
  }
  
  ul {
    list-style-type: disc;
    padding-left: 20px;
  }
  
  .section ul {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
  }
  
  .section img {
    max-width: 100%;
    height: auto;
  }
  
  button {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 12px 20px;
    border: 2px solid transparent; 
    border-radius: 5px;
    margin: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s; 
  }
  
  button:hover {
    border-color: #122068; 
  }
  
  button:focus {
    outline: 2px solid #122068; 
    outline-offset: 2px;
  }

  .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    color: #122068;
    z-index: 1001;
  }
  
  /* --------------------------------------------------------------------Panel Vida------------------------------------------------------------------------------------- */

  .button-container-nomina a {
    text-decoration: none;
  }

  .button-container {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translate(-50%, -50%); 
    width: 100%;
    text-align: center;
    padding: 10px 0;
    z-index: 10;
  }

  .button-container-nomina {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 15px;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .button-container-nomina button {
    background-color: #ffffff;
    color: #122068;
    border: 2px solid #122068;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .button-container-nomina button:hover {
    background-color: #122068;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .container-imgvida {
    width: 100%;
    max-width: 1200px; /* Ajusta según necesites */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  
  .container-imgvida img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0; /* Opcional: bordes redondeados solo arriba */
  }
   
  /* --------------------------------------------------------------------------------------------------------------------------------------------------------- */
  
  .content {
    display: none;
    margin-top: 80px;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .content:target {
    display: block;
    position: relative;
    top: 0;
  }
  
  .content-left,
  .content-right {
    flex: 1;
    padding: 10px;
  }
  
  .content-left img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .content-right iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 8px;
  }
  
  .flex-container {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    margin-top: 10px;
  }
  
  .flex-container h3 {
    font-size: 1.8em;
    color: #44A7DD;
    margin-bottom: 10px;
  }
  
  .flex-container .text-content {
    flex: 1;
    padding: 20px;
    text-align: center;
  }
  
  .flex-container.centered {
    justify-content: center;
    gap: 40px;
  }
  
  .text-content {
    flex: 1;
    padding-right: 20px;
    width: 100%;
  }
  
  .image-content {
    flex: 1;
  }
  
  .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  .text-content,
  .image-content {
    max-width: 500px;
  }
  
  .image-content-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  
  .image-content-center img {
    max-width: 100%;
    height: auto;
    width: 600px; /* ajustar el tamaño de la imagen */
    border-radius: 10px; /* Bordes redondeados opcionales */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .cuadro-medio {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
  }
  
  .cuadro-medio h2 {
    font-size: 2.5em;
    color: #44A7DD;
    margin-bottom: 20px;
  }
  
  .conte-caja-map {
    width: 80%;
    margin: 50px auto;
    display: flex;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .cont-map {
    width: 50%; /* La mitad de la pantalla para el mapa */
  }
  
  .cont-map-form {
    width: 50%; /* La otra mitad para el formulario */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .container-card {
    width: 100%;
    display: flex;
    max-width: 1100px;
    margin: auto;
  }
  .title-cards {
    width: 100%;
    max-width: 1080px;
    margin: auto;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    color: #7a7a7a;
  }
  
  .card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    overflow: hidden;
  }
  .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  .card figure {
    margin: 0;
    padding: 0;
  }
  .card img {
    width: 100%;
    height: auto;
  }
  
  .contenido-card {
    padding: 15px;
  }
  
  .contenido-card {
    padding: 20px;
  }
  
  .contenido-card h3 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
  }
  
  .card .contenido-card h3 {
    margin-bottom: 15px;
    color: #44A7DD;
  }
  
  .contenido-card p {
    font-size: 1em;
    color: #666;
  }
  
  .contenido-card a {
    color: #44A7DD;
    text-decoration: none;
    font-weight: bold;
  }
  
  .contenido-card a:hover {
    text-decoration: underline;
  }
  
  .grid-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
  }
  
  /* Estilos para el modal */
  .modal {
    display: none; /* Escondido por defecto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
  }
  
  .modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 25%;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* --------------------------------------------------------------------------------------------------------------------------------------------------------- */
  /* Pie de página */
  footer {
    background-color: #f9f9f9;
    color: #122068;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.85rem;
    padding: 1rem 1rem 0.8rem;
  }
  
  .pie1 {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-between;
    max-width: 1700px;
    margin: 0 auto;
    align-items: flex-start;
  }
  
  .logo-box {
    height: 15rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
  }
  
  .footer-logo {
    width: 130px;
    height: auto;
    margin-bottom: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  .box h2 {
    font-size: 1rem;
    color: #011502;
    margin-bottom: 0.8rem;
    font-weight: 600;
  }
  
  .contacto-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
  }
  
  .contacto-info div {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.3;
  }
  
  .contacto-info i {
    color: #44a7dd;
    margin-top: 0.15rem;
    font-size: 1rem;
  }
  
  .contacto-info p,
  .telefono-link,
  .email-link {
    margin: 0;
    color: #122068;
    font-size: 0.85rem;
  }
  
  .telefono-link,
  .email-link {
    text-decoration: none;
  }
  
  .telefono-link:hover,
  .email-link:hover {
    color: #7ac100;
  }
  
  .telefonos-container {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .redes-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
  }
  
  .redes-box h2 {
    margin: 0 0 0.5rem;
  }
  
  .redes-sociales {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .derechos {
    border-top: 1px solid #ccc;
    padding-top: 0.8rem;
    text-align: center;
  }
  
  .derechos small,
  .legal-links a {
    color: #777;
    font-size: 0.75rem;
  }
  
  .legal-links {
    margin-top: 0.4rem;
    gap: 1rem;
    display: flex;
    justify-content: center;
  }
  
  .legal-links a:hover {
    color: #122068;
  }
  
main {
  flex: 1;
  padding-bottom: 100px;
}

#nomina,
#met99,
#maestro20,
#pt20,
#RVida,
#ExpeProp,
#ExpeGlob,
#GastFune,
#RenoSiDi,
#SeguMedi,
#MediEmpr,
#ProcGara,
#MediModu,
#Vida,
#ExpPro,
#ExpGlo,
#GastosF,
#Renovable
{
    scroll-margin-top: 140px;
}
  /* Fin pie de pagina */
  
  /* Logos */
  
  @import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
  
  .wrapper {
    display: inline-flex;
    list-style: none;
  }
  
  .wrapper .icon {
    color: #000;
    position: relative;
    background: #ffffff;
    border-radius: 50%;
    padding: 15px;
    margin: 10px;
    width: 50px;
    height: 50px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  
  .wrapper .tooltip {
    position: absolute;
    top: 0;
    font-size: 14px;
    background: #ffffff;
    color: #ffffff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  
  .wrapper .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  
  .wrapper .icon:hover .tooltip {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .wrapper .icon:hover span,
  .wrapper .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
  }
  
  .wrapper .facebook:hover,
  .wrapper .facebook:hover .tooltip,
  .wrapper .facebook:hover .tooltip::before {
    background: #44A7DD;
    color: #ffffff;
  }
  
  .wrapper .instagram:hover,
  .wrapper .instagram:hover .tooltip,
  .wrapper .instagram:hover .tooltip::before {
    background: #e4405f;
    color: #ffffff;
  }
  
  .list {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: max-content;
    transition: 1s;
  }
  .list img {
    width: 1300px;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
  }
  
  .buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
  }
  .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #505050;
    color: #aaa;
    border: none;
    font-family: monospace;
    font-weight: bold;
  }
  .dots {
    position: absolute;
    bottom: 10px;
    color: #ffffff;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .dos li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    margin: 20px;
    border-radius: 20px;
    transition: 1s;
  }
  
  .dos li.active {
    width: 30px;
  }
  
  .logo-ini {
    display: flex;
    align-items: center;
    padding: 10px 0 10px 20px;
    margin-right: auto;
}

.logo-ini img {
    width: 80px;
    height: auto;
    display: block;
    margin-right: 15px;
}
  
  .corporativo {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
  }
  
  .corporativo-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  
  .corporativo-img, .corporativo-map {
    flex: 1;
    max-width: 48%;
  }
  
  .corporativo-img img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  
  .corporativo-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  
  .icon {
    width: 70px;
    height: auto;
    margin-bottom: 10px;
  }
  
  a {
    color: #122068;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  .cta-link {
    display: inline-block;
    background-color: #122068;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Efecto de línea inferior animada */
.cta-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #4dabf7;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

/* Efectos hover */
.cta-link:hover {
    background-color: #0d1a52;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.cta-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Efecto al hacer clic */
.cta-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Efecto de pulso para llamar más la atención */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 124, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(74, 124, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 124, 255, 0); }
}

.cta-link.pulse {
    animation: pulse 2s infinite;
}
  
  .intro-section {
    text-align: center;
    margin-bottom: 40px;
  }

  .intro-section-agus {
    height: 100vh;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .intro-section h1 {
    font-size: 2rem;
    margin-top: 10px;
  }
  
  .tips-section ul {
    list-style-type: none;
    padding-left: 0;
  }
  
  .tips-section ul li {
    margin: 10px 0;
  }
  
  .tips-section ul li a {
    color: #122068;
    text-decoration: none;
  }
  
  .tips-section ul li a:hover {
    text-decoration: underline;
  }
  
  .info-tips-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas de igual tamaño */
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .info-section, .tips-section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
  }
  
  .cta-section {
    text-align: center;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .btn-saber-mas {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #44A7DD;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .btn-saber-mas:hover {
    background-color: #122068;
  }
  
  #dynamic-content {
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
  }
  
  /* --------------------------------------------------------------------------------------------------------------------------------------------------------- */
  /* Sucurcales css */

  .estado.con-sucursal {
    fill: blue;
    stroke: black;
    stroke-width: 1;
  }

#info-box-est {
    position: absolute;
    display: none;
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .modal-sucursal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content-sucursal {
    background: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 60%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content-sucursal img {
    max-width: 200px;
    margin-bottom: 20px;
}

#modal-mapa-sucursal {
    width: 100%;
    height: 300px;
    margin-top: 10px;
}

.close-sucursal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

  /* Fin Sucursales */
  /* ----------------------------------------------------------------------------------------------------------------------------------------------------------------- */
  
  /* Estilos del carrusel */
  .carousel {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    aspect-ratio: 2048/1080;
    border-radius: 10px;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
    background-color: white;
  }
  
  .carousel-slide {
    width: 100%;
    flex-shrink: 0;
    height: 100%;
    position: relative;
    background-color: white;
  }

  .carousel-slide a {
    display: block;
    height: 100%;
  }
  
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
  }
  
  /* Opcional: Fondo para áreas sobrantes si mantienes relación fija */
  .carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.03); /* Color sutil para áreas no cubiertas */
    z-index: -1;
    border-radius: 10px;
  }


  
  /* ------------------------------------------------------------------------------------- */
  /* centro de capacitacion */
  
  .hero_yabu {
    position: relative;
    text-align: center;
    color: #fff;
  }
  
  .hero_image_yabu {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .hero_title_yabu {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.2rem;
    position: absolute;
    top: 15%;
    left: 50%;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%);
    font-size: 3rem;
  }
  
  .content_yabu {
    padding: 10px;
    max-width: 1000px;
    margin: auto;
  }
  
  .section_yabu {
    margin-bottom: 30px;
  }
  
  .section_yabu_der {
    margin-top: 30px;
  }
  
  .section_content_yabu {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .reverse_yabu {
    flex-direction: row-reverse;
  }
  
  .section_image_yabu {
    width: 40%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }
  
  .text_container_yabu {
    width: 60%;
  }
  
  .section_title_yabu {
    font-size: 2rem;
    color: #003f7f;
    border-bottom: 2px solid #000;
    margin-bottom: 10px;
  }
  
        /* Estilos básicos del mapa */
      .estado {
          fill: #c0c0c0;
          stroke: #000;
          cursor: pointer;
      }
  
      .estado:hover {
          fill: #808080;
      }
  
      #info-box-est {
          position: absolute;
          display: none;
          background-color: white;
          border: 1px solid #ccc;
          padding: 10px;
          box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
          z-index: 10;
      }
      svg {
          max-width: 80%;
          height: auto;
          margin: 20px auto;
          display: block;
      }
    
/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------*/ 
/* FlexyLife */

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: #011502;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #3498db;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.parent-FlexyLife {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-gap: 30px;
  margin-bottom: 20px;
}

.flex-title {
  grid-column: 1 / 6;
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.flex-title h1, h2{
  margin: 0;
  padding: 25px;
  font-size: 25px;
  font-weight: 500;
  color: #01200F;
}

.flex-info {
  grid-column: 6 / 13;
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.flex-benf {
  grid-column: 3 / 10;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.flex-edad {
  grid-column: 3 / 10;
  margin-top: 20px;
}

.benefit-text {
  flex: 1;
  padding-right: 15px;
}

.benefit-text p {
  margin: 10px 0 0 0;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.benefit-text h3 {
  margin-bottom: 8px;
  color: #2c3e50;
  font-size: 18px;
}

/* Elementos de beneficios */
.benefit-item {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.highlight-text {
  font-size: 18px;
  color: #2c3e50;
  line-height: 1.5;
}

.benefits-list {
  padding-left: 20px;
}

.benefits-list li {
  margin-bottom: 10px;
  position: relative;
  list-style-type: none;
  padding-left: 25px;
}

.benefits-list li:before {
  content: "✓";
  color: #27ae60;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Tabla de edades */
.age-table-container {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.age-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.age-table th, .age-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}

.age-table th {
  background-color: #3498db;
  color: white;
}

.age-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.table-description {
  color: #7f8c8d;
  margin-bottom: 15px;
}

/* Sección de características */
.features-container {
  margin-top: 50px;
}

.features-title {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.features-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #3498db;
  margin: 15px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-content {
  text-align: center;
}

.feature-content img {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 992px) {
  .parent-FlexyLife {
      grid-template-columns: 1fr;
  }
  
  .flex-title, .flex-info, .flex-benf, .flex-edad {
      grid-column: 1 / -1;
  }
  
  .features-grid {
      grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .features-grid {
      grid-template-columns: 1fr;
  }
  
  .benefit-item {
      flex-direction: column;
      text-align: center;
  }
  
  .benefit-icon {
      margin-bottom: 15px;
  }
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*MET99*/
.titulo-met99 {
  text-align: center;
  color: #011502;
  margin-bottom: 30px;
  font-weight: 300;
  font-size: 24px;
}

.beneficio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Máx. 4 por fila */
  gap: 20px;
}

.beneficio-container,
.beneficios-met99-grid,
.coberturas-met99-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.beneficio-met99 {
  background-color: #ffffff;
  border-bottom: 4px solid transparent;
  background-image: linear-gradient(to bottom, #7AC100 50%, #44A7DD 50%);
  background-position: left;
  background-repeat: no-repeat;
  background-size: 4px 100%;
  padding: 25px 20px;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.beneficio-met99:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.beneficio-met99 h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #01200F;
}

.icono-met99 {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icono-met99 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.terminosmet99 {
  color: #7f7f7f;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1024px) {
  .beneficio-container,
  .beneficios-met99-grid,
  .coberturas-met99-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 por fila */
  }
}

@media (max-width: 768px) {
  .beneficio-container,
  .beneficios-met99-grid,
  .coberturas-met99-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 por fila */
  }
}

@media (max-width: 480px) {
  .beneficio-container,
  .beneficios-met99-grid,
  .coberturas-met99-grid {
    grid-template-columns: 1fr; /* 1 por fila en móviles */
  }
}

.beneficio-cabecera {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  position: relative;
}

.expandir-icono {
  margin-left: auto;
  font-size: 20px;
  font-weight: bold;
  color: #44A7DD;
  transition: transform 0.3s ease;
}

.beneficio-contenido {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.4s ease;
}


.beneficio-met99.expandido .beneficio-contenido {
  max-height: 1000px;
  padding: 15px;
}

.beneficio-met99.expandido .expandir-icono {
  transform: rotate(45deg);
}

.detalle-item {
  margin-bottom: 10px;
  padding: 10px;
  background-color: #ffffff;
}

.ventajas-met99 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.ventaja {
  background-color: #f7fff5;
  border: 1px solid #cce5cc;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ventaja:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.ventaja .icono {
  font-size: 28px;
  color: #44A7DD;
  flex-shrink: 0;
  margin-top: 2px;
}

.ventaja p {
  margin: 0;
  color: #01200F;
  font-size: 16px;
  line-height: 1.4;
}

.icono-met99-title{
  width: 120px;
  height: auto;
  margin-right: 10px;
  vertical-align: middle;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*Linea divisora*/

.divider {
  height: 5px;
  width: 100%;
  background: linear-gradient(to right, #7AC100, #44A7DD);
  border-radius: 3px;
  margin: 20px 0; /* Espaciado arriba y abajo */
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*Contrata Moldal*/

.modal-contratar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1050;
  overflow-y: auto;
}

.modal-content-contratar {
  background: white;
  margin: 5% auto;
  padding: 25px;
  width: 90%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  animation: modalFadeIn 0.3s;
}

.modal-contratar .modal-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.modal-contratar .modal-title {
  color: #2c3e50;
  font-weight: 700;
}

.modal-contratar .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #7f8c8d;
  transition: 0.2s;
}

.modal-contratar .close:hover {
  color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content-contratar {
    margin: 10% auto;
    width: 95%;
  }
}

.btn-enviar-contratar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-enviar-contratar.primary {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
}

.btn-enviar-contratar.primary:hover {
  background: linear-gradient(135deg, #2980b9, #3498db);
  box-shadow: 0 6px 8px rgba(52, 152, 219, 0.4);
  transform: translateY(-2px);
}

.btn-enviar-contratar.primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

/* Versión responsive */
@media (max-width: 768px) {
  .btn-enviar {
      padding: 10px 20px;
      font-size: 0.9rem;
  }
}

.modal-header-contratar h2{
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  color: #01200F;
}

.is-valid {
  border-color: #28a745 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid {
  border-color: #dc3545 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
  display: block;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*Texto Oficinas*/

.link-oficinas {
  display: inline-block;
  color: #122068;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.link-oficinas::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #4dabf7;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.link-oficinas:hover {
  color: #0d1a52;
}

.link-oficinas:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.link-oficinas:active {
  transform: translateY(1px);
}

.link-oficinas.with-icon::before {
  content: '\f3c5';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: #e74c3c;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.link-oficinas.with-icon:hover::before {
  transform: translateX(3px);
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*Formas de pago*/
.requi-section h1,
.pagos-titulo {
  color: #2c3e50;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 1px;
}

.requisitos-container,
.pagos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 0 10px;
}

.requisito-item,
.pago-option {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.requisito-item {
  flex: 1;
  min-width: 260px;
  padding: 25px 20px;
  text-align: center;
}

.requisito-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.requisito-item h2 {
  color: #1c2b1a;
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 600;
}

.icono-texto {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  justify-content: center;
  width: 100%;
}

.icono-requi {
  font-size: 34px;
  flex-shrink: 0;
  color: #3498db;
}

.icono-texto p {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.pagos-section {
  margin-top: 40px;
}

.pagos-titulo {
  color: #2c3e50;
  font-size: 28px;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.pagos-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 10px;
}

.pago-option {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}

.pago-item {
  background: #e8f4fc;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
}

.pago-item:hover {
  transform: translateY(-5px);
  background: #d0e9f7;
}

.pago-icono {
  font-size: 38px;
  margin-bottom: 6px;
  color: #2980b9;
}

.pago-item h2 {
  color: #1c2b1a;
  font-size: 19px;
  margin: 0;
  font-weight: 600;
}

.pago-descripcion {
  background: #fff;
  padding: 18px;
  border-radius: 0 0 12px 12px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pago-descripcion p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*Modal Servicios*/

.modal-servicio {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-servicio h1{
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #01200F;
}

.modal-content-servicio {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 25px;
  border: 1px solid #888;
  width: 90%;
  max-width: 1200px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #333;
}

.servicios-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.servicios-table th {
  background-color: #3498db;
  color: white;
  padding: 12px;
  text-align: left;
  border-right: 1px solid #2980b9;
}

.servicios-table th:nth-child(3) {
  border-left: 1px solid white;
}

.servicios-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #eee;
  vertical-align: top;
}

.servicios-table td:nth-child(3) {
  border-left: 1px solid #eee;
}

.servicios-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.servicios-table tr:hover {
  background-color: #e8f4fc;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 15px;
  }
  
  .servicios-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .servicios-table th, 
  .servicios-table td {
    padding: 8px 10px;
  }
}

.clave-destacada {
  color: #fff;
  background-color: #e74c3c;
  font-weight: bold;
  border-radius: 2px;
  padding: 2px 6px;
}

.servicio-num {
  color: #011502;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*Introduccion*/

.seguro-vida-container {
  font-family: 'Open Sans', Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: #333;
  line-height: 1.6;
}

.hero-section {
  background: linear-gradient(135deg, #e8f4fc 0%, #d4eaf7 100%);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-section h1 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #4a5568;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .content-grid {
      grid-template-columns: 1fr;
  }
}

.benefits-section, .tips-section {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.section-header {
  margin-bottom: 25px;
  text-align: center;
}

.section-header h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.underline {
  width: 80px;
  height: 3px;
  background: #3498db;
  margin: 0 auto;
}

.benefits-content p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #4a5568;
}

.tips-list {
  list-style: none;
  padding: 0;
}

.tips-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #4a5568;
}

.tips-list li a {
  color: #2980b9;
  text-decoration: none;
  transition: color 0.3s;
}

.tips-list li a:hover {
  color: #1a5276;
  text-decoration: underline;
}

.icon-check {
  position: absolute;
  left: 0;
  color: #27ae60;
}

.image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta-section {
  text-align: center;
  margin-top: 50px;
}

.cta-box {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border-radius: 12px;
  padding: 40px;
  color: white;
  box-shadow: 0 6px 20px rgba(41, 128, 185, 0.3);
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
}

.cta-button {
  background: white;
  color: #2980b9;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin: 15px 0;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.cta-footer {
  margin-top: 20px;
  color: rgba(255,255,255,0.9);
}

.office-link {
  color: white;
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.office-link:hover {
  opacity: 0.9;
}

/* Animación pulse */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s infinite;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*Siniestros*/
:root {
  --color-principal: #0056b3;
  --color-secundario: #f0f4f8;
  --color-texto-claro: #ffffff;
  --color-texto-oscuro: #333333;
  --color-borde: #e0e0e0;
  --sombra-sutil: rgba(0, 0, 0, 0.08);
}

.requisitos-acordeon {
  background: var(--color-secundario);
  border: 1px solid var(--color-borde);
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px var(--sombra-sutil);
  overflow: hidden;
  transition: all 0.3s ease;
}

.requisitos-acordeon.activo {
  border-color: var(--color-principal);
  box-shadow: 0 6px 16px var(--sombra-sutil), 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.acordeon-titulo {
  width: 100%;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  background: var(--color-principal);
  color: var(--color-texto-claro);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
  font-family: inherit; /* Asegura que la fuente sea consistente */
  border-radius: 12px 12px 0 0;
}

.requisitos-acordeon.activo .acordeon-titulo {
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.acordeon-titulo:hover {
  background: #004494; /* Un azul un poco más oscuro al pasar el cursor */
}

.acordeon-titulo h2 {
  margin: 0;
  font-size: 1.1rem; /* Un poco más pequeña para un look más moderno */
  font-weight: 600;
  color: var(--color-texto-claro);
  line-height: 1.4;
}

.acordeon-icono {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.requisitos-acordeon.activo .acordeon-icono {
  transform: rotate(45deg); /* Gira el '+' para que se vea como una 'X' */
}

.acordeon-contenido {
  display: none;
  background: var(--color-secundario);
  padding: 20px 30px;
  animation: fadeIn 0.4s ease-out;
  color: var(--color-texto-oscuro);
  line-height: 1.6;
}

.requisitos-acordeon.activo .acordeon-contenido {
  display: block;
}

.requisitos-lista {
  margin-bottom: 20px;
}

.requisitos-lista p {
  position: relative;
  margin: 10px 0;
  padding-left: 25px; /* Espacio para el ícono de la lista */
}

.requisitos-lista p::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-principal);
  font-size: 1.5rem;
  line-height: 1;
}

.nota-importante {
  background: #fff3cd; /* Un amarillo suave para destacar */
  border-left: 5px solid #ffc107;
  padding: 15px;
  border-radius: 4px;
  font-style: italic;
}

.nota-importante p {
  margin: 0;
}

/* Animación de entrada para el contenido del acordeón */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.requisitos-lista {
  padding: 20px 25px;
}

.requisitos-lista p {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
  color: #333;
}

.requisitos-lista p::before {
  content: "•";
  color: #3498db;
  font-weight: bold;
  position: absolute;
  left: 5px;
}

.nota-importante {
  padding: 15px 25px;
  background: #fff9e6;
  border-top: 1px solid #f1c40f;
  font-size: 0.9rem;
  color: #7f6000;
}

.nota-importante strong {
  color: #e67e22;
}

@media (max-width: 768px) {
  .acordeon-titulo {
    padding: 15px 20px;
  }
  
  .acordeon-titulo h2 {
    font-size: 1.1rem;
  }
  
  .requisitos-lista, .nota-importante {
    padding: 15px 20px;
  }
}

.acordeon-titulo:focus {
  outline: 2px solid #f1c40f;
  outline-offset: 2px;
}

.form-container {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-title {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.redes-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.redes {
  height: 28px; 
  width: auto;
  transition: transform 0.3s ease;
  filter: brightness(0.9);
}

.redes-link:hover .redes {
  transform: scale(1.15);
  filter: brightness(1.2) drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

.redes-link[aria-label="WhatsApp"]:hover .redes {
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(37,211,102,0.4));
}

.redes-link[aria-label="Instagram"]:hover .redes {
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(225,48,108,0.4));
}