body {
  background: #1A1A1A;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
button {
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
}
/* -------------------- HEADER+NAVBAR -------------------- */
nav {
  width: 100%;
  display: flex;
  justify-content: center;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 980px;
  margin: 0 20px;
}
.menu-toggle {
  display: none;
}
.nav-content ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 24px;
}
/* Navbar*/
.navbar {
  height: 54px;
  min-height: 54px;
}
.nav-logo a {
  color: #FEFEFE;
  font-size: 21px;
  font-weight: 600;
  line-height: 24px;
}
.nav-items button {
  color: #FEFEFE;
  font-size: 12px;
  line-height: 22px;
}
.nav-items button:hover {
  color: #BEBEBE;
}
.btn-first {
  margin-right: -10px;
}
.nav-items .buy-btn {
  padding: 4px 10px;
  background-color: #B7274C;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.nav-items .buy-btn:hover {
  color: #FEFEFE;
  background-color: #931F3A;
}
a.intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* separa el texto del icono */
  padding: 6px 20px;
  background: #147CE5;
  border-radius: 12px;
  color: #FEFEFE;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  text-decoration: none;
}
a.intro-btn:hover {
  color: #FEFEFE;
  background-color: #2997FF;
  /* opcional: efecto hover */
}
.sticky {
  position: fixed;
  top: 0;
  -webkit-backdrop-filter: saturate(180%) blur(15px);
  -moz-backdrop-filter: saturate(180%) blur(15px);
  -o-backdrop-filter: saturate(180%) blur(15px);
  backdrop-filter: saturate(180%) blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 999;
}
/* Por defecto: ocultamos el botón de cerrar */
.menu-close {
  display: none;
}
@media (max-width: 1024px) {
  .nav-content {
    flex-direction: column;
    width: 100%;
  }
  .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 54px;
    padding: 0 10px;
  }
  .menu-toggle {
    display: block;
    font-size: 26px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
  }
  /* Botones del menú móvil con estilo de texto */
  .nav-items li button {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    padding: 8px 20px !important;
    font-size: 24px !important;
    font-weight: 600;
    color: white;
    text-align: left;
    cursor: pointer;
    background: none !important;
  }
  .nav-items li a button.buy-btn:hover {
    color: #BEBEBE;
  }
  .contenedor-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px 30px;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.5s ease, opacity 0.4s ease;
    pointer-events: none;
  }
  .contenedor-mobile.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 36px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    display: block;
    background: none;
    border: none;
  }
  /* Items del menú animados */
  .nav-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  .nav-items li {
    opacity: 0;
    width: 100%;
    transform: translateY(-20px);
    animation: fadeSlideInItem 0.5s forwards;
  }
  .nav-items li:nth-child(1) {
    animation-delay: 0.3s;
  }
  .nav-items li:nth-child(2) {
    animation-delay: 0.4s;
  }
  .nav-items li:nth-child(3) {
    animation-delay: 0.5s;
  }
  .nav-items li:nth-child(4) {
    animation-delay: 0.6s;
  }
  .nav-items li:nth-child(5) {
    animation-delay: 0.7s;
  }
  @keyframes fadeSlideInItem {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
/* -------------------- SECTIONS -------------------- */
section {
  width: 100%;
  min-height: 100vh;
  background: #000;
  color: #F5F5F7;
}
.scroll-mouse-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}
@keyframes scroll-dot-move {
  0% {
    top: 8px;
    opacity: 0.7;
  }
  50% {
    top: 20px;
    opacity: 0.3;
  }
  100% {
    top: 8px;
    opacity: 0.7;
  }
}
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border: 2px solid #FFF;
  border-radius: 24%;
  background: transparent;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.back-to-top-btn:hover {
  border: 2px solid #B7274C;
}
.back-to-top-btn svg {
  display: block;
  margin: auto;
  animation: up-down 1.2s infinite ease-in-out;
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  z-index: 10;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.scroll-indicator .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid #FFF;
  border-radius: 12px;
  position: relative;
}
.scroll-indicator .wheel {
  width: 10px;
  height: 10px;
  background-color: #FFF;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-dot-move 1.5s infinite;
  opacity: 0.7;
}
#scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: auto;
}
/* ------------ SCROLL SECTIONS ------------ */
.scroll-section {
  width: 100%;
  height: 100vh;
  /* Usa el alto completo de la ventana */
  position: relative;
  overflow: hidden;
}
/* Canvas Element */
.canvas-elem {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
/* Main & Message Element Positioning */
.main-elem,
.msg-elem {
  width: max-content;
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-48%, -50%);
  text-align: center;
  z-index: 5;
}
.msg-elem {
  transform: translate(-50%, 0%);
  opacity: 0;
  width: 100%;
}
.msg-elem p {
  font-size: 64px;
  font-weight: 700;
  line-height: 68px;
  /*border: 7px solid #ED1D1D;*/
}
@media (max-width: 1024px) {
  .msg-elem p {
    font-size: 25px;
    font-weight: 700;
    line-height: 29px;
    margin-top: -109px;
  }
}
/* SECTION #1 */
.section-01 .canvas-elem canvas {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* ------------ Contacto ------------ */
.modal-contacto {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  /* siempre presente para permitir animación */
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  /* 💡 efecto de desenfoque */
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-contacto.show {
  opacity: 1;
  pointer-events: auto;
}
.modal-dinamico {
  position: relative;
  background: #1A1A1A;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 430px;
  color: white;
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.3s ease;
}
.modal-contacto.show .modal-dinamico {
  transform: scale(1);
  opacity: 1;
}
.modal-cerrar-contacto {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease;
}
.modal-cerrar-contacto:hover {
  color: #B7274C;
}
/* Estilos para el formulario dentro del modal */
.form-whatsapp {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #FFF;
}
.form-whatsapp input,
.form-whatsapp textarea {
  padding: 10px;
  border-radius: 6px;
  border: none;
  background-color: #222;
  color: #FFF;
  font-size: 14px;
  margin-bottom: 6px;
}
.form-whatsapp button {
  background-color: #B7274C;
  color: white;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  margin-top: 10px;
}
.form-whatsapp button:hover {
  color: #FEFEFE;
  background-color: #931F3A;
}
.datos-empresa {
  margin-top: 10px;
  padding: 10px;
  font-size: 14px;
  color: #B9B9B9;
}
.datos-empresa a {
  color: #FFFFFF;
}
.datos-empresa a:hover {
  color: #B7274C;
}
