    /* Reset y estilos base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* evita scroll horizontal */
  overflow-y: auto;   /* scroll solo vertical */
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
  background-color: #ffffff; /* puedes cambiar al bg general */
  color: #222;            /* color de texto base */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth; /* scroll suave */
}

/* Ajuste para móviles con notch */
body {
  padding-top: env(safe-area-inset-top);
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
  padding-bottom: env(safe-area-inset-bottom);
}

@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
.hero-home {
  width: 100%;
  height: 110vh; /* altura completa de la ventana */
  background: url('../images/bghero/5.png') no-repeat center center;  background-size: cover;
  display: flex;
  align-items: flex-start;
  padding-top: 150px; /* espacio para que el texto baje debajo del nav */
  padding-left: 5vw;
  padding-bottom: 25px;
  box-sizing: border-box;
  position: relative;
  z-index: 1; /* menor que el nav si este es fijo */
}
/* Overlay que hará el efecto circular */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  clip-path: circle(0% at center);
  pointer-events: none;
  transition: clip-path 1.5s ease-in-out; /* valor por defecto (expansión lenta) */
}

.hero-content {
  max-width: 700px;
  color: #fff;
}

.hero-content h1 {
  font-family: 'Yeseva One', serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
}

.highlight-red,
.highlight-blue {
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     0    0  6px #fff;
}

.highlight-red {
  color: #e7266f;
}

.highlight-blue {
  color: #20bff5;
}

.hero-description {
  margin-top: 20px;
  padding: 22px 28px;
  font-size: 18px;
  line-height: 1.7;
  color: #222; /* mejor legibilidad */
  background: rgba(255, 255, 255, 0.349);
  font-family: 'Poppins', sans-serif;
  backdrop-filter: blur(10px) saturate(180%);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 500;
  max-width: 640px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6); /* ayuda con fondos oscuros */
}



.hero-btn {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  display: inline-block;
  padding: 16px 42px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffffff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: all 0.5s ease;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn:hover {
  color: #111;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hero-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
/* ========== RESPONSIVE HERO ========== */
/* Tablets (pantallas medianas, 768px a 1024px) */
@media (max-width: 1024px) {
  .hero-home {
    padding-top: 120px; /* reduce espacio para nav */
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .hero-content {
    max-width: 90%;

  }

  .hero-content h1 {
    font-size: 56px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    padding: 18px 22px;
  }

  .hero-btn {
    padding: 25px 36px;
    font-size: 18px;
  }
}

/* Móviles grandes (480px a 767px) */
@media (max-width: 767px) {
  .hero-home {
    height: 100vh;
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center; /* centra contenido en móviles */
    align-items: center;
  }

  .hero-content {
        margin-top: -50px;
  }
  .hero-content h1 {
    font-size: 72px;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.5;
    padding: 16px 20px;
  }

  .hero-btn {
    padding: 25px 28px;
    font-size: 16px;
    border-radius: 35px;
  }
}

/* Móviles pequeños (menos de 480px) */
@media (max-width: 480px) {
  .hero-home {
    padding-top: 80px;
    padding-left: 16px;
    padding-right: 16px;
  }
.hero-content {
        margin-top: -150px;
  }
  .hero-content h1 {
    font-size: 46px;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 18px;
    padding: 14px 16px;
  }

  .hero-btn {
    padding: 24px 24px;
    font-size: 18px;
    color: black;
  }
}
