:root {
  --bg-page: #121212; /* fondo global */
  --lime: #ffea00; /* amarillo/verde de la sección 1 */
  --blue: #ffea00; /* azul de la sección 2 */
  --radius: 20px;
  --yellow: #ffea00;
}

@font-face {
  font-family: "Calibre";
  src: url("../fonts/CalibreBold.otf");
}

.alt-font {
  font-family: "Calibre", "Arimo", serif;
}

.arimo {
  font-family: "Arimo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 480px) and (min-width: 320px) {
  .mobile-off {
    display: none;
  }
  h1 {
    font-size: 46px;
    line-height: 44px;
  }
  .text-large {
    font-size: 26px;
    line-height: 48px;
  }
  .flexdirection {
    flex-direction: column !important;
  }
  .xs-p-20-15 {
    padding: 40px 15px !important;
  }
  h5 {
    font-size: 22px;
    line-height: 3rem;
  }
  .xs-bordertop {
    border-top: 1px solid #000;
  }
}

/* ====== CONTENEDOR PINNED DEL FONDO ====== */
.stack {
  position: relative;
  /* Alto grande para tener “recorrido” donde el fondo se queda pegado */
  min-height: 250vh; /* ajusta para alargar o acortar el efecto */
  padding-top: 2rem;
  padding-bottom: 8rem;
  overflow: clip; /* evita scrollbars raros con sombras y radios */
  background: #000;
}

/* Fondo que queda pegado mientras scrolleas en .stack */
.stack__bg {
  position: sticky;
  top: 0;
  height: 100vh; /* cubre toda la ventana */
  z-index: 1;
  display: flex;
  align-items: center;
}

.stack__bg-card {
  background: var(--lime);
  border-radius: var(--radius);
  /* box-shadow: 0 30px 60px rgb(255 255 255 / 25%); */
  width: min(1200px, 92vw);
  margin-inline: auto;
  padding: clamp(1.5rem, 2.5vw, 3rem);
}

/* Primer contenido (amarillo) por encima del bg pero debajo del sticky azul */
.panel {
  position: relative;
  z-index: 2; /* sobre el fondo pegado */
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Espaciador para controlar cuándo aparece el panel azul */
.spacer {
  height: 60vh; /* empuja: el azul entra después; ajusta a gusto */
}

/* Panel azul que se vuelve sticky y flota sobre el fondo amarillo */
.panel--sticky {
  position: sticky;
  top: 6rem; /* margen desde el top cuando “pega” */
  z-index: 3; /* sobre el amarillo */
}
.panel-card--blue {
  background: #000;
  border-radius: var(--radius);
  /* box-shadow: 0 30px 60px rgb(255 255 255 / 25%); */
  padding: clamp(1.5rem, 2.5vw, 3rem);
  border: 8px solid #ffea00;
  /* borde lime como en la referencia */
}

.panel-card--blue2 {
  background: #ffea00;
  border-radius: var(--radius);
  /* box-shadow: 0 30px 60px rgb(255 255 255 / 25%); */
  padding: clamp(1.5rem, 2.5vw, 3rem);
  border: 8px solid #ffea00; /* borde lime como en la referencia */
}

/* Imagen con bordes suaves, sombra y overflow respetando el radius */
.img-wrap {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgb(255 255 255 / 25%);
}

/* Tipos y micro-ajustes */
.display-hero {
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lead-hero {
  color: rgba(0, 0, 0, 0.75);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}

.space-between {
  justify-content: space-between;
}

/* Mejoras responsivas */
@media (max-width: 991.98px) {
  .stack {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .panel--sticky {
    top: 4rem;
  }
}

.curva-seccion {
  line-height: 0;
  position: relative;
}

.curva-seccion svg {
  display: block;
  width: 100%;
  height: auto;
}

.contenedor-circulo {
  position: relative;
  z-index: 999;
  /* height: 300px; Altura de prueba */
  /* background: #1a1a1a; */
  /* overflow: hidden; */
}

.circulo-scroll {
  position: absolute;
  top: 96%;
  left: 1%;
  transform: translateY(36%);
  width: 100px;
  height: 100px;
  /* background: #0057ff; */
  border-radius: 50%;
  z-index: 10;
}

header .navbar .navbar-brand img,
header.side-menu .logo img,
header .sidebar-nav-menu .navbar-brand img {
  max-height: 40px;
}

.navbar .navbar-nav .nav-link {
  font-weight: 700;
  font-size: 20px;
}



.text-yellow,
.btn-link.text-yellow,
a.text-yellow-hover:hover {
  color: #ffea00;
}
.navbar.navbar-dark .navbar-nav .nav-link,
.navbar.navbar-dark .header-search-icon > a,
.navbar.navbar-dark .header-social-icon > a,
.navbar.navbar-dark .header-cart-icon > a,
.navbar.navbar-dark .header-language > a,
.navbar.navbar-dark .nav-bar-contact,
.top-bar.navbar-light,
.top-bar.navbar-light .header-search-icon > a,
.top-bar.navbar-light .header-social-icon > a,
.top-bar.navbar-light .header-cart-icon > a,
.top-bar.navbar-light .header-language > a,
.top-bar.navbar-light .top-bar-contact-list > a,
.top-bar.navbar-light .header-language.dropdown-style-01 .btn {
  color: #ffea00;
}
.navbar .navbar-nav .nav-link {
  font-weight: 700;
  font-size: 16px;
}
video {
  background-color: #000;
  height: auto;
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  top: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  width: auto;
  z-index: -3;
}

/* ---- tsparticles container ---- */
#tsparticles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.btn.btn-transparent-yellow {
  background: transparent;
  border-color: #ffea00;
  color: #ffea00;
}

.btn.btn-transparent-yellow:hover,
.btn.btn-transparent-yellow:focus {
  background: #ffea00;
  border-color: #ffea00;
  color: #000;
}

.btn-box-shadow-flat {
    box-shadow: 2px 2px 0 rgb(254 234 0);
    border-width: 1px;
}

.btn-box-shadow-flat-black {
    box-shadow: 2px 2px 0 rgb(0 0 0);
    border-width: 1px;
}

.btn-box-shadow-flat-white {
    box-shadow: 2px 2px 0 rgb(255, 255, 255);
    border-width: 1px;
}

canvas {
  position: relative !important;
}

.cards {
  background: transparent;
  border-top: 1px solid #000000b3;
  border-right: 1px solid #000000b3;
  border-bottom: 1px solid #000000b3;
  border-left: 1px solid #000000b3;
}

.bo {
  position: absolute;
  border-radius: 100vmax;
}

.top {
  top: 0;
  left: 0;
  width: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent 50%, #000, #000);
}

.bottom {
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, #000, #000, transparent 50%);
}

.right {
  top: 0;
  right: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(180deg, transparent 30%, #000, #000);
}

.left {
  left: 0;
  bottom: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(180deg, #000, #000, transparent 70%);
}

.top {
  animation: animateTop 5s ease-in-out infinite;
}

.bottom {
  animation: animateBottom 5s ease-in-out infinite;
}

.right {
  animation: animateRight 5s ease-in-out infinite;
}

.left {
  animation: animateLeft 5s ease-in-out infinite;
}

@keyframes animateTop {
  25% {
    width: 100%;
    opacity: 1;
  }

  30%,
  100% {
    opacity: 0;
  }
}

@keyframes animateBottom {
  0%,
  50% {
    opacity: 0;
    width: 0;
  }

  75% {
    opacity: 1;
    width: 100%;
  }

  76%,
  100% {
    opacity: 0;
  }
}

@keyframes animateRight {
  0%,
  25% {
    opacity: 0;
    height: 0;
  }

  50% {
    opacity: 1;
    height: 100%;
  }

  55%,
  100% {
    height: 100%;
    opacity: 0;
  }
}

@keyframes animateLeft {
  0%,
  75% {
    opacity: 0;
    bottom: 0;
    height: 0;
  }

  100% {
    opacity: 1;
    height: 100%;
  }
}

/* MARQUEEEEE */

.marquee {
  width: 100%;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  /* border: solid #000; */
  /* border-width: 3px 0; */
  /* margin-top: 50px; */
  padding: 30px 0 30px 0;

  span {
    font-size: 64px;
    color: #000;
    text-transform: uppercase;
    display: inline-block;
    padding-left: 100%;
    animation: marquee-animation 100s linear infinite;
    &:hover {
      animation-play-state: paused;
    }
  }
}

@keyframes marquee-animation {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}
