@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

html {
  box-sizing: border-box;
  overflow-x: hidden;
  font-family: "Geist", sans-serif;
  scrollbar-width: thin;
  scrollbar-color: #000 #111;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: inherit;
  background: #000;
 padding:1rem  ;
}

img,
video,
iframe,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

section,
div,
main {
  max-width: 100%;
  min-width: 0;
}

.container_body {
  width: 100%;
}

/* Scroll */
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #000;
}

body::-webkit-scrollbar-thumb {
  background: #000;
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1px #fafafa,
    inset 0 0 0 1px #000;
}

body::-webkit-scrollbar-thumb:hover {
  background: #111;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #071227, #071a2b);
  z-index: 9999;
  opacity: 1;
  visibility: visible;
}

.preloader.fade-out {
  animation: fadeOut 0.8s ease forwards;
}

.preloader.hidden {
  display: none;
}

.loader span {
  display: inline-block;
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 700;
  color: #fafafa;
  letter-spacing: -0.04em;
  animation: zoomRotate 1.2s ease-out forwards, colorize 2s linear;
  animation-delay: calc(0.1s * var(--index));
}

/* WhatsApp button */
.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  border-radius: 50%;

  background: #fafafa;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  overflow: hidden;

  transition: transform .2s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.06);
}

.whatsapp-fab img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes zoomRotate {
    0%{
      transform: scale(0.3) rotateY(0deg);
    }
    100%{
      transform:scale(1) rotateY(360deg);
    }
  }
  @keyframes colorize {
    to{
      color: #7dd3fc;
      text-shadow: 0 0 2px #7dd3fc, 0 0 1px #7dd3fc;
    }
  }
  @keyframes fadeOut{
    to {
      opacity: 0;
    }
  }
  @media (max-width: 768px) {
    .loader span {
      font-size: 1.5em;
      margin:  0 0.1em;
    }

  }
  .preloader-active{
    overflow: hidden;
  }
  h1{
  font-family: 'Porky Bold', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2{
  font-family: 'Vito Bold', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1.1;
  font-weight: 700;
}

h3{
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 2.3rem);
  line-height: 1.2;
  font-weight: 700;
}

h4{
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.25;
  font-weight: 600;
}

h5{
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 600;
}

p{
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.6;
}

a{
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  color: #fafafa;
}

small{
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
}

span{
  font-family: 'Poppins', sans-serif;
}

li{
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

button{
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

input,
textarea{
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 1vw, 1rem);
}
/* animacion suave al aparecer la seccion */
.featured-places {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.featured-places.is-visible {
  opacity: 1;
  transform: translateY(0);
}
