.elementor-7487 .elementor-element.elementor-element-10a46fb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-7487 .elementor-element.elementor-element-8c34cb2 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-7487 .elementor-element.elementor-element-19f15e0{--display:grid;--min-height:0px;--e-con-grid-template-columns:repeat(2, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;--justify-items:center;--margin-top:50px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-7487 .elementor-element.elementor-element-4acb37f > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-7487 .elementor-element.elementor-element-816e78d{--display:grid;--min-height:0px;--e-con-grid-template-columns:repeat(2, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;--justify-items:center;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-7487 .elementor-element.elementor-element-a8c25d9 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-7487 .elementor-element.elementor-element-3ca6378{--display:flex;--min-height:0px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-7487 .elementor-element.elementor-element-3ca6378 .elementor-background-slideshow__slide__image{background-size:cover;}.elementor-7487 .elementor-element.elementor-element-be715d2{width:100%;max-width:100%;}.elementor-7487 .elementor-element.elementor-element-be715d2 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-7487 .elementor-element.elementor-element-cb4ddfc{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-7487 .elementor-element.elementor-element-cb4ddfc .elementor-background-slideshow__slide__image{background-size:cover;}.elementor-7487 .elementor-element.elementor-element-2e27af0{width:100%;max-width:100%;}.elementor-7487 .elementor-element.elementor-element-2e27af0 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-7487 .elementor-element.elementor-element-3eec8ff{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-7487 .elementor-element.elementor-element-3eec8ff .elementor-background-slideshow__slide__image{background-size:cover;}.elementor-7487 .elementor-element.elementor-element-2db791f{width:100%;max-width:100%;}.elementor-7487 .elementor-element.elementor-element-2db791f > .elementor-widget-container{margin:030px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-7487 .elementor-element.elementor-element-bbc1884{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-7487 .elementor-element.elementor-element-39810f3{--display:flex;}.elementor-7487 .elementor-element.elementor-element-4542d21{width:100%;max-width:100%;}.elementor-7487 .elementor-element.elementor-element-4542d21 > .elementor-widget-container{margin:0px 0px 0px 0px;}@media(min-width:768px){.elementor-7487 .elementor-element.elementor-element-3ca6378{--width:100%;}.elementor-7487 .elementor-element.elementor-element-cb4ddfc{--width:1381%;}.elementor-7487 .elementor-element.elementor-element-3eec8ff{--width:1381%;}}@media(max-width:1024px){.elementor-7487 .elementor-element.elementor-element-19f15e0{--grid-auto-flow:row;}.elementor-7487 .elementor-element.elementor-element-816e78d{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-7487 .elementor-element.elementor-element-10a46fb{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-7487 .elementor-element.elementor-element-8c34cb2 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-7487 .elementor-element.elementor-element-19f15e0{--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-7487 .elementor-element.elementor-element-816e78d{--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-7487 .elementor-element.elementor-element-3ca6378{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-7487 .elementor-element.elementor-element-cb4ddfc{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-7487 .elementor-element.elementor-element-3eec8ff{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}/* Start custom CSS for html, class: .elementor-element-8c34cb2 *//* Critical CSS that should be inlined in the head */
.hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 10%;
    min-height: 70vh;
    background-color: #FAF3DF;
    flex-wrap: wrap;
    overflow: hidden;
}

.hero .content {
    max-width: 50%;
    z-index: 2;
    margin-top: 80px;
}

.hero .content h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #21458C; 
    background-color: rgba(255, 255, 255, 0.4666);
    padding: 15px 25px;
    display: inline-block;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Force hardware acceleration for better rendering */
    transform: translateZ(0);
    will-change: transform;
}


/* Rest of the CSS remains the same */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #21458C;
    background-color: #FAF3DF;
}

.hidden { display: none; }
.active { font-weight: bold; }
.error { color: red; font-size: 12px; }
.submit-btn:disabled {
    background-color: gray;
    cursor: not-allowed;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.hero .content h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #FFD443;  
}

.hero .content .price {
    font-size: 30px;
    font-weight: bold;
    color: #FFD443;
    margin-bottom: 20px;
}

.hero .form-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin-top: 5vh;
    z-index: 2;
}

.hero .form-container h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #21458C;
}

.hero .form-container p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #21458C;
}

.hero .form-container .options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hero .form-container .options button {
    flex: 1;
    background-color: #FAF3DF;
    color: #21458C;
    border: 1px solid #21458C;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 5px;
}

.hero .form-container .options button:last-child {
    margin-right: 0;
}

.hero .form-container .options button.active {
    background-color: #FFD443;
    color: white;
}

.hero .form-container .form-field {
    margin-bottom: 15px;
}

.hero .form-container .form-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.hero .form-container .submit-btn {
    background-color: #21458C;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.asesora-button {
    background-color: #17468c;
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 20px;
}

.asesora-button:hover {
    background-color: #fed443;
    color: #17468c;
}

@media screen and (max-width: 768px) {
     /* Critical optimization for h1 on mobile */
  .hero .content h1 {
    /* Typography simplified for faster rendering */
    font-size: 22px !important;
    font-weight: bold;
    line-height: 1.2;
    
    /* Spacing adjustments to avoid navbar overlap */
    margin-top: 60px !important; /* Move down to avoid navbar */
    margin-bottom: 10px;
    
    /* Container styling simplified */
    max-width: 100% !important;
    width: calc(100% - 20px) !important;
    box-sizing: border-box !important;
    
    /* Text styling */
    color: #21458C !important;
    text-align: center !important;
    
    /* Background simplified */
    background-color: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    
    /* Box styling simplified */
    padding: 10px 15px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    
    /* Remove expensive rendering effects */
    backdrop-filter: none !important;
    
    /* Hardware acceleration */
    transform: translateZ(0) !important;
    will-change: transform !important;
    
    /* Ensure visibility and high priority */
    visibility: visible !important;
    content-visibility: auto !important;
    contain: layout paint !important;
    
    /* Center the element */
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
  
  /* Adjust content container for mobile */
  .hero .content {
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 0px !important;
    padding-top: 0px !important;
    z-index: 10 !important;
  }
  
  /* Move form down a bit */
  .hero .form-container {
    margin-top: 20px !important;
  }
    .hero .form-container {
        width: 100%;
        margin-top: 20px;
    }

    .hero .form-container h3 {
        font-size: 16px;
    }

    .hero .form-container .options {
        flex-direction: column;
    }

    .hero .form-container .options button {
        margin-bottom: 10px;
    }

    .hero .form-container .options button:last-child {
        margin-bottom: 0;
    }

    .hero .form-container .form-field input {
        padding: 8px;
    }

    .asesora-button {
        margin-left: 0;
        width: 100%;
        margin-top: 20px;
    }
}
  @keyframes fadeInVideo {
    from { opacity: 0; }
    to { opacity: 1; }
  }
@media screen and (max-width: 480px) {
      .hero .content h1 {
    font-size: 20px !important;
    padding: 8px 12px !important;
  }
    .hero .content h2 {
        font-size: 16px;
    }

    .hero .content p {
        font-size: 14px;
    }

    .hero .form-container {
        width: 100%;
        padding: 20px;
    }

    .hero .form-container h3 {
        font-size: 14px;
    }

    .hero .form-container .options button {
        font-size: 12px;
    }

    .hero .form-container .form-field input {
        font-size: 14px;
    }

    .hero .form-container .submit-btn {
        font-size: 14px;
    }

    .asesora-button {
        font-size: 14px;
        padding: 8px 15px;
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-19f15e0 */body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Reduje el valor de gap para acercar más las tarjetas */
    padding: 20px;
    background-color: #fff;
    justify-content: center; /* Centra las tarjetas horizontalmente */
    align-items: center; /* Centra las tarjetas verticalmente (si la altura es suficiente) */
    max-width: 100%; /* Para asegurarte de que el contenedor no se estire más allá del límite */
}

.card {
    background-color: #f5f5f5;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    padding-bottom: 15px;
    flex: 1 1 calc(50% - 20px); /* Reducido el espacio de 20px a 10px para acercar las tarjetas */
    max-width: 500px;
    max-height: 600px;
    margin-bottom: 20px; /* Añade espacio entre las filas */

}


/* Asegúrate de que las imágenes dentro de las tarjetas no se deformen */
.card .image-container {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 0;
    padding: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
}

.card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.card .image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.card .info-button a {
    color: #000;
    text-decoration: none;
}

.card .info-button a:hover {
    color: #fed443;
}

.card button a {
    color: #FFF;
    text-decoration: none;
}

.card button a:hover {
    color: #17468c;
}

.card .custom-cell-content img.custom-small-image {
    width: 95px;
    height: auto;
    border-radius: 50%;
    position: absolute; /* La posicionamos encima de la primera imagen */
    top: 50%; /* Centra verticalmente */
    left: 50%; /* Centra horizontalmente */
    transform: translate(-50%, -50%); /* Ajusta el centro de la imagen */
    z-index: 1; /* Asegura que la segunda imagen esté encima de la primera */
}

.card h3 {
    font-size: 18px;
    margin: 20px 0 10px;
}

.card p {
    padding: 5px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    
    flex-grow: 1; /* Hace que el texto crezca y ocupe el espacio disponible */

}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.card ul li {
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.card ul li::before {
    content: '☑️';
    color: #4caf50;
    margin-right: 8px;
}

.card button {
    background-color: #17468c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

.card button:hover {
    background-color: #fed443;
    color: #17468c;
}

.card .info-button {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.card .info-button:hover {
    background-color: #17468c;
    color: #fff;
}

/* Media Queries para diferentes tamaños de pantalla */

@media (min-width: 1025px) {
    .card {
        flex: 1 1 calc(45% - 10px); /* Dos tarjetas por fila en pantallas grandes, con más ancho y menos espacio */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .card {
        flex: 1 1 calc(45% - 10px); /* Dos tarjetas por fila en tablets, con más ancho y menos espacio */
    }
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 100%; /* Una tarjeta por fila en pantallas pequeñas */
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-816e78d */body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Reduje el valor de gap para acercar más las tarjetas */
    padding: 20px;
    background-color: #fff;
    justify-content: center; /* Centra las tarjetas horizontalmente */
    align-items: center; /* Centra las tarjetas verticalmente (si la altura es suficiente) */
    max-width: 100%; /* Para asegurarte de que el contenedor no se estire más allá del límite */
}

.card {
    background-color: #f5f5f5;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    padding-bottom: 15px;
    flex: 1 1 calc(50% - 20px); /* Reducido el espacio de 20px a 10px para acercar las tarjetas */
    max-width: 500px;
    max-height: 600px;
    margin-bottom: 20px; /* Añade espacio entre las filas */

}


/* Asegúrate de que las imágenes dentro de las tarjetas no se deformen */
.card .image-container {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 0;
    padding: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
}

.card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.card .image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.card .info-button a {
    color: #000;
    text-decoration: none;
}

.card .info-button a:hover {
    color: #fed443;
}

.card button a {
    color: #FFF;
    text-decoration: none;
}

.card button a:hover {
    color: #17468c;
}

.card .custom-cell-content img.custom-small-image {
    width: 95px;
    height: auto;
    border-radius: 50%;
    position: absolute; /* La posicionamos encima de la primera imagen */
    top: 50%; /* Centra verticalmente */
    left: 50%; /* Centra horizontalmente */
    transform: translate(-50%, -50%); /* Ajusta el centro de la imagen */
    z-index: 1; /* Asegura que la segunda imagen esté encima de la primera */
}

.card h3 {
    font-size: 18px;
    margin: 20px 0 10px;
}

.card p {
    padding: 5px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    
    flex-grow: 1; /* Hace que el texto crezca y ocupe el espacio disponible */

}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.card ul li {
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.card ul li::before {
    content: '☑️';
    color: #4caf50;
    margin-right: 8px;
}

.card button {
    background-color: #17468c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

.card button:hover {
    background-color: #fed443;
    color: #17468c;
}

.card .info-button {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.card .info-button:hover {
    background-color: #17468c;
    color: #fff;
}

/* Media Queries para diferentes tamaños de pantalla */

@media (min-width: 1025px) {
    .card {
        flex: 1 1 calc(45% - 10px); /* Dos tarjetas por fila en pantallas grandes, con más ancho y menos espacio */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .card {
        flex: 1 1 calc(45% - 10px); /* Dos tarjetas por fila en tablets, con más ancho y menos espacio */
    }
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 100%; /* Una tarjeta por fila en pantallas pequeñas */
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-be715d2 */body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    overflow-x: hidden;
    color: #000;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background-color: #fff;
}

.main-container h2 {
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
            font-weight: 500 !important;
    color: #000;
    margin: 0;
    margin-bottom: 30px;
}

.custom-table-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.custom-service-cell {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    height: 200px;
    border: 2px solid #21458C;
    background: linear-gradient(135deg, #5c8fb0, #a1c6ea);
}

.custom-service-cell img.custom-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.6;
}

.custom-service-cell-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.custom-service-cell-content img.custom-small-icon {
    width: 95px;
    height: auto;
    border-radius: 50%;
}

.custom-service-cell-content h4 {
    margin: 10px 0;
    text-align: center;
    font-size: 14px;
    color: #ffd443;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.custom-service-cell-overlay {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 69, 140);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    opacity: 0;
    z-index: 3;
    text-align: center;
}

.custom-service-cell:hover .custom-service-cell-overlay {
    left: 0;
    opacity: 1;
}

.custom-service-cell-overlay h3 {
    margin: 0;
    font-size: 16px;
    color: #ffd443;
}

.custom-service-cell-overlay p {
    margin: 5px 0;
    font-size: 12px;
    color: #fff;
}

.custom-service-cell-button {
    font-family: 'Montserrat', sans-serif;
    background-color: #FED443;
    color: #000;
    border: none;
    border-radius: 22px;
    padding: 10px 20px;
    text-decoration: none !important;
    font-size: 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-service-cell-button:hover {
    background-color: #17468C;
    color: #fff;
}

/* Estilos para las celdas ocultas */
.hidden-cell {
    display: none;
}

/* Botón para mostrar más celdas */
.show-more-btn {
    width: 200px;
    border: 2px solid #21458C;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    background: transparent;
    border-radius: 25px;
    padding: 10px 0px;
    margin-top: 40px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.show-more-btn:focus {
    outline: none;
}

.show-more-btn:hover {
    border-color: #21458C;
    background-color: #21458C;
    color: #fff;
}

.show-more-btn:active {
    border-color: #21458C;
    background-color: #21458C;
    color: #fff;
}

/* Media Queries */
@media (max-width: 1024px) {
    .custom-table {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .custom-table {
        grid-template-columns: 1fr;
    }

    .custom-service-cell {
        height: 180px;
    }

    .custom-service-cell-content {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .elementor-12 .elementor-element.elementor-element-de98c03 {
        margin-left: 0px;

    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-2e27af0 */* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
        }
        
        /* Sección de contacto */
        .contacto-section {
            font-family: 'Montserrat', sans-serif;
            background-color: black;
            color: #000;
            padding: 100px 10%;
            max-width: 100%;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
        }
        
        .contacto-title {
            font-size: 24px;
            font-weight: 400;
            color: #fff;
            margin-bottom: 20px;
        }
        
    button.contacto-button {
        /* Reset button styles to behave like anchor */
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        display: inline-block;
        
        /* Copy the existing contacto-button styles */
        background-color: #FFD443;
        color: #000;
        text-decoration: none !important;
        padding: 10px 35px;
        font-size: 15px;
        font-weight: 600;
        border: 2px solid;
        border-radius: 50px;
        cursor: pointer;
        width: 250px;
        text-align: center;
        transition: all 0.3s ease;
        
        /* Additional button reset */
        margin: 0;
        appearance: none;
        -webkit-appearance: none;
    }
    
    button.contacto-button:hover {
        border: 2px solid transparent;
        background-color: #21458C;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(33, 69, 140, 0.3);
    }
    
        
        /* Popup de contacto */
        .contact-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .contact-popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .contact-popup-content {
            background-color: #fff;
            padding: 40px;
            border-radius: 15px;
            width: 90%;
            max-width: 400px;
            position: relative;
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
            transform: translateY(30px);
            transition: all 0.4s ease;
            font-weight: normal !important;
        }
        
        .contact-popup-overlay.active .contact-popup-content {
            transform: translateY(0);
        }
        
        .contact-popup-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 22px;
            color: #999;
            cursor: pointer;
            transition: color 0.3s;
        }
        
        .contact-popup-close:hover {
            color: #21458C;
        }
        
        .contact-popup-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 25px;
            color: #21458C;
        }
        
        .contact-methods {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .contact-method {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            border-radius: 10px;
            text-decoration: none;
            color: #333;
            transition: all 0.3s ease;
            border: 1px solid #eee;
        }
        
        .contact-method:hover {
            background-color: #f8f9fa;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .contact-method.email:hover {
            border-left: 4px solid #EA4335;
        }
        
        .contact-method.whatsapp:hover {
            border-left: 4px solid #25D366;
        }
        
        .contact-method.phone:hover {
            border-left: 4px solid #21458C;
        }
        
        .contact-icon {
            width: 45px;
            height: 45px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            margin-right: 15px;
            font-size: 18px;
        }
        
        .contact-icon.email {
            background-color: rgba(234, 67, 53, 0.1);
            color: #EA4335;
        }
        
        .contact-icon.whatsapp {
            background-color: rgba(37, 211, 102, 0.1);
            color: #25D366;
        }
        
        .contact-icon.phone {
            background-color: rgba(33, 69, 140, 0.1);
            color: #21458C;
        }
        
        .contact-text {
            flex: 1;
        }
        
        .contact-label {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 2px;
        }
        
        .contact-value {
            font-size: 13px;
            color: #666;
        }
        
        /* Media Queries */
        @media (max-width: 768px) {
            .contacto-section {
                padding: 50px 5%;
            }
            .contacto-title {
                font-size: 20px;
            }
             button.contacto-button {
            width: 200px;
            font-size: 14px;
        }
            .contact-popup-content {
                padding: 30px;
            }
        }
        
        @media (max-width: 480px) {
            .contacto-section {
                padding: 30px 5%;
            }
            .contacto-title {
                font-size: 18px;
                margin-bottom: 15px;
            }
  button.contacto-button {
            width: 180px;
            font-size: 13px;
        }
            .contact-popup-content {
                padding: 25px 20px;
            }
            .contact-popup-title {
                font-size: 18px;
            }
            .contact-method {
                padding: 10px 15px;
            }
            .contact-icon {
                width: 40px;
                height: 40px;
                font-size: 16px;
                margin-right: 10px;
            }
        }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-2db791f */body {
            font-family: 'Montserrat', sans-serif; /* Aplicar Montserrat */
            color: #fff;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            box-sizing: border-box;        }

        .container {
            max-width: 80rem;
            margin: 0 auto;
            padding: 1rem;
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .text-section {
            text-align: center;
        }

        .text-section p {
            color: #21458C; /* Azul */
            text-transform: uppercase;
            font-size: 0.875rem;
            font-weight: 100;
            letter-spacing: 0.05em;
            margin-bottom: 0.5rem;
        }

        .text-section h2 {
            font-size: 24px;
            font-weight: 500 !important;
            color: #000;
            margin: 0;
        }

        .text-section p:last-of-type {
            margin-top: 1rem;
            font-size: 1rem;
            color: #4b5563;
        }

        .icon-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .icon-item {
            padding: 20px 20px 20px 20px;
            margin:0px 20px 0px 20px;
            position: relative;
            padding-bottom: 1rem;
            display: -webkit-box;
        }

        .icon-item svg {
            height: 1.5rem;
            width: 2rem;
            color: #17468c; /* Azul */
        }

        .icon-item dt {
            margin-left: 2.25rem;
            font-size: 1.25rem;
            font-weight: 500;
            color: #111827;
        }

        .icon-item dd {
            margin-top: 0.5rem;
            margin-left: 2.25rem;
            font-size: 1rem;
            color: #6b7280;
        }

        /* Media Queries */

        @media (min-width: 768px) {
            .container {
                grid-template-columns: 1fr;
            }

            .icon-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 2rem;
            }
        }
@media (max-width: 767px) {
    .elementor-12 .elementor-element.elementor-element-c4f732a {
            margin-left: 0px !important;
    }
}
        @media (min-width: 1024px) {
            .container {
                padding-left: 2rem;
                padding-right: 2rem;
            }

            .icon-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 2rem;
            }
        }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-b7679b7 */.footer-empresa {
            background-color: #faf3df;
            color: #fff;
            padding: 40px 20px;
            font-family: 'Montserrat', sans-serif;
        }

        .footer-contenido {
            display: flex;
            justify-content: space-between ;
            max-width: 100%;
            margin: 0 auto;
            flex-wrap: wrap;
        }

        .footer-columna {
            flex: 1;
            min-width: 250px;
            margin: 10px 20px;
        }

        .footer-columna h3 {
            color: #000;
            font-size: 18px;
            margin-bottom: 20px;
            border-bottom: 5px solid #21458C;
            padding-bottom: 10px;
        }

        .footer-columna ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        .footer-columna ul li {
            margin-bottom: 10px;
        }

.footer-columna ul li a {
    color: #000;
    text-decoration: none !important;
    font-size: 14px;
    text-align: left; /* Aligns the text to the left */
}

        .footer-columna ul li a:hover {
            text-decoration: underline;
        }

        .footer-columna p {
            font-size: 14px;
            color: #000;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            font-size: 14px;
            border-top: 1px solid #21458C;
            color:#000;
        }

        .social-icons {
            display: flex;
            list-style-type: none;
            padding: 0;
        }

        .social-icons li {
            margin-right: 10px;
        }

        .social-icons li a {
            color: #fff;
            text-decoration: none !important;
            font-size: 14px;
        }

        .social-icons li a:hover {
            text-decoration: underline;
        }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-4542d21 *//* ===== Base Styles ===== */
.loading, .additional-services2, .success {
    display: none;
}

.loading, .success {
    text-align: center;
}

.loading {
    font-size: 1.2em;
    color: #007bff;
}

.success {
    color: #28a745;
    font-weight: bold;
}

.disable-button {
    opacity: 0.5;
    pointer-events: none;
}

/* ===== Header Styles ===== */
.header {
    font-family: 'Montserrat', sans-serif !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: auto;
}

/* ===== Logo Styles ===== */
.header .logo {
    margin-right: 2vh;
    height: 45px;
}

.logo img {
    margin-left: 1vh;
    margin-right: 2vh;
    height: 45px;
    width: auto;
}

/* ===== Hamburger Button ===== */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    background-color: #21458C;
    padding: 5px 10px;
    border-radius: 4px;
}

.hamburger.active {
    color: white;
    background-color: #21458C;
}

.hamburger:hover {
    background-color: #fed443;
}

/* ===== Navigation Menu ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
}

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

.header-content {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

/* ===== Links Styling ===== */
.header a, .nav-menu a {
    text-decoration: none !important;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    padding: 0px 10px;
    transition: color 0.3s;
}

.header a:hover, .nav-menu a:hover {
    color: #17468c;
    font-weight: 500;
}

/* ===== Dropdown Container and Styling ===== */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #21458C;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    min-width: 300px;
    z-index: 1001;
    overflow: hidden;
}

/* Arrow pointing up to the servicios link */
.dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #21458C;
}

.dropdown a {
    display: block;
    padding: 14px 18px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #e8e9ea;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
}

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

.dropdown a:hover {
    background: linear-gradient(135deg, #fed443 0%, #ffd700 100%);
    color: #21458C;
    padding-left: 25px;
    font-weight: 600;
}

.dropdown a:hover::before {
    content: '→';
    position: absolute;
    left: 18px;
    color: #21458C;
    font-weight: bold;
}

.bold {
    font-weight: bold;
    color: black;
}

/* ===== Button Styles ===== */
.phone-button, .callback-button {
    font-size: 16px;
    padding: 8px 18px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-button {
    background-color: #17468c;
    color: #fff;
}

.callback-button {
    background-color: #fed443;
    color: #17468c;
}

.phone-button:hover {
    background-color: #fed443;
    color: #17468c;
}

.callback-button:hover {
    background-color: #17468c;
    color: #fff;
}

.phone-button img {
    height: 18px;
    margin-right: 5px;
}

/* ===== Contact Footer (Mobile) ===== */
.contact-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 8px 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
}

/* ===== Popup Base Styles ===== */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #17468c;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== Popup Header ===== */
.popup-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.popup-icon {
    font-size: 36px;
    color: #17468c;
    margin-bottom: 15px;
}

.popup-content p {
    color: #17468c;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 22px;
}

/* ===== Input Field ===== */
.input-container {
    position: relative;
    margin-bottom: 15px;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #17468c;
}

#phoneInput {
    padding: 12px 12px 12px 40px;
    border: 2px solid #17468c;
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#phoneInput:focus {
    border-color: #fed443;
    box-shadow: 0 0 0 3px rgba(254, 212, 67, 0.3);
    outline: none;
}

/* ===== Submit Button ===== */
#submitBtn {
    background-color: #17468c;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

#submitBtn:hover {
    background-color: #fed443;
    color: #17468c;
    transform: translateY(-2px);
}

/* ===== Loading and Success States ===== */
.loading, .success {
    margin: 15px 0;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.success {
    background-color: rgba(40, 167, 69, 0.1);
}

/* ===== Close Button ===== */
.close-popup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    margin-top: 20px;
    color: #17468c;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.close-popup:hover {
    color: #fed443;
    background-color: rgba(23, 70, 140, 0.1);
}

/* ===== Contact Options ===== */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-option {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(23, 70, 140, 0.2);
}

.contact-option:hover {
    background-color: rgba(23, 70, 140, 0.1);
    transform: translateY(-2px);
}

.option-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #17468c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 12px;
}

.whatsapp-icon {
    background-color: #25D366;
}

.option-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.option-label {
    font-size: 14px;
    color: #666;
}

.option-value {
    font-size: 18px;
    font-weight: 700;
    color: #17468c;
}

.hours-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    margin-top: 15px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 8px;
    font-size: 14px;
}

/* ===== Animation for Popup ===== */
.popup.active {
    display: flex;
}

.popup.active .popup-content {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Error Message Styling ===== */
.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    text-align: center;
    border: 1px solid rgba(220, 53, 69, 0.3);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Media Queries ===== */
@media (max-width: 1450px) {
    .nav-menu a {
        font-size: 14px;
        padding: 0px 8px;
    }
}

@media (max-width: 1220px) {
    /* Header adjustments */
    .header {
        padding: 10px 15px;
        height: auto;
        min-height: 70px;
    }
    
    #serviciosToggle {
        display: none;
    }
    
    .header-content {
        display: none;
    }
    
    /* Logo adjustments */
    .logo img {
        height: 45px;
        margin-right: 0;
    }
    
    /* Hamburger Button */
    .hamburger {
        display: block;
        font-size: 26px;
        padding: 6px 10px;
        margin-right: 0px;
    }
    
    .hamburger:hover {
        color: white;
        background-color: #fed443;
    }
    
    .hamburger.active {
        color: white;
        background-color: #fed443;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        right: 0;
        top: 70px;
        background-color: #fff;
        width: 280px;
        /* Reduced max-height to account for fixed bottom contact bar */
        max-height: calc(100vh - 140px); /* 70px header + 70px contact footer */
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 12px 12px;
        padding: 0;
        z-index: 1000;
    }
    
    /* Custom scrollbar for mobile nav menu */
    .nav-menu::-webkit-scrollbar {
        width: 4px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: #21458C;
        border-radius: 2px;
    }
    
    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: #fed443;
    }
    
    .nav-menu a {
        padding: 16px 20px;
        font-size: 15px;
        text-align: left;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        color: #333;
        font-weight: 500;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .nav-menu a:hover {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        color: #21458C;
        font-weight: 600;
        padding-left: 25px;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Logo for Small Screens */
    .logo img {
        content: url('../images/PNG_-05.png');
    }
    
    /* Show Additional Services in Mobile Menu */
    .additional-services2 {
        display: inline;
    }
    
    /* Mobile dropdown styling - make it part of the menu flow */
    .dropdown {
        position: static;
        width: 100%;
        margin-top: 0;
        left: auto;
        top: auto;
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
        border-radius: 0;
        min-width: auto;
        transform: none;
        /* Reduced max-height for mobile dropdown to account for fixed bottom bar */
        max-height: calc(50vh - 40px);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Custom scrollbar for mobile dropdown */
    .dropdown::-webkit-scrollbar {
        width: 4px;
    }
    
    .dropdown::-webkit-scrollbar-track {
        background: #e9ecef;
    }
    
    .dropdown::-webkit-scrollbar-thumb {
        background: #21458C;
        border-radius: 2px;
    }
    
    .dropdown::-webkit-scrollbar-thumb:hover {
        background: #fed443;
    }
    
    .dropdown::before {
        display: none;
    }
    
    .dropdown a {
        padding: 12px 30px;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
        font-size: 14px;
        color: #555;
        background-color: #f8f9fa;
        line-height: 1.3;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .dropdown a:hover {
        background: linear-gradient(135deg, #fed443 0%, #ffd700 100%);
        color: #21458C;
        padding-left: 35px;
    }
    
    .dropdown a:hover::before {
        left: 30px;
    }
    
    /* Contact Footer */
    .contact-footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5px 0;
    }
    
    .contact-texts {
        text-align: center;
        margin-bottom: 5px;
    }
    
    .contact-texts p {
        margin: 3px 0;
        font-size: 15px;
        color: #333;
        font-weight: bold;
    }
    
    .contact-footer .buttons-container {
        display: flex;
        justify-content: space-between;
        width: 95%;
    }
    
    .contact-footer .callback-button,
    .contact-footer .phone-button {
        width: 48%;
        margin: 0;
        padding: 6px 10px;
        font-size: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .contact-footer .phone-button img {
        height: 16px;
        margin-right: 5px;
    }
}

@media (max-width: 480px) {
    /* Further Adjustments for Small Screens */
    .header {
        padding: 8px 10px;
        min-height: 65px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hamburger {
        font-size: 24px;
    }
    
    .nav-menu {
        width: calc(100vw - 20px);
        right: 10px;
        /* Further reduced max-height for smaller screens */
        max-height: calc(100vh - 135px); /* 65px header + 70px contact footer */
    }
    
    .nav-menu a {
        font-size: 14px;
        padding: 14px 16px;
    }
    
    .dropdown {
        /* Even smaller max-height for very small screens */
        max-height: calc(45vh - 30px);
    }
    
    .dropdown a {
        font-size: 13px;
        padding: 10px 25px;
    }
    
    .dropdown a:hover {
        padding-left: 30px;
    }
    
    .contact-footer {
        padding: 4px 0;
    }
    
    .contact-texts p {
        font-size: 13px;
    }
    
    .contact-footer .callback-button,
    .contact-footer .phone-button {
        font-size: 12px;
        padding: 6px 8px;
        justify-content: center;
    }
    
    .contact-footer .phone-button img {
        height: 14px;
    }
    
    /* Popup Adjustments */
    .popup-content {
        padding: 18px 12px;
    }
    
    .option-value {
        font-size: 16px;
    }
    
    .hours-info {
        font-size: 12px;
    }
}

/* ===== Dropdown positioning fixes for all desktop resolutions ===== */
@media (min-width: 1221px) {
    /* Ensure dropdown is always centered under "Servicios" */
    .dropdown {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Special handling for viewport edge cases */
    .dropdown-container:nth-last-child(-n+2) .dropdown {
        left: auto;
        right: 0;
        transform: none;
    }
    
    /* For very wide screens, ensure dropdown doesn't go off-screen */
    @media (min-width: 1920px) {
        .dropdown {
            min-width: 320px;
        }
    }
}/* End custom CSS */