@font-face {
  font-family: "Bronto";
  src: url("../fonts/bronto-bold-webfont.woff2") format("woff2"),
    url("../fonts/bronto-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Bronto";
  src: url("../fonts/bronto-book-webfont.woff2") format("woff2"),
    url("../fonts/bronto-book-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Bronto";
  src: url("../fonts/bronto-regular-webfont.woff2") format("woff2"),
    url("../fonts/bronto-regular-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Bronto";
  src: url("../fonts/bronto-semibold-webfont.woff2") format("woff2"),
    url("../fonts/bronto-semibold-webfont.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Bronto";
  src: url("../fonts/bronto-ultrablack-webfont.woff2") format("woff2"),
    url("../fonts/bronto-ultrablack-webfont.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}

/* Modern CSS Reset — 2025 */

/* 1. Box sizing reset for more predictable layouts */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Prevent font size adjustments after orientation changes (esp. iOS) */
html {
  -webkit-text-size-adjust: 100%;
  /* Safari, older iOS browsers */
  -moz-text-size-adjust: 100%;
  /* Firefox Mobile */
  text-size-adjust: 100%;
}

/* 3. Remove default margins and paddings */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol,
fieldset,
legend {
  margin: 0;
  padding: 0;
}

/* 4. Remove list styles for lists with “role=list”, or all lists if you prefer */
ul[role="list"],
ol[role="list"],
ul,
ol {
  list-style: none;
}

/* 5. Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  background-color: #333;
  /* optional—change as needed */
  color: #000;
  /* optional—change */
  font-family: system-ui, sans-serif;
  /* or your preferred stack */
}

/* 6. Headings & interactive elements */
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
label,
select,
textarea {
  font: inherit;
  line-height: 1.1;
}

/* 7. Media / images defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 8. Form element reset */
button {
  font: inherit;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  /* optionally you can reset appearance */
  -webkit-appearance: none;
  appearance: none;
}

/* 9. Avoid text overflow and improve wrapping */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  /* “pretty” wrapping if supported; fallback is ignored if not */
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/* 10. Accessibility & behavior defaults */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
    /* Enables transitions for “auto” etc., where supported */
  }
}

/* Scroll behavior, target offsets */
:root {
  scroll-behavior: smooth;
  /* optional, can be conditional via prefers-reduced-motion */
}

:target {
  scroll-margin-block: 5ex;
}

/* 11. Root stacking context (useful in component-based/web apps) */
#root,
#__next,
#app {
  isolation: isolate;
}

/* FIN RESET */

html,
body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: "Bronto", sans-serif;
  font-weight: 500;
  background-image: url(../images/bg-placeholder.webp);
  background-size: cover;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020024", endColorstr="#00D4FF", GradientType=1);
  color: #fff;
}

/* Page content is completely hidden until reveal */
.page {
  height: 100svh;
  /* <- no layout or paint */
  flex-direction: column;
  place-items: center;
  text-align: center;
  display: flex;
}

.button {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .intro,
  .page {
    transition: none;
    animation: none !important;
  }

  .line-img {
    opacity: 1;
    transform: none;
  }

  .line-img.in {
    animation: none;
  }
}

/* FIN INTRO*/

/* El Botón Pure CSS */
.pure-css-button {
  /* 1. Estilo Base: Texto y Forma */
  padding: 14px 35px;
  /* Ajustado el padding para un botón más grande */
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;

  /* 2. Centro Blanco y Esquinas Redondeadas */
  background-color: #f0f0f0;
  /* Un blanco muy suave, casi gris claro */
  color: #35819e;
  /* Color de texto más oscuro */
  border-radius: 50px;
  /* Forma de píldora */

  /* 3. El Borde Azul Claro de 4px (El Marco) */
  border: 4px solid #add8e6;
  /* Azul Claro */

  /* 4. Efecto de Relieve para la Parte Blanca Interior y Sombra Exterior */
  box-shadow:
    /* Sombra superior izquierda (clara) para el efecto de "luz" */ inset
      5px 5px 10px rgba(255, 255, 255, 0.7),
    /* Simula luz desde arriba/izquierda */
      /* Sombra inferior derecha (oscura) para el efecto de "sombra" */ inset -5px -5px
      10px rgba(0, 0, 0, 0.15),
    /* Simula sombra desde abajo/derecha */
      /* Sombra exterior para dar profundidad al botón en general */ 0 6px 12px
      rgba(0, 0, 0, 0.1);

  /* 5. Transiciones para efectos suaves */
  transition: all 0.25s ease-in-out;
  outline: none;
  /* Elimina el contorno de enfoque predeterminado */
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Efecto al pasar el ratón: El botón se "activa" un poco */
.pure-css-button:hover {
  border-color: #87ceeb;
  /* Borde un poco más brillante */
  background-color: #ffffff;
  /* El centro se ilumina un poco más */
  box-shadow: inset 5px 5px 12px rgba(255, 255, 255, 0.9),
    /* Luz más intensa */ inset -5px -5px 12px rgba(0, 0, 0, 0.2),
    /* Sombra más intensa */ 0 8px 16px rgba(0, 0, 0, 0.15);
  /* Sombra exterior más grande */
  transform: translateY(-2px);
  /* Un ligero levantamiento */
}

/* Efecto al hacer clic: Simula que el botón se "presiona" */
.pure-css-button:active {
  transform: translateY(1px);
  /* Se empuja hacia abajo */
  box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.5),
    /* Luz sutil */ inset -2px -2px 5px rgba(0, 0, 0, 0.1),
    /* Sombra sutil */ 0 2px 4px rgba(0, 0, 0, 0.08);
  /* Sombra exterior muy suave */
  background-color: #e8e8e8;
  /* El centro se oscurece un poco más al presionar */
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

header#header-main {
  position: fixed;
  width: 100%;
  height: 100px;
  flex: 0 0 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

#header-main .claim {
  max-width: 50%;
  width: 750px;
}

#main-menu ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

#main-menu ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#main-menu ul li a img {
  width: 40px;
  height: 40px;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}

#main-menu ul li a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

#main-menu ul li a:hover {
  color: yellow;
}

#main-menu ul li a:hover img {
  filter: brightness(1.1);
  -webkit-filter: brightness(1.1);
}

section {
  padding-top: 100px;
  width: 100%;
}

section#main-content {
  max-width: 80%;
  width: 1360px;
  height: calc(100% - 120px);
  padding-top: 120px;
}

/* Main Swiper fills remaining height minus thumbs */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper.swiperMain {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.swiperMain .swiper-slide {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
  position: relative;
  font-size: clamp(18px, 2.5vw, 28px);
  user-select: none;
  overflow: hidden;
}

.swiperMain .swiper-slide {
  border-radius: 2rem;
  overflow: hidden;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  -ms-border-radius: 2rem;
  -o-border-radius: 2rem;
}

.swiperMain .slide-img,
.swiperMain .slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.2s ease;
  filter: brightness(0.9);
  -webkit-filter: brightness(0.9);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}

.swiperMain .swiper-slide .titulo {
  position: absolute;
  top: 2rem;
  left: 0;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}

.swiperMain .swiper-slide .titulo img {
  width: 600px;
  max-width: 80%;
}

.swiperMain .swiper-slide-prev,
.swiperMain .swiper-slide-next {
  filter: brightness(0.8);
  -webkit-filter: brightness(0.8);
}

.swiperMain .swiper-slide:not(.swiper-slide-visible):not(.swiper-slide-active) {
  opacity: 0;
}

.swiperMain .swiper-slide.swiper-slide-active:hover .slide-img {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.swiperMain .swiper-button-prev:after,
.swiperMain .swiper-button-next:after {
  content: none;
}

.swiperMain .swiper-button-prev,
.swiperMain .swiper-button-next {
  width: 70px;
  height: 70px;
  transition: all 0.2s ease;
  filter: brightness(0.8);
  -webkit-filter: brightness(0.8);
}

.swiperMain .swiper-button-prev:hover,
.swiperMain .swiper-button-next:hover {
  filter: brightness(1);
  -webkit-filter: brightness(1);
}

.slide-content {
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #0b1020;
  text-decoration: none;
  font-weight: 600;
}

/* Thumbs Swiper */
.swiperThumbs {
  height: 120px;
  /* adjust thumb bar height */
  box-sizing: border-box;
  padding: 10px 0;
  width: 95%;
  max-width: 1360px;
}

.swiperThumbs .swiper-wrapper {
  display: flex;
  justify-content: center;
}

.swiperThumbs .swiper-slide {
  height: 100%;
  opacity: 0.4;
  cursor: pointer;
}

.swiperThumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.swiperThumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
}

/* Controls styling */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

/* VIDEO PLAYER */

.video-container {
  position: relative;
  width: 100%;
  height: 100dvh;
  background: #000;
  overflow: hidden;
  cursor: none;
  /* hides cursor when inactive */
  display: flex;
  align-items: center;
}

.video-container iframe {
  width: 100%;
  margin-top: 50px;
  height: calc(100dvh - 50px);
}

video {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Overlays hidden state --- */
.overlay-hidden .top-overlay,


/* --- TOP OVERLAY --- */
.top-overlay {
  position: absolute;
  top: 0;
  height: 50px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.4s;
  z-index: 5;
  background: #161616;
  border-bottom: solid 1px #333;
}

.top-overlay button {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-overlay h2 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
  text-align: center;
  margin: auto;
}

/* --- CENTER CONTROLS --- */
.center-controls {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 60px;
  opacity: 1;
  transition: opacity 0.4s;
  z-index: 4;
}

.center-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  padding: 15px 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
  opacity: 0.8;
}

.center-controls button:hover {
  opacity: 1;
}

.center-controls button:active {
  transform: scale(0.9);
}

/* --- BOTTOM CONTROLS --- */
/* .controls {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  box-sizing: border-box;
  flex-wrap: wrap;
  transition: opacity 0.4s;
  z-index: 3;
}

.controls button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.2s;
} */

.controls button#play svg {
  width: 24px;
  height: 24px;
}

.controls button:active {
  transform: scale(0.9);
}

.progress {
  flex: 1;
  height: 5px;
  background: #333;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  margin: 0 8px;
}

.progress-filled {
  height: 100%;
  background: #fecf17;
  width: 0%;
  border-radius: 2px;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

input[type="range"] {
  width: 70px;
  accent-color: #fecf17;
  cursor: pointer;
}

.time {
  font-size: 0.9rem;
  color: #ccc;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .center-controls {
    gap: 40px;
  }

  .center-controls button {
    font-size: 1.8rem;
    padding: 10px 14px;
  }

  input[type="range"] {
    width: 60px;
  }

  .time {
    font-size: 0.8rem;
  }

  .top-overlay h2 {
    font-size: 1rem;
  }
}

/* CARDS */
.card-download {
  border-radius: 1rem;
  border: solid 2px #ffffff24;
  background-color: #54545479;
  overflow: hidden;
  transition: all 0.2s ease;
}

.card-download figure img {
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
}

.card-download a {
  text-decoration: none;
  color: #fff;
}

.card-download .text {
  padding: 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.card-download h2 {
  font-size: 1.6rem;
  font-weight: 600;
}

.card-download:hover {
  transform: translateY(-4px);
}

/* .swiperInfo .swiper-slide,
.swiperInfo .swiper-slide .card-download {
  height: 100%;
}
 */
/* TRANSITION */

/* Define a transition duration during page visits */
html.is-changing .transition-fade {
  transition: opacity 0.25s;
  opacity: 1;
}

/* Define the styles for the unloaded pages */
html.is-animating .transition-fade {
  opacity: 0;
}

@media (min-width: 1031px) {
  .mobile {
    display: none;
  }
}

@media (max-width: 1030px) {
  .desktop {
    display: none;
  }

  #menu-toggler {
    width: 80px;
    height: 80px;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
  }

  body.menu-open #menu-toggler {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
  }

  #menu-toggler span {
    background-image: url(../images/);
  }

  /*   #main-menu {
    position: fixed;
    transition: all 0.2s ease;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    right: 100%;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
  }
 */
  section#main-content {
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
  }

  body.menu-open section#main-content {
    opacity: 0;
    visibility: hidden;
    position: relative;
    pointer-events: none;
    z-index: -1;
  }

  body.menu-open #main-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
  }

  .pure-css-button {
    padding: 7px 15px;
    min-width: 150px;
    margin: auto;
    font-size: 1.2rem;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  section#main-content {
    height: calc(100% - 200px);
    max-width: 100%;
    flex: 1;
    padding-bottom: 100px;
  }
}
