@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

html {
    overflow-x: hidden;
}

*:focus, *:active {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: var(--tipo-letra);
    overflow-x: hidden;
    color: var(--letras);
}


body.modal-open {
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}


:root {
    --principal: #a5e9ff;
    --secundario: #4ad2ff;
    --tercero: #F9F9E0;
    --letras: #3c5564;
    --letras-hover: #0587b3;
    --alertas: #FF90BC;
    --tipo-letra: 'Poppins', sans-serif;
}



/* HEADER */
.header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: var(--secundario);
    height: 90px;
    position: fixed;
    width: 100vw;
    z-index: 2;
}

.header__logo {
    width: 240px;
}

.header__logo-link {
    cursor: pointer;
}

.header__list {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
}

.header__link {
    font-size: 17px;
    color: var(--letras);
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    text-decoration: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
}

.header__link:hover {
    color: var(--letras-hover);
}

.header__link:hover:after {
    width: 100%;
    left: 0%;
}

.header__link:after {
    content: "";
    pointer-events: none;
    bottom: -4.5px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 5px;
    background-color: var(--letras-hover);
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
}

.header__link--active,
.header__link--active:after,
.header__link:hover:after {
    width: 100%;
    left: 0%;
}

.header__link--active {
    color: var(--letras-hover);
    border-bottom: none;
}

.header__link--size {
    text-decoration: none;
    color: var(--letras);
    font-weight: 600;
    border: 3px solid var(--letras-hover);
    padding: 15px 20px;
    border-radius: 20px;
    width: 95px;
    background-color: var(--secundario);
    transition: all .3s ease;
}

.header__link--size:hover {
    transform: scale(1.2);
    font-weight: 800;
}

/* MENU HAMBURGUESA */
.hamburger-menu {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 22px;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}

.hamburger-menu span {
    width: 100%;
    height: 4px;
    background-color: #000;
    display: block;
    position: absolute;
    left: 0;
    transition: all 0.3s;
}
.hamburger-menu span:nth-child(1) {
    top: 0;
}

.hamburger-menu span:nth-child(2) {
    top: 9px;
}

.hamburger-menu span:nth-child(3) {
    top: 18px;
}

/* Estilos para la animación de transformación a "X" */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.header img:hover {
    filter: drop-shadow(2px 2px 10px var(--secundario));
    cursor: pointer;
    transform: scale(1.03);
    transform: translateY(-5px);
    transition: all .3s ease-out;
}

  
/* BODY */

/* PRESENTATION */
.presentation {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--tercero);
    padding: 25px 0 40px 0px;
    margin-top: 76px;
}

.presentation__title {
    font-size: 40px;
    word-wrap: break-word;
    width: 800px;
    margin-bottom: 10px;
}

.presentation__content {
    font-size: 25px;
    font-weight: 600;
}

.presentation__title span {
    color: var(--letras-hover);
}

.typewriter {
    font-size: 30px;
    font-weight: 700;
    color: var(--letras-hover);
}

.presentation__image {
    width: 600px;
}

.accesibilidad {
    display: none;
}

.presentation img:hover {
    filter: drop-shadow(2px 2px 10px var(--secundario));
    cursor: pointer;
    transform: scale(1.03);
    transform: translateY(-5px);
    transition: all .3s ease-out;
}

/* SERVICES */
.services {
    background-color: var(--principal);
    padding: 50px 40px;
}

.services__container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.services__title {
    margin-top: 0;
    text-align: center;
    font-size: 35px;
    color: var(--letras);

}


.service {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 550px;
    text-align: justify;
    hyphens: auto;
    height: 285px;
}

.service img:hover {
    filter: drop-shadow(2px 2px 10px var(--alertas));
    cursor: pointer;
    transform: scale(1.03);
    transform: translateY(-5px);
    transition: all .3s ease-out;
}

.services img {
    width: 180px;
    margin-left: 20px;
}

.services__nota {
    text-align: center;
    width: 900px;
    background-color: var(--alertas);
    margin: 70px auto;
    padding: 10px 0px;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 30px;
}

.services__nota span {
    color: var (--letras-hover);
    font-weight: 700;
}

.service__description {
    max-width: 300px;
}

/* SOBRE NOSOTROS */
.about {
    padding: 40px 0;
    background-color: var(--tercero);
}

.about__title {
    margin-top: 0;
    text-align: center;
    font-size: 35px;
    color: var(--letras);

}

.about__container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 80px;
}

.about__container h3 {
    text-align: center;
    font-size: 20px;
    margin-top: 0;
}

.about__container img {
    width: 130px;
}

.about__container article {
    width: 1400px;
}

.about__quienessomos {
    text-align: center;
}

.about__porqueelegir span {
    color: var(--letras-hover);
    font-weight: 700;
}

.about__porqueelegir p {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__porqueelegir div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    row-gap: 5px;
    text-align: justify;
}

.about img:hover {
    filter: drop-shadow(2px 2px 10px var(--secundario));
    cursor: pointer;
    transform: scale(1.03);
    transform: translateY(-5px);
    transition: all .3s ease-out;
}

.more-text {
    display: none;
}

.read-less-btn {
    display: none;
}

.vermasbtn {
    background: var(--letras-hover);
    border: 0;
    cursor: pointer;
    font-size: 15px;
    color: white;
    font-weight: 600;
    padding: 8px;
    border-radius: 10px;
}

/* CONTACTO */
.contact {
    display: flex;
    flex-direction: column;
    background-color: var(--principal);
    padding: 40px 0;
    text-align: center;
}

.contact__title {
    margin: 0;
    text-align: center;
    font-size: 35px;
    color: var(--letras);

}

.contact__redes {
    display: flex;
    justify-content: center;
    align-items: center;
}

.share {
    display: flex;
    flex-direction: row;
    gap: 6em;
    transition: .4s ease-in-out;
    margin-top: 40px;
}

.btn1, .btn2, .btn3, .btn4, .btn5{
    position: relative;
    width: 4.5em;
    height: 4.5em;
    outline: none;
    border: none;
    border-radius: 50%;
    background-color: white;
    transition: .4s all;
    cursor: pointer;
}

.btn1 .tooltiptext1 {
    visibility: hidden;
    width: 8em;
    height: 8em;
    background-color: #f76ed2;
    color: black;
    text-align: center;
    border-radius: 10px;
    padding: 0.2em;
    position: absolute;
    left: -1.8em;
    top: -8em;
    z-index: 1;
    transition: .1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.btn1 .tooltiptext1 .card {
    width: 60px;
    height: 60px;
}

.btn1 .tooltiptext1 .username {
    font-size: 1em;
    margin-top: .8em;
    font-weight: bold;
}

.btn1:hover .tooltiptext1 {
    transform: translateY(-1em);
    visibility: visible;
}

.btn1:hover {
    background-color: #cc39a4;
    color: white;
}

.btn1:hover i {
    color: white;
}

.btn1 i {
    font-size: 35px;
    color: #cc39a4;
}

.btn2 .tooltiptext2 {
    visibility: hidden;
    width: 8em;
    height: 8em;
    background-color: #5a9cf3;
    color: black;
    text-align: center;
    border-radius: 10px;
    padding: 0.2em;
    position: absolute;
    left: -1.8em;
    top: -8em;
    z-index: 1;
    transition: .1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.btn2 .tooltiptext2 .card {
    width: 60px;
    height: 60px;
}

.btn2 .tooltiptext2 .username {
    font-size: 1em;
    margin-top: .8em;
    font-weight: bold;
}

.btn2:hover .tooltiptext2 {
    transform: translateY(-1em);
    visibility: visible;
}

.btn2 i {
    margin-top: 0.1em;
    color: #1977f3;
    font-size: 40px;
}

.btn2:hover {
    background-color: #1977f3;
}

.btn2:hover i {
    color: white;
}

.btn3 .tooltiptext3 {
    visibility: hidden;
    width: 8em;
    height: 8em;
    background-color: #50c72c;
    color: black;
    text-align: center;
    border-radius: 10px;
    padding: 0.2em;
    position: absolute;
    left: -1.8em;
    top: -8em;
    z-index: 1;
    transition: .1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.btn3 .tooltiptext3 .card {
    width: 60px;
    height: 60px;
}

.btn3 .tooltiptext3 .username {
    font-size: 1em;
    margin-top: .8em;
    font-weight: bold;
}

.btn3:hover .tooltiptext3 {
    transform: translateY(-1em);
    visibility: visible;
}

.btn3:hover {
    background-color: #2ab200;
    color: white;
}

.btn3 i {
    font-size: 35px;
    color: #2ab200;
}

.btn3:hover i {
    color: white;
}

.btn4 .tooltiptext4 {
    visibility: hidden;
    width: 8em;
    height: 8em;
    background-color: #eb6a5e;
    color: black;
    text-align: center;
    border-radius: 10px;
    padding: 0.2em;
    position: absolute;
    left: -1.8em;
    top: -8em;
    z-index: 1;
    transition: .1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.btn4 .tooltiptext4 .card {
    width: 60px;
    height: 60px;
}

.btn4 .tooltiptext4 .username {
    font-size: 1em;
    margin-top: .8em;
    font-weight: bold;
}

.btn4:hover .tooltiptext4 {
    transform: translateY(-1em);
    visibility: visible;
}

.btn4:hover {
    background-color: #D44638;
    color: white;
}

.btn4:hover i {
    color: white;
}

.btn4 i {
    font-size: 35px;
    color: #D44638;
}

.btn5 .tooltiptext5 {
    visibility: hidden;
    width: 8em;
    height: 8em;
    background-color: black;
    color: white;
    text-align: center;
    border-radius: 10px;
    padding: 0.2em;
    position: absolute;
    left: -1.8em;
    top: -8em;
    z-index: 1;
    transition: .1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.btn5 .tooltiptext5 .card {
    width: 60px;
    height: 60px;
}

.btn5 .tooltiptext5 .username {
    font-size: 1em;
    margin-top: .8em;
    font-weight: bold;
}

.btn5:hover .tooltiptext5 {
    transform: translateY(-1em);
    visibility: visible;
}

.btn5:hover {
    background-color: black;
}

.btn5 i {
    font-size: 35px;
    color: black;
}

.btn5:hover i {
    color: white;
}

/* Estilos de la Sección de Reseñas */
.resena {
    padding: 60px;
    background-color: var(--tercero);
    text-align: center;
}

.resena__title {
    font-size: 35px;
    color: var(--letras);
}

/* Estilo para las flechas de navegación */
.resena__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: var(--letras-hover); /* O cualquier color de tu paleta */
    cursor: pointer;
    z-index: 10;
    user-select: none; /* Evitar la selección de texto */
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

.resena__arrow:hover {
    opacity: 1; /* Aumentar opacidad al hacer hover */
}

.resena__arrow--left {
    left: 10px; /* Flecha izquierda afuera del contenedor */
}

.resena__arrow--right {
    right: 10px; /* Flecha derecha afuera del contenedor */
}

/* Estilo adicional para ajustar el contenedor del slider */
.resena__slider {
    position: relative; /* Contenedor del slider con posición relativa */
    display: flex;
    align-items: center; /* Centrar las reseñas verticalmente */
    overflow: hidden; /* Ocultar cualquier contenido fuera del contenedor */
    padding: 20px 0;
}

.resena__carousel {
    display: flex;
    scroll-behavior: smooth; /* Transición suave al navegar */
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    width: 100%;
}


.resena__card {
    background-color: #fff9ed;
    border: 1px solid var(--alertas);
    border-radius: 10px;
    box-shadow: 0 4px 9px rgb(238, 94, 142);
    margin: 0 10px;
    padding: 0px;
    text-align: center;
    width: 570px;
    height: 270px;
    flex-shrink: 0;
    word-wrap: break-word; /* Permite que las palabras largas se dividan en varias líneas */
    overflow-wrap: break-word; /* Asegura que las palabras largas no desborden */
    white-space: normal; /* Permite el ajuste del texto en varias líneas */
    overflow: hidden; /* Previene desbordamiento del contenido */
}

/* Desactivar la selección de texto y la copia en las reseñas */
.resena__card {
    user-select: none; /* Desactiva la selección de texto */
    pointer-events: none; /* Desactiva todos los eventos excepto en los botones */
}

/* Permitir eventos solo en botones interactivos */
.resena__card button,
.resena__card a,
.resena__btn {
    pointer-events: all; /* Habilita eventos en los botones */
}

.resena__img {
    width: 100px;
    height: 100px;
}

.resena__nombre {
    font-size: 1.2em;
    margin: 10px 0;
    font-weight: bold;
}

.resena__comentario {
    font-size: 1em;
    margin-top: 10px;
    color: var(--letras);
}

.resena__stars_card {
    color: #f39c12;
    margin-top: 10px;
    font-size: 2em;
}

.resena__stars {
    color: #f39c12;
    margin-top: 10px;
}

.resena__stars label{
    color: var(--letras);
}

/* Estrellas sin selección */
.resena__stars i {
    font-size: 30px;
    color: var(--principal); /* Color del borde de las estrellas sin seleccionar */
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

/* Estrellas al hacer hover */
.resena__stars i.hover {
    color: #FFCC00; /* Color cuando pasas el cursor */
}

/* Estrellas seleccionadas */
.resena__stars i.selected {
    color: #FFCC00; /* Color de las estrellas seleccionadas */
}

.resena__btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--letras-hover);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
}

.resena__btn i {
    margin-right: 10px;
}

.resena__form-container {
    display: none;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.resena__form-container h3 {
    font-size: 25px;
    color: var(--letras-hover);
}

.resena__form-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 30px; /* Aumenta el tamaño del símbolo */
    font-weight: bold; /* Añade más grosor */
    cursor: pointer;
    color: var(--letras-hover); /* Color principal de letras */
    line-height: 1; /* Asegura que esté bien centrado */
}

.resena__form-close:hover {
    color: var(--alertas); /* Cambia el color al hacer hover */
}

#resenaFormFields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#resenaFormFields input, #resenaFormFields textarea {
    padding: 10px;
    border: 1px solid var(--principal);
    border-radius: 5px;
}

#resenaFormFields button {
    padding: 10px;
    background-color: var(--letras-hover);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
}


/* REFERENCIAS */
.referencias {
    padding: 50px 20px;
    background-color: var(--principal);
}

.referencias__title {
    text-align: center;
    font-size: 35px;
    color: var(--letras);
}

.referencias__item {
    min-width: 300px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.referencias__item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Paginación de puntos */
.slider-pagination {
    text-align: center;
    margin-top: 15px;
}

.swiper-pagination-bullet {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--secundario);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--letras);
}

/* Estilos para el modal de la imagen */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.image-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


.image-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.image-modal-close:hover,
.image-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* PREGUNTAS FRECUENTES */
.preguntas {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--tercero);
    padding: 40px 0;
}

.preguntas__title {
    margin-top: 0;
    text-align: center;
    font-size: 35px;
    color: var(--letras);
}

.pregunta__pregunta {
    width: 800px;
}

.pregunta__pregunta summary {
    border: 5px solid var(--secundario);
    margin-bottom: 10px;
    padding: 10px;
    cursor: pointer;
}

.pregunta__pregunta p {
    display: none;
    padding: 0px 20px;
    color: var(--letras-hover);
}

.pregunta__pregunta[open] summary {
    background-color: var(--principal);
}

/* Estilos para ul y li */
.pregunta__pregunta ul {
    list-style: none; /* Elimina los bullets predeterminados */
    padding-left: 20px; /* Ajusta el espacio interno para que se vea más organizado */
    margin: 0px 0; /* Margen para separación entre listas */
}

.pregunta__pregunta ul ul {
    padding-left: 40px; /* Mayor indentación para sublistas */
}

.pregunta__pregunta li {
    padding: 0px 0; /* Espaciado entre los elementos de la lista */
    color: var(--letras); /* Color del texto usando la variable definida */
    display: flex;
    align-items: center;
}

.pregunta__pregunta li::before {
    content: "•"; /* Añade un bullet personalizado */
    color: var(--secundario); /* Color del bullet */
    margin-right: 10px; /* Espacio entre el bullet y el texto */
}

.pregunta__pregunta a {
    color: var(--alertas); /* Color para los enlaces */
    text-decoration: none;
    font-weight: bold;
}

.pregunta__pregunta a:hover {
    text-decoration: underline; /* Efecto al pasar el cursor por encima de los enlaces */
}




/* FLOTANTE WHATSAPP */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.stop-animation {
    animation: none !important;
}

.WhatsApp {
    position: fixed;
    bottom: 90px;
    right: 20px;
}

.WhatsApp a {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2ab200;
    padding: 8px 14px;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.WhatsApp i {
    font-size: 30px;
    color: white;
}

/* FORMULARIO FLOTANTE WHATSAPP */
#whatsappForm {
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    width: 350px;
}

#whatsappForm input, textarea {
    padding: 8px;
    box-sizing: border-box;
    border: 1.5px solid lightgrey;
    border-radius: 5px;
    margin: 5px 0 10px 0;
    font-family: var(--tipo-letra);
}

#whatsappForm textarea {
    resize: vertical;
}

#whatsappForm input, textarea:focus {
    outline: 0;
}

#whatsappForm p {
    margin: 0;
    hyphens: auto;
}

#whatsappForm label {
    margin-top: 12px;
}

#whatsappForm button {
    background-color: #2ab200;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 200px;
    padding: 10px;
    border: 0;
    border-radius: 15px;
    margin: 15px auto;
    margin-bottom: 0;
    color: white;
    cursor: pointer;
    animation: pulse2 1.5s infinite;
}

@keyframes pulse2 {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* FOOTER */
.footer {
    background-color: var(--secundario);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    color: var(--letras);
    height: auto; /* Para ajustarse al contenido */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 60px;
    transition: all 0.3s ease-out;
}

.footer-logo img:hover {
    filter: drop-shadow(2px 2px 10px var(--secundario));
    cursor: pointer;
    transform: scale(1.03);
    transform: translateY(-5px);
}

.footer p {
    margin: 0;
    font-size: 1rem;
}

/* Redes sociales */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.social-links li {
    display: inline-block;
}

.social-links a {
    color: var(--letras);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--tercero); /* Cambia el color de los íconos al pasar el mouse */
    transform: scale(1.2);
}

/* Enlace de Políticas de Privacidad */
.footer-privacy p {
    font-size: 1rem;
}

.footer-privacy a {
    color: var(--letras);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-privacy a:hover {
    color: var(--tercero);
    text-shadow: 0 0 5px var(--alertas);
}


/* COOKIES */

/* Banner de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    font-family: Arial, sans-serif;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Translucido */
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.5); /* Sombra */
    display: flex;
    justify-content: space-around; /* Ajuste del espaciado entre botones */
    align-items: center;
    transition: opacity 0.5s ease; /* Transición suave para el desvanecimiento */

}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Ajuste del espaciado */
}

.cookie-btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cookie-btn:hover {
    transform: scale(1.05);
}

.green {
    background-color: #4CAF50;
    color: white;
}

.red {
    background-color: #F44336;
    color: white;
}

.blue {
    background-color: #2196F3;
    color: white;
}

.cookie-banner a {
    color: #FFD700;
    text-decoration: underline;
    font-weight: bold;
}

.cookie-banner a:hover {
    text-decoration: none;
    color: #FFEB3B;
}

/* Ventana emergente de configuración */
.cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    padding: 20px;
    z-index: 1001;
    overflow-y: auto;
    max-height: 80%;
    display: none; /* Escondido por defecto */
    font-family: Arial, sans-serif;

}

.modal-content {
    position: relative;
    padding: 20px;
}

.cookie-modal h2 {
    margin-top: 0;
    font-size: 24px;
    color: var(--letras);
}

.cookie-modal p {
    margin-bottom: 20px;
    color: var(--letras-hover);
}

/* Botones del modal */
.cookie-actions {
    text-align: center;
    margin-top: 20px;
}

.cookie-category {
    margin-bottom: 15px;
}

/* Botones tipo ON/OFF */
.hs-toggle-switch {
    appearance: none;
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
}

.hs-toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.hs-toggle-switch:checked {
    background-color: #4CAF50;
}

.hs-toggle-switch:checked::before {
    transform: translateX(25px);
}

/* Cabeceras desplegables */
.toggle-header {
    cursor: pointer;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    color: var(--letras);

}

.toggle-header:hover {
    background-color: #ddd;
}

.toggle-content {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #fafafa;
    border-left: 4px solid #4CAF50; /* Barra verde decorativa */
}

.cookie-category .toggle-content.show {
    display: block;
}

/* Botón de cerrar modal */
.close {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 45px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--alertas);
}

/* Alertas */
.cookie-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1002;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.5s ease;
}

.cookie-alert.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-alert.green {
    background-color: #4CAF50;
}

.cookie-alert.red {
    background-color: #F44336;
}

.cookie-alert.blue {
    background-color: #2196F3;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



/* AVISO */
/* Caja de advertencia */
.warning-box {
    position: fixed;
    top: 100px;
    left: 15px;
    width: 600px;
    background-color: rgba(255, 144, 188, 0.9); /* Fondo translúcido */
    backdrop-filter: blur(6px); /* Desenfoque del fondo */
    color: var(--letras);
    border-radius: 10px;
    padding: 15px;
    z-index: 1000;
    animation: fadeIn 0.8s ease-in-out forwards;
    opacity: 0;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animación hover en la caja de advertencia */
.warning-box:hover {
    transform: translateY(-5px); /* Se eleva un poco al hacer hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Mayor sombra al hacer hover */
}

/* Cabecera */
.warning-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--letras);
}

/* Icono de advertencia */
.warning-icon {
    margin-right: 10px;
    font-size: 24px;
    color: var(--letras);
    animation: jumpIcon 1s infinite; /* Animación de salto */
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Movimiento de salto del icono */
@keyframes jumpIcon {
    0%, 100% {
        transform: translateY(0); /* Posición original */
    }
    50% {
        transform: translateY(-10px); /* Salto hacia arriba */
    }
}

/* Título de advertencia */
.warning-title {
    flex-grow: 1;
    text-align: left;
    font-size: 20px;
}

/* Botón de cierre */
.close-btn {
    cursor: pointer;
    font-size: 22px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Animación hover para el botón de cierre */
.close-btn:hover {
    transform: scale(1.1); /* Aumenta de tamaño al hacer hover */
    color: var(--letras-hover); /* Cambia de color al hacer hover */
}

/* Cuerpo */
.warning-body {
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}

/* Enlaces de contacto */
.whatsapp-btn {
    color: var(--letras-hover);
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 5px;
}

.whatsapp-btn i {
    margin-right: 8px;
}

.whatsapp-btn:hover {
    text-decoration: underline;
}

/* Icono emergente */
.emergency-icon {
    display: none;
    position: fixed;
    top: 120px;
    left: 20px;
    background-color: var(--alertas);
    color: white;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    animation: pulse 1.5s infinite;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animación hover para el icono emergente */
.emergency-icon:hover {
    transform: scale(1.2); /* Aumenta de tamaño al hacer hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Mayor sombra al hacer hover */
}

/* Animaciones */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}



/* RESPONSIVE */
@media screen and (max-width: 1430px) {

    /* PRESENTATION */
    .presentation {
        padding: 25px 10% 40px 10%;
    }

    .presentation__title {
        font-size: 36px;
        width: 700px;
    }

    .presentation__content {
        font-size: 20px;
    }

    /* SERVICES */
    .services__container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

    .services__title {
        margin-bottom: 0;
    }

    /* SOBRE NOSOTROS */
    .about__container {
        gap: 80px;
    }

    .about__container img {
        width: 118px;
    }

    .about__container article {
        width: 90%;
    }

    .about__porqueelegir div {
        gap: 40px;
    }

    /* CONTACTO */
    .contact {
        align-items: center;
    }

    .contact p {
        width: 90%;
    }

    /* RESEÑA */
    .resena__card {
        width: 40%; /* Ajusta el tamaño de las tarjetas al 40% del ancho del contenedor */
    }

}

@media screen and (max-width: 1230px) {

    /* HEADER */
    .header {
        height: 80px;
        flex-direction: column;
    }

    .header__logo {
        width: 120px;
    }

    .header__list {
        gap: 30px;
        margin-top: 0;
    }

    .header__link {
        font-size: 15px;
    }

    .header__link--size {
        display: none;
    }

    /* PRESENTATION */
    .presentation {
        padding: 40px 0 60px 0;
    }

    .presentation__title {
        font-size: 30px;
        width: 580px;
    }

    .presentation__content {
        font-size: 18px;
    }

    .presentation__image {
        width: 390px;
    }

    /* SERVICES */
    .services__container {
        gap: 5px;
    }

    .service {
        width: 70%;
        height: 285px;
    }

    .service:nth-child(2) {
        flex-direction: row-reverse;
    }

    .service:nth-child(2) img {
        margin-right: 20px;
        margin-left: 0;
    }


    /* RESEÑA */
    .resena__card {
        width: 35%;
    }
    
}

/* Ajustes para pantallas grandes */
@media (min-width: 1025px) {
    .contact-info {
        display: inline;
    }

    /* Mostrar la ventana emergente en pantallas grandes */
    .warning-box {
        display: block;
    }

    .emergency-icon {
        display: none; /* El icono emergente no aparece en pantallas grandes */

    }
}


@media screen and (max-width: 1024px) {

    /* HEADER */
    .header {
        height: 100px;
     
    }

    /* COOKIES */

    .banner-buttons {
        gap: 0px; /* Ajuste del espaciado */
    }
    /* PRESENTATION */
    .presentation {
        padding: 40px 0 60px 0;
    }

    .presentation__title {
        font-size: 30px;
        width: 450px;
    }

    .presentation__content {
        font-size: 18px;
    }

    .presentation__image {
        width: 300px;
    }

    .typewriter {
        font-size: 25px;
    }

    /* SERVICES */
    .services__container {
        gap: 0px;
    }

    .service {
        width: 80%;
    }

    .services__nota {
        width: 100%;
        margin: 50px auto;
        padding: 5px 0px;
        font-size: 14px;
        margin-bottom: 20px;
    }

    .service:nth-child(2) img {
        margin-right: 20px;
        margin-left: 0;
    }

    /* SOBRE NOSOTROS */
    .about__porqueelegir div {
        row-gap: 10px;
        text-align: justify;
        hyphens: auto;
    }

    /* PREGUNTAS FRECUENTES */
    .pregunta__pregunta {
        width: 90%;
    }

    /* RESEÑA */
    .resena__card {
        width: 430px;
        height: 290px;
    }


    /* AVISO */

    .warning-box {
        display: none; /* No mostrar la ventana emergente */
        width:500px;
    }

    /* Mostrar el icono emergente en pantallas pequeñas */
    .emergency-icon {
        display: block;
        position: fixed;
        top: 150px;
        left: 20px;
    }

    
}


@media screen and (max-width: 768px) {
    
    /* HEADER */
    .header {
        height: 75px;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .header__logo {
        width: 200px;
        margin: 0 15px 0 0;
    }

    .header__list {
        gap: 15px;
        flex-direction: column;
        padding: 0px 20px 15px 20px;
        background-color: var(--secundario);
        margin: 0;
        align-items: center;
    }

    .header__link {
        font-size: 15px;
    }

    .header__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 1000;
    }

    .hamburger-menu {
        display: flex;
        margin: 0 0 0 15px;
        background: none;
        border: 0;
    }
    .hamburger-menu span{
        background: var(--letras);
    }

    .header__link--active {
        color: var(--letras-hover) !important;
    }

    .header__link:hover {
        color: var(--letras);
    }

    .header__link:after {
        width: 0%;
        height: 0px;
    }

    .header__link--active:after {
        content: "";
        pointer-events: none;
        bottom: -4.5px;
        left: 0%;
        position: absolute;
        width: 100%;
        height: 5px;
        background-color: var(--letras-hover);
        transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
        transition-duration: 400ms;
        transition-property: width, left;
    }

    .menu_span{
        background: var(--alertas);
        color: #cc39a4;
    }

    /* COOKIES */

    .banner-buttons {
        align-items: stretch;
    }

    .cookie-modal {
        width: 70%;
        max-width: 70%;
        height: 68%;
        top: 46%;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btn {
        width: 40%;
        margin-bottom: 10px;
    }

    .cookie-actions{
        flex-direction: column;
        text-align: center;
    }
    
    /* PRESENTATION */
    .presentation {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .presentation__title {
        font-size: 25px;
        text-align: center;
        width: 90vw;
        margin-top: 0;
    }

    .presentation__content {
        font-size: 18px;
        text-align: center;
    }

    .typewriter {
        text-align: center;
    }

    .presentation__image {
        width: 55%;
    }

    /* SERVICES */
    .services__container {
        gap: 20px;
    }

    .service {
        width: 90%;
    }

    .services__nota {
        width: 90%;
    }

    .service:nth-child(2) img {
        margin-right: 20px;
        margin-left: 0;
    }

    /* SOBRE NOSOTROS */
    .about__container {
        gap: 40px;
    }
    .about__porqueelegir {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about__porqueelegir div {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 100%;
    }

    /* RESEÑA */
    .resena__card {
        width: 300px;
        height: 320px;
    }

    /* FOOTER */

    .footer {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        height: auto;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-logo img {
        margin-bottom: 10px;
    }

    .social-links {
        justify-content: center;
    }
}

@media screen and (max-width: 680px) {

    /* HEADER */
    .header {
        height: 65px;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .header__logo {
        width: 160px;
        margin: 0 15px 0 0;
    }

    .header__list {
        gap: 15px;
        flex-direction: column;
        padding: 0px 20px 15px 20px;
        background-color: var(--secundario);
        margin: 0;
        align-items: center; 
    }

    .header__link {
        font-size: 15px;
    }

    .header__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 1000;
    }

    .hamburger-menu {
        display: flex;
        margin: 0 0 0 15px;
        background: none;
        border: 0;
    }

    .header__link--active {
        color: var(--letras-hover) !important;
    }

    .header__link:hover {
        color: var(--letras);
    }

    .header__link:after {
        width: 0%;
        height: 0px;
    }

    .header__link--active:after {
        content: "";
        pointer-events: none;
        bottom: -4.5px;
        left: 0%;
        position: absolute;
        width: 100%;
        height: 5px;
        background-color: var(--letras-hover);
        transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
        transition-duration: 400ms;
        transition-property: width, left;
    }

    /* PRESENTATION */
    .presentation {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-bottom: 38px;
        margin-top: 65px;
    }

    .presentation__title {
        font-size: 20px;
        text-align: center;
        width: 95vw;
        margin-top: 0;
    }

    .presentation__content {
        font-size: 18px;
        text-align: center;
    }

    .typewriter {
        text-align: center;
        font-size: 22px;
    }

    .presentation__image {
        width: 65%;
    }

    .accesibilidad {
        display: flex;
        font-size: 28px;
        color: var(--letras-hover);
        margin-top: 10px;
        animation: bounce 1.1s infinite;
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-10px);
        }
        60% {
            transform: translateY(-5px);
        }
    }

    /* SERVICES */
    .services {
        padding: 30px 25px;
    }

    .services__title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .services__container {
        gap: 30px;
    }

    .service__description {
        font-size: 65%;
    }

    .service {
        width: 100%;
        height: auto;
    }

    .services img {
        width: 138px;
    }

    .service:nth-child(2) img {
        margin-right: 20px;
        margin-left: 0;
    }

    .services__nota {
        width: 90%;
        padding: 5px 20px;
        font-size: 11px;
    }

    /* SOBRE NOSOTROS */
    .about {
        font-size: 15px;
    }

    .about__container {
        gap: 80px;
    }

    .about__title {
        font-size: 28px;
    }

    .trunc-text, .more-text {
        text-align: justify;
    }

    .about__porqueelegir div {
        grid-template-columns: 1fr;
        gap: 10px;
        width: 90%;
        text-align: center;
    }

    /* CONTACTO */
    .contact__title {
        font-size: 28px;
    }

    .contact {
        align-items: center;
    }

    .contact p {
        width: 90%;
    }

    .share {
        display: flex;
        flex-direction: row;
        gap: 1.8em;
        transition: .4s ease-in-out;
        margin-top: 50px;
    }

    /* PREGUNTAS FRECUENTES */
    .preguntas__title {
        font-size: 25px;
    }

    /* FORMULARIO FLOTANTE WHATSAPP */
    #whatsappForm {
        width: 330px;
        height: 530px;
    }

    #whatsappForm textarea {
        min-height: 40px;
    }

    /* FOOTER */
    .iconfooter {
        display: none;
    }

    /* RESEÑA */
    .resena__card {
        width: 540px;
        height: 320px;
    }

    .resena__form-container {
        width: 75%; /* Ajusta el tamaño del formulario */
    }
}

@media screen and (max-width: 520px) {
    .warning-box {
        width: 440px;
    }
    .footer-content {
        flex-direction: column;
        gap: 5px;
    }
}

@media screen and (max-width: 480px) {
    /* RESEÑA */
    .resena__card {
        width: 340px;
        height: 320px;
    }

    .resena__form-container {
        width: 80%; /* Hacer el formulario más pequeño en pantallas pequeñas */
    }
    .footer-content {
        flex-direction: column;
        gap: 5px;
    }
}

@media screen and (max-width: 450px) {
    .warning-box {
        width: 370px;
    }
    .footer-content {
        flex-direction: column;
        gap: 5px;
    }

    .share {
        gap: 1.2em;
    }
    
}




@media screen and (max-width: 425px) {

    /* COOKIES */

    .cookie-banner {

        width: 100%;
        padding: 20px;
        text-align: left;
    }

    .cookie-modal {
        width: 70%;
        max-width: 70%;
        height: 68%;
        top: 44%;
    }
    .cookie-btn {
        width: 70%;
        margin-bottom: 10px;
    }
        
    
    /* RESEÑA */
    .resena__card {
        width: 285px;
        height: 320px;
    }

    .resena__form-container {
        width: 85%;
    }

    /* CONTACTO */

    .share {
        gap: 1em;

    }

    /* AVISO */
    .warning-box {
        width:360px;
    }

    /* FOOTER */

    .footer-content {
        flex-direction: column;
        gap: 5px;
    }
}


@media screen and (max-width: 400px) {
    .warning-box {
        width: 330px;
    }
}


@media screen and (max-width: 375px) {

    /* COOKIES */

    .cookie-modal {
        width: 70%;
        max-width: 70%;
        height: 68%;
        top: 44%;
    }
    .cookie-btn {
        width:90%;
        margin-bottom: 10px;
    }

    
    /* RESEÑA */
    .resena__card {
        width: 240px;
        height: 320px;
    }

    .resena__form-container {
        width: 80%; /* Ajuste en pantallas muy pequeñas */
    }


    /* AVISO */
    .warning-box {
        width:315px;
    }
}

@media screen and (max-width: 320px) {



    /* COOKIES */
    .banner-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-modal {
        width: 80%;
        max-width: 80%;
        height: 55%;
        top: 37%;
    }


    /* RESEÑAS */
    .resena__card {
        width: 180px;
        height: 350px;

    }
    .resena__stars i{
        font-size: 25px;
    }
    .resena__form-container {
        width: 78%; /* Para pantallas extremadamente pequeñas */
    }


    /* CONTACTO */

    .share {
        gap: 0.7em;

    }
    .btn1, .btn2, .btn3, .btn4, .btn5{
        
        width: 3.8em;
        height: 3.8em;;
    }
    /* AVISO */
    .warning-box {
        width:260px;
    }
}