@media only screen and (max-width: 1536px) {

  /* Estilos base para todas las secciones */
  section {
    width: 1106.25px; /* Ajusta el ancho proporcionalmente (1475px * 0.75) */
    padding: 25px 25px; /* Ajusta el padding proporcionalmente (60px * 0.75) */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  /* Estilos base para todos los h1 */
  h1 {
    font-family: 'SUSE', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 40px;
    text-align: center;
    color: #019C9E;
    margin-top: 0;
  }

  header {
      height: 112px;
  }

  header img {
      height: 64px;
  }

  nav {
      left: 666px;
      top: 34px;
      width: 517px;
      height: 46px;
  }

  .text-header {
      font-size: 16px;
      padding: 13px 16px;
      height: 46px;
  }

  .text-80 {
      width: 118px;
      height: 52px;
      left: 1230px;
      top: 27px;
  }

  .large-text {
      font-size: 32px;
  }

  .small-text {
      font-size: 24px;
  }

  /* Sub Menu */

  .nav-dropdown .text-header{
    font-size: 16px;
    padding: 10px;
    height: 46px;
  }

  #inicio {
    max-width: 1536px;
    margin-bottom: 112px;
    justify-content: center;
  }

  #presentacion {
    width: 1180px;
    height: 564px;
    margin-top: 112px;
    border-radius: 0 0 40px 40px;

  }

  /* Ajusta el tamaño de las imágenes del carrusel */
  .carousel-item img {
      width: 100%;
      height: auto;
  }

  .overlay-wrapper {
    top: 190px; /* Ajusta la posición vertical */
    left: 680px; /* Centra horizontalmente */
    transform: translateX(-50%) scale(0.85); /* Centra y aplica la escala */
    transform-origin: top center; /* Cambia el origen de la transformación */
  }

  .overlay-content {
      width: 527px; /* Ajusta el ancho proporcionalmente (620px * 0.85) */
      padding: 2.3375rem; /* Ajusta el padding proporcionalmente (2.75rem * 0.85) */
  }

  .overlay-icon {
    top: -31.45px; /* Ajusta la posición vertical proporcionalmente (-37px * 0.85) */
    width: 59.5px; /* Ajusta el ancho proporcionalmente (70px * 0.85) */
    height: 59.5px; /* Ajusta la altura proporcionalmente (70px * 0.85) */
  }

  .overlay-title {
      font-size: 34px; /* Ajusta el tamaño de fuente proporcionalmente (40px * 0.85) */
      margin-top: 0.935rem; /* Ajusta el margen superior proporcionalmente (1.1rem * 0.85) */
      margin-bottom: 21.25px; /* Ajusta el margen inferior proporcionalmente (25px * 0.85) */
  }

  .overlay-button {
      bottom: -29.75px; /* Ajusta la posición vertical proporcionalmente (-35px * 0.85) */
      width: 265.2px; /* Ajusta el ancho proporcionalmente (312px * 0.85) */
      height: 59.5px; /* Ajusta la altura proporcionalmente (70px * 0.85) */
      font-size: 20.4px; /* Ajusta el tamaño de fuente proporcionalmente (24px * 0.85) */
  }

  .empresa-section {
    width: 1106.25px; /* Ajusta el ancho proporcionalmente (1475px * 0.75) */
    padding: 10px 45px; /* Ajusta el padding proporcionalmente (60px * 0.75) */
  }

  .empresa-title {
      font-size: 26px; /* Ajusta el tamaño de fuente proporcionalmente (40px * 0.75) */
      margin-bottom: 20px; /* Ajusta el margen inferior proporcionalmente (40px * 0.75) */
  }

  .empresa-content {
      padding-top: 50px; /* Ajusta el padding superior proporcionalmente (150px * 0.75) */
      gap: 75px; /* Ajusta el espacio entre elementos proporcionalmente (100px * 0.75) */
  }

  .empresa-logo {
      padding: 30px; /* Ajusta el padding proporcionalmente (40px * 0.75) */
      width: 320px; /* Ajusta el ancho proporcionalmente (400px * 0.75) */
  }

  .empresa-text {
      font-size: 14px; /* Ajusta el tamaño de fuente proporcionalmente (16px * 0.75) */
  }

  .empresa-button {
      width: 234px; /* Ajusta el ancho proporcionalmente (312px * 0.75) */
      height: 52.5px; /* Ajusta la altura proporcionalmente (70px * 0.75) */
      font-size: 18px; /* Ajusta el tamaño de fuente proporcionalmente (24px * 0.75) */
      padding: 0.61875rem 1.2375rem; /* Ajusta el padding proporcionalmente (0.825rem 1.65rem * 0.75) */
  }

  /* Banner 80 años */
  .banner-80-anos {
    position: relative;
    width: 100%;
    height: 518px;
    margin: 0 auto;
    padding: 0;
    margin-bottom: 15%;
  }

  .banner-container {
    position: absolute;
    width: 1510px;
    height: 300px;
    left: 28px;
    top: 110px;
    background: #19184A;
    border-radius: 191px;
    overflow: hidden;
    display: flex;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
  }

  .text-frame {
    position: relative;
    margin-left: 15%;
    border: 2px solid #019C9E;
    padding: 40px;
    width: fit-content;
    text-align: center;
  }

  .banner-title {
    font-family: 'SUSE', sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 93%;
    color: #FFFFFF;
    margin: 0;
    white-space: nowrap;
  }

  .decorative-square {
    position: absolute;
  }

  .decorative-square.green {
    width: 84px;
    height: 78px;
    left: -40px;
    bottom: -40px;
    background: #03C59D;
  }

  .decorative-square.orange {
    width: 59px;
    height: 57px;
    right: -27px;
    top: -27px;
    background: #F68E2F;
  }

  .decorative-lines {
    position: absolute;
    right: 35%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .line {
    height: 40px;
    border-radius: 30px;
  }

  .line.light {
    width: 250px;
    margin-left: 75%;
    background: #A2E6FD;
  }

  .line.dark {
    width: 290px;
    margin-left: 35%;
    background: #019C9E;
  }

  .banner-image {
    position: absolute;
    width: 14.3%;
    height: 350px;
    left: 65%;
    top: 60px;
    background-size: cover;
    background-position: center;
  }

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

  /* La empresa */





  /* Sección Equipo */
  .equipo-section {
    width: 1519px;
    padding-top: 80px;
    background-color: #019C9E;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .equipo-section h1 {
    color: white;
    margin-bottom: 20px;
  }

  .equipo-subtitulo {
    display: flex;
    justify-content: center;
    margin-bottom: 2px;
    width: 100%;
  }

  .equipo-subtitle {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    max-width: 1400px;
  }

  .equipo-carousel {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
  }

  .carousel-container {
    height: 400px;
    overflow: hidden;
    margin: 10px auto;
    width: calc(300px * 3 + 15px * 2);
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 10px;
  }

  .team-card {
    flex: 0 0 280px;
    height: 400px;
    position: relative;
    margin: 0;
  }

  .card-background {
    position: absolute;
    width: 300px;
    height: 170px;
    top: 210px;
    bottom: 0;
    background: #19184A;
    border-radius: 0 0 44px 44px;    
    z-index: 1;
  }

  /* Colores para cada card-background */
  .team-card:nth-child(4n + 1) .card-background {
      background: #19184A;
  }

  .team-card:nth-child(4n + 2) .card-background {
      background: #A2E6FD;
  }

  .team-card:nth-child(4n + 3) .card-background {
      background: #03C59D;
  }

  .team-card:nth-child(4n + 4) .card-background {
      background: #F68E2F;
  }

  .card-image {
    width: 260px;
    height: 350px;
    margin: 5px 20px;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  .card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .card-info {
      position: absolute;
      width: 260px;
      height: 150px;
      bottom: 0;
      top: 210px;
      left: 20px;
      right: 15px;
      background: #FEFEFE;
      padding: 20px;
      border-radius: 0 0 23px 23px;
      text-align: center;
      z-index: 2;
  }

  .card-info h3 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 18px;
      line-height: 28.08px;
      color: #019C9E;
      margin-bottom: 10px;
      text-align: center;
  }

  .card-info p {
      font-family: 'Montserrat', sans-serif;
      font-weight: 400;
      font-size: 20px;
      line-height: 24.58px;
      color: #666;
  }

  .carousel-arrow {
      position: absolute;
      top: 40%;
      transform: translateY(-50%);
      width: 55px;
      height: 55px;
      background: #A2E6FD;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
  }

  .prev { left: -5px; }
  .next { right: -5px; }

  .carousel-dots {
      display: flex;
      justify-content: center;
      gap: 10px;
  }

  .dot {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: #D9D9D9;
      cursor: pointer;
  }

  .dot.active {
      background: #A2E6FD;
  }

  /* Sección Coberturas */
  .coberturas-section{
    width: 1106.25px; /* Ajusta el ancho proporcionalmente (1475px * 0.75) */
    padding: 45px 45px; /* Ajusta el padding proporcionalmente (60px * 0.75) */
    display: flex;    
    align-items: center;
    justify-content: center;
  }

  .coberturas-section h1{
    margin-left: 400px;
    padding-top: 45px;
  }
  
  .cobertura-subtitulo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
  }

  .cobertura-subtitle {
    color: rgb(0, 0, 0);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 32.64px;
    text-align: center;
    max-width: 1400px;
    margin-left: 400px;
  }

  .coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1475px;
    margin-left: 10%;
    padding: 0;
  }

  .coverage-button {
    display: flex;
    align-items: center;
    width: 600px;
    height: 60px;
    padding: 0 30px;
    background-color: #019C9E;
    border-radius: 49px;
    text-decoration: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    cursor: pointer;
  }

  .coverage-button > :not(.arrow-icon) {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .coverage-button:hover {
    text-decoration: none;
    background-color: #19184A;
    color: white
  }

  .coverage-icon {
    width: 30px;
    height: 30px;
    margin-right: 20px;
    flex-shrink: 0;
  }

  .coverage-other {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-left: 45%;
  }

  .arrow-icon-coverage {
    margin-left: auto;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .coverage-button:hover .arrow-icon-coverage {
    transform: translateX(10px);
  }



  /* SERVICIOS */
  .servicios-section {
    padding: 80px 0 30px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
  }

  .servicios-carousel {
    width: 100%;
    max-width: 852px; /* Ancho exacto para dos tarjetas + gap */
    margin: 0 auto;
    position: relative;
    padding: 0;
  }

  .servicios-container {
    height: 520px;
    overflow: hidden;
    margin: 0 auto;
    width: 100%; /* Usamos el 100% del carousel */
  }

  .servicios-track {
    display: flex;
    gap: 24px;
    touch-action: pan-y pinch-zoom;
    will-change: transform;
    transition: transform 0.5s ease;
  }

  .service-card {
    flex: 0 0 414px;
    height: 488px;
    position: relative;
    margin: 0;
    user-select: none;
  }

  .background-servicios {
    position: absolute;
    width: 414px;
    height: 190px;
    top: 310px;
    left: 0;
    z-index: 1;
    border-radius: 0 0 35px 35px;
  }

  /* Colores para cada background-servicios */
  .service-card:nth-child(4n + 1) .background-servicios {
    background: #019C9E;
  }

  .service-card:nth-child(4n + 2) .background-servicios {
    background: #A2E6FD;
  }

  .service-card:nth-child(4n + 3) .background-servicios {
    background: #F68E2F;
  }

  .service-card:nth-child(4n + 4) .background-servicios {
    background: #03C59D;
  }

  .service-info {
    width: 381px;
    height: 469px;
    top: 13px;
    left: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 32px;
    box-shadow: 0px 3px 6px 8px #00000008;
    border-radius: 35px;
    background: #FFFFFF;
  }

  .service-icon {
    width: 96px;
    height: 96px;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .service-info h3 {
    font-family: 'SUSE', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 39px;
    color: #19184A;
    margin-bottom: 16px;
    text-align: center;
  }

  .service-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #666;
    text-align: center;
    margin-bottom: auto;
    max-width: 304px;
  }

  .service-button {
    width: 228px;
    height: 58px;
    gap: 0px;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 32px;
    border-radius: 24px;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-bottom: 4px;
  }

  .service-card:nth-child(4n + 1) .service-button {
    background: #019C9E;
  }

  .service-card:nth-child(4n + 2) .service-button {
    background: #A2E6FD;
  }

  .service-card:nth-child(4n + 3) .service-button {
    background: #F68E2F;
  }

  .service-card:nth-child(4n + 4) .service-button {
    background: #03C59D;
  }

  .service-card:nth-child(4n + 1) .service-button:hover,
  .service-card:nth-child(4n + 2) .service-button:hover,
  .service-card:nth-child(4n + 3) .service-button:hover,
  .service-card:nth-child(4n + 4) .service-button:hover {
    background: #19184A;
    text-decoration: none;
    color: white;
  }

  .servicios-arrow {
    opacity: 1 !important;
    cursor: pointer !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #A2E6FD;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background-color 0.3s ease;
  }

  .servicios-arrow:hover {
    background: #019C9E;
  }

  .prev-service { 
    left: -60px;
  }

  .next-service { 
    right: -60px;
  }

  .servicios-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .dot-service {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #D9D9D9;
    cursor: pointer;
  }

  .dot-service.active {
    background: #A2E6FD;
  }


  /* CONTACTO */
  /* Sección Contacto */
  .contacto-section {
    height: 700px;
  }

  .contacto-background {
    width: 1536px;
    height: 600px;
    left: 50%;
  }

  .contacto-content {
    width: 100%;
    max-width: 1475px;
    padding-top: 100px;
  }

  .contacto-section h1 {
    font-size: 30px;
    margin-bottom: 45px;
  }

  .contact-form {
    width: 600px;
  }

  .form-group {
    margin-bottom: 15px;
    position: relative;
  }

  .form-group input {
    width: 600px;
    height: 50px;
    padding: 0 30px;
    font-size: 16px;
    color: #333;
  }

  .textarea-group textarea {
    width: 600px;
    height: 150px;
    padding: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #333;
    resize: none;
  }

  .required-fields {
    font-size: 12px;
    color: white;
    margin-left: 40px;
  }

  .submit-button-contacto {
    width: 200px;
    height: 50px;    
    font-size: 20px;
  }

  .submit-button-contacto:hover {
    background: #03C59D;
  }

  .arrow-icon {
    width: 20px;
    height: 20px;
  }



  /* FOOTER */
  .footer-container {
    font-family: Arial, sans-serif;
  }

  .footer-main {
      background-color: #19184A;
      color: white;
      padding: 4rem 0;
  }

  .footer-content {
      max-width: 1475px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding: 0 2rem;
      gap: 1rem;
  }

  /* Columna izquierda */
  .footer-info {
      flex: 0 0 35%;
      margin-left: 55px;
      display: flex;
      flex-direction: column;
      gap: 1rem;
  }

  .footer-info img {
      width: 230px;
      height: auto;
  }

  /* Información de contacto */
  .contact-info {
      display: flex;
      flex-direction: column;
      gap: 1rem;
  }

  .contact-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
      font-weight: 700;
      color: white;
  }

  .contact-item i {
      color: #A2E6FD;
      font-size: 18px;
      width: 20px;
  }

  /* Redes sociales */
  .social-links {
      display: flex;
      flex-direction: column;

  }

  #redes {
      font-family: 'Montserrat', sans-serif;
      font-size: 18px;
      font-weight: 700;
  }

  .social-icons {
      display: flex;
      gap: 1.5rem;
  }

  .social-icons a {
      color: #A2E6FD;
      font-size: 40px;
      text-decoration: none;
  }

  /* Mapa */
  .map-container {
    flex: 0 0 55%;
    height: 250px;
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
  }
  /* Barra de información SSN */
  .info-bar {
      background-color: #E4E4E7;
      padding: 2rem 0;
  }

  .info-content {    
      margin-left: 10px;
      max-width: 1520px;    
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 80px;
      gap: 20px;
  }

  .info-item {
      font-family: 'Montserrat';
      font-weight: 400;
      font-size: 16px;
      line-height: 1.4;
      color: #333;
      position: relative;
      padding: 0 20px;
      display: flex;
      align-items: center;
      text-align: center;
      min-height: 60px;
  }

  .info-item br + * {
      margin-top: 5px;
  }

  .info-item:not(:last-child):not(:nth-last-child(2))::after {
      content: '';
      position: absolute;
      right: -10px;
      top: 50%;
      transform: translateY(-50%);
      height: 40px;
      width: 1px;
      background-color: #03C59D;
  }

  .ssn-logo {
      max-width: 230px;
      height: auto;
  }

  .disclaimer {
      max-width: 1200px;
      margin: 2rem auto 0;
      padding: 0 2rem;
      text-align: center;
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      line-height: 1.5;
      color: #666;
  }

  /* Botones Flotantes */
  .floating-buttons {
      position: fixed;
      right: 50px;
      bottom: 100px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      z-index: 1000;
      align-items: center;
  }

  .floating-button {
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }

  .back-to-top {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: none;
      background: #F68E2F;
      display: none;
      position: relative;
  }

  .back-to-top svg {
      position: absolute;
      width: 19px;
      height: 29px;
      transform: rotate(360deg);
  }

  .back-to-top svg path {
      stroke: #FFFFFF;
      stroke-width: 3;
  }

  .back-to-top:hover {
      background: #03C59D;
  }

  .whatsapp {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      text-decoration: none;
      border: none;
      background: transparent;
      box-shadow: none;
  }

  .whatsapp img {
      width: 100%;
      height: 100%;
      object-fit: contain;
  }

  .whatsapp:hover {
      transform: scale(1.1);
  }

}

@media only screen and (max-width: 1366px) {
  /* Base styles */
  section {
      min-height: calc(100vh - 99.61px);
      padding-top: 99.61px;
      max-width: 1366px;
  }

  h1 {
      font-size: 28.46px;
      line-height: 34.86px;
  }

  /* Header */
  header {
      height: 88px;
  }

  header img {
      height: 56.92px;
      margin-left: 150px;
  }

  /* Navigation */
  nav {
      left: 591.97px;
      top: 29.88px;
      width: 459.63px;
      height: 40.56px;
  }

  .text-header {
      font-size: 14.23px;
      padding: 11.38px 14.23px;
      height: 40.56px;
  }

  /* 80 Years Counter */
  .text-80 {
      width: 104.59px;
      height: 46.25px;
      left: 1095px;
      top: 24.19px;
  }

  .large-text {
      font-size: 28.46px;
  }

  .small-text {
      font-size: 21.35px;
  }

  /* Home Section */
  #inicio{
    width: 1342px;
  }

  #presentacion {
      width: 1049.46px;
      height: 501.61px;
      margin-top: 90px;
      border-radius: 0 0 35.58px 35.58px;
  }

  /* Overlay Content */
  .overlay-wrapper {
      top: 160px;
      left: 584px;
  }

  .overlay-content {
      width: 550px;
      height: 250px;
      padding: 28px;
      margin-left: -5px;
  }

  .overlay-icon {
      width: 49.81px;
      height: 49.81px;
      top: -26.33px;
  }

  .overlay-title {
      font-size: 36px;
      margin-left: 80px;
      margin-bottom: 17.79px;
  }

  .decorative-line{
    margin-left: 80px;
  }

  .overlay-button {
      width: 250px;
      height: 60px;
      font-size: 24px;
      border-radius: 32.02px;
      padding: 0.587rem 1.174rem;
  }

  /* Company Section */
  .empresa-section {
      width: 1049.46px;
      padding: 25.69px;
  }

  .empresa-content {
      gap: 71.15px;
      padding-top: 16.92px;
  }

  .empresa-title {
    font-size: 26px; /* Ajusta el tamaño de fuente proporcionalmente (40px * 0.75) */
    margin-bottom: 10px; /* Ajusta el margen inferior proporcionalmente (40px * 0.75) */
}

  .empresa-logo {
      width: 284.6px;
      padding: 28.46px;
  }

  .empresa-text {
      font-size: 12px;
  }

  .empresa-button {
      width: 221.99px;
      height: 49.81px;
      font-size: 17.08px;
      border-radius: 32.02px;
  }

  /* 80 Years Banner */
  .banner-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;

    /*width: 1300px;*/
    height: 290.29px;
    border-radius: 135.89px;
  }

  .banner-title {
      font-size: 64.04px;
  }

  .decorative-square.green {
      width: 61.5px;
      height: 58.34px;
      left: -28.46px;
      bottom: -28.46px;
  }

  .decorative-square.orange {
      width: 44.02px;
      height: 41.97px;
      right: -19.21px;
      top: -19.21px;
  }

  .banner-image {
    position: absolute;
    width: 15.4%;
    height: 340px;
    left: 65%;
    top: 60px;
    background-size: cover;
    background-position: center;
  }

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

  /* Team Section */
  .equipo-section{
    /*width: 1349px;*/
    width: 100%;
    max-width: 1349px;
    height: 750px;
    padding: 0 15px;

  }

  .equipo-section h1{
    margin-top: 80px;
  }

  .equipo-subtitle {
    font-size: 16px;
    margin-bottom: 3px;
    max-width: 1300px;
  }

  .equipo-carousel {
      max-width: 1049.46px;
  }

  .carousel-container {
      height: 350px;
      width: calc(249px * 3 + 21.35px * 2);
  }

  .team-card {
      flex: 0 0 253.91px;
      height: 322.31px;
  }

  .card-background {
      width: 255px;
      height: 150.13px;
      top: 190.68px;
  }

  .card-image {
      width: 225.45px;
      height: 303.81px;
      margin: 10.67px auto -15px;
      border-radius: 18.5px;
  }

  .card-info {
      width: 225.45px;
      height: 131.63px;
      padding: 14.23px;
      left: 14px;
      top: 190.68px;
  }

  .card-info h3 {
      font-size: 17.08px;
      line-height: 19.98px;
      margin-bottom: 10px;
  }

  .card-info p {
      font-size: 16px;
      line-height: 17.49px;
  }

  .dot{
    width: 25px;
    height: 25px;
  }

  /* Coverage Section */

  /* Sección Coberturas */
  .coberturas-section{
    width: 1366px; /* Ajusta el ancho proporcionalmente (1475px * 0.75) */
    padding: 45px 45px; /* Ajusta el padding proporcionalmente (60px * 0.75) */
    display: flex;    
    align-items: center;
    justify-content: center;
  }

  .coberturas-section h1{
    margin-left: 0;
    padding-top: 30px;
    align-items: center;
  }
  
  .cobertura-subtitulo p{
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-bottom: 5px;
    width: 100%;
  }

  .coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 1366px;
    margin-left: 10%;
    padding: 0;
  }

  .coverage-button {
    width: 510.86px;
    height: 55px;
    font-size: 17.08px;
    border-radius: 34.86px;
    padding: 0 18px;
  }

  .coverage-button > :not(.arrow-icon) {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .coverage-button:hover {
    text-decoration: none;
    background-color: #19184A;
    color: white
  }

  .coverage-icon {
    width: 25.61px;
    height: 25.61px;
    margin-right: 14.23px;
  }

  .coverage-other {
    display: flex;
    justify-content: center;
    margin-left: 0%;
    margin-top: 12px;
  }

  .arrow-icon-coverage {
    margin-left: auto;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .coverage-button:hover .arrow-icon-coverage {
    transform: translateX(10px);
  }


  /* Services Section */

  .servicios-section {
    width: 1366px;
    height: 750px;
    padding: 80px 0 30px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .servicios-container{
    height: 400px;
  }

  .servicios-carousel {
      max-width: 800px;
  }

  .service-card {
      flex: 0 0 350px;
      height: 200px;
  }

  .background-servicios {
    width: 360px;
    height: 180px;
    top: 215px;
    border-radius: 0 0 38px 38px;
  }

  .service-info {
      width: 320px;
      height: 360px;
      padding: 24px;
  }

  .service-icon {
      width: 50px;
      height: 50px;
      margin: 5px 0;
  }

  .service-info h3 {
      font-size: 18px;
      line-height: 34.97px;
  }

  .service-info p{
    width: 282px;
    height: 120px;
    margin-bottom: 30px;
  }

  .service-button {
      width: 180px;
      height: 48px;
      font-size: 14.94px;
      border-radius: 21.35px;
      padding: 17.79px 28.46px;
  }

  .servicios-arrow .prev-service { 
    left: -190px;
  }

  .next-service { 
    right: -20px;
  }





  /* Contact Section */
  .contacto-section {
      height: 662.37px;
  }

  .contacto-background {
      width: 1366px;
      height: 662.37px;
  }

  .contacto-content {
      padding-top: 99.61px;
  }

  .contact-form {
      width: 426.9px;
  }

  .form-group input, 
  .textarea-group textarea {
      width: 426.9px;
      height: 42.69px;
      border-radius: 32.02px;
      padding: 0 21.35px;
      font-size: 11.38px;
  }

  .textarea-group textarea {
      height: 142.3px;
      padding: 21.35px;
  }

  /* Footer */
  .footer-content {
      max-width: 1049.46px;
      padding: 0 22.77px;
  }

  .footer-info img {
      width: 199.22px;
  }

  .contact-item {
      font-size: 11.38px;
  }

  .social-icons a {
      font-size: 28.46px;
  }

  .map-container {
      height: 213.45px;
  }

  /* Info Bar */
  .info-content {
      max-width: 1366px;
      padding: 7.12px 56.92px;
  }

  .info-item {
      font-size: 14.23px;
      min-height: 42.69px;
      padding: 0 14.23px;
  }

  .ssn-logo {
      max-width: 177.88px;
  }

  /* Floating Buttons */
  .floating-buttons {
      right: 35.58px;
      bottom: 71.15px;
      gap: 14.23px;
  }

  .back-to-top {
      width: 44.82px;
      height: 44.82px;
  }

  .whatsapp {
      width: 59.05px;
      height: 59.05px;
  }

  /* Services Arrows */
  .servicios-arrow {
      width: 44.82px;
      height: 44.82px;
  }

  .prev-service {
      left: -56.92px;
  }

  .next-service {
      right: -71.15px;
  }

  /* Modal Adjustments */
  .modal-content {
      width: 1052.67px;
      height: 572.49px;
      padding: 21.35px;
      border-radius: 57.63px;
  }

  .modal-info,
  .modal-form {
      padding: 35.58px 42.69px;
  }

  .modal-title,
  .modal-form-title {
      font-size: 14.23px;
      margin-bottom: 28.46px;
  }

  .modal-form-control {
      height: 42.69px;
      border-radius: 32.02px;
      padding: 0 21.35px;
      font-size: 11.38px;
  }

  .modal-submit-button {
      font-size: 14.94px;
      padding: 10.67px 28.46px;
      border-radius: 26.33px;
      margin-left: 327.29px;
  }

  .contact-phone {
      font-size: 17.08px;
  }






/* Sección Contacto */
.contacto-section {
  height: 650px;
}

.contacto-background {
  width: 1366px;
  height: 600px;
}

.contacto-content {
  width: 100%;
  max-width: 1475px;
  padding-top: 75px;
}

.contacto-section h1 {
  font-size: 30px;
  margin-bottom: 25px;
  line-height: 29px;
}

.contact-form {
  width: 600px;
}

.form-group {
  margin-bottom: 15px;
  position: relative;
}

.form-group input {
  width: 600px;
  height: 50px;
  padding: 0 30px;
  font-size: 16px;
  color: #333;
}

.textarea-group textarea {
  width: 600px;
  height: 150px;
  padding: 25px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #333;
  resize: none;
}

.form-footer{
  margin-top: 10px;
}

.required-fields {
  font-size: 16px;
  color: white;
  margin-left: 40px;
}

.submit-button-contacto {
  width: 200px;
  height: 50px;    
  font-size: 20px;
}

.submit-button-contacto:hover {
  background: #03C59D;
}

.arrow-icon {
  width: 20px;
  height: 20px;
}




  /* Footer */

  .footer-content {
    max-width: 1366px;
  }

  /* Columna izquierda */
  .footer-info {
    flex: 0 0 35%;
    margin-left: 65px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-info img {
    width: 230px;
    height: auto;
  }

  /* Información de contacto */
  .contact-item {
    font-size: 16px;
  }

  .contact-item i {
    color: #A2E6FD;
    font-size: 18px;
    width: 20px;
  }

  /* Redes sociales */
  #redes {
    margin-top: 10px;
  }

  .social-icons a {
    color: #A2E6FD;
    font-size: 40px;
    text-decoration: none;
  }

  /* Mapa */
  .map-container {
  flex: 0 0 50%;
  height: 250px;
  }

  .map-container iframe {
    width: 600px;
  }


}

/* Responsive mobile */
@media only screen and (max-width: 430px)  {
  /* Ajustes para prevenir desbordamiento horizontal */
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

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

  /* Ajustes para textos largos */
  p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Ajustes para tablas */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Reglas generales para evitar desbordamiento */
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
  }

  /* Todos los contenedores principales */
  .container,
  section,
  .section,
  .content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Header y navegación */
  header {
    width: 100%;
    height: 60px;
    padding: 0 15px;
    justify-content: flex-start;
    gap: 20px;
    background: #FFFFFF;
    box-shadow: 0px 4px 27.8px -14px rgba(0, 0, 0, 0.25);
  }

  /* Logo */
  header img {
    height: 40px;
    margin-left: 0;
  }

  /* Navegación móvil */
  /* Navegación */

  nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: white;
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Estado activo del nav */
  nav.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* Enlaces del menú */
  nav a.text-header {
    display: block;
    padding: 15px 20px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    font-size: 16px;
  }

  nav a.text-header:hover {
    background-color: #f5f5f5;
  }

  /* Dropdown en mobile */
  .nav-dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
  }

  /* Estilo para el enlace principal de Servicios */
  .nav-dropdown > a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    text-decoration: none;
  }


  /* Estilo para el ícono del dropdown */
  .nav-dropdown-toggle {
    position: absolute;
    right: 30%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }

  /* Estilos para el menú desplegable */
  .nav-dropdown-menu {
    display: none;
    width: 100%;
    background: #FFFFFF;
    padding: 10px 0;
  }

  /* Cuando está activo el dropdown */
  .nav-dropdown.active .nav-dropdown-menu {
    display: block;
  }

  /* Estilos para los items del dropdown */
  .nav-dropdown-item {
    text-align: left;
    padding: 15px 35px;
    color: #000000;
    display: block;
    width: 100%;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    font-size: 14.5px;
  }

  .nav-dropdown-item:last-child {
    border-bottom: none;
  }

  .nav-dropdown-item:hover {
    background-color: #f5f5f5;
    color: #019C9E;
  }


  /* Menú hamburguesa */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto; /* Lo empuja a la derecha */
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #019C9E;
    transition: all 0.3s ease;
  }

  /* Animación del botón cuando está activo */
  .menu-toggle.active span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }


  /* Ajuste del overlay-wrapper */
  /* Presentación y Overlay */

  #inicio{
    margin-bottom: 50px;
  }

  #presentacion {
    margin-top: 60px;
    width: 100%;
    height: 350px;
    margin-bottom: 0;
  }

  .carousel-item img{
    border-radius: 0 0 50px 50px;;
  }

  .overlay-wrapper {
    position: absolute;
    height: 350px;
    top: 250px;
    left: 180px;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    z-index: 10;
  }

  /* Ajuste del overlay-content */
  .overlay-content {
    position: relative;
    width: 275px;
    height: 150px;
    top: 135px;
    margin-left: 55px;
    background: rgba(25, 24, 74, 0.31);
    padding: 30px 20px;
    border: 2px solid #F68E2F;
    text-align: center;
    /* Removemos cualquier transform previo que pudiera interferir */
    transform: none;
  }

  .decorative-line{
    display: none;
  }

  .overlay-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #019C9E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .overlay-icon .icon{
    width: 50px;
    height: 50px;
  }

  .overlay-title {
    font-family: 'SUSE';
    font-size: 19px;
    line-height: 1.2;
    margin: 10px 0;
    color: white;
    text-align: center;
  }

  .overlay-button {
    width: 167px;
    min-width: 200px;
    height: 50px;
    margin: 20px auto 0;
    padding: 0 30px;
    background: #F68E2F;
    border-radius: 37px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  /* Banner 80 años */
  .banner-80-anos {
    width: 100%;
    height: 300px;
    padding: 0;
  }

  .banner-image-banner{
    display: flex;
    width: 100%;
    padding: 0;
  }
  .banner-image-banner img{
    display: flex;
    width: 100%;
    padding: 0;
  }

  .banner-image{
    display: none;
  }

  .banner-container {
    display: none;
  }


  /* Sección Empresa */
  .container.empresa-section {
    width: 100%;
    padding: 10px 10px;
  }

  .empresa-content {
    flex-direction: column;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 15.98px;
    text-align: center;
    gap: 30px;
  }

  .empresa-title{
    margin-top: 10px;
  }

  .empresa-text{
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 15.98px;
    text-align: center;
  }

  .empresa-logo{
    display: none;
  }

  .empresa-button-wrapper{
    display: flex;
    margin-top: 30px;
    margin-bottom: 30px;
    justify-content: center;
  }


  /* Sección Equipo */
  .equipo-section {
    padding: 20px 0;
    background-color: #019C9E;
    width: 100%;
    overflow: hidden;
  }

  .equipo-section h1 {
    color: white;
    font-size: 26px;
    margin-bottom: 10px;
    margin-top: 60px;
  }

  .equipo-subtitle {
    color: white;
    font-size: 16px;
    line-height: 1.4;
    padding: 0 20px;
    margin-bottom: 30px;
    text-align: center;
  }

  /* Ocultar botones y puntos de navegación */
  .carousel-arrow,
  .carousel-dots {
    display: none !important;
  }

  /* Contenedor del carousel */
  .equipo-carousel {
    width: 100%;
    padding: 0;
    overflow: visible;
  }

  .carousel-container {
    width: 100%;
    height: auto;
    overflow: visible;
    margin: 0;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    touch-action: pan-x;
  }

  /* Estilos de las tarjetas */
  .equipo-section {
    padding: 20px 0;
    background-color: #019C9E;
    width: 100%;
    overflow: hidden;
    min-height: auto;
  }

  .equipo-carousel {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  /* Ocultar navegación */
  .carousel-arrow,
  .carousel-dots {
    display: none !important;
  }

  /* Contenedor del carousel */
  .carousel-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0;
    padding: 0 20px;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
  }

  /* Estilos de las tarjetas */
  .equipo-section {
    padding: 10px 0;
    width: 100%;
    background-color: #019C9E;
    min-height: auto;
  }

  .equipo-subtitle{
    font-size: 13px;
    line-height: 17.68px;
    text-align: center;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
  }

  /* Ocultar navegación */
  .carousel-arrow,
  .carousel-dots {
    display: none !important;
  }

  .equipo-carousel {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  /* Ocultar navegación */
  .carousel-arrow,
  .carousel-dots {
    display: none !important;
  }

  .carousel-container {
    width: 100%;
    height: 550px;
    overflow: hidden;
    margin: 0;
    position: relative;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.3s ease-out;

    touch-action: pan-x;
    will-change: transform;
    position: relative;
    height: 453px; /* Altura de la tarjeta */
  }

  /* Ajustes para las tarjetas en móvil */
  .team-card {
    flex: 0 0 357px;
    height: 453px;
    display: flex;
    justify-content: center;
    position: absolute;
    margin: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;

    flex-shrink: 0;
    width: 357px;
  }

  .card-background {
    position: absolute;
    width: 357px;
    height: 211px;
    top: 268px;
    bottom: 0;
    border-radius: 0 0 44px 44px;
    z-index: 1;
  }

  .card-image {
    width: 317px;
    height: 427px;
    margin: 15px auto 0;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .card-info {
    position: absolute;
    top: 268px;
    width: 317px;
    height: 185px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #FEFEFE;
    padding: 20px;
    border-radius: 0 0 23px 23px;
    text-align: center;
    z-index: 2;
  }

  .card-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 28.08px;
    color: #019C9E;
    margin-bottom: 10px;
    text-align: center;
  }

  .card-info p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24.58px;
    color: #666;
    text-align: center;
  }

  /* Fin sección Equipo */


  /* Sección Coberturas */
  .coberturas-section {
    width: 100%;
    padding: 10px 20px 40px; /* Ajustado el padding top a 10px */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .coberturas-section h1 {
    margin-bottom: 20px; /* Espacio después del título */
  }

  .coverage-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .coverage-button {
    width: 350px;
    min-height: 60px;
    padding: 15px 20px;
    font-size: 14px;
    margin: 0;
  }

  .coverage-other {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 15px 0 0 0; /* Solo margen superior para separación */
  }

  /* Ajuste específico para el botón "Otro" */
  .coverage-other .coverage-button {
    width: 350px;
    min-height: 60px;
  }

  /* Ajuste para el contenido interno de los botones */
  .coverage-button > :not(.arrow-icon) {
    gap: 10px;
  }

  /* Ajuste para los íconos */
  .coverage-icon {
    width: 24px;
    height: 24px;
  }

  .arrow-icon-coverage {
    width: 20px;
    height: 20px;
  }

  /* Sección Servicios */
  .servicios-section {
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
  }

  .servicios-carousel {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .servicios-container {
    width: 100%;
    height: 550px;
    overflow: hidden;
    /* Quitamos el padding para manejar el centrado en las cards */
    padding: 0;
  }

  .servicios-track {
    display: flex;
    transition: transform 0.3s ease-out;
    /* Aseguramos que no haya espacios extra */
    gap: 0;
  }

  .service-card {
    flex: 0 0 100%;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Aseguramos que la tarjeta ocupe todo el ancho disponible */
    padding: 0 20px;
    box-sizing: border-box;
  }

  .background-servicios {
    position: absolute;
    width: calc(100% - 40px); /* Ajustamos al padding de la card */
    height: 190px;
    top: 310px;
    left: 20px; /* Alineamos con el padding de la card */
    border-radius: 0 0 35px 35px;
  }

  .service-info {
    width: 100%;
    max-width: 350px; /* Establecemos un ancho máximo */
    height: 420px;
    margin-top: 20px;
    padding: 20px 32px 10px 32px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    box-shadow: 0px 3px 6px 8px #00000008;
    border-radius: 35px;
    background: #FFFFFF;
  }

  /* Ajustes de contenido interno */
  .service-info h3 {
    width: 100%;
    font-size: 24px;
    line-height: 29.5px;
    margin-bottom: 15px;
    text-align: center;
  }

  .service-info p {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    text-align: center;
  }

  .service-button {
    width: 200px;
    height: 50px;
    font-size: 16px;
    margin: 30px 0 20px 0;
  }

  /* Ocultar flechas y puntos en móvil */
  .servicios-arrow,
  .servicios-dots {
    display: none !important;
  }


  /* Dots para móvil */
  .servicios-dots-mobile {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0 20px;
  }

  .dot-service-mobile {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D9D9D9;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .dot-service-mobile.active {
    background: #019C9E;
  }

  /* Ocultar dots desktop */
  .servicios-dots {
    display: none !important;
  }
  /* Fin sección Servicios */


  /* Sección Contacto */
  .contacto-section {
    width: 100%;
    height: auto;
  }

  .contacto-background {
    width: 100%;
  }

  .contacto-content {
    width: 100%;
    margin: 0;
    padding: 40px 20px;
  }

  .contact-form {
    width: 100%;
  }

  .form-group input,
  .textarea-group textarea {
    width: 388px;
    height: 50px;
    border-radius: 10px;
    padding: 0 21.35px;
    font-size: 11.38px;
  }

  .textarea-group textarea {
    height: 142.3px;
    padding: 21.35px;
  }

  #mensaje{
    width: 388px;
    height: 142.3px;
    padding: 21.35px;
    border-radius: 10px;
    font-size: 11.38px;
  }


  /* Footer */
  .footer-main{
    width: 100%;
    height: 750px;
  }

  .footer-content {
    flex-direction: column; /* Cambia la disposición a vertical */
    align-items: center; /* Asegura que todo esté centrado */
    gap: 20px; /* Añade espacio entre bloques */
  }

  .footer-info {
    order: 1; /* Mantén el orden, pero puede ser útil si deseas reordenar */
    justify-content: center;
    margin: 0;
    align-items: center;
  }

  .footer-info img{
    margin-bottom: 35px;
  }

  .contact-info{
    margin-left: 35px;
  }

  .contact-info-mobile{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    margin-top: 1rem;
    margin-left: 0;
    padding: 15px 0 0;
    text-align: center;
  }

  .map-container {
    margin-top: 60px;
    order: 2; /* Asegúrate de que esté al final */
    width: 100%; /* Ocupa todo el ancho disponible */
    max-width: none; /* Elimina cualquier restricción de ancho */
  }

  iframe {
    width: 100%; /* Asegura que el iframe del mapa también ocupe el ancho completo */
    height: 200px; /* Ajusta la altura según lo que necesites */
  }

  .info-content {
    flex-direction: column;
    padding: 20px;
    margin-left: 0;
  }

  /* Modales */
  .modal-content {
    width: calc(100% - 40px);
    height: auto;
    max-height: 90vh;
    margin: 20px;
    padding: 20px;
    flex-direction: column;
  }

  .modal-info,
  .modal-form {
    width: 100%;
    padding: 20px 0;
  }


  iframe{
    width: 100%;
    max-width: 100%;
    height: 150px;
  }

  .copyright-bar{
    font-size: 10px;
    font-weight: 500;
    line-height: 10.7px;
  }

  .info-item:not(:last-child):not(:nth-last-child(2))::after {
    content: '';
    display: none;
  }

  /* Ocultar botón back-to-top en móvil */
  .back-to-top {
    display: none !important;
  }

}

@media only screen and (max-width: 428px)  {
  /* Ajustes para prevenir desbordamiento horizontal */
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

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

  /* Ajustes para textos largos */
  p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Ajustes para tablas */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Reglas generales para evitar desbordamiento */
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
  }

  /* Todos los contenedores principales */
  .container,
  section,
  .section,
  .content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Header y navegación */
  header {
    width: 100%;
    height: 60px;
    padding: 0 15px;
    justify-content: flex-start;
    gap: 20px;
    background: #FFFFFF;
    box-shadow: 0px 4px 27.8px -14px rgba(0, 0, 0, 0.25);
  }

  /* Logo */
  header img {
    height: 40px;
    margin-left: 0;
  }

  /* Navegación móvil */
  /* Navegación */

  nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: white;
    z-index: 999;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Estado activo del nav */
  nav.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* Enlaces del menú */
  nav a.text-header {
    display: block;
    padding: 15px 20px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    font-size: 16px;
  }

  nav a.text-header:hover {
    background-color: #f5f5f5;
  }

  /* Dropdown en mobile */
  .nav-dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
  }

  /* Estilo para el enlace principal de Servicios */
  .nav-dropdown > a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    text-decoration: none;
  }


  /* Estilo para el ícono del dropdown */
  .nav-dropdown-toggle {
    position: absolute;
    right: 30%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }

  /* Estilos para el menú desplegable */
  .nav-dropdown-menu {
    display: none;
    width: 100%;
    background: #FFFFFF;
    padding: 10px 0;
  }

  /* Cuando está activo el dropdown */
  .nav-dropdown.active .nav-dropdown-menu {
    display: block;
  }

  /* Estilos para los items del dropdown */
  .nav-dropdown-item {
    text-align: left;
    padding: 15px 35px;
    color: #000000;
    display: block;
    width: 100%;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    font-size: 14.5px;
  }

  .nav-dropdown-item:last-child {
    border-bottom: none;
  }

  .nav-dropdown-item:hover {
    background-color: #f5f5f5;
    color: #019C9E;
  }


  /* Menú hamburguesa */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto; /* Lo empuja a la derecha */
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #019C9E;
    transition: all 0.3s ease;
  }

  /* Animación del botón cuando está activo */
  .menu-toggle.active span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }


  /* Ajuste del overlay-wrapper */
  /* Presentación y Overlay */

  #inicio{
    margin-bottom: 50px;
  }

  #presentacion {
    margin-top: 60px;
    width: 100%;
    height: 350px;
    margin-bottom: 0;
  }

  .carousel-item img{
    border-radius: 0 0 50px 50px;;
  }

  .overlay-wrapper {
    position: absolute;
    height: 350px;
    top: 250px;
    left: 180px;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    z-index: 10;
  }

  /* Ajuste del overlay-content */
  .overlay-content {
    position: relative;
    width: 275px;
    height: 150px;
    top: 145px;
    margin-left: 50px;
    background: rgba(25, 24, 74, 0.31);
    padding: 30px 20px;
    border: 2px solid #F68E2F;
    text-align: center;
    /* Removemos cualquier transform previo que pudiera interferir */
    transform: none;
  }

  .decorative-line{
    display: none;
  }

  .overlay-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #019C9E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .overlay-icon .icon{
    width: 50px;
    height: 50px;
  }

  .overlay-title {
    font-family: 'SUSE';
    font-size: 19px;
    line-height: 1.2;
    margin: 10px 0;
    color: white;
    text-align: center;
  }

  .overlay-button {
    width: 167px;
    min-width: 200px;
    height: 50px;
    margin: 20px auto 0;
    padding: 0 30px;
    background: #F68E2F;
    border-radius: 37px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  /* Banner 80 años */
  .banner-80-anos {
    width: 100%;
    height: 300px;
    padding: 0;
  }

  .banner-image-banner{
    display: flex;
    width: 100%;
    padding: 0;
  }
  .banner-image-banner img{
    display: flex;
    width: 100%;
    padding: 0;
  }

  .banner-image{
    display: none;
  }

  .banner-container {
    display: none;
  }


  /* Sección Empresa */
  .container.empresa-section {
    width: 100%;
    padding: 10px 10px;
  }

  .empresa-content {
    flex-direction: column;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 15.98px;
    text-align: center;
    gap: 30px;
  }

  .empresa-title{
    margin-top: 10px;
  }

  .empresa-text{
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 15.98px;
    text-align: center;
  }

  .empresa-logo{
    display: none;
  }

  .empresa-button-wrapper{
    display: flex;
    margin-top: 30px;
    margin-bottom: 30px;
    justify-content: center;
  }


  /* Sección Equipo */
  .equipo-section {
    padding: 20px 0;
    background-color: #019C9E;
    width: 100%;
    overflow: hidden;
  }

  .equipo-section h1 {
    color: white;
    font-size: 26px;
    margin-bottom: 10px;
    margin-top: 60px;
  }

  .equipo-subtitle {
    color: white;
    font-size: 16px;
    line-height: 1.4;
    padding: 0 20px;
    margin-bottom: 30px;
    text-align: center;
  }

  /* Ocultar botones y puntos de navegación */
  .carousel-arrow,
  .carousel-dots {
    display: none !important;
  }

  /* Contenedor del carousel */
  .equipo-carousel {
    width: 100%;
    padding: 0;
    overflow: visible;
  }

  .carousel-container {
    width: 100%;
    height: auto;
    overflow: visible;
    margin: 0;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    touch-action: pan-x;
  }

  /* Estilos de las tarjetas */
  .equipo-section {
    padding: 20px 0;
    background-color: #019C9E;
    width: 100%;
    overflow: hidden;
    min-height: auto;
  }

  .equipo-carousel {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  /* Ocultar navegación */
  .carousel-arrow,
  .carousel-dots {
    display: none !important;
  }

  /* Contenedor del carousel */
  .carousel-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0;
    padding: 0 20px;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
  }

  /* Estilos de las tarjetas */
  .equipo-section {
    padding: 10px 0;
    width: 100%;
    background-color: #019C9E;
    min-height: auto;
  }

  .equipo-subtitle{
    font-size: 13px;
    line-height: 17.68px;
    text-align: center;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
  }

  /* Ocultar navegación */
  .carousel-arrow,
  .carousel-dots {
    display: none !important;
  }

    .equipo-carousel {
      width: 100%;
      padding: 0;
      overflow: hidden;
    }

    /* Ocultar navegación */
    .carousel-arrow,
    .carousel-dots {
      display: none !important;
    }

    .carousel-container {
      width: 100%;
      height: 550px;
      overflow: hidden;
      margin: 0;
      position: relative;
    }

    .carousel-track {
      display: flex;
      transition: transform 0.3s ease-out;

      touch-action: pan-x;
      will-change: transform;
      position: relative;
      height: 453px; /* Altura de la tarjeta */
    }

    /* Ajustes para las tarjetas en móvil */
    .team-card {
      flex: 0 0 357px;
      height: 453px;
      display: flex;
      justify-content: center;
      position: absolute;
      margin: 0;
      transition: transform 0.3s ease, opacity 0.3s ease;

      flex-shrink: 0;
      width: 357px;
    }

    .card-background {
      position: absolute;
      width: 357px;
      height: 211px;
      top: 268px;
      bottom: 0;
      border-radius: 0 0 44px 44px;
      z-index: 1;
    }

    .card-image {
      width: 317px;
      height: 427px;
      margin: 15px auto 0;
      border-radius: 26px;
      overflow: hidden;
      position: relative;
      z-index: 1;
    }

    .card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .card-info {
      position: absolute;
      top: 268px;
      width: 317px;
      height: 185px;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      background: #FEFEFE;
      padding: 20px;
      border-radius: 0 0 23px 23px;
      text-align: center;
      z-index: 2;
    }

    .card-info h3 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 24px;
      line-height: 28.08px;
      color: #019C9E;
      margin-bottom: 10px;
      text-align: center;
    }

    .card-info p {
      font-family: 'Montserrat', sans-serif;
      font-weight: 400;
      font-size: 20px;
      line-height: 24.58px;
      color: #666;
      text-align: center;
    }

  /* Fin sección Equipo */


  /* Sección Coberturas */
  .coberturas-section {
    width: 100%;
    padding: 10px 20px 40px; /* Ajustado el padding top a 10px */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .coberturas-section h1 {
    margin-bottom: 20px; /* Espacio después del título */
  }

  .coverage-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .coverage-button {
    width: 350px;
    min-height: 60px;
    padding: 15px 20px;
    font-size: 14px;
    margin: 0;
  }

  .coverage-other {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 15px 0 0 0; /* Solo margen superior para separación */
  }

  /* Ajuste específico para el botón "Otro" */
  .coverage-other .coverage-button {
    width: 350px;
    min-height: 60px;
  }

  /* Ajuste para el contenido interno de los botones */
  .coverage-button > :not(.arrow-icon) {
    gap: 10px;
  }

  /* Ajuste para los íconos */
  .coverage-icon {
    width: 24px;
    height: 24px;
  }

  .arrow-icon-coverage {
    width: 20px;
    height: 20px;
  }

  /* Sección Servicios */
  .servicios-section {
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
  }

  .servicios-carousel {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .servicios-container {
    width: 100%;
    height: 550px;
    overflow: hidden;
    /* Quitamos el padding para manejar el centrado en las cards */
    padding: 0;
  }

  .servicios-track {
    display: flex;
    transition: transform 0.3s ease-out;
    /* Aseguramos que no haya espacios extra */
    gap: 0;
  }

  .service-card {
    flex: 0 0 100%;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Aseguramos que la tarjeta ocupe todo el ancho disponible */
    padding: 0 20px;
    box-sizing: border-box;
  }

  .background-servicios {
    position: absolute;
    width: calc(100% - 40px); /* Ajustamos al padding de la card */
    height: 190px;
    top: 310px;
    left: 20px; /* Alineamos con el padding de la card */
    border-radius: 0 0 35px 35px;
  }

  .service-info {
    width: 100%;
    max-width: 350px; /* Establecemos un ancho máximo */
    height: 420px;
    margin-top: 20px;
    padding: 20px 32px 10px 32px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    box-shadow: 0px 3px 6px 8px #00000008;
    border-radius: 35px;
    background: #FFFFFF;
  }

  /* Ajustes de contenido interno */
  .service-info h3 {
    width: 100%;
    font-size: 24px;
    line-height: 29.5px;
    margin-bottom: 15px;
    text-align: center;
  }

  .service-info p {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    text-align: center;
  }

  .service-button {
    width: 200px;
    height: 50px;
    font-size: 16px;
    margin: 30px 0 20px 0;
  }

  /* Ocultar flechas y puntos en móvil */
  .servicios-arrow,
  .servicios-dots {
    display: none !important;
  }


  /* Dots para móvil */
  .servicios-dots-mobile {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0 20px;
  }

  .dot-service-mobile {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D9D9D9;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .dot-service-mobile.active {
    background: #019C9E;
  }

  /* Ocultar dots desktop */
  .servicios-dots {
    display: none !important;
  }
  /* Fin sección Servicios */


  /* Sección Contacto */
  .contacto-section {
    width: 100%;
    height: auto;
  }

  .contacto-background {
    width: 100%;
  }

  .contacto-content {
    width: 100%;
    margin-right: 15px;
    padding: 40px 20px;
  }

  .contact-form {
    width: 100%;
  }

  .form-group input,
  .textarea-group textarea {
    width: 388px;
    height: 50px;
    border-radius: 10px;
    padding: 0 21.35px;
    font-size: 11.38px;
  }

  .textarea-group textarea {
    height: 142.3px;
    padding: 21.35px;
  }

  #mensaje{
    width: 388px;
    height: 142.3px;
    padding: 21.35px;
    border-radius: 10px;
    font-size: 11.38px;
  }


  /* Footer */
  .footer-main{
    width: 100%;
    height: 750px;
  }

  .footer-content {
    flex-direction: column; /* Cambia la disposición a vertical */
    align-items: center; /* Asegura que todo esté centrado */
    gap: 20px; /* Añade espacio entre bloques */
  }

  .footer-info {
    order: 1; /* Mantén el orden, pero puede ser útil si deseas reordenar */
    justify-content: center;
    margin: 0;
    align-items: center;
  }

  .footer-info img{
    margin-bottom: 35px;
  }

  .contact-info{
    margin-left: 35px;
  }

  .contact-info-mobile{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    margin-top: 1rem;
    margin-left: 0;
    padding: 15px 0 0;
    text-align: center;
  }

  .map-container {
    order: 2; /* Asegúrate de que esté al final */
    width: 100%; /* Ocupa todo el ancho disponible */
    max-width: none; /* Elimina cualquier restricción de ancho */
  }

  iframe {
    width: 100%; /* Asegura que el iframe del mapa también ocupe el ancho completo */
    height: 200px; /* Ajusta la altura según lo que necesites */
  }

  .info-content {
    flex-direction: column;
    padding: 20px;
    margin-left: 0;
  }

  /* Modales */
  .modal-content {
    width: calc(100% - 40px);
    height: auto;
    max-height: 90vh;
    margin: 20px;
    padding: 20px;
    flex-direction: column;
  }

  .modal-info,
  .modal-form {
    width: 100%;
    padding: 20px 0;
  }


  iframe{
    width: 100%;
    max-width: 100%;
    height: 150px;
  }

  .copyright-bar{
    font-size: 10px;
    font-weight: 500;
    line-height: 10.7px;
  }

  .info-item:not(:last-child):not(:nth-last-child(2))::after {
    content: '';
    display: none;
  }

  /* Ocultar botón back-to-top en móvil */
  .back-to-top {
    display: none !important;
  }

}

@media only screen and (max-width: 414px)  {
  /* Ajustes para prevenir desbordamiento horizontal */
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

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

  /* Ajustes para textos largos */
  p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Ajustes para tablas */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Reglas generales para evitar desbordamiento */
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
  }

  /* Todos los contenedores principales */
  section{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
    height: 600px;
  }

  .container,

  .section,
  .content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Header y navegación */
  header {
    width: 100%;
    height: 60px;
    padding: 0 15px;
    justify-content: flex-start;
    gap: 20px;
    background: #FFFFFF;
    box-shadow: 0px 4px 27.8px -14px rgba(0, 0, 0, 0.25);
  }

  /* Logo */
  header img {
    height: 30px; /* Reducimos el tamaño del logo */
    width: auto;
    margin-left: 0;
  }


    /* Presentación y Overlay */
  #inicio{
    height: 500px;
    margin: 0;
  }


  #presentacion {
    height: 400px;
    margin-top: 60px;
    margin-bottom: 0;
  }

  .carousel-item img{
    border-radius: 0 0 50px 50px;;
  }

  /* Ajuste del overlay-wrapper */
  .overlay-wrapper {
    position: absolute;
    top: 250px;
    left: 180px;
    transform: translate(-50%, -50%); /* Centra tanto vertical como horizontalmente */
    width: calc(100% - 40px); /* Deja margen a los lados */
    max-width: 100%;
    margin: 0;
    padding: 0;
    z-index: 10;
  }

  /* Ajuste del overlay-content */
  .overlay-content {
    position: relative;
    width: 275px;
    height: 150px;
    top: 140px;
    margin-left: 40px;
    background: rgba(25, 24, 74, 0.31);
    padding: 30px 20px;
    border: 2px solid #F68E2F;
    text-align: center;
    /* Removemos cualquier transform previo que pudiera interferir */
    transform: none;
  }

  .decorative-line{
    display: none;
  }

  .overlay-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #019C9E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .overlay-icon .icon{
    width: 50px;
    height: 50px;
  }

  .overlay-title {
    font-family: 'SUSE';
    font-size: 19px;
    line-height: 1.2;
    margin: 10px 0;
    color: white;
    text-align: center;
  }

  .overlay-button {
    width: 167px;
    min-width: 200px;
    height: 50px;
    margin: 20px auto 0;
    top: 110px;
    left: 35px;
    padding: 0 30px;
    background: #F68E2F;
    border-radius: 37px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }


  /* Navegación móvil */
  nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  nav.active {
    display: block;
  }

  .text-header {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
    color: black;
    text-decoration: none;
  }


  /* Sección Empresa */
  .empresa-section {
    width: 100%;
    height: 500px;
    padding: 10px 10px;
  }

  .empresa-content {
    flex-direction: column;
    gap: 30px;
  }

  .empresa-title{
    margin-top: 10px;
  }

  .empresa-text{
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 15.98px;
    text-align: center;
  }

  .empresa-logo{
    display: none;
  }

  /* Sección Equipo */
  .equipo-section {
    width: 100%;
    padding: 40px 0;
  }

  .equipo-carousel {
    width: 100%;
    padding: 0;
  }

  .carousel-container {
    width: 100%;
    max-width: calc(100% - 40px);
    margin: 20px 70px 0 0;
  }

  /* Ajustes de las tarjetas de equipo */
  .team-card {
    flex: 0 0 270px;
    height: 342px;
    margin: 0 auto;
  }
  .card-background {
    width: 270px;
    height: 159.3px; /* Ajustado proporcionalmente */
    top: 202.5px;
  }
  .card-image {
    width: 239.4px; /* Ajustado proporcionalmente */
    height: 322.2px;
    margin: 10.8px auto 0;
  }
  .card-info {
    width: 239.4px;
    height: 139.5px;
    top: 202.5px;
    left: 50%;
    transform: translateX(-50%);
  }

  .card-info h3{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 18px;
  }

  .card-info p{
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 18px;
  }
  /* Fin Sección Equipos */


  /* Sección Coberturas */
  .coberturas-section {
    min-height: auto; /* O un valor que se ajuste a tu contenido */
    height: fit-content;

    width: 100%;
    padding: 10px 20px 40px; /* Ajustado el padding top a 10px */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .coberturas-section h1 {
    margin-bottom: 20px; /* Espacio después del título */
  }

  .coverage-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .coverage-button {
    width: 350px;
    min-height: 60px;
    padding: 15px 20px;
    font-size: 14px;
    margin: 0;
  }

  .coverage-other {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 15px 0 0 0; /* Solo margen superior para separación */
  }

  /* Ajuste específico para el botón "Otro" */
  .coverage-other .coverage-button {
    width: 350px;
    min-height: 60px;
  }

  /* Ajuste para el contenido interno de los botones */
  .coverage-button > :not(.arrow-icon) {
    gap: 10px;
  }

  /* Ajuste para los íconos */
  .coverage-icon {
    width: 24px;
    height: 24px;
  }

  .arrow-icon-coverage {
    width: 20px;
    height: 20px;
  }


  /* Sección Servicios */
  .servicios-section {
    width: 100%;
    padding: 40px 0;
  }

  .servicios-carousel {
    width: 100%;
    max-width: calc(100% - 40px);
    margin: 0 auto;
  }

  .servicios-container {
    width: 100%;
  }

  .service-card {
    width: 100%;
    margin: 0 auto;
  }

  .service-info{
    width: 304px;
  }

  /* Sección Contacto */
  .contacto-section {
    width: 100%;
    height: auto;
  }

  .contacto-background {
    width: 100%;
  }

  .contacto-content {
    width: 100%;
    margin: 0;
    padding: 40px 20px;
  }

  .contact-form {
    width: 100%;
  }

  .form-group input,
  .textarea-group textarea {
    width: 372px;
    height: 50px;
    border-radius: 10px;
    padding: 0 21.35px;
    font-size: 11.38px;
  }

  .textarea-group textarea {
    height: 142.3px;
    padding: 21.35px;
  }

  #mensaje{
    width: 372px;
    height: 142.3px;
    padding: 21.35px;
    border-radius: 10px;
    font-size: 11.38px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    padding: 40px 20px;
  }

  .footer-info {
    width: 100%;
    margin-left: 0;
  }

  .footer-info img{
    margin-bottom: 25px;
  }

  .map-container {
    margin-top: 50px;
    width: 100%;
  }

  .info-content {
    flex-direction: column;
    padding: 20px;
    margin-left: 0;
  }

  /* Modales */
  .modal-content {
    width: calc(100% - 40px);
    height: auto;
    max-height: 90vh;
    margin: 20px;
    padding: 20px;
    flex-direction: column;
  }

  .modal-info,
  .modal-form {
    width: 100%;
    padding: 20px 0;
  }


  iframe{
    width: 100%;
    max-width: 100%;
    height: 150px;
  }

  .copyright-bar{
    font-size: 10px;
    font-weight: 500;
    line-height: 10.7px;
  }

  .info-item:not(:last-child):not(:nth-last-child(2))::after {
    content: '';
    display: none;
  }

}

@media only screen and (max-width: 412px)  {
  /* Ajustes para prevenir desbordamiento horizontal */
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

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

  /* Ajustes para textos largos */
  p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Ajustes para tablas */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Reglas generales para evitar desbordamiento */
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
  }

  /* Todos los contenedores principales */
  section{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
    height: 600px;
  }

  .container,

  .section,
  .content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Header y navegación */
  header {
    width: 100%;
    height: 60px;
    padding: 0 15px;
    justify-content: flex-start;
    gap: 20px;
    background: #FFFFFF;
    box-shadow: 0px 4px 27.8px -14px rgba(0, 0, 0, 0.25);
  }

  /* Logo */
  header img {
    height: 30px; /* Reducimos el tamaño del logo */
    width: auto;
    margin-left: 0;
  }


  /* Banner 80 años */
  .banner-80-anos {
    width: 100%;
    height: 250px;
    top: -30px;
    padding: 0;
  }

  .banner-image-banner{
    display: flex;
    width: 412px;
    padding: 0;
  }

  .banner-image-banner img{
    display: flex;
    width: 412px;
    padding: 0;
  }

  .banner-image{
    display: none;
  }

  .banner-container {
    display: none;
  }



  /* Presentación y Overlay */
  #inicio{
    height: 440px;
    margin: 0;
  }


  #presentacion {
    height: 400px;
    margin-top: 60px;
    margin-bottom: 0;
  }

  .carousel-item img{
    border-radius: 0 0 50px 50px;;
  }

  /* Ajuste del overlay-wrapper */
  .overlay-wrapper {
    position: absolute;
    top: 250px;
    left: 180px;
    transform: translate(-50%, -50%); /* Centra tanto vertical como horizontalmente */
    width: calc(100% - 40px); /* Deja margen a los lados */
    max-width: 100%;
    margin: 0;
    padding: 0;
    z-index: 10;
  }

  /* Ajuste del overlay-content */
  .overlay-content {
    position: relative;
    width: 275px;
    height: 150px;
    top: 140px;
    margin-left: 35px;
    background: rgba(25, 24, 74, 0.31);
    padding: 30px 20px;
    border: 2px solid #F68E2F;
    text-align: center;
    /* Removemos cualquier transform previo que pudiera interferir */
    transform: none;
  }

  .decorative-line{
    display: none;
  }

  .overlay-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #019C9E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .overlay-icon .icon{
    width: 50px;
    height: 50px;
  }

  .overlay-title {
    font-family: 'SUSE';
    font-size: 19px;
    line-height: 1.2;
    margin: 10px 0;
    color: white;
    text-align: center;
  }

  .overlay-button {
    width: 167px;
    min-width: 200px;
    height: 50px;
    margin: 20px auto 0;
    padding: 0 30px;
    background: #F68E2F;
    border-radius: 37px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }


  /* Navegación móvil */
  nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  nav.active {
    display: block;
  }

  .text-header {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
    color: black;
    text-decoration: none;
  }


  /* Sección Empresa */
  .empresa-section {
    width: 100%;
    height: 500px;
    padding: 10px 10px;
  }

  .empresa-content {
    flex-direction: column;
    gap: 30px;
  }

  .empresa-title{
    margin-top: 10px;
  }

  .empresa-text{
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 15.98px;
    text-align: center;
  }

  .empresa-logo{
    display: none;
  }

  /* Sección Equipo */
  .equipo-section {
    width: 100%;
    padding: 40px 0;
  }

  .equipo-carousel {
    width: 100%;
    padding: 0;
  }

  .carousel-container {
    width: 100%;
    max-width: calc(100% - 40px);
    margin: 20px 70px 0 0;
  }

  /* Ajustes de las tarjetas de equipo */
  .team-card {
    flex: 0 0 270px;
    height: 342px;
    margin: 0 auto;
  }
  .card-background {
    width: 270px;
    height: 159.3px; /* Ajustado proporcionalmente */
    top: 202.5px;
  }
  .card-image {
    width: 239.4px; /* Ajustado proporcionalmente */
    height: 322.2px;
    margin: 10.8px auto 0;
  }
  .card-info {
    width: 239.4px;
    height: 139.5px;
    top: 202.5px;
    left: 50%;
    transform: translateX(-50%);
  }

  .card-info h3{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 18px;
  }

  .card-info p{
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 18px;
  }
  /* Fin Sección Equipos */


  /* Sección Coberturas */
  .coberturas-section {
    min-height: auto; /* O un valor que se ajuste a tu contenido */
    height: fit-content;

    width: 100%;
    padding: 10px 20px 40px; /* Ajustado el padding top a 10px */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .coberturas-section h1 {
    margin-bottom: 20px; /* Espacio después del título */
  }

  .coverage-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .coverage-button {
    width: 350px;
    min-height: 60px;
    padding: 15px 20px;
    font-size: 14px;
    margin: 0;
  }

  .coverage-other {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 15px 0 0 0; /* Solo margen superior para separación */
  }

  /* Ajuste específico para el botón "Otro" */
  .coverage-other .coverage-button {
    width: 350px;
    min-height: 60px;
  }

  /* Ajuste para el contenido interno de los botones */
  .coverage-button > :not(.arrow-icon) {
    gap: 10px;
  }

  /* Ajuste para los íconos */
  .coverage-icon {
    width: 24px;
    height: 24px;
  }

  .arrow-icon-coverage {
    width: 20px;
    height: 20px;
  }


  /* Sección Servicios */
  .servicios-section {
    width: 100%;
    padding: 40px 0;
  }

  .servicios-carousel {
    width: 100%;
    max-width: calc(100% - 40px);
    margin: 0 auto;
  }

  .servicios-container {
    width: 100%;
  }

  .service-card {
    width: 100%;
    margin: 0 auto;
  }

  .service-info{
    width: 304px;
  }

  /* Sección Contacto */
  .contacto-section {
    width: 100%;
    height: auto;
  }

  .contacto-background {
    width: 100%;
  }

  .contacto-content {
    width: 100%;
    margin: 0;
    padding: 40px 20px;
  }

  .contact-form {
    width: 100%;
  }

  .form-group input,
  .textarea-group textarea {
    width: 372px;
    height: 50px;
    border-radius: 10px;
    padding: 0 21.35px;
    font-size: 11.38px;
  }

  .textarea-group textarea {
    height: 142.3px;
    padding: 21.35px;
  }

  #mensaje{
    width: 372px;
    height: 142.3px;
    padding: 21.35px;
    border-radius: 10px;
    font-size: 11.38px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    padding: 40px 20px;
  }

  .footer-info {
    width: 100%;
    margin-left: 0;
  }

  .footer-info img{
    margin-bottom: 25px;
  }

  .map-container {
    width: 100%;
  }

  .info-content {
    flex-direction: column;
    padding: 20px;
    margin-left: 0;
  }

  /* Modales */
  .modal-content {
    width: calc(100% - 40px);
    height: auto;
    max-height: 90vh;
    margin: 20px;
    padding: 20px;
    flex-direction: column;
  }

  .modal-info,
  .modal-form {
    width: 100%;
    padding: 20px 0;
  }


  iframe{
    width: 100%;
    max-width: 100%;
    height: 150px;
  }

  .copyright-bar{
    font-size: 10px;
    font-weight: 500;
    line-height: 10.7px;
  }

  .info-item:not(:last-child):not(:nth-last-child(2))::after {
    content: '';
    display: none;
  }

}

@media only screen and (max-width: 390px)  {
  /* Ajustes para prevenir desbordamiento horizontal */
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

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

  /* Ajustes para textos largos */
  p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Ajustes para tablas */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Reglas generales para evitar desbordamiento */
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
  }

  /* Todos los contenedores principales */
  section{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
    height: 600px;
  }

  .container,

  .section,
  .content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Header y navegación */
  header {
    width: 100%;
    height: 60px;
    padding: 0 15px;
    justify-content: flex-start;
    gap: 20px;
    background: #FFFFFF;
    box-shadow: 0px 4px 27.8px -14px rgba(0, 0, 0, 0.25);
  }

  /* Logo */
  header img {
    height: 30px; /* Reducimos el tamaño del logo */
    width: auto;
    margin-left: 0;
  }


  /* Banner 80 años */
  .banner-80-anos {
    width: 100%;
    height: 250px;
    top: -30px;
    padding: 0;
  }

  .banner-image-banner{
    display: flex;
    width: 412px;
    padding: 0;
  }

  .banner-image-banner img{
    display: flex;
    width: 412px;
    padding: 0;
  }

  .banner-image{
    display: none;
  }

  .banner-container {
    display: none;
  }

  /* Presentación y Overlay */
  #inicio{
    height: 440px;
    margin: 0;
  }


  #presentacion {
    height: 400px;
    margin-top: 60px;
    margin-bottom: 0;
  }

  .carousel-item img{
    border-radius: 0 0 50px 50px;;
  }

  /* Ajuste del overlay-wrapper */
  .overlay-wrapper {
    position: absolute;
    top: 250px;
    left: 180px;
    transform: translate(-50%, -50%); /* Centra tanto vertical como horizontalmente */
    width: calc(100% - 40px); /* Deja margen a los lados */
    max-width: 100%;
    margin: 0;
    padding: 0;
    z-index: 10;
  }

  /* Ajuste del overlay-content */
  .overlay-content {
    position: relative;
    width: 275px;
    height: 150px;
    top: 130px;
    margin-left: 15px;
    background: rgba(25, 24, 74, 0.31);
    padding: 30px 20px;
    border: 2px solid #F68E2F;
    text-align: center;
    /* Removemos cualquier transform previo que pudiera interferir */
    transform: none;
  }

  .decorative-line{
    display: none;
  }

  .overlay-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #019C9E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .overlay-icon .icon{
    width: 50px;
    height: 50px;
  }

  .overlay-title {
    font-family: 'SUSE';
    font-size: 19px;
    line-height: 1.2;
    margin: 10px 0;
    color: white;
    text-align: center;
  }

  .overlay-button {
    width: 167px;
    min-width: 200px;
    height: 50px;
    margin: 20px auto 0;
    padding: 0 30px;
    background: #F68E2F;
    border-radius: 37px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }


  /* Navegación móvil */
  nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  nav.active {
    display: block;
  }

  .text-header {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
    color: black;
    text-decoration: none;
  }


  /* Sección Empresa */
  .empresa-section {
    width: 100%;
    height: 500px;
    padding: 10px 10px;
  }

  .empresa-content {
    flex-direction: column;
    gap: 30px;
  }

  .empresa-title{
    margin-top: 10px;
  }

  .empresa-text{
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 15.98px;
    text-align: center;
  }

  .empresa-logo{
    display: none;
  }

  /* Sección Equipo */
  .equipo-section {
    width: 100%;
    padding: 40px 0;
  }

  .equipo-carousel {
    width: 100%;
    padding: 0;
  }

  .carousel-container {
    width: 100%;
    max-width: calc(100% - 40px);
    margin: 20px 70px 0 0;
  }

  /* Ajustes de las tarjetas de equipo */
  .team-card {
    flex: 0 0 270px;
    height: 342px;
    margin: 0 auto;
  }
  .card-background {
    width: 270px;
    height: 159.3px; /* Ajustado proporcionalmente */
    top: 202.5px;
  }
  .card-image {
    width: 239.4px; /* Ajustado proporcionalmente */
    height: 322.2px;
    margin: 10.8px auto 0;
  }
  .card-info {
    width: 239.4px;
    height: 139.5px;
    top: 202.5px;
    left: 50%;
    transform: translateX(-50%);
  }

  .card-info h3{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 18px;
  }

  .card-info p{
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 18px;
  }
  /* Fin Sección Equipos */


  /* Sección Coberturas */
  .coberturas-section {
    min-height: auto; /* O un valor que se ajuste a tu contenido */
    height: fit-content;

    width: 100%;
    padding: 10px 20px 40px; /* Ajustado el padding top a 10px */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cobertura-subtitle{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 28px;
  }

  .coberturas-section h1 {
    margin-bottom: 20px; /* Espacio después del título */
  }

  .coverage-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .coverage-button {
    width: 350px;
    min-height: 60px;
    padding: 15px 20px;
    font-size: 14px;
    margin: 0;
  }

  .coverage-other {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 15px 0 0 0; /* Solo margen superior para separación */
  }

  /* Ajuste específico para el botón "Otro" */
  .coverage-other .coverage-button {
    width: 350px;
    min-height: 60px;
  }

  /* Ajuste para el contenido interno de los botones */
  .coverage-button > :not(.arrow-icon) {
    gap: 10px;
  }

  /* Ajuste para los íconos */
  .coverage-icon {
    width: 24px;
    height: 24px;
  }

  .arrow-icon-coverage {
    width: 20px;
    height: 20px;
  }


  /* Sección Servicios */
  .servicios-section {
    width: 100%;
    padding: 40px 0;
  }

  .servicios-carousel {
    width: 100%;
    max-width: calc(100% - 40px);
    margin: 0 auto;
  }

  .servicios-container {
    width: 100%;
  }

  .service-card {
    width: 100%;
    margin: 0 auto;
  }

  .service-info{
    width: 284px;
  }

  /* Sección Contacto */
  .contacto-section {
    width: 100%;
    height: auto;
  }

  .contacto-background {
    width: 100%;
  }

  .contacto-content {
    width: 100%;
    margin: 0;
    padding: 40px 20px;
  }

  .contact-form {
    width: 100%;
  }

  .form-group input,
  .textarea-group textarea {
    width: 350px;
    height: 50px;
    border-radius: 10px;
    padding: 0 21.35px;
    font-size: 11.38px;
  }

  .textarea-group textarea {
    height: 142.3px;
    padding: 21.35px;
  }

  #mensaje{
    width: 350px;
    height: 142.3px;
    padding: 21.35px;
    border-radius: 10px;
    font-size: 11.38px;
  }

  .required-fields{
    margin-left: 15px;
    margin-top: 10px;
    font-size: 12px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    padding: 40px 20px;
  }

  .footer-info {
    width: 100%;
    margin-left: 0;
  }

  .footer-info img{
    margin-bottom: 25px;
  }

  .map-container {
    width: 100%;
  }

  .info-content {
    flex-direction: column;
    padding: 20px;
    margin-left: 0;
  }

  /* Modales */
  .modal-content {
    width: calc(100% - 40px);
    height: auto;
    max-height: 90vh;
    margin: 20px;
    padding: 20px;
    flex-direction: column;
  }

  .modal-info,
  .modal-form {
    width: 100%;
    padding: 20px 0;
  }


  iframe{
    width: 100%;
    max-width: 100%;
    height: 150px;
  }

  .copyright-bar{
    font-size: 10px;
    font-weight: 500;
    line-height: 10.7px;
  }

  .info-item:not(:last-child):not(:nth-last-child(2))::after {
    content: '';
    display: none;
  }

}

@media only screen and (max-width: 360px)  {
  /* Ajustes generales para contenedores */
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* Ajustes base para el body */
  body {
    overflow-x: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  /* Todos los contenedores principales */
  section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
    min-height: auto; /* Permitimos que la altura se ajuste al contenido */
  }

  /* Sección Inicio */
  #inicio {
    height: 450px; /* Proporcionalmente menor que los 440px en 428px */
    margin: 0;
    padding: 0;
  }

  #presentacion {
    height: 320px; /* Reducido proporcionalmente desde 400px */
    margin-top: 60px;
    margin-bottom: 0;
    width: 100%;
  }

  .carousel-item img {
    border-radius: 0 0 40px 40px; /* Ajustado proporcionalmente */
  }

  /* Ajustes del Overlay */
  .overlay-wrapper {
    position: absolute;
    top: 260px;
    left: 150px;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 320px;
    margin: 0;
    padding: 0;
    z-index: 10;
  }

  /* Ajuste del overlay-content */
  .overlay-content {
    position: relative;
    width: 233.75px;
    height: 127.5px;
    top: 114.75px;
    margin-left: 34px;
    background: rgba(25, 24, 74, 0.31);
    padding: 25.5px 17px;
    border: 1.7px solid #F68E2F;
    text-align: center;
    transform: none;
  }

  .decorative-line{
    display: none;
  }

  .overlay-icon {
    position: absolute;
    top: -25.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 42.5px;
    height: 42.5px;
    background: #019C9E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .overlay-icon .icon{
    width: 42.5px;
    height: 42.5px;
  }

  .overlay-title {
    font-family: 'SUSE';
    font-size: 16.15px;
    line-height: 1.2;
    margin: 8.5px 0;
    color: white;
    text-align: center;
  }

  .overlay-button {
    width: 141.95px;
    min-width: 170px;
    height: 42.5px;
    margin: 17px auto 0;
    left: 30px;
    padding: 0 25.5px;
    background: #F68E2F;
    border-radius: 31.45px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11.9px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8.5px;
  }

  /* Banner 80 años */
  .banner-80-anos {
    width: 100%;
    height: 255px;
    padding: 0;
    margin: 0;
  }

  .banner-image-banner{
    display: flex;
    width: 100%;
    padding: 0;
  }
  .banner-image-banner img{
    display: flex;
    width: 100%;
    padding: 0;
  }

  .banner-image{
    display: none;
  }

  .banner-container {
    display: none;
  }

  /* Sección Empresa */
  .container.empresa-section {
    width: 100%;
    height: 700px;
    padding: 20px 10px;
  }

  .empresa-content {
    flex-direction: column;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 15px;
    text-align: center;
    gap: 30px;
  }

  .empresa-title{
    margin-top: 10px;
  }

  .empresa-text{
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 15px;
    text-align: center;
  }

  .empresa-logo{
    display: none;
  }

  .empresa-button-wrapper{
    display: flex;
    margin-top: 30px;
    margin-bottom: 30px;
    justify-content: center;
  }



  /* Sección Equipo */
  .equipo-section {
    padding: 20px 0;
    height: 640px;
    min-height: 500px; /* Altura mínima ajustada */
  }


  .equipo-carousel {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .carousel-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 0;
    position: relative;
  }

  /* Ajustes de las tarjetas de equipo */
  .team-card {
    flex: 0 0 242.25px;
    height: 306.85px;
    margin: 0 auto;
  }

  .card-background {
    width: 242.25px;
    height: 143px;
    top: 181.69px;
  }

  .card-image {
    width: 214.8px;
    height: 289.09px;
    margin: 9.69px auto 0;
  }

  .card-info {
    width: 214.8px;
    height: 125.16px;
    top: 181.69px;
    left: 50%;
    transform: translateX(-50%);
  }

  .card-info h3{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 18px;
  }

  .card-info p{
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 18px;
  }


  /* Sección Coberturas */
  .coberturas-section {
    width: 100%;
    padding: 10px 15px 30px;
    height: auto;
    min-height: auto;
  }

  .cobertura-subtitle{
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 19px;
  }

  .coverage-grid {
    gap: 12px;
    padding: 0 10px;
  }

  .coverage-button,
  .coverage-other .coverage-button {
    width: 300px; /* Reducido desde 350px */
    min-height: 50px;
    padding: 12px 15px;
    font-size: 13px;
    line-height: 18px;
  }

  /* Sección Servicios */
  .servicios-section {
    padding: 30px 0;
    height: auto;
    min-height: 500px;
  }

  .service-card {
    flex: 0 0 300px; /* Reducido desde 518px */
    height: 420px;
    margin: 0 auto;
  }

  .background-servicios {
    width: 300px;
    height: 160px;
    top: 260px;
    left: 10px;
    right: 10px;
  }

  .service-info {
    width: 280px;
    height: 380px;
    margin: 15px auto;
    padding: 20px;
  }

  /* Sección Contacto */
  .contacto-section {
    height: auto;
    min-height: 600px;
    padding-bottom: 30px;
  }

  .contact-form {
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
    padding: 0 15px;
  }

  .form-group input,
  .textarea-group textarea,
  #mensaje {
    width: 300px; /* Reducido desde 388px */
    margin: 0 auto;
  }

  .form-group input {
    height: 45px;
  }

  .textarea-group textarea,
  #mensaje {
    height: 120px;
  }

  .required-fields{
    margin-left: 15px;
    margin-top: 10px;
    font-size: 12px;
  }

  .submit-button-contacto{
    font-size: 16px;
  }



  /* Footer */
  .footer-main {
    width: 100%;
    height: auto;
    min-height: 650px;
  }

  .footer-content {
    padding: 30px 15px;
  }

  .footer-info {
    margin: 0;
    padding: 0 15px;
  }

  .contact-info {
    margin-left: 20px;
  }

  .map-container {
    height: 180px;
    margin: 20px 0;
  }

  .map-container iframe {
    width: 100%;
    height: 180px;
  }
}


/* Bloqueo de landscape */
/* Orientation Lock Styles */
.orientation-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #019C9E;
  z-index: 99999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.orientation-message__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  animation: rotate-device 1.5s ease infinite;
}

.orientation-message__title {
  color: white;
  font-family: 'SUSE', sans-serif;
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 10px;
}

.orientation-message__text {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  max-width: 280px;
  line-height: 1.4;
}

@keyframes rotate-device {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(-90deg); }
  100% { transform: rotate(0deg); }
}

/* Mostrar mensaje solo en landscape en móviles */
@media screen and (max-width: 932px) and (orientation: landscape) {
  .orientation-message {
    display: flex;
  }

  /* Ocultar todo el contenido excepto el mensaje */
  body > *:not(.orientation-message) {
    display: none !important;
  }
}
