:root{
  --bg:#070b1a;
  --bg2:#0b1330;
  --card:#0f1b3f;
  --text:#eef2ff;
  --muted:rgba(238,242,255,.75);
  --line:rgba(255,255,255,.10);
  --accent:#4b6bff;
  --accent2:#00c2ff;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --radius: 20px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", Helvetica, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 20% 0%, rgba(75,107,255,.35), transparent 55%),
    radial-gradient(900px 700px at 95% 10%, rgba(0,194,255,.22), transparent 55%),
    linear-gradient(180deg, var(--bg), #050714 60%, #040610);
}

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

.topbar{
  background: rgba(255,255,255,.06);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar__inner{
  display:flex; gap:12px; align-items:center;
  padding:10px 0;
  font-size:14px;
}
.topbar__item{display:flex; gap:10px; align-items:center; color:var(--muted)}
.topbar__item:hover{color:var(--text)}
.sep{color:rgba(255,255,255,.25)}
.dot{width:8px;height:8px;border-radius:99px;background:var(--accent2); box-shadow:0 0 0 6px rgba(0,194,255,.12)}

.header{
  position:sticky; top:0; z-index:50;
  background: rgba(5,7,20,.55);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand__logo{
  height:44px; width:auto;
  border-radius:14px;
  background: rgba(255,255,255,.9);
  padding:8px;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.nav{display:flex; gap:18px; align-items:center}
.nav a{color:var(--muted); font-weight:600; font-size:14px}
.nav a:hover{color:var(--text)}
.navbtn{
  display:none;
  width:44px; height:44px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px;
}
.navbtn span{
  display:block; height:2px; width:100%;
  background: rgba(255,255,255,.88);
  margin:6px 0;
  border-radius:99px;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:13px 18px;
  border-radius:16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#041029;
  font-weight:800;
  box-shadow: 0 16px 36px rgba(75,107,255,.22);
  border:0;
  cursor:pointer;
}
.btn:hover{filter:brightness(1.03)}
.btn--ghost{
  background: rgba(255,255,255,.06);
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}
.btn--small{padding:10px 14px; border-radius:14px; font-size:14px}

.hero{
  position:relative;
  padding:58px 0 34px;
}
.hero__bg{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.42)),
    url("../img/portada.png") center/cover no-repeat;
  opacity:.22;
  filter:saturate(1.1);
}
.hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:stretch;
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight:700;
  letter-spacing:.2px;
}
.hero h1{
  margin:14px 0 12px;
  font-size:clamp(34px, 4.2vw, 54px);
  line-height:1.05;
}
.accent{background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip:text; background-clip:text; color:transparent}
.lead{color:var(--muted); font-size:16.5px; line-height:1.7; max-width:60ch}
.hero__cta{display:flex; gap:12px; margin:18px 0 14px; flex-wrap:wrap}

.badges{display:flex; gap:10px; flex-wrap:wrap}
.badge{
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: rgba(238,242,255,.85);
  font-weight:650;
  font-size:13.5px;
}

.hero__card{
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
}
.hero__img{width:100%; height:100%; object-fit:cover; min-height: 360px}
.hero__cardbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  padding:16px;
  border-top:1px solid var(--line);
}
.mini__title{font-weight:800}
.mini__text{color:var(--muted); font-size:13.5px; margin-top:4px}
.mini__action{
  padding:10px 14px;
  border-radius:14px;
  background: rgba(255,255,255,.08);
  border:1px solid var(--line);
  font-weight:800;
}
.mini__action:hover{background: rgba(255,255,255,.11)}

.section{padding:56px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section__head{margin-bottom:22px}
.section__head h2{
  margin:0 0 8px;
  font-size: clamp(24px, 2.6vw, 36px);
}
.section__head p{margin:0; color:var(--muted)}

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

.card{
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.card h3{margin:0 0 10px}
.card p{margin:0; color:var(--muted); line-height:1.65}

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.gitem{
  border:0;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius:18px;
  padding:0;
  overflow:hidden;
  cursor:pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.gitem img{
  width:100%;
  height:170px;
  object-fit:cover;
  transition: transform .25s ease;
}
.gitem:hover img{transform: scale(1.04)}

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

.embed iframe{
  width:100%;
  min-height:520px;
  border-radius:18px;
}

.checklist{margin:0; padding-left:18px; color:rgba(238,242,255,.86); line-height:1.8}
.note{
  margin-top:14px;
  padding:14px;
  border-radius:18px;
  background: rgba(75,107,255,.14);
  border:1px solid rgba(75,107,255,.28);
  color:rgba(238,242,255,.92);
}

.contactlist{display:grid; gap:10px; margin-top:12px}
.contactitem{
  padding:12px 14px;
  border-radius:16px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
  color:rgba(238,242,255,.9);
  font-weight:700;
}
.contactitem:hover{background: rgba(255,255,255,.08)}
.ctaRow{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap}
.small{font-size:13px}
.muted{color:var(--muted)}
.frow{display:grid; gap:8px; margin-bottom:12px}
label{font-weight:800; font-size:14px}
input, textarea{
  width:100%;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.25);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(0,194,255,.55); box-shadow:0 0 0 4px rgba(0,194,255,.10)}

.map{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
.map iframe{
  width:100%;
  height:420px;
  border:0;
}

.footer{
  padding:26px 0;
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.footer__inner{
  display:flex;
  gap:18px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.footer__brand{display:flex; gap:12px; align-items:center}
.footer__brand img{
  height:44px; width:auto;
  border-radius:14px;
  background:#fff;
  padding:8px;
}
.footer__title{font-weight:900}
.footer__sub{color:var(--muted); font-size:13.5px; margin-top:2px}
.footer__links{display:flex; gap:14px; flex-wrap:wrap}
.footer__links a{color:var(--muted); font-weight:700}
.footer__links a:hover{color:var(--text)}
.footer__copy{max-width:520px}
.footer__copy .small{margin-bottom:6px}

.wafloat, .callfloat{
  position:fixed;
  right:18px;
  width:54px; height:54px;
  border-radius:18px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.10);
  border:1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  z-index:60;
}
.wafloat{bottom:18px}
.callfloat{bottom:82px}
.wafloat:hover, .callfloat:hover{background: rgba(255,255,255,.14)}
.waicon{font-size:22px}

.lightbox{
  position:fixed; inset:0;
  display:none;
  background: rgba(0,0,0,.82);
  z-index:70;
  padding:24px;
}
.lightbox.open{display:grid; place-items:center}
.lightbox img{
  width:min(980px, 92vw);
  max-height: 82vh;
  object-fit:contain;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.lightbox__close{
  position:absolute;
  top:16px; right:16px;
  width:46px; height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.10);
  color:var(--text);
  font-size:18px;
  cursor:pointer;
}

.reveal{opacity:0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease}
.reveal.in{opacity:1; transform:none}

@media (max-width: 980px){
  .hero__inner{grid-template-columns:1fr; }
  .hero__img{min-height: 320px}
  .grid--3{grid-template-columns: repeat(2, 1fr)}
  .gallery{grid-template-columns: repeat(2, 1fr)}
  .navbtn{display:inline-block}
  .nav{
    position:fixed;
    inset: 74px 12px auto 12px;
    padding:14px;
    border-radius:22px;
    background: rgba(8,12,28,.92);
    border:1px solid var(--line);
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    gap:10px;
  }
  .nav.open{display:flex}
  .nav a{padding:10px 12px; border-radius:14px}
  .nav a:hover{background: rgba(255,255,255,.06)}
}

@media (max-width: 640px){
  .grid--2{grid-template-columns:1fr}
  .grid--3{grid-template-columns:1fr}
  .topbar__inner{flex-direction:column; align-items:flex-start}
  .sep{display:none}
  .callfloat{display:none}
}
