/* Estilo base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#contact-options {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.contact-btn {
  display: flex;
  align-items: center;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  padding: 10px;
  border-radius:20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}
.footer-rrss {
  color: white;
  text-decoration: none;

}

.contact-btn:hover {
  transform: scale(1.05);
}

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

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.banner {
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
}

.navbar .logo {
    color: rgb(0, 0, 0);
    font-size: 24px;
    font-weight: bold;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
   margin: 0 15px;
    padding: 10px;

}

.nav-menu li a {
    color: purple;
    text-decoration: none;
    padding: 8px 12px;
}
.nav-menu li a:hover {
color:mediumvioletred;
font-weight: bold;
    text-decoration: none;
    padding: 8px 12px;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: purple;
    cursor: pointer;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        background: white;
        width: 100%;
        top: 100px;
        left: 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
   margin: 0 15px;
    padding: 10px;
    border-bottom:solid 0.5px MEDIUMPURPLE;
}

.nav-menu li a {
    color: purple;
    text-decoration: none;
    padding: 8px 12px;
}
.nav-menu li a:hover {
color:mediumvioletred;
font-weight: bold;
    text-decoration: none;
    padding: 8px 12px;
}
}

/* CONTENIDO GENERAL */
.contenido {
    margin-top: 70px;
}

/* SECCIONES */
.servicios {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rebeccapurple;
    color: white;
    padding: 50px;
}

.fotter {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/back2-1024x683.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 50px;
}

.exitos, .nosotros {
    height: auto;
    padding: 50px;
    text-align: center;
}

/* SLIDER SWIPER */
.swiper-container {
    width: 100vw;
    position: relative;
    top: 0;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.swiper-slide img, .swiper-slide video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* SECCIÓN DE PRECIOS */
.precios {
    padding: 50px;
    max-height: 75vh;
    overflow: hidden;
    opacity: 0.7;
    transition: max-height 0.5s ease-in-out 0.3s, opacity 0.5s ease-in-out 0.3s;
    position: relative;
}

.precios.expandida {
    max-height: 200%;
    opacity: 1;
}

/* EFECTO SCROLL AUTOMÁTICO */
.precios.contraida {
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* ICONO EXPANDIBLE */
#toggleExpand {
    display: block;
    cursor: pointer;
    font-size: 50px;
    background-color: white;
    color: purple;
    border-radius: 50%;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* SECCIÓN DE SERVICIOS */
.servicios h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

/* CONTENEDOR DE BURBUJAS */
.burbujas {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* BURBUJAS (CIRCULARES) */
.burbuja {
    width: 150px;
    height: 150px;
    position: relative;
    perspective: 1000px; /* Efecto 3D */
}

/* CARAS DE LA BURBUJA */
.cara {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.6s;
}

.frente p {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* FRENTE (IMAGEN Y NOMBRE) */
.frente {
    border: 3px solid white;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-size: cover;
    background-repeat: no-repeat;
}

.frente img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 5px;
}

/* ATRÁS (DESCRIPCIÓN) */
.atras {
    background: white;
    border: 3px solid white;
    color: #9b59b6;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 14px;
}

/* EFECTO DE GIRO */
.burbuja:hover .frente {
    transform: rotateY(180deg);
}

.burbuja:hover .atras {
    transform: rotateY(0);
}

/* PIE DE PÁGINA */
.cont-pie {
    width: 100%;
    margin: 10px;
}

.ofertas {
    padding: 50px;
    text-align: center;
 background-color: mistyrose;
}

.exitos {
    padding: 50px;
    text-align: center;
}

@media (max-width: 768px) {
    .precios {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    .servicios {
        width: 100%;
        padding: 30px;
        box-sizing: border-box;
    }

    .fotter {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
        padding: 50px;
    }

    .banner {
        width: 100%;
        height: 50vw;
        box-sizing: border-box;
    }

}