:root {
    --fuentePrincipal: "Lato", sans-serif;

    --Blanco: #ffffff;
    --Negro: #000000;
    --gris: #7e7e7c;
}
html {
    font-size: 62.5%;
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
    scroll-behavior: smooth;
}
body{
    font-family: var(--fuentePrincipal);
    font-size: 1.6rem;
    line-height: 1.8;
}
h1, h2, h3 {
    font-weight: 300;
    line-height: 1.2;
    margin: 1rem 0 4rem 0;
}
h1 {
    font-size: 4.5rem;
}
h2 {
    font-size: 3rem;
}
h3 {
    font-size: 5rem;
}
a {
    text-decoration: none;
    color: var(--Blanco);
    font-size: 1.5rem;
    font-weight: 300;
}
p {
    font-weight: 300;
}
img { 
    max-width: 100%; 
    display: block;
}
[class$="__contenedor"] {
    max-width: 100rem;
    margin: 0 auto;
    width: 80%;
}

/** Header **/
.header {
    background-image: url(../img/hero.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgb(0 0 0 / .4);
    background-blend-mode: multiply;
    box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .2);
}
@media (min-width: 768px) { 
    .header {
        padding: 3rem;
        height: 50rem;
        box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .5);
    }
}
.header__barra {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;

}
@media (min-width: 768px) { 
    .header__barra { 
        flex-direction: row;
        justify-content: space-between;
        padding: 0;
    }
}
.header__imagen {
    height: 12rem;
    filter: drop-shadow(0px 3px 6px rgb(0 0 0 / .6));
}

/** Slogan **/

.slogan {
    padding: 2rem 0;
    background-color: var(--Blanco);
    text-align: center;
}
@media (min-width: 768px) { 
    .slogan {
        background-color: unset;
    }
}

.slogan__texto {
    color: var(--Blanco);
    font-size: 3rem;
    margin: 0;
    color: var(--Negro);
    margin-bottom: 1rem;
}
@media (min-width: 768px) { 
    .slogan__texto {
        color: var(--Blanco);
        font-size: 4.5rem;
        margin-top: 5rem;
    }
}
.slogan__icono {
    width: 2rem;
    height: 2rem;
}
.slogan__contacto {
    color: var(--Blanco);
    background-color: var(--gris);
    padding: 1rem;
    transition: transform .5s;
    text-transform: uppercase;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .2);
}
@media (min-width: 768px) { 
    .slogan__contacto {
        display: inline-flex;
        background-color: rgb(126 126 124 / .7);

    }
    .slogan__contacto:hover {
        transform: scale(1.1);
        cursor: pointer;
    }
}
.slogan__boton {
    font-size: 1.3rem;
}


/** Navegación **/
.navegacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
}
@media (min-width: 768px) { 
    .navegacion {
        flex-direction: row;
        gap: 3.2rem;
        margin-top: 0;
    }
 }
.navegacion__link {
    font-size: 1.5rem;
    transition: transform .5s;
}

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

/** Kontainer **/
.kontainer {
    margin-bottom: 5rem;
}
.kontainer__contenedor--reducido {
    margin: 0 auto;
    max-width: 80rem;
    width: 80%;
    text-align: center;
    margin-top: 5rem;
}
.kontainer__texto {
    line-height: 1.2;
    margin-bottom: 3rem;
    margin-top: 1rem;
}
.kontainer__collage {
    position: relative;
    height: 20rem;
}
@media (min-width: 768px) { 
    .kontainer__collage {
        height: 30rem;
    }
}
@media (min-width: 992px) { 
    .kontainer__collage {
        height: 40rem;
    }
 }
.kontainer__imagen {
    position: absolute;
    width: 25rem;
    max-width: 50%;
    box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .2);
}
@media (min-width: 992px) { 
    .kontainer__imagen {
        width: 30rem
    }
 }
.kontainer__imagen:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.kontainer__imagen:nth-child(2) {
    bottom: -15px;
    right: 0;
    transform: rotate(-5deg);
}
@media (min-width: 768px) { 
    .kontainer__imagen:nth-child(2) {
        bottom: -15px;
        right: 60px;
    }
}
@media (min-width: 992px) { 
    .kontainer__imagen:nth-child(2) {
        bottom: -10px;
        right: 100px;
    }
}
.kontainer__imagen:nth-child(3) {
    bottom: -15px;
    left: 0;
    transform: rotate(5deg);
}
@media (min-width: 768px) { 
    .kontainer__imagen:nth-child(3) {
        bottom: -15px;
        left: 60px;
    }
}
@media (min-width: 992px) { 
    .kontainer__imagen:nth-child(3) {
        bottom: -10px;
        left: 100px;
    }
}


/** Galería **/
.galeria {
    margin: 5rem 0;
    background-color: var(--Negro);
    padding: 3rem 0 7rem 0;
    box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .2);
 }
.galeria__titulo {
    margin-bottom: 1rem;
    text-align: center;
    color: var(--Blanco);
}
@media (min-width: 768px) { 
    .galeria__titulo {
        font-size: 4.5rem;
    }
 }
.galeria__grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 768px) { 
    .galeria__grid {
        grid-template-columns: repeat(3, 1fr);
    }
 }
 .galeria__img {
    cursor: pointer;
    box-shadow: 0px 0px 15px 3px rgba(255, 255, 255, 0.25);
 }
.galeria__img:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.galeria__img:nth-child(6) {
    grid-column: 1 / 3;
}
@media (min-width: 768px) { 
    .galeria__img:nth-child(6) {
        grid-column: 2 / 4;
        grid-row: 4 / 6;
    }
 }
@media (min-width: 768px) { 
    .galeria__img:nth-child(7) {
        grid-column: 3 / 4;
        grid-row: 3 / 4;
    }
    .galeria__img:nth-child(11) {
        grid-column: 1 / 4;
        grid-row: 6 / 8 ;
    }

 }


/** Whatsapp **/
.iconoWhatsapp {
  position: fixed;
  width: 6rem;
  height: 6rem;
  bottom: 3rem;
  right: 3rem;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}
.iconoWhatsapp:hover {
  transform: scale(1.1);
}
.iconoWhatsapp__logo {
  width: 3rem;
  height: 3rem;
}


/** Servicios **/
.servicios {
    background-color: var(--gris);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { 
    .servicios {
        padding: 15rem 0;
    }
}
.servicios__contenido {
   text-align: center; 
}
@media (min-width: 992px) { 
    .servicios__contenido {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
 }
.servicios__diversion-heading,
.servicios__lista-texto,
.servicios__equipo-heading {
    margin: 0;
    color: var(--Blanco);
}
.servicios__equipo {
    margin-top: 5rem;
}
@media (min-width: 992px) { 
    .servicios__equipo {
        margin-top: 0;
    }
 }
.servicios__lista {
    margin: 1rem 0;
}
.servicios__equipo {
    padding-top: 5rem;
    border-top: .5px solid var(--Blanco);
}
@media (min-width: 992px) { 
    .servicios__equipo {
        padding-top: 0;
        border-top: unset;
        border-left: 1px solid var(--Blanco);
    }
}
.servicios::before,
.servicios::after {
    background-color: var(--Blanco);
    content: '';
    height: 20rem;
    width: 120%;
    position: absolute;
}
.servicios::before {
    top: -15rem;
    left: 0;
    transform: rotate(3deg);
    box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .2);
}
.servicios::after {
    bottom: -15rem;
    left: 0;
    transform: rotate(-3deg);
    box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .2);
}
.servicios__titulo {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--Blanco);
}
@media (min-width: 768px) { 
    .servicios__titulo {
        font-size: 4.5rem;
        margin-bottom: 4rem;
    }
 }
.servicios__elementos {
    text-align: center;
    margin: 0;
    font-size: 2rem;
    color: var(--Blanco);
}
@media (min-width: 768px) { 
    .servicios__elementos {
        font-size: 3rem;
    }
}


/** Redes Sociales **/ 
.redes {
    padding: 3rem 0 5rem 0;
}
@media (min-width: 768px) { 
    .redes {
        padding: 3.5rem;
    }
 }
.redes__titulo {
    margin: 0;
    text-align: center;
}
@media (min-width: 768px) { 
    .redes__titulo {
        font-size: 4.5rem;
    }
 }

 .redes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    margin-top: 5rem;
    gap: 4rem;
}
@media (min-width: 768px) { 
    .redes-grid {
        gap: 0;
    }
 }
.redes__logo {
    display: flex;
    justify-content: center;
    transition: transform 0.3s;
}

.redes__imagen {
  width: 5rem;
  height: 5rem;
}
@media (min-width: 768px) { 
    .redes__imagen{
        width: 8rem;
        height: 8rem; 
    }
 }

.redes__logo:hover {
  transform: scale(1.2);
}

.redes__texto {
    margin-top: 1rem;
    text-align: center;
}
@media (min-width: 768px) { 
    .redes__texto {
        font-size: 2.3rem;
    }   
}


/** Ubicación **/
.ubicacion {
    background-color: var(--gris);
    padding: 3rem 0 0 0;
    box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .2);
} 
.ubicacion__titulo {
    color: var(--Blanco);
    text-align: center;
}
@media (min-width: 768px) { 
    .ubicacion__titulo {
        font-size: 4.5rem;
    }
}
.ubicacion__mapa {
    box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .2);
}

/* Lightbox */
.lightbox {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox__imagen {
  max-width: 90%;
  max-height: 90%;
  display: block;
  margin: auto;
}

.lightbox__cerrar {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.lightbox__flecha {
  position: absolute;
  top: 50%;
  color: #fff;
  font-size: 60px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  transition: 0.3s;
}
/* Ajuste para móviles */
@media (max-width: 768px) {
  .lightbox__flecha {
    top: 80%; /* más abajo de la mitad de la pantalla */
    font-size: 40px; /* un poco más pequeñas */
  }
}


.lightbox__flecha--izq {
  left: 20px;
}

.lightbox__flecha--der {
  right: 20px;
}

.lightbox__flecha:hover, .lightbox__cerrar:hover {
  color: #ccc;
}

/* Overlay */
.discount-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none; /* se muestra vía JS */
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

/* Popup */
.discount-popup {
  width: min(92%, 56rem);
  background: var(--Blanco, #fff);
  border-radius: 1rem;
  padding: 2.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  text-align: center;
  position: relative;
}

.discount-popup h3 {
  margin: 0 0 1rem 0;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--Negro, #000);
}

.discount-popup p {
  margin: 0 0 1.6rem 0;
  font-size: 1.6rem;
  color: #444;
}

.discount-code {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-radius: .8rem;
  background: #f5f5f5;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  user-select: text;
}

.discount-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-discount,
.btn-close-discount {
  padding: .9rem 1.4rem;
  border-radius: .6rem;
  font-size: 1.6rem;
  cursor: pointer;
  border: none;
  background: var(--gris, #7e7e7c);
  color: var(--Blanco, #fff);
  transition: transform .15s;
}
.btn-discount:active,
.btn-close-discount:active { transform: scale(.99); }

.btn-copy {
  padding: .6rem .9rem;
  border-radius: .5rem;
  font-size: 1.4rem;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: var(--Negro, #000);
}

.discount-close {
  position: absolute;
  right: 1rem;
  top: .8rem;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: #666;
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .discount-popup { padding: 2rem 1.6rem; }
  .discount-popup h3 { font-size: 2rem; }
  .discount-code { font-size: 1.6rem; }
}

/* Mostrar (clase gestionada por JS) */
.discount-overlay.show { display: flex; }


/** Footer **/
.footer {
    background-color: var(--Negro);
    margin: 5rem 0 0 0;
    padding: 1rem;
    box-shadow: 0px 0px 15px 3px rgb(0 0 0 / .2);
}
.footer__texto {
   color: var(--Blanco);
   font-size: 2rem;
   margin: 4rem 0 0 0;
}
.footer__telefono {
    color: var(--Blanco);
    margin: 0 0 4rem 0;
}
