/* =========================================================
   Superalo Studios — Landing "En construcción"
   Diseño: cine/3D, cinta + ruleta de videos
   ========================================================= */

:root{
  --bg: #050507;
  --bg2:#0b0b10;
  --glass: rgba(255,255,255,0.06);
  --glass2: rgba(255,255,255,0.10);
  --border: rgba(255,255,255,0.16);
  --border2: rgba(255,255,255,0.10);

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --muted2: rgba(255,255,255,0.55);

  --accent:#ff2a2a;
  --accent2:#ffb000;
  --shadow: rgba(0,0,0,0.55);

  --ringRadius: 360px;   /* se ajusta en breakpoints */
  --cellW: 560px;        /* se ajusta en breakpoints */
  --cellH: 340px;        /* se ajusta en breakpoints */
  --tiltX: 10deg;         /* inclinación 3D (se ajusta en móvil) */
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  background: radial-gradient(1200px 600px at 50% -10%, rgba(255,42,42,0.22), transparent 55%),
              radial-gradient(900px 500px at 20% 25%, rgba(255,176,0,0.12), transparent 65%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
button, input, textarea{ font:inherit; }

::selection{
  background: rgba(255,42,42,0.35);
}

/* ---------- Video de fondo ---------- */
.bg{
  position:fixed;
  inset:0;
  z-index:-3;
  overflow:hidden;
  background: radial-gradient(1200px 800px at 60% 20%, rgba(255,42,42,0.18), transparent 60%),
              linear-gradient(180deg, #050506, #0b0b10);
}

#bgVideo{
  position:absolute;
  inset:-3%;
  width:106%;
  height:106%;
  object-fit:cover;
  filter: contrast(1.08) saturate(1.15) brightness(0.62);
  transform: scale(1.02);
}

.bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
      radial-gradient(700px 400px at 50% 30%, rgba(255,255,255,0.05), transparent 60%),
      linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.55));
  z-index:1;
}

/* grano + rayas cine */
.bg::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 120px),
    repeating-linear-gradient(0deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 1px,
      transparent 9px);
  opacity:0.25;
  mix-blend-mode: overlay;
  animation: jitter 7s linear infinite;
}

@keyframes jitter{
  0%,100%{ transform: translateY(0px); }
  50%{ transform: translateY(-6px); }
}


/* ---------- Intro overlay ---------- */
.introOverlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  transition: opacity .45s ease, transform .45s ease;
}

.introOverlay.is-hidden{
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
}

#introVideo{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.12) brightness(0.88);
}

.introShade{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 50% 65%, rgba(0,0,0,0.12), rgba(0,0,0,0.78)),
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.78));
}

/* Botón play (intro) */
.introPlayBtn{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background:
    radial-gradient(60px 60px at 30% 25%, rgba(255,255,255,0.45), transparent 60%),
    linear-gradient(180deg, rgba(255,42,42,0.92), rgba(255,42,42,0.62));
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 30px 90px rgba(255,42,42,0.22), 0 18px 40px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  user-select: none;
}

.introPlayBtn::before{
  content:"";
  position:absolute;
  inset:-12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 0 0 0 rgba(255,42,42,0.30);
  animation: introPulse 1.6s ease-in-out infinite;
  pointer-events:none;
}

@keyframes introPulse{
  0%{ transform: scale(0.94); opacity: 0.75; }
  70%{ transform: scale(1.06); opacity: 0.22; }
  100%{ transform: scale(1.06); opacity: 0; }
}

.introPlayIcon{
  font-size: 36px;
  line-height: 1;
  transform: translateX(2px);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45));
}

.introPlayBtn:hover{ filter: brightness(1.05); }
.introPlayBtn:active{ transform: translate(-50%, -50%) scale(0.97); }

.introPlayBtn.is-hidden{
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity .25s ease, transform .25s ease;
}

@media (max-width: 520px){
  .introPlayBtn{ width: 92px; height: 92px; }
  .introPlayIcon{ font-size: 32px; }
}


.introSkipBtn{
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    radial-gradient(120px 80px at 30% 20%, rgba(255,255,255,0.55), transparent 60%),
    linear-gradient(180deg, rgba(255,42,42,0.98), rgba(255,42,42,0.74));
  color: #120204;
  font-weight: 900;
  letter-spacing: .35px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 30px 70px rgba(255,42,42,0.28);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.introSkipBtn::after{
  content: "⏭";
  font-size: 16px;
  transform: translateY(-1px);
}

.introSkipBtn:hover{ filter: brightness(1.06); }
.introSkipBtn:active{ transform: translateX(-50%) scale(0.98); }

@media (max-width: 520px){
  .introSkipBtn{
    width: calc(100% - 36px);
    justify-content: center;
    bottom: 18px;
  }
}

/* ---------- Contenedor general ---------- */
.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.top-rail{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px 18px 8px;
}

.hero{
  width:min(1200px, 92vw);
  margin: 10px auto 0;
  padding: 14px 18px 6px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 25px 80px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
}

.heroRow{
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 260px;
}

.brandLogo{
  width: 112px;
  height:auto;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,0.55));
}

.badges{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .2px;
}

.badgeDot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,42,42,0.15);
}

.badgeBtn{
  cursor:pointer;
  user-select:none;
  appearance:none;
  -webkit-appearance:none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.badgeBtn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,0.25); }
.badgeBtn:active{ transform: translateY(0px) scale(0.98); }

.tagline{
  color: var(--muted2);
  font-size: 13px;
}


.heroTitle{
  margin: 12px 0 4px;
  font-family: "Bebas Neue", system-ui, sans-serif;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 0.98;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.25),
    0 16px 35px rgba(0,0,0,0.6);
}

.heroTitle .accent{
  color: var(--accent);
  text-shadow:
    0 0 0 rgba(0,0,0,0),
    0 20px 45px rgba(0,0,0,0.65),
    0 0 28px rgba(255,42,42,0.32);
}

.heroSub{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.6;
  max-width: 78ch;
}

/* ---------- Ruleta / cinta ---------- */
.main{
  width:min(1200px, 92vw);
  margin: 18px auto 0;
  padding: 0 0 30px;
}

.carouselCard{
  position:relative;
  border-radius: 30px;
  padding: 18px 18px 14px;
  background: radial-gradient(1200px 600px at 50% 10%, rgba(255,42,42,0.12), transparent 65%),
              linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 35px 120px rgba(0,0,0,0.58);
  overflow:hidden;
}

/* brillo lateral 3D */
.carouselCard::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(500px 220px at 30% 0%, rgba(255,255,255,0.10), transparent 58%),
              radial-gradient(650px 260px at 75% 20%, rgba(255,176,0,0.08), transparent 62%);
  pointer-events:none;
  opacity:0.9;
}

.carouselHeader{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
  margin-bottom: 8px;
}

.carouselHeader h2{
  margin:0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--text);
  text-transform: uppercase;
}

.carouselHeader p{
  margin:0;
  color: var(--muted2);
  font-size: 13px;
}

.stage{
  display:grid;
  position:relative;
  grid-template-columns: 64px 1fr 64px;
  align-items:center;
  gap: 8px;
  margin-top: 10px;
}

.navBtn{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.92);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.navBtn:hover{ transform: translateY(-1px) scale(1.02); border-color: rgba(255,255,255,0.25); }
.navBtn:active{ transform: translateY(0px) scale(0.98); }

.navBtn svg{ width: 18px; height: 18px; }

.filmStage{
  position:relative;
  height: calc(var(--cellH) + 72px);
  display:grid;
  place-items:center;
  perspective: 1200px;
  perspective-origin: 50% 45%;
}

/* eje + rollo (decoración) */
.reelAxle{
  position:absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), rgba(255,255,255,0.10) 55%, rgba(0,0,0,0.45) 72%);
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  opacity:0.9;
  z-index:0;
}

.reelAxle.left{ left: calc(50% - (var(--cellW) / 2) - 38px); top: 50%; transform: translateY(-50%); }
.reelAxle.right{ left: calc(50% + (var(--cellW) / 2) + 20px); top: 50%; transform: translateY(-50%); }

.filmRing{
  position:relative;
  width: var(--cellW);
  height: var(--cellH);
  transform-style: preserve-3d;
  --count: 6;
  --angle: calc(360deg / var(--count));
  --current: 0;
  --radius: var(--ringRadius);
  transform: rotateX(var(--tiltX)) rotateY(calc(var(--current) * -1 * var(--angle)));
  transition: transform 780ms cubic-bezier(.2,.85,.18,1);
  z-index:1;
}

.filmCell{
  position:absolute;
  inset:0;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * var(--angle))) translateZ(var(--radius));
  display:grid;
  place-items:center;
  pointer-events:none; /* se activa solo el activo (ver .is-active) */
}

.filmSurface{
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.38));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 40px 90px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow:hidden;
  position:relative;
  transform: translateZ(2px);
}



/* ---------- Frame único (sin 3D) ---------- */
.filmSurfaceSingle{
  width: var(--cellW);
  height: var(--cellH);
  cursor: pointer;
  user-select: none;
}

.filmSurfaceSingle:focus{
  outline: none;
  box-shadow:
    0 50px 120px rgba(0,0,0,0.65),
    0 0 0 2px rgba(255,42,42,0.22),
    0 0 55px rgba(255,42,42,0.18);
}
/* perforaciones de la cinta */
.filmPerf{
  position:absolute;
  left: 16px;
  right: 16px;
  height: 12px;
  opacity: 0.65;
  background:
    repeating-linear-gradient(90deg,
      rgba(0,0,0,0.80) 0 12px,
      rgba(255,255,255,0.06) 12px 14px,
      rgba(0,0,0,0.80) 14px 28px);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.45));
}
.filmPerf.top{ top: 10px; border-radius: 10px; }
.filmPerf.bottom{ bottom: 10px; border-radius: 10px; }

.filmWindow{
  position:absolute;
  inset: 32px 18px;
  border-radius: 16px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.14);
  overflow:hidden;
  display:grid;
  place-items:center;
}

.filmWindow video{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: radial-gradient(600px 360px at 50% 30%, rgba(255,42,42,0.10), transparent 65%),
              linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.65));
}

.filmMeta{
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  pointer-events:none;
}

.filmTag{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
  font-size: 12px;
  letter-spacing: .2px;
}

.filmIndex{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: var(--muted2);
  font-size: 12px;
}

/* estado activo */
.filmCell.is-active{
  pointer-events:auto;
}

.filmCell.is-active .filmSurface{
  border-color: rgba(255,42,42,0.35);
  box-shadow:
    0 50px 120px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,42,42,0.18),
    0 0 55px rgba(255,42,42,0.18),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

/* tip "clickable" */
.tapHint{
  margin-top: 10px;
  text-align:center;
  color: var(--muted2);
  font-size: 13px;
}

/* controles debajo del carrusel */
.controlBar{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}

.controlLeft{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}

.ctrlBtn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.ctrlBtn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,0.25); }
.ctrlBtn:active{ transform: translateY(0px) scale(0.98); }

.ctrlBtn svg{ width: 18px; height: 18px; }

.nowPlaying{
  display:flex;
  flex-direction:column;
  gap: 2px;
  min-width: 240px;
}

.nowLabel{
  font-size: 12px;
  color: var(--muted2);
}

.nowTitle{
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: .1px;
}

/* ---------- Sección servicios ---------- */
.section{
  width:min(1200px, 92vw);
  margin: 18px auto 40px;
}

.servicesCard{
  border-radius: 30px;
  padding: 22px 18px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 110px rgba(0,0,0,0.55);
  position:relative;
  overflow:hidden;
}

.servicesCard::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(500px 240px at 12% 0%, rgba(255,42,42,0.14), transparent 60%),
    radial-gradient(680px 280px at 85% 25%, rgba(255,176,0,0.10), transparent 66%);
  pointer-events:none;
}

.servicesTop{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
}

.servicesTop h2{
  margin:0;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .35px;
}

.hook{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 70ch;
}

.serviceRain{
  position:relative;
  margin-top: 18px;
  height: 170px;
  border-radius: 24px;
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.25);
  overflow:hidden;
}

/* cada tag flota "llovizna" */
.serviceTag{
  position:absolute;
  display:inline-flex;
  align-items:center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .15px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
  transform: translateZ(0);
  will-change: transform;
  animation: drift var(--dur) ease-in-out infinite;
}
.serviceTag small{
  font-weight: 600;
  opacity: 0.85;
}

@keyframes drift{
  0%,100%{ transform: translate3d(0px, 0px, 0); }
  50%{ transform: translate3d(var(--dx), var(--dy), 0); }
}

.grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-top: 18px;
}

.card{
  position:relative;
  border-radius: 24px;
  padding: 18px 16px;
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 25px 70px rgba(0,0,0,0.55);
  overflow:hidden;
}

.card h3{
  margin: 0 0 10px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .25px;
}

.bullets{
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.bullets li{
  margin: 8px 0;
}


.contactLead{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 56ch;
}

.contactActions{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.contactActions .primaryBtn,
.contactActions .secondaryBtn{
  width: 100%;
}


.formRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  outline:none;
}

textarea{ resize: vertical; min-height: 110px; }

.input:focus, textarea:focus{
  border-color: rgba(255,42,42,0.35);
  box-shadow: 0 0 0 4px rgba(255,42,42,0.12);
}

.submitRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-top: 10px;
  flex-wrap:wrap;
}

.primaryBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,42,42,0.35);
  background: linear-gradient(180deg, rgba(255,42,42,0.95), rgba(255,42,42,0.75));
  color: #120204;
  font-weight: 900;
  letter-spacing: .2px;
  cursor:pointer;
  box-shadow: 0 25px 60px rgba(255,42,42,0.20);
  transition: transform .15s ease, filter .15s ease;
}
.primaryBtn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.primaryBtn:active{ transform: translateY(0px) scale(0.98); }

.formNote{
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.4;
}

/* ---------- Footer ---------- */
.footer{
  margin-top:auto;
  padding: 26px 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
}

.footerInner{
  width:min(1200px, 92vw);
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}

.footerBrand{
  display:flex;
  align-items:center;
  gap: 12px;
}

.footerBrand img.logoHead{
  width: 44px;
  height:auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.55));
}
.footerBrand img.logoWord{
  width: 150px;
  height:auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.55));
}

.social{
  display:flex;
  align-items:center;
  gap: 10px;
}

.social a{
  width: 44px;
  height: 44px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  transition: transform .15s ease, border-color .15s ease;
}
.social a:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,0.25); }
.social svg{ width: 18px; height: 18px; }

.copy{
  color: var(--muted2);
  font-size: 12px;
}

/* ---------- Modal Player ---------- */
.modal{
  position:fixed;
  inset:0;
  z-index: 50;
  display:none;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);
}

.modal.is-open{ display:block; }

.modalInner{
  width:min(1200px, 96vw);
  height: min(92vh, 900px);
  margin: 4vh auto 0;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  background: radial-gradient(900px 520px at 30% 0%, rgba(255,42,42,0.18), transparent 62%),
              linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.35));
  box-shadow: 0 55px 160px rgba(0,0,0,0.75);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.modalTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.modalMeta{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

.modalMeta img{
  width: 44px;
  height:auto;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.55));
}

.modalTitleWrap{
  display:flex;
  flex-direction:column;
  gap: 2px;
  min-width: 0;
}

.modalTitle{
  font-weight: 900;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.modalHint{
  font-size: 12px;
  color: var(--muted2);
}

.modalClose{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  cursor:pointer;
}
.modalClose:hover{ border-color: rgba(255,255,255,0.25); }

.modalVideoWrap{
  position:relative;
  flex: 1;
  margin: 14px;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

#modalVideo{
  width:100%;
  height:100%;
  object-fit: contain;
  background: radial-gradient(1200px 640px at 50% 30%, rgba(255,42,42,0.12), transparent 65%),
              linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.75));
}

.modalNav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.40);
  color: rgba(255,255,255,0.95);
  cursor:pointer;
  display:grid;
  place-items:center;
}
.modalNav:hover{ border-color: rgba(255,255,255,0.25); }
.modalNav.left{ left: 14px; }
.modalNav.right{ right: 14px; }
.modalNav svg{ width: 18px; height: 18px; }

.modalControls{
  padding: 0 14px 14px;
  display:grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 10px;
  align-items:center;
}

.seek{
  width:100%;
}

.range{
  width:100%;
  accent-color: var(--accent);
}

.time{
  font-size: 12px;
  color: var(--muted2);
  font-variant-numeric: tabular-nums;
}

.smallBtn{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  cursor:pointer;
  display:grid;
  place-items:center;
}
.smallBtn:hover{ border-color: rgba(255,255,255,0.25); }

.smallBtn svg{ width: 18px; height: 18px; }

/* playlist */
.playlist{
  padding: 0 14px 16px;
  display:flex;
  gap: 8px;
  overflow:auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.22) transparent;
}

.playItem{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.28);
  color: var(--text);
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease;
  min-width: 220px;
}
.playItem:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,0.25); }
.playItem.is-active{
  border-color: rgba(255,42,42,0.45);
  box-shadow: 0 0 0 4px rgba(255,42,42,0.12);
}

.playItemIndex{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: rgba(255,42,42,0.18);
  border: 1px solid rgba(255,42,42,0.30);
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.playItemTitle{
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}
.playItemMeta{
  font-size: 12px;
  color: var(--muted2);
  margin-top: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  :root{
    --ringRadius: 300px;
    --cellW: 520px;
    --cellH: 320px;
  }
  .stage{ grid-template-columns: 56px 1fr 56px; }
  .brandLogo{ width: 98px; }
}

@media (max-width: 720px){
  :root{
    --ringRadius: 220px;
    --cellW: min(100%, 520px);
    --cellH: 360px;
    --tiltX: 6deg;
  }
  .hero{ padding: 14px 14px 6px; }
  .brand{ min-width: auto; }
  .badges{ justify-content:flex-start; }
  .stage{
    grid-template-columns: 1fr;
    gap: 0;
  }
  .navBtn{
    position:absolute;
    top: calc(50% - 23px);
    width: 46px;
    height: 46px;
    border-radius: 16px;
    z-index: 12;
  }
  #prevBtn{ left: 10px; }
  #nextBtn{ right: 10px; }
  .reelAxle{ display:none; }
  .grid{ grid-template-columns: 1fr; }
  .formRow{ grid-template-columns: 1fr; }
  .modalControls{
    grid-template-columns: auto 1fr auto auto;
  }
  .time{ display:none; }
}

@media (max-width: 420px){
  :root{
    --cellH: 380px;
  }
  .filmWindow{ inset: 28px 14px; }
  .filmPerf{ left: 12px; right: 12px; height: 10px; }
  .filmPerf.top{ top: 8px; }
  .filmPerf.bottom{ bottom: 8px; }

  .navBtn{
    width: 44px;
    height: 44px;
    top: calc(50% - 22px);
  }
  #prevBtn{ left: 8px; }
  #nextBtn{ right: 8px; }
}

@media (prefers-reduced-motion: reduce){
  .bg::before{ animation: none; }
  .filmRing{ transition: none; }
  .serviceTag{ animation: none; }
}

/* ---------- Toast ---------- */
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.62);
  color: rgba(255,255,255,0.92);
  box-shadow: 0 30px 90px rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  z-index: 120;
  display:none;
  max-width: min(92vw, 560px);
  text-align:center;
}
.toast.show{ display:block; }

/* ---------- Icon toggles (play/mute) ---------- */
#togglePlay .ico-play{ display:block; }
#togglePlay .ico-pause{ display:none; }
html.is-playing #togglePlay .ico-play{ display:none; }
html.is-playing #togglePlay .ico-pause{ display:block !important; }

#toggleMute .ico-muted{ display:block; }
#toggleMute .ico-unmuted{ display:none; }
html.is-muted #toggleMute .ico-muted{ display:block; }
html.is-muted #toggleMute .ico-unmuted{ display:none; }
html:not(.is-muted) #toggleMute .ico-muted{ display:none; }
html:not(.is-muted) #toggleMute .ico-unmuted{ display:block !important; }

/* ---------- Reel discs (decoración 3D) ---------- */
.reelAxle::before{
  content:"";
  position:absolute;
  width: 120px;
  height: 120px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.22), rgba(0,0,0,0.55) 62%),
    repeating-conic-gradient(from 0deg, rgba(255,255,255,0.08) 0 12deg, transparent 12deg 24deg);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  opacity: 0.75;
}

.reelAxle::after{
  content:"";
  position:absolute;
  width: 34px;
  height: 34px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.45), rgba(0,0,0,0.65) 70%);
  border: 1px solid rgba(255,255,255,0.14);
  opacity: 0.9;
}

/* ---------- Botón secundario (Quiero aprender) ---------- */
.secondaryBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,176,0,0.35);
  background: linear-gradient(180deg, rgba(255,176,0,0.95), rgba(255,176,0,0.75));
  color: #120204;
  font-weight: 900;
  letter-spacing: .2px;
  cursor:pointer;
  box-shadow: 0 25px 60px rgba(255,176,0,0.18);
  transition: transform .15s ease, filter .15s ease;
}
.secondaryBtn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.secondaryBtn:active{ transform: translateY(0px) scale(0.98); }

/* ---------- Modal Cursos ---------- */
.quoteInner{
  height: min(72vh, 560px);
}

.learnInner{
  height: min(78vh, 640px);
}

.learnBody{
  padding: 14px 14px 16px;
  overflow:auto;
  flex: 1;
}

.learnText{
  margin: 0 0 12px;
  color: rgba(255,255,255,0.80);
  line-height: 1.6;
  font-size: 14px;
}

.checkRow{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.74);
  font-size: 13px;
  line-height: 1.35;
}

.checkRow input{
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent2);
}



/* ---------- Theme: Día (Light) ---------- */
html[data-theme="light"]{
  --bg: #f6f6fb;
  --bg2:#ffffff;
  --text: rgba(12,12,16,0.92);
  --muted: rgba(12,12,16,0.72);
  --muted2: rgba(12,12,16,0.55);
  --shadow: rgba(0,0,0,0.18);
}

html[data-theme="light"] #bgVideo{
  filter: contrast(1.03) saturate(1.05) brightness(0.92);
}

html[data-theme="light"] .bg::after{
  background:
      radial-gradient(700px 400px at 50% 30%, rgba(0,0,0,0.04), transparent 60%),
      linear-gradient(180deg, rgba(255,255,255,0.68), rgba(255,255,255,0.82));
}

html[data-theme="light"] .bg::before{
  opacity:0.12;
  mix-blend-mode: multiply;
}

html[data-theme="light"] .hero,
html[data-theme="light"] .carouselCard,
html[data-theme="light"] .servicesCard{
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.56));
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 25px 80px rgba(0,0,0,0.14);
}

html[data-theme="light"] .footer{
  background: rgba(255,255,255,0.62);
  border-top-color: rgba(0,0,0,0.10);
}

html[data-theme="light"] .badge,
html[data-theme="light"] .navBtn,
html[data-theme="light"] .ctrlBtn,
html[data-theme="light"] .card,
html[data-theme="light"] .social a,
html[data-theme="light"] .modalInner,
html[data-theme="light"] .modalClose,
html[data-theme="light"] .smallBtn,
html[data-theme="light"] .playItem,
html[data-theme="light"] .toast{
  background: rgba(255,255,255,0.72);
  border-color: rgba(0,0,0,0.12);
  color: rgba(12,12,16,0.92);
}

html[data-theme="light"] .badgeDot{
  box-shadow: 0 0 0 4px rgba(255,42,42,0.10);
}

html[data-theme="light"] .heroSub{ color: rgba(12,12,16,0.72); }
html[data-theme="light"] .tagline{ color: rgba(12,12,16,0.58); }

html[data-theme="light"] .carouselHeader p,
html[data-theme="light"] .tapHint,
html[data-theme="light"] .nowLabel,
html[data-theme="light"] .copy,
html[data-theme="light"] .modalHint,
html[data-theme="light"] .contactLead,
html[data-theme="light"] .learnText,
html[data-theme="light"] .checkRow{
  color: rgba(12,12,16,0.62);
}

html[data-theme="light"] .serviceRain{
  background: rgba(255,255,255,0.55);
  border-color: rgba(0,0,0,0.10);
}

html[data-theme="light"] .filmSurface{
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(0,0,0,0.08));
  border-color: rgba(0,0,0,0.10);
}

html[data-theme="light"] .filmWindow{
  background: rgba(255,255,255,0.55);
  border-color: rgba(0,0,0,0.10);
}

html[data-theme="light"] .filmTag{
  background: rgba(255,255,255,0.70);
  border-color: rgba(0,0,0,0.10);
  color: rgba(12,12,16,0.92);
}

html[data-theme="light"] .input,
html[data-theme="light"] textarea{
  background: rgba(255,255,255,0.68);
  border-color: rgba(0,0,0,0.12);
  color: rgba(12,12,16,0.92);
}

html[data-theme="light"] .input:focus,
html[data-theme="light"] textarea:focus{
  box-shadow: 0 0 0 4px rgba(255,42,42,0.10);
}


/* =========================================================
   Presentación + accesos (Proyectos / Academia / Servicios)
   ========================================================= */

.showcaseCard{
  position:relative;
  border-radius: 30px;
  padding: 18px 18px 18px;
  background: radial-gradient(1200px 600px at 50% 10%, rgba(255,42,42,0.10), transparent 65%),
              linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 35px 120px rgba(0,0,0,0.55);
  overflow:hidden;
}

.showcaseCard::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(900px 300px at 10% 15%, rgba(255,176,0,0.08), transparent 60%),
              radial-gradient(700px 360px at 90% 25%, rgba(255,42,42,0.10), transparent 62%);
  pointer-events:none;
}

.showcaseVideoFrame{
  position:relative;
  width: 100%;
  border-radius: 24px;
  overflow:hidden;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 90px rgba(0,0,0,0.45);
  aspect-ratio: 16 / 9;
}

/* Reutilizamos perforaciones de cinta */
.showcaseVideoFrame .filmPerf{
  left: 18px;
  right: 18px;
}

.showcaseWindow{
  position:absolute;
  inset: 30px 18px;
  border-radius: 16px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.14);
  overflow:hidden;
}

.showcaseWindow video{
  width:100%;
  height:100%;
  object-fit: contain;
  background: radial-gradient(600px 360px at 50% 30%, rgba(255,42,42,0.10), transparent 65%),
              linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.65));
}

.launchList{
  position:relative;
  margin-top: 16px;
  display:grid;
  gap: 12px;
}

.launchBtn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  width:100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(140px 90px at 18% 25%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  color: var(--text);
  box-shadow: 0 14px 55px rgba(0,0,0,0.36);
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.launchBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,42,42,0.22);
  box-shadow: 0 18px 70px rgba(0,0,0,0.44), 0 0 40px rgba(255,42,42,0.10);
}

.launchBtn:active{
  transform: translateY(0px) scale(0.99);
}

/* Botón “Más Contenido” (YouTube) */
.ytMoreBtn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  width:100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(180deg, rgba(255,0,0,0.98), rgba(210,0,0,0.86));
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .35px;
  box-shadow: 0 18px 70px rgba(255,0,0,0.22);
  cursor:pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.ytMoreBtn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 24px 85px rgba(255,0,0,0.28);
}

.ytMoreBtn:active{
  transform: translateY(0px) scale(0.99);
}

.ytPlay{
  display:inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 10px 26px rgba(0,0,0,0.26);
  transform: translateY(-1px);
}

@media (max-width: 540px){
  .ytMoreBtn{ padding: 14px 16px; }
}
.launchTitle{
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.launchArrow{
  font-size: 22px;
  color: var(--accent2);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}

@media (max-width: 540px){
  .showcaseVideoFrame{ aspect-ratio: 10 / 16; }
  .showcaseWindow{ inset: 28px 16px; }
  .launchTitle{ font-size: 22px; }
  .launchBtn{ padding: 14px 16px; }
}

/* Disclaimer del intro */
.introDisclaimer{
  position:absolute;
  left: 50%;
  bottom: 94px;
  transform: translateX(-50%);
  width: min(860px, calc(100% - 28px));
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  line-height: 1.25;
  text-align:center;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.45);
}

@media (max-width: 520px){
  .introDisclaimer{ bottom: 102px; font-size: 12px; }
}


/* Honeypot anti-spam */
.hp{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}


/* Estados disabled (formularios) */
button:disabled{
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  filter: none !important;
}
