:root {
  --primario: #b29b55;
  --secundario: #dba808;
  --negro: #150d0b;
  --blanco: #ffffff;
  /* Tipografía */
  --fuente: "Rubik", sans-serif;
  --tipo-secundaria: Verdana;
  --border-radius: 15px;
  --transition: all 0.3s ease-in-out;
}
html {
  background-color: var(--negro);
  color: var(--blanco);
  font-family: var(--fuente);
}
h2,
h3 {
  font-weight: 200;
}
p {
  font-size: 1.1rem;
  font-weight: 200;
}
i {
  font-size: 1.8rem;
}
/* ******************************************* */
/* Animación fadeIn para el body de cada página y lightbox políticas y formulario de contacto */
.fade-in {
  animation: fadeIn ease 2s;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fondo-web {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: -1;
}

/* ********************************** */
/* **************************************   NAV + HERO   */
/* ********************************* */
header {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 80vh;
  overflow: hidden;

  @media (width > 960px) {
    background-attachment: fixed;
  }
  .barra-nav {
    width: 100%;
    height: auto;
    padding: 0.5rem 2rem;
    background: rgba(32, 32, 32, 0.33);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(7.2px);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 200;
    @media (width < 960px) {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .logo {
      height: 3rem;
      width: auto;
      @media (width < 760px) {
        height: 2.5rem;
      }
    }
    & p {
      font-size: 0.9rem;
      @media (width < 960px) {
        display: none;
      }
    }
    .banderas {
      display: flex;
      justify-content: end;
      align-items: center;
      gap: 0.7rem;
    }
    & img {
      width: 2rem;
      height: 2rem;
      cursor: pointer;
    }
  }
}
/* ******************* Hero */
.hero {
  position: relative;
  .grid {
    width: 40%;
    position: absolute;
    /* Centrar */
    top: 55%;
    left: 80%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    animation: opacity 1s 2s forwards;
    @media (width < 960px) {
      display: none;
    }
  }
}
@keyframes opacity {
  100% {
    opacity: 1;
  }
}

/** Imagenes rotatorias hero */
.tarjetaHero {
  height: 8rem;
  width: 8rem;
  background-color: #333333;
  border-radius: 50%;
  margin: 0.4rem;
  box-shadow: 0 0 10px rgba(172, 172, 172, 0.5);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primario);
  transform: scale(0.5);
  animation: scale 1s 2s forwards;
}
@keyframes scale {
  100% {
    transform: scale(1);
  }
}

.tarjetaHero::before {
  content: "";
  position: absolute;
  height: 9rem;
  width: 9rem;
  background-image: conic-gradient(
    var(--primario) 0deg,
    var(--negro) 10deg,
    var(--primario) 100deg,
    var(--negro) 110deg,
    var(--primario) 220deg,
    var(--negro) 230deg,
    var(--primario) 340deg
  );
  animation: rotar 8s linear infinite;
}

@keyframes rotar {
  100% {
    transform: rotate(360deg);
  }
}
/** Imagenes rotatorias hero */
.tarjetaHero::after {
  content: "";
  position: absolute;
  height: 7.5rem;
  width: 7.5rem;
  background-size: cover;
  box-shadow: inset 0 0 10px rgba(172, 172, 172, 0.5);
  border-radius: 50%;
  cursor: pointer;
}
.tarjeta1::after {
  background-image: url(../images/hero/hero10.webp);
}
.tarjeta2::after {
  background-image: url(../images/hero/hero11.webp);
}
.tarjeta3::after {
  background-image: url(../images/hero/hero14.webp);
}
.tarjeta4::after {
  background-image: url(../images/hero/hero4.webp);
}
.tarjeta5::after {
  background-image: url(../images/icon-negro.webp);
}
.tarjeta6::after {
  background-image: url(../images/hero/hero7.webp);
}
.tarjeta7::after {
  background-image: url(../images/hero/hero13.webp);
}
.tarjeta8::after {
  background-image: url(../images/hero/hero8.webp);
}
.tarjeta9::after {
  background-image: url(../images/hero/hero9.webp);
}

/************************ Texto Hero */
.texto-hero {
  width: 90%;
  height: 60vh;
  margin: 0 auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  animation: mostrar 2s 0.5s ease forwards;
  & h2 {
    transform: translateX(45%);
    font-size: 5rem;
    font-family: serif;
    line-height: 1.2;
    text-shadow:
      #111111 0px 0px 5px,
      #111111 0px 0px 10px,
      #111111 0px 0px 15px,
      #111111 0px 0px 20px;
    animation: mover 1s 2s forwards;
    @media (width < 960px) {
      font-size: 3rem;
    }
    @media (width < 760px) {
      transform: translateX(20%);
    }
    & span {
      color: var(--primario);
      font-size: 5rem;
      font-family: serif;
      line-height: 1.2;
      @media (width < 960px) {
        font-size: 4rem;
      }
    }
  }
  .en {
    transform: translateX(68%);
    font-size: 2rem;
    @media (width < 960px) {
      transform: translateX(55%);
    }
    @media (width < 760px) {
      transform: translateX(30%);
    }
  }
  & h2:nth-child(3) {
    font-size: 1rem;
    animation: mover2 1s 2s forwards;
    transform: translateX(85%);
    @media (width < 960px) {
      transform: translateX(67%);
    }
    @media (width < 760px) {
      transform: translateX(60%);
    }
  }
}

@keyframes mostrar {
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
@keyframes mover {
  100% {
    transform: translateX(0);
  }
}
@keyframes mover2 {
  100% {
    transform: translateX(20vw);
  }
}

/* ************************ Mapa */
.llegar {
  text-decoration: underline;
  color: blue;
}

/* ************************ Presentación */
.presentacion {
  background-color: var(--negro);
  width: 100%;
  height: auto;
  padding: 2rem;
  border: 0;
  outline: 1px solid var(--primario);
  outline-offset: -1rem;
  position: relative;
  .logo2 {
    width: 15rem;
    height: auto;
    margin-bottom: 1rem;
  }
  .presentacion-texto {
    padding: 1rem;
    white-space: pre-line;
  }
}
.hair {
  width: 100%;
  height: 30vh;
  object-fit: cover;
  border: 0;
  outline: 1px solid var(--primario);
  outline-offset: -0.5rem;
}

/* ************************ Servicios */
.servicios {
  width: 100%;
  height: 45vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  background-color: #1111117f;
  border: 0;
  outline: 1px solid var(--primario);
  outline-offset: -1rem;
  @media (width < 960px) {
    height: 65vh;
  }
  .baner-servicios {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    color: var(--blanco);
    & hr {
      width: 100%;
      height: 0.1rem;
      background-color: var(--primario);
      margin: 1rem auto;
    }
    .lista {
      font-size: 1.5rem;
      @media (width < 960px) {
        font-size: 1.2rem;
      }
    }
  }
}

/* ************************ Horario */
.horario {
  width: 100%;
  height: 65vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  background-color: #1111117f;
  border: 0;
  outline: 1px solid var(--primario);
  outline-offset: -1rem;
  & h3 {
    font-size: 2rem;
    font-weight: 200;
  }
  & p {
    font-size: 1.5rem;
    text-align: center;
    white-space: pre-line;
    @media (width < 960px) {
      font-size: 1.2rem;
    }
  }
}

/************************** Botón flotante de llamada */
.llamar {
  position: fixed;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  @media (width > 960px) {
    display: none;
  }
  .phone {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
  }
}
/* ******************************** */
/** ACORDEON DE PRECIOS */
/* ******************************** */
main {
  width: calc(100% - 2rem);
  margin: 1rem auto;
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 0.5rem;
  @media (width < 960px) {
    width: calc(100% - 1rem);
    grid-template-columns: 1fr;
  }
  .lateral1 {
    background-image: url(/images/velas.webp);
  }
  .lateral2 {
    background-image: url(/images/eye.webp);
  }
  .lateral1,
  .lateral2 {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 0;
    outline: 1px solid var(--primario);
    outline-offset: -0.5rem;
    @media (width < 960px) {
      display: none;
    }
  }
}
.lista-precios {
  background-color: var(--negro);
  padding: 2rem;
  border: 0;
  outline: 1px solid var(--primario);
  outline-offset: -0.5rem;
  & h2 {
    font-size: 2rem;
    font-weight: 200;
    text-align: center;
    margin: 1rem;
  }
  @media (width < 960px) {
    padding: 0.5rem;
  }
}

/* --- Texto IGIC al final de la lista de precios --- */
.texto-igic {
  text-align: right;
  font-size: 13px;
  font-style: italic;
  font-weight: bold;
  color: var(--primario);
  padding: 1rem;
}

.bloque {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: var(--negro);
  .accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    padding: 1rem;
    margin: 0.5rem 0;
    background-color: var(--primario);
    color: var(--negro);
    text-align: left;
    outline: none;
    transition: 0.4s;
    cursor: pointer;
    border: 0;
    outline: 1px solid var(--blanco);
    outline-offset: -0.4rem;
    & span {
      font-size: 1rem;
    }
  }
  .panel {
    width: 100%;
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    font-size: 1rem;
    background-image: url(/images/icon-negro.webp);
    background-size: 8rem;
    background-repeat: no-repeat;
    background-position: center;
    & article {
      width: 100%;
      display: grid;
      border-bottom: 0.1px solid lightgray;
      grid-template-columns: 2.5fr 1fr;
      align-items: center;
      gap: 1rem;
      padding: 0.5rem;
      & p {
        text-align: left;
      }
      & span {
        text-align: right;
        color: var(--primario);
      }
    }
  }
}

/* ********************************** */
/* **************************************   FOOTER   */
/* ********************************* */
.footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 1.5rem;
  background-color: var(--primario);
  color: var(--negro);
  border: 0;
  outline: 1px solid var(--blanco);
  outline-offset: -1rem;
  @media (width < 960px) {
    grid-template-columns: 1fr;
  }
  .servicios-footer {
    padding: 0 1rem;
    & ul {
      display: flex;
      flex-direction: column;
      justify-content: start;
      align-items: center;
      gap: 0.5rem;
      @media (width < 960px) {
        display: none;
      }
    }
  }
  .main-footer {
    border-right: 1px solid var(--blanco);
    border-left: 1px solid var(--blanco);
    padding: 0 1rem;
  }
  & img {
    width: 15rem;
    margin: 0 auto 1rem;
  }
  & h2 {
    font-size: 1.3rem;
    font-weight: 200;
  }
  & ul {
    padding-bottom: 1.5rem;
  }
  .redes {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
    gap: 1rem;
    & i {
      font-size: 1.5rem;
      &:hover {
        color: var(--negro);
        transition: var(--transition);
      }
    }
    .trip {
      width: 2.5rem;
      display: inline;
    }
  }
  & p {
    font-size: 0.8rem;
    padding: 0.2rem;
  }
  .proweb {
    &:hover {
      text-decoration: underline;
      color: var(--negro);
      transition: var(--transition);
    }
  }
}
.footer-legal {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  align-items: center;
  padding: 2rem 7vw;
  text-align: center;
  background-color: var(--negro);
  color: var(--blanco);
  border: 0;
  outline: 1rem solid var(--primario);
  outline-offset: -1rem;
  @media (width < 768px) {
    grid-template-columns: 1fr;
  }
  & img {
    width: 3rem;
    @media (width < 768px) {
      display: none;
    }
  }
  & div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0.2rem;
  }

  & p {
    font-size: 0.8rem;
  }
  & a {
    font-size: 0.8rem;
    text-align: center;
    &:hover {
      color: var(--primario);
      text-decoration: underline;
      transition: var(--transition);
    }
  }
}

/* **************************************** */
/** LIGHTBOX POLITICAS */
/* **************************************** */
.light-politicas {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 6;
  display: none;
  white-space: pre-line;
  animation: fadeIn 1s;
  .cerrar {
    font-size: 2rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: transparent;
    &:hover {
      transform: scale(1.1);
    }
  }
  .textos-politicas {
    color: var(--negro);
    background-color: #e9e9e9;
    width: 90vw;
    height: 80vh;
    margin: 3rem auto;
    overflow-y: scroll;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 0 4rem rgba(0, 0, 0, 1);
    box-shadow:
      1rem 1rem 3rem #111111,
      -1rem -1rem 3rem #e9e9e9;
  }
}
.qr-denuncias {
  width: 8rem;
  margin: 2rem auto;
}
.lightbox-activo {
  display: block;
  transition: var(--transition);
}

/* ******************************** */
/** TOOLTIPS */
/* ******************************** */
.tooltip1,
.tooltip2,
.tooltip3,
.tooltip4,
.tooltip5,
.tooltip6,
.tooltip7 {
  position: relative;
}
.tooltip1::after,
.tooltip2::after,
.tooltip3::after,
.tooltip4::after,
.tooltip5::after,
.tooltip6::after,
.tooltip7::after {
  position: absolute;
  right: 0.1rem;
  top: 3rem;
  background-color: var(--negro);
  color: var(--blanco);
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--blanco);
  border-radius: var(--border-radius);
  opacity: 0;
  transition: opacity 0.3s linear;
  white-space: nowrap;
}
.tooltip1::after {
  content: "Llámenos";
}
.tooltip2::after {
  content: "Contacto";
}
.tooltip3::after {
  content: "English";
}
.tooltip4::after {
  content: "Español";
}
.tooltip5::after {
  content: "French";
}
.tooltip6::after {
  content: "German";
}
.tooltip7::after {
  content: "Google Maps";
}
.tooltip1:hover::after,
.tooltip2:hover::after,
.tooltip3:hover::after,
.tooltip4:hover::after,
.tooltip5:hover::after,
.tooltip6:hover::after,
.tooltip7:hover::after {
  opacity: 1;
}

/* ******************************** */
/** BANER DE POLÍTICA DE COOKIES */
/* ******************************** */
#cookieNotice {
  background-color: #eeeaea;
  color: gray;
  display: block;
  box-sizing: border-box;
  position: fixed;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 6px rgb(0 0 0 / 25%);
  font-family: inherit;
  z-index: 2;
}
#cookieNotice.display-left {
  left: 20px;
  bottom: 90px;
  width: 370px;
  max-width: 80vw;
}
#saber {
  color: gray;
  font-size: 15px;
  font-weight: 200;
  text-decoration: underline;
  padding-top: 20px;
}
.btn-primary {
  background-color: #5880e1;
  color: white;
  border: none;
  width: 100%;
  padding: 8px;
  font-size: 16px;
  margin: 20px 0 0;
  cursor: pointer;
}

/********************* Efecto rotar */
.contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* Scroll horizontal */
  overflow-x: auto;
  /* Ocultar barra scroll horizontal */
  scrollbar-width: none;
}

article {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  & p {
    font-size: 1rem;
    text-align: center;
  }
}

.tarjeta {
  height: 5rem;
  width: 5rem;
  background-color: #333333;
  border-radius: 50%;
  margin: 0.4rem;
  box-shadow: 0 0 10px rgba(172, 172, 172, 0.5);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primario);
}

.tarjeta::before {
  content: "";
  position: absolute;
  height: 6rem;
  width: 6rem;
  background-image: conic-gradient(
    var(--primario) 0deg,
    var(--negro) 10deg,
    var(--primario) 100deg,
    var(--negro) 110deg,
    var(--primario) 220deg,
    var(--negro) 230deg,
    var(--primario) 340deg
  );
  animation: rotar 8s linear infinite;
}

@keyframes rotar {
  100% {
    transform: rotate(360deg);
  }
}

.tarjeta::after {
  content: "";
  position: absolute;
  height: 4.5rem;
  width: 4.5rem;
  background-image: url(/images/icon-negro.webp);
  background-size: cover;
  box-shadow: inset 0 0 10px rgba(172, 172, 172, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

/************************** Slider de Logos */
.slider {
  width: 100%;
  grid-area: logos;
  background: var(--negro);
  height: 6rem;
  margin: auto;
  padding: 1rem;
  overflow: hidden;
  position: relative;
}
.slider::before,
.slider::after {
  background: linear-gradient(
    to right,
    var(--negro) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 1;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  animation: scroll 60s linear infinite;
  display: flex;
  width: calc(350px * 14);
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-350px * 8));
  }
}
.slide-track {
  width: 100%;
}
.slider .slide {
  height: 100px;
  width: auto;
}
.slide-image {
  width: auto;
  height: 3.5rem;
  padding: 0.5rem 3rem;
}
