@font-face {
    font-family: 'Adumu';
    src: url(fuente/Adumu.ttf);
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Amaranth';
}

:root {
    --morado:#5e10dd;
    --amarillo:#f8e121;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
}

header {
    height: 100px;
    width: 70%;
    padding: 0 5%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--amarillo) 3px solid;
    overflow: hidden;
}

.contmenu {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    height: 90px;
}

header .logo:hover img{
    transform: scale(1.1) rotateZ(-15deg);
}

header .logo img {
    height: 90px;
    transition: 0.15s;
}

header ul {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

header ul a {
    color: var(--morado);
    text-decoration: none;
    font-weight: 700;
}

header ul a:hover {
    color: black;
}

header .botoncontacto {
    padding: 8px 12px;
    background-color: var(--morado);
    color: var(--amarillo);
    text-decoration: none;
    border-radius: 30px;
    transition: 0.2s;
}

header .botoncontacto:hover {
    transform: scale(1.1) rotateZ(15deg);
}

.portada {
    margin: 0 10%;
    margin-top: 5vh;
    height: calc(90vh - 100px);
    width: 80%;
    display: flex;
    overflow: hidden;
    gap: 20px;
}


.portadaprincip {
    width: 60%;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.capaoscura {
    position: absolute;
    width: 100%;
    height: 100%;
    background:linear-gradient(to right, rgba(0, 0, 0, 0.793), rgba(0, 0, 0, 0.73), rgba(0, 0, 0, 0.418));
}

.textoportada {
    position: absolute;
    bottom: calc(5% + 100px);
    left: 2%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 10px;
    z-index: 1;
}

.textoportada h2 {
    font-size: 2vw;
}

.textoportada p {
    font-size: 1.1vw;
}

.textoportada a {
    font-size: 1.1vw;
    border-radius: 30px;
    color: var(--morado);
    text-decoration: none;
    padding: 5px 10px;
    background-color: var(--amarillo);
    transition: .2s;
}

.textoportada a:hover {
    transform: rotateZ(-5deg);
    margin: 5px;
}



.portadaprincip img {
    width: 100%;
}

.portadasecund {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portadasecund img {
    width: 100%;
    height: 50%;
    border-radius: 30px;
}

.zonas {
    height: auto;
    transform: translateY(-100px);
    width: 80%;
    margin: 0 auto;
}

.separador {
    width: 100%;
    height: 200px;
}

.zonas h2 {
    text-align: center;
    font-size: 2.8vw;
}

.txtsn {
    font-size: .95vw;
    width: 100%;
    margin: 50px auto;
    color: var(--morado);
}

.txtsn ul {
    padding: 40px 0;
    list-style: none;
    width: 100%;
    margin: 45px 0px;
    display: grid;
    gap: 0 5%;
    grid-template-columns: repeat(3, 1fr);
}

.txtsn ul li {
    position: relative;
    aspect-ratio: 16/9;
}

.txtsn ul li p {
    position: absolute;
    background-color: #5f10dd9a;
    width: 100%;
    height: 100%;
    bottom: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(180deg);
    opacity: 0.01;
    transition: all .7s;
    color: white;
}

.txtsn ul li:hover p {
    transform: none;
    opacity: 1;
}

.txtsn ul li img {
    width: 100%;
    height: 100%;
    position: absolute;
}

.dedo {
    pointer-events: none;
    display: none;
    position: absolute;
    max-width: 24px;
    max-height: 24px;
    top: 50%;
    left: 50%;
    transition: 0.3s all;
    animation: dedo 1.5s infinite linear;
    border-radius: 50%;
}

@keyframes dedo {
    0% {
        transform: scale(1.5);
        opacity: 0;
    }

    12% {
        transform: scale(1);
        opacity: 1;
    }

    25% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.servicios {
    width: 100%;
    margin: 80px auto;
    padding: 50px 0;
    margin-top: 0px;
    background-color: var(--amarillo);
    position: relative;
}

.servicios .titulo {
    margin-top: 100px;
}

.custom-shape-divider-top-1753121883 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-top-1753121883 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 101px;
}

.custom-shape-divider-top-1753121883 .shape-fill {
    fill: #FFFFFF;
}

.titulo {
    text-align: center;
    font-size: 2.8vw;
    color: #5e10dd;
    width: fit-content;
    margin: 60px auto;
    text-shadow: 3px 3px 2px #ff99cc;
}

.basico {
    width: 100%;
    padding: 50px 0;
    margin: 0px 0;
}


.basico h3 {
    font-size: 1.8vw;
    background-color: var(--morado);
    color: white;
    border-radius: 30px;
    padding: 10px 15px;
    margin: auto;
    width: fit-content;
}

.ulprincipal {
    width: 70%;
    margin: 90px auto;
    display: grid;
    gap: 5%;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.ulprincipal li {
    list-style:none;
    color: var(--morado);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.conttarjetas {
    width: 70%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10%;
    position: relative;
}

.tarjeta {
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;
    padding: 0;
    position: relative;
    box-shadow: inset 0px 0px 0px 5px white;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.tarjeta.uno{
    background: url(imgs/pack1.webp);
    background-position: center;
    background-size: cover;
}

.tarjeta.dos {
    background: url(imgs/pack2.webp);
    background-position: center;
    background-size: cover;
}

.tarjeta.tres {
    background: url(imgs/pack3.webp);
    background-position: center;
    background-size: cover;
}

.fondotarjeta {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.37);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    opacity: 0;
}

.tarjeta:hover > .fondotarjeta {
    opacity: 1;
}

.fondotarjeta button {
    background-color: var(--morado);
    border: 4px solid white;
    border-radius: 15px;
    transform: translateY(200%);
    transition: all 0.4s;
}

.fondotarjeta:hover button {
    transform: translateY(0);
}

.fondotarjeta button a {
    padding: 8px 13px;
    font-size: 2vw;
    text-decoration: none;
    color: white;
}

.fondotarjeta ul {
    margin: 20px 20px;
    background: linear-gradient(135deg, rgb(255, 33, 33), rgb(114, 0, 0));
    background-clip: text;
    color: transparent;
}

.ubicacion {
    margin: 90px auto;
    text-align: center;
}

.ubicacion iframe {
    width: 500px;
}

footer {
    background-color: gray;
    color: white;
    padding: 0px 0;
    padding-top: 20px;
}

footer h3 {
    color: var(--amarillo);
    font-size: 1.7vw;
}

footer a:hover {
    color: black;
}

footer ul {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style:none;
}

footer ul li {
    width: calc(100% / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: default;
    font-size: 1.1vw;
}

footer ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.1vw;
}

footer ul li img {
    width: 50%;
}

footer ul li div a ion-icon {
    font-size: 2vw;
}

footer .footerend {
    background-color: black;
    width: 100%;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .footerend a {
    color: white;
}

footer .footerend a:hover {
    color: gray;
}

.nopc {
    display: none;
}

.globos-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* permite hacer clic en elementos debajo */
  z-index: 999; /* asegúrate de que esté por encima del fondo */
  overflow: hidden;
}

.globo {
  position: absolute;
  bottom: -100px;
  opacity: 0;
  width: 100px;
  transition: opacity 1s;
}

/* Animación hacia arriba */
@keyframes flotar {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-250vh) rotate(20deg);
    opacity: 0;
  }
}

@media (max-width:1600px) {
    .nomedio {
        display: none;
    }
    
    .portadaprincip {
        width: 100%;
        border-radius: 20px;
    }
}

@media (max-width:800px) {

    .txtsn ul li:hover .dedo {
        display: none;
    }

    .dedo {
        display: block;
    }

    .nopc {
        display: block;
    }

    .nocel {
        display: none;
    }

    .separador {
        object-fit: contain;
    }
    
    header {
        height: fit-content;
        width: 90%;
        display: flex;
        flex-direction: column;
        padding: 0 0;
    }

    #header{
        transition: all 0.5s ease-in-out;
    }

    .contlogo {
        width: 100%;
        padding: 0 5%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .contlogo ion-icon {
        font-size: 10vw;
        color: var(--morado);
    }

    header .logo {
        margin: 10px 0;
        width: fit-content;
    }

    .contmenu {
        display: flex;
        flex-direction: column;
        max-height: 0;
    }

    header ul {
        width: 100%;
        justify-content: space-evenly;
        margin: 0px auto;
    }

    header .botoncontacto {
        margin: 10px auto;
    }

    .portada {
        margin: 0 5%;
        width: 90%;
        height: fit-content;
        margin-top: 5vh;
        flex-direction: column;
    }

    .portadaprincip {
        width: 100%;
        border-radius: 20px;
    }

    .textoportada {
        bottom: 10%;
    }

    .textoportada h2 {
        font-size: 3.6vw;
    }

    .textoportada p {
        font-size: 2.8vw;
    }

    .textoportada a {
        font-size: 2.8vw;
    }

    .zonas {
        width: 86%;
    }

    .zonas h2 {
        font-size: 6vw;
    }

    .txtsn {
        font-size: 4.4vw;
    }

    .txtsn ul {
        grid-template-columns: 1fr;
        gap: 5%;
    }
    
    .servicios {
        margin: 0px 0;
        padding: 120px 0;
    }

    .servicios .titulo {
        margin-top: 0px;
    }

    .titulo {
        font-size: 10vw;
        margin: 30px auto;
    }

    .basico {
        padding: 30px 0;
    }

    .basico h3 {
        font-size: 6vw;
    }


    .ulprincipal {
        width: 90%;
        margin: 45px auto;
        grid-template-columns: repeat(2, 1fr);
        gap: 6% 4%;
    }  

    .conttarjetas {
        width: 94%;
        grid-template-columns: 1fr;
    }


    .fondotarjeta button a{
        height: 100%;
        width: 100%;
        padding: 0px 15px;
        font-size: 5vw;
    }

    .ubicacion iframe {
        width: 90%;
    }

    footer ul{

        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    footer h3 {
        font-size: 6vw;
    }

    footer ul li {
        width: 90%;
        font-size: 4vw;
    }

    footer ul li a {
        font-size: 4vw;
    }

    footer ul li img {
        width: 60%;
    }

    footer ul li div a ion-icon {
        font-size: 10vw;
    }

}