:root{
  --bg:#07090c;
  --bg2:#0d1117;
  --card:#0b0f14cc;
  --text:#e8eef6;
  --muted:#9fb0c6;
  --accent:#27a3ff;
  --accent2:#1ad1ff;
  --line:#1b2635;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:26px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue";
  background: radial-gradient(1200px 700px at 15% -10%, rgba(39,163,255,.25), transparent 60%),
              radial-gradient(900px 600px at 110% 10%, rgba(26,209,255,.16), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{width:min(1140px, 92vw); margin:0 auto}

.skip{
  position:absolute; left:-999px; top:10px;
  background:#fff; color:#000; padding:10px 14px; border-radius:10px;
}
.skip:focus{left:10px; z-index:9999}

.sr{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(7,9,12,.55);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; padding:10px 0; gap:16px}

.brand{display:flex; align-items:center; gap:12px}
.brand__logo{width:42px; height:42px; object-fit:cover; border-radius:12px; border:1px solid rgba(255,255,255,.12)}
.brand__text{display:flex; flex-direction:column; line-height:1.1}
.brand__name{letter-spacing:.12em; font-size:.92rem}
.brand__name b{color:var(--accent)}
.brand__tag{font-size:.78rem; color:var(--muted)}

.nav{display:flex; align-items:center; gap:10px}
.nav__toggle{
  width:44px; height:44px; border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  border-radius:14px;
  display:none;
  align-items:center; justify-content:center;
  gap:4px; flex-direction:column;
  cursor:pointer;
}
.nav__toggle span{display:block; width:18px; height:2px; background:rgba(255,255,255,.85); border-radius:2px}
.nav__menu{display:flex; align-items:center; gap:16px}
.nav__menu a{color:rgba(232,238,246,.92); font-weight:600; font-size:.92rem; opacity:.9}
.nav__menu a:hover{opacity:1}
.nav__menu a.btn{opacity:1}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(39,163,255,1), rgba(26,209,255,1));
  color:#061018;
  font-weight:800;
  border:0;
  box-shadow: 0 10px 28px rgba(39,163,255,.18);
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover{transform: translateY(-1px); filter:saturate(1.05)}
.btn--ghost{
  background:rgba(255,255,255,.06);
  color:var(--text);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:none;
}
.btn--sm{padding:10px 12px; border-radius:12px; font-size:.9rem}

.hero{position:relative; padding:86px 0 28px; overflow:hidden}
.hero__bg{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(7,9,12,.35), rgba(7,9,12,.88)),
    url("../img/portada.jpg") center/cover no-repeat;
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.02);
}
.hero__content{position:relative; padding:12px 0 18px}
.hero__card{
  width:min(680px, 100%);
  background: rgba(11,15,20,.62);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  padding:24px;
  box-shadow: var(--shadow);
}
.hero h1{margin:0 0 10px; font-size: clamp(1.65rem, 3.2vw, 2.35rem); line-height:1.15}
.hero p{margin:0 0 18px; color:rgba(232,238,246,.92)}
.accent{color:var(--accent2)}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap}
.hero__badges{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap}
.badge{
  font-size:.82rem;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(232,238,246,.92);
}

.hero__stats{position:relative; margin-top:18px; display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.stat{
  background: rgba(11,15,20,.55);
  border:1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding:14px 14px;
  display:flex; gap:10px; align-items:center;
}
.stat__num{font-size:1.4rem}
.stat__txt{color:rgba(232,238,246,.9); font-weight:650; font-size:.95rem}

.section{padding:56px 0}
.section--alt{
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.03), transparent);
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.section__head{margin-bottom:18px}
.section__head h2{margin:0 0 6px; font-size: clamp(1.35rem, 2.2vw, 1.85rem)}
.section__head p{margin:0; color:var(--muted)}

.grid{display:grid; gap:14px}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--2{grid-template-columns:repeat(2,1fr)}

.card{
  background: rgba(11,15,20,.58);
  border:1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 8px 26px rgba(0,0,0,.25);
}
.card h3{margin:0 0 6px}
.card p{margin:0; color:rgba(232,238,246,.9)}

.carousel{display:flex; align-items:center; gap:10px}
.carousel__btn{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.95);
  cursor:pointer;
  font-size:1.6rem;
  display:grid; place-items:center;
}
.carousel__track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns: minmax(260px, 320px);
  gap:12px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  padding:6px 2px;
  scrollbar-width:thin;
}
.carousel__track::-webkit-scrollbar{height:10px}
.carousel__track::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12); border-radius:999px}
.promo{
  margin:0;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  scroll-snap-align:start;
  background: rgba(0,0,0,.25);
}
.promo img{width:100%; height:100%; object-fit:cover}

.note{margin-top:14px}
.note p{margin:0; color:rgba(232,238,246,.92)}

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.gitem{
  padding:0; border:0; cursor:pointer; background:transparent;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  transition: transform .15s ease;
}
.gitem:hover{transform: translateY(-2px)}
.gitem img{width:100%; height:180px; object-fit:cover}

.video{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  background:rgba(0,0,0,.25);
}
.video iframe{width:100%; aspect-ratio:16/9; border:0}

.map{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  min-height:340px;
  background:rgba(0,0,0,.25);
}
.map iframe{width:100%; height:100%; border:0}

.form label{display:block; margin:10px 0 0; color:rgba(232,238,246,.92); font-weight:700}
.form input, .form textarea{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline:none;
}
.form input:focus, .form textarea:focus{border-color: rgba(39,163,255,.55)}
.form button{margin-top:12px}

.big{font-size:1.05rem}
.muted{color:var(--muted)}

.social{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px}
.social__btn{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  font-weight:700;
}

.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,.85);
  display:none;
  align-items:center; justify-content:center;
  padding:22px;
  z-index:80;
}
.lightbox.is-open{display:flex}
.lightbox img{
  max-width:min(1100px, 96vw);
  max-height:86vh;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.lightbox__close{
  position:absolute; top:14px; right:16px;
  width:46px; height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:1.9rem;
  cursor:pointer;
}

.wafloat{
  position:fixed;
  right:16px; bottom:16px;
  z-index:90;
  display:flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(11,15,20,.72);
  box-shadow: var(--shadow);
}
.waicon{font-size:1.1rem}
.watext{font-weight:800}

.footer{
  padding:24px 0;
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(7,9,12,.7);
}
.footer__inner{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap}
.footer__left{display:flex; align-items:center; gap:12px}
.footer__logo{width:40px; height:40px; border-radius:12px; border:1px solid rgba(255,255,255,.12); object-fit:cover}
.footer p{margin:0}
.footer a{color:var(--accent2); text-decoration:underline; text-underline-offset:4px}

.reveal{
  opacity:0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}

/* Responsive */
@media (max-width: 980px){
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:repeat(3,1fr)}
}
@media (max-width: 720px){
  .nav__toggle{display:flex}
  .nav__menu{
    position:absolute;
    top:64px; right:4vw;
    width:min(320px, 92vw);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(7,9,12,.92);
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open{display:flex}
  .nav__menu a{padding:10px 10px; border-radius:12px; background:rgba(255,255,255,.03)}
  .nav__menu a.btn{background: linear-gradient(135deg, rgba(39,163,255,1), rgba(26,209,255,1)); color:#061018}
  .hero{padding-top:84px}
  .hero__stats{grid-template-columns:1fr}
  .grid--2{grid-template-columns:1fr}
  .grid--3{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .gitem img{height:150px}
}