:root{
  --ink:#ecf5ff;
  --muted:rgba(236,245,255,.78);

  --brand:#1f8fff;
  --brand2:#35d1ff;

  --bg:#070b12;
  --line:rgba(255,255,255,.12);
  --line2:rgba(255,255,255,.08);

  --shadow: 0 24px 70px rgba(0,0,0,.45);
  --r:18px;

  --ig1:#f58529;
  --ig2:#dd2a7b;
  --ig3:#8134af;
  --ig4:#515bd4;

  --wa:#25D366;

  --ath:#00AEEF;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background: var(--bg);
  overflow:hidden;
}

a{color:inherit; text-decoration:none}
.container{width:min(1100px, 92vw); margin-inline:auto}

/* ===== TOPBAR INFO ===== */
.topbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index:60;
  background:rgba(10,14,24,.70);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line2);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 0;
}
.topbar__left{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.topchip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  font-weight:800;
  font-size:12px;
  opacity:.95;
}
.topchip--muted{
  background:rgba(0,0,0,.18);
  opacity:.85;
}
.ic{opacity:.95}
.topbar__right{display:flex; gap:10px; align-items:center}

/* Social buttons (real icons + colors) */
.soc{
  width:40px; height:34px;
  border-radius:12px;
  display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
}
.soc svg{width:18px;height:18px; fill:#fff}
.soc--ig{
  border:none;
  background: linear-gradient(135deg, var(--ig1), var(--ig2), var(--ig3), var(--ig4));
  box-shadow:0 14px 36px rgba(221,42,123,.22);
}
.soc--wa{
  border:none;
  background: var(--wa);
  box-shadow:0 14px 36px rgba(37,211,102,.18);
}

/* ===== MAST (logo fuera + nav) ===== */
.mast{
  position:fixed;
  top:52px;
  left:0; right:0;
  z-index:55;
  background:rgba(7,11,18,.55);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line2);
}
.mast__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 0;
}
.brandOut{display:flex; align-items:center; min-width:0}
.logo{height:38px; width:auto}
.brandFallback{
  font-weight:900;
  letter-spacing:.02em;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  opacity:.95;
}
.nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.nav a{
  font-weight:900;
  opacity:.85;
  font-size:13px;
}
.nav a:hover{opacity:1}

/* ===== Buttons ===== */
.btn{
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--ink);
  padding:11px 16px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:.01em;
  transition:.15s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.btn:hover{transform: translateY(-1px)}
.btn--primary{
  border:none;
  background:linear-gradient(90deg, var(--brand), var(--brand2));
  box-shadow:0 18px 40px rgba(31,143,255,.22);
}
.btn--ghost{background:rgba(0,0,0,.22)}
.link{
  color:#8bd3ff;
  text-decoration:underline;
  text-underline-offset:2px;
}

/* ATH button */
.btn--ath{
  border:none;
  background: var(--ath);
  color:#fff;
  box-shadow:0 18px 40px rgba(0,174,239,.22);
}
.btn--ath:hover{filter:brightness(1.08)}
.athLogo{
  width:18px;height:18px;
  display:inline-block;
  position:relative;
}
.athLogo::before{
  content:"";
  position:absolute; inset:0;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M3 12h4l2-6 4 12 2-6h6'/%3E%3C/svg%3E");
  opacity:.95;
}

/* ===== Horizontal Deck ===== */
.deck{
  position:relative;
  height:100%;
  padding-top: 104px;
}
.slides{
  height: calc(100vh - 156px);
  display:flex;
  will-change: transform;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.slide{
  flex:0 0 100vw;
  height: 100%;
  position:relative;
  overflow:hidden;
}

/* ✅ Fondo unificado (mismo para TODOS los slides) */
.bg{
  position:absolute;
  inset:0;
  background: url("assets/hero-bg.jpg") center/cover no-repeat;
  transform: scale(1.03);
  filter: saturate(1.06) contrast(1.06);
}
.shade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 80% 30%, rgba(31,143,255,.26), transparent 62%),
    radial-gradient(820px 520px at 10% 70%, rgba(53,209,255,.16), transparent 65%),
    linear-gradient(180deg, rgba(7,11,18,.35), rgba(7,11,18,.58));
}

/* ===== HERO OPEN CONCEPT ===== */
.hero{display:flex; align-items:center}
.heroOpen{
  position:relative;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 18px 0 18px;
}
.heroOpen__badge{
  align-self:center;
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:12px;
  color: rgba(236,245,255,.86);
  text-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.heroOpen__title{
  margin:14px 0 10px;
  text-align:center;
  font-size: clamp(34px, 4.8vw, 70px);
  line-height:1.02;
  letter-spacing:-.03em;
  text-shadow: 0 14px 60px rgba(0,0,0,.55);
}
.heroOpen__sub{
  margin:0 auto;
  max-width: 820px;
  text-align:center;
  font-size: 15px;
  line-height:1.7;
  color: rgba(236,245,255,.80);
  text-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.heroOpen__cta{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.heroOpen__features{
  margin-top:22px;
  width:min(980px, 92vw);
  align-self:center;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  padding:14px 16px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}
.feat{display:flex; align-items:center; gap:12px; min-width:0}
.feat__icon{
  width:44px; height:44px;
  border-radius:999px;
  display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  flex:0 0 auto;
}
.feat__t{font-weight:900; font-size:13px; color: rgba(236,245,255,.92); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.feat__s{margin-top:2px; font-size:12px; color: rgba(236,245,255,.68); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

/* ===== OPEN CONTENT SLIDES ===== */
.openWrap{
  position:relative;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
  padding: 18px 0;
}
.openHead{max-width:900px}
.openTitle{
  margin:0;
  font-size: clamp(26px, 3.2vw, 44px);
  letter-spacing:-.03em;
  line-height:1.05;
  text-shadow: 0 14px 60px rgba(0,0,0,.35);
}
.openSub{
  margin:10px 0 0;
  color: rgba(236,245,255,.74);
  line-height:1.65;
  font-size: 15px;
  max-width: 860px;
}
.openActions{display:flex; gap:10px; flex-wrap:wrap}

/* Lista abierta */
.openList{
  display:flex;
  flex-direction:column;
  gap:10px;
  width:min(980px, 92vw);
}
.openItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
  transition:.15s ease;
}
.openItem:hover{
  transform: translateY(-1px);
  border-color: rgba(53,209,255,.22);
  background: rgba(0,0,0,.18);
}
.openLeft{display:flex; align-items:center; gap:12px; min-width:0}
.openText{display:flex; flex-direction:column; min-width:0}
.openName{font-weight:900; font-size:14px}
.openDesc{margin-top:2px; font-size:12px; color: rgba(236,245,255,.64)}
.openCta{
  font-weight:900;
  font-size:12px;
  padding:8px 12px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(31,143,255,.22), rgba(53,209,255,.18));
  border:1px solid rgba(53,209,255,.20);
  white-space:nowrap;
}

.openBullets{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width: 900px;
  color: rgba(236,245,255,.80);
  line-height:1.7;
  font-size:15px;
}
.bulletLine{display:flex; gap:10px; align-items:flex-start}
.bDot{
  margin-top:8px;
  width:8px; height:8px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
  flex:0 0 auto;
}

.openHeroLine{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  width:min(980px, 92vw);
  padding:14px 14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
}
.openCallout__t{font-weight:900}
.openCallout__s{margin-top:3px; font-size:12px; color: rgba(236,245,255,.62)}

/* Final */
.finalRow{display:flex; gap:10px; flex-wrap:wrap}
.finalMini{display:flex; flex-wrap:wrap; gap:12px; color: rgba(236,245,255,.66); font-size: 12px}
.miniP{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
}

/* ===== Dots ===== */
.dots{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:70px;
  display:flex;
  gap:8px;
  z-index:30;
}
.dotBtn{
  width:10px; height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  cursor:pointer;
}
.dotBtn.is-active{
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border-color: rgba(53,209,255,.35);
}

/* ===== Arrows ===== */
.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.22);
  color: rgba(236,245,255,.92);
  font-size:28px;
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:25;
}
.arrow--left{left:16px}
.arrow--right{right:16px}
.arrow:hover{transform:translateY(-50%) scale(1.02)}

/* ===== Footer ===== */
.footer{
  position:absolute;
  left:0; right:0;
  bottom:0;
  border-top:1px solid rgba(255,255,255,.06);
  background:rgba(7,11,18,.98);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:14px 0 16px;
}
.foot__brand{font-weight:900}
.foot__mini{color:rgba(236,245,255,.55); font-size:12px}

/* Color dots */
.dot{width:10px;height:10px;border-radius:999px;box-shadow:0 0 0 3px rgba(255,255,255,.07)}
.dot--a{background:#35d1ff}
.dot--b{background:#1f8fff}
.dot--c{background:#22c55e}
.dot--d{background:#f59e0b}

/* Responsive */
@media (max-width: 980px){
  .nav{display:none}
  .slides{height: calc(100vh - 148px)}
  .heroOpen__features{grid-template-columns:1fr}
  .arrow{display:none}
}
