:root{
  --bg:#071018;
  --panel:#0b1720;
  --text:#eaf3ff;
  --muted:rgba(234,243,255,.78);
  --muted2:rgba(234,243,255,.62);
  --brand1:#20c4b8;
  --brand2:#1b6ea8;
  --brand3:#0f3b5a;
  --line:rgba(234,243,255,.12);
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --radius: 22px;
  --radius2: 16px;
  --max: 1140px;
}

*{box-sizing:border-box}
html,body{height:100%}
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";
  background: radial-gradient(1200px 600px at 15% 0%, rgba(32,196,184,.18), transparent 55%),
              radial-gradient(900px 600px at 85% 10%, rgba(27,110,168,.18), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
  overflow-x:hidden;
}

a{color:inherit}
img{max-width:100%; height:auto; display:block}

.container{width: min(var(--max), calc(100% - 42px)); margin:0 auto}

.skip{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip:focus{left:18px; top:18px; width:auto; height:auto; padding:10px 12px; background:#fff; color:#000; border-radius:10px; z-index:9999}

header{
  position:sticky; top:0; z-index:50;
  background: rgba(7,16,24,.66);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
}
.brand img{width:42px; height:42px; border-radius:12px; box-shadow:0 10px 18px rgba(0,0,0,.25)}
.brand .t{
  display:flex; flex-direction:column;
  line-height:1.1;
}
.brand .t strong{font-size:14px; letter-spacing:.2px}
.brand .t span{font-size:12px; color:var(--muted2)}

.menu{
  display:flex; align-items:center; gap:18px;
}
.menu a{
  text-decoration:none;
  font-size:13px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  transition: background .2s ease, color .2s ease;
}
.menu a:hover{background:rgba(234,243,255,.06); color:var(--text)}
.menu .cta{
  background: linear-gradient(135deg, rgba(32,196,184,.95), rgba(27,110,168,.95));
  color:#041017;
  font-weight:700;
  box-shadow: 0 12px 24px rgba(0,0,0,.25);
}
.menu .cta:hover{filter:brightness(1.04)}

.hamburger{
  display:none;
  width:44px; height:44px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(234,243,255,.04);
  color:var(--text);
  cursor:pointer;
}
.hamburger span{display:block; width:18px; height:2px; background:var(--text); margin:4px auto; border-radius:2px; opacity:.9}

.mobile{
  display:none;
  padding:0 0 16px;
}
.mobile a{
  display:block;
  text-decoration:none;
  color:var(--muted);
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(234,243,255,.03);
  margin-top:10px;
}
.mobile a.cta{
  background: linear-gradient(135deg, rgba(32,196,184,.95), rgba(27,110,168,.95));
  color:#041017; font-weight:800; border:0;
}

.hero{
  position:relative;
  padding:64px 0 24px;
}
.hero::before{
  content:"";
  position:absolute; inset:-2px;
  background:
    linear-gradient(180deg, rgba(7,16,24,.38) 0%, rgba(7,16,24,.88) 76%, var(--bg) 100%),
    url("assets/img/portada.jpg") center/cover no-repeat;
  filter:saturate(1.03) contrast(1.02);
  z-index:-2;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(650px 360px at 20% 25%, rgba(32,196,184,.22), transparent 60%),
    radial-gradient(650px 360px at 82% 30%, rgba(27,110,168,.22), transparent 60%);
  z-index:-1;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:end;
}

.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(234,243,255,.84);
  background:rgba(11,23,32,.55);
  border:1px solid var(--line);
  padding:10px 12px;
  border-radius:999px;
}
.kdot{width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg,var(--brand1),var(--brand2)); box-shadow:0 0 0 6px rgba(32,196,184,.12)}

h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height:1.05;
  letter-spacing:-.02em;
}
.sub{
  margin:0 0 18px;
  color:var(--muted);
  font-size: clamp(14px, 1.55vw, 18px);
  max-width: 56ch;
}

.hero-actions{
  display:flex; flex-wrap:wrap; gap:12px;
  margin-top:18px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius: 999px;
  border:1px solid var(--line);
  background:rgba(234,243,255,.05);
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{transform: translateY(-1px); background:rgba(234,243,255,.08); border-color:rgba(234,243,255,.22)}
.btn.primary{
  background: linear-gradient(135deg, rgba(32,196,184,.95), rgba(27,110,168,.95));
  color:#041017; border:0;
}
.btn.primary:hover{filter:brightness(1.04)}
.btn.ghost{background:rgba(11,23,32,.55)}
.badges{
  display:grid;
  gap:12px;
}
.card{
  border:1px solid var(--line);
  background: rgba(11,23,32,.62);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card.pad{padding:18px}
.stat{
  display:flex; gap:12px; align-items:flex-start;
}
.icon{
  width:42px; height:42px;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(32,196,184,.22), rgba(27,110,168,.22));
  border:1px solid rgba(234,243,255,.16);
  display:grid; place-items:center;
  flex:0 0 auto;
}
.stat strong{display:block; font-size:14px}
.stat span{display:block; color:var(--muted2); font-size:12.5px; margin-top:2px}

.section{
  padding:64px 0;
}
.section h2{
  margin:0 0 10px;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing:-.02em;
}
.section p.lead{
  margin:0 0 24px;
  color:var(--muted);
  max-width:70ch;
}

.grid-2{
  display:grid; grid-template-columns:1fr 1fr; gap:22px;
  align-items:stretch;
}

.pills{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.pill{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(234,243,255,.04);
  color:rgba(234,243,255,.88);
  font-size:12.5px;
}

.feature-list{display:grid; gap:10px; margin-top:12px}
.feature{
  display:flex; gap:10px; align-items:flex-start;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(234,243,255,.12);
  background:rgba(234,243,255,.03);
}
.feature b{font-size:13px}
.feature span{display:block; color:var(--muted2); font-size:12.5px; margin-top:2px}
.check{
  width:22px; height:22px; border-radius:7px;
  background: linear-gradient(135deg, rgba(32,196,184,.95), rgba(27,110,168,.95));
  color:#041017;
  display:grid; place-items:center; font-weight:900; font-size:14px;
  flex:0 0 auto;
  margin-top:2px;
}

.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.gitem{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(234,243,255,.14);
  background:rgba(11,23,32,.55);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  cursor: zoom-in;
}
.gitem img{width:100%; height:100%; object-fit:cover; transform:scale(1.02); transition: transform .35s ease}
.gitem:hover img{transform:scale(1.08)}
.g1{grid-column: span 6; aspect-ratio: 16/9}
.g2{grid-column: span 6; aspect-ratio: 16/9}
.g3{grid-column: span 4; aspect-ratio: 1/1}
.g4{grid-column: span 4; aspect-ratio: 1/1}
.g5{grid-column: span 4; aspect-ratio: 1/1}

.lightbox{
  position:fixed; inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center; justify-content:center;
  padding:24px;
  z-index:200;
}
.lightbox.open{display:flex}
.lightbox img{
  max-width:min(1100px, 96vw);
  max-height:86vh;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}
.lb-close{
  position:absolute; top:14px; right:14px;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
  font-size:18px;
}

.video-wrap{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(234,243,255,.14);
  background:rgba(11,23,32,.55);
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
}
.video-wrap iframe{width:100%; height:100%; border:0}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  align-items:start;
}
.contact-card .row{
  display:flex; gap:12px; align-items:flex-start;
  padding:12px 0;
  border-top:1px solid rgba(234,243,255,.10);
}
.contact-card .row:first-child{border-top:0}
.contact-card .row b{display:block; font-size:13px}
.contact-card .row span, .contact-card .row a{display:block; font-size:13px; color:var(--muted)}
small.note{color:var(--muted2)}

form{
  display:grid; gap:12px;
}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(234,243,255,.14);
  background:rgba(234,243,255,.04);
  color:var(--text);
  font-size:14px;
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(32,196,184,.55); box-shadow: 0 0 0 4px rgba(32,196,184,.12)}
textarea{min-height:120px; resize:vertical}

.footer{
  padding:30px 0;
  border-top:1px solid var(--line);
  color:var(--muted2);
  font-size:12.5px;
}

.floating{
  position:fixed;
  right:16px;
  bottom:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:210;
}
.fbtn{
  display:flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.14);
  background:rgba(11,23,32,.8);
  color:var(--text);
  backdrop-filter: blur(10px);
}
.fbtn svg{width:18px; height:18px}
.fbtn.whats{
  border:0;
  background: linear-gradient(135deg, rgba(37,211,102,.95), rgba(27,110,168,.45));
  color:#041017;
}
.fbtn.call{
  border:0;
  background: linear-gradient(135deg, rgba(32,196,184,.95), rgba(27,110,168,.95));
  color:#041017;
}

@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr; align-items:start}
  .badges{grid-template-columns:1fr; }
  .grid-2{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .menu{display:none}
  .hamburger{display:block}
  .mobile.open{display:block}
  .hero{padding:54px 0 12px}
  .section{padding:54px 0}
  .g1,.g2{grid-column: span 12}
  .g3,.g4,.g5{grid-column: span 6}
}
@media (max-width: 520px){
  .g3,.g4,.g5{grid-column: span 12}
  .btn{width:100%}
  .hero-actions{gap:10px}
}