:root{
  --bg:#071a24;
  --bg2:#081f2c;
  --card:rgba(255,255,255,.08);
  --card2:rgba(255,255,255,.12);
  --text:#eaf4ff;
  --muted:rgba(234,244,255,.78);
  --line:rgba(234,244,255,.18);
  --accent:#f0b429; /* dorado */
  --accent2:#1fd1ff;
  --shadow: 0 18px 45px rgba(0,0,0,.35);
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 700px at 18% 10%, rgba(31,209,255,.14), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(240,180,41,.12), transparent 60%),
              linear-gradient(180deg, var(--bg), #031017 60%, #020b10);
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.container{width:min(1120px, calc(100% - 40px)); margin:0 auto}

.skip{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:#000; border:1px solid var(--line); border-radius:12px; z-index:9999}

.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(160%) blur(12px);
  background:rgba(7,26,36,.65);
  border-bottom:1px solid rgba(234,244,255,.10);
}

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

.brand{display:flex; align-items:center; gap:12px}
.brand__mark{
  width:44px; height:44px;
  border-radius:14px;
  display:grid; place-items:center;
  background:linear-gradient(145deg, rgba(240,180,41,.25), rgba(31,209,255,.12));
  border:1px solid rgba(234,244,255,.14);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.brand__mark svg{width:28px; height:28px; color:var(--accent)}
.brand__text strong{letter-spacing:.08em}
.brand__text small{display:block; font-weight:500; opacity:.8; margin-top:2px}

.menu{display:flex; gap:18px; align-items:center}
.menu a{opacity:.9; font-weight:600; font-size:.95rem}
.menu a:hover{opacity:1}

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

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(240,180,41,.95), rgba(240,180,41,.78));
  color:#0a2030;
  font-weight:800;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 12px 26px rgba(240,180,41,.18);
  transform: translateZ(0);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.btn:hover{transform: translateY(-1px); filter:saturate(1.05); box-shadow:0 14px 32px rgba(240,180,41,.23)}
.btn:active{transform: translateY(0)}
.btn--ghost{
  background:rgba(255,255,255,.06);
  color:var(--text);
  border:1px solid rgba(234,244,255,.18);
  box-shadow:none;
}

.burger{display:none; width:44px; height:44px; border-radius:14px; border:1px solid rgba(234,244,255,.18); background:rgba(255,255,255,.06); padding:10px; cursor:pointer}
.burger span{display:block; height:2px; background:rgba(234,244,255,.92); margin:6px 0; border-radius:99px}

.hero{position:relative; min-height:78vh; display:grid; place-items:center; overflow:hidden}
.hero__bg{
  position:absolute; inset:0;
  background-image:url('../img/portada.png');
  background-size:cover;
  background-position:center;
  filter:saturate(1.08) contrast(1.05);
  transform:scale(1.03);
}
.hero__overlay{
  position:absolute; inset:0;
  background: radial-gradient(1100px 520px at 20% 20%, rgba(7,26,36,.42), rgba(7,26,36,.88) 55%, rgba(3,11,16,.96) 100%),
              linear-gradient(180deg, rgba(2,10,14,.20), rgba(2,10,14,.85));
}
.hero__content{position:relative; padding:66px 0 42px; display:grid; gap:18px}

.hero__card{
  width:min(720px, 100%);
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border:1px solid rgba(234,244,255,.16);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:26px 22px;
}

.pill{display:inline-flex; gap:8px; align-items:center; width:max-content;
  padding:8px 12px; border-radius:999px;
  background:rgba(31,209,255,.12);
  border:1px solid rgba(31,209,255,.22);
  color:rgba(234,244,255,.92);
  font-weight:700; margin:0 0 12px
}

.hero h1{margin:0 0 8px; font-size: clamp(2rem, 5vw, 3.1rem); line-height:1.05}
.lead{margin:0 0 18px; color:var(--muted); font-weight:500; font-size:1.05rem; line-height:1.5}

.hero__actions{display:flex; gap:10px; flex-wrap:wrap}

.hero__badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.badge{padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.06); border:1px solid rgba(234,244,255,.14); font-weight:700; font-size:.92rem}

.hero__stats{display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:12px; width:min(840px, 100%)}
.stat{padding:16px 16px; border-radius:20px; border:1px solid rgba(234,244,255,.14); background:rgba(255,255,255,.06); box-shadow:0 14px 32px rgba(0,0,0,.25)}
.stat strong{display:block; font-size:1.15rem}
.stat span{display:block; margin-top:4px; color:var(--muted); font-weight:500}

.section{padding:72px 0}
.section--alt{background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); border-top:1px solid rgba(234,244,255,.08); border-bottom:1px solid rgba(234,244,255,.08)}

.section__head{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:22px}
.section__head h2{margin:0; font-size: clamp(1.6rem, 3.5vw, 2.2rem)}
.muted{color:var(--muted)}

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

.card{
  padding:22px 18px;
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05));
  border:1px solid rgba(234,244,255,.14);
  box-shadow:0 16px 36px rgba(0,0,0,.28);
}
.card__icon{font-size:1.6rem; margin-bottom:10px}
.card h3{margin:0 0 10px; letter-spacing:.01em}
.card p{margin:0 0 14px; color:var(--muted); line-height:1.5}

.list{margin:0; padding:0 0 0 18px; color:rgba(234,244,255,.88)}
.list li{margin:8px 0}

.cta{
  margin-top:18px;
  border-radius:var(--radius);
  border:1px solid rgba(234,244,255,.14);
  background:radial-gradient(900px 280px at 10% 10%, rgba(31,209,255,.14), transparent 60%),
             radial-gradient(900px 280px at 80% 0%, rgba(240,180,41,.14), transparent 60%),
             rgba(255,255,255,.05);
  padding:22px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.cta h3{margin:0 0 6px}
.cta__actions{display:flex; gap:10px; flex-wrap:wrap}

.masonry{display:grid; grid-template-columns: repeat(12, 1fr); gap:12px}
.photo{
  border:0;
  padding:0;
  cursor:pointer;
  border-radius:20px;
  overflow:hidden;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(234,244,255,.12);
  box-shadow:0 16px 36px rgba(0,0,0,.26);
  transition: transform .18s ease, filter .18s ease;
}
.photo:hover{transform: translateY(-2px); filter:saturate(1.05)}
.photo img{width:100%; height:100%; object-fit:cover}

/* layout variety */
.photo:nth-child(1){grid-column: span 7; grid-row: span 2}
.photo:nth-child(2){grid-column: span 5; grid-row: span 2}
.photo:nth-child(3){grid-column: span 4; grid-row: span 2}
.photo:nth-child(4){grid-column: span 4; grid-row: span 2}
.photo:nth-child(5){grid-column: span 4; grid-row: span 2}
.photo:nth-child(6){grid-column: span 6; grid-row: span 2}
.photo:nth-child(7){grid-column: span 6; grid-row: span 2}
.photo:nth-child(8){grid-column: span 5; grid-row: span 2}
.photo:nth-child(9){grid-column: span 7; grid-row: span 2}

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

.contact{display:grid; grid-template-columns: 1.05fr .95fr; gap:16px; align-items:start}
.contact__card{
  border-radius:var(--radius);
  border:1px solid rgba(234,244,255,.14);
  background:rgba(255,255,255,.06);
  box-shadow:0 16px 36px rgba(0,0,0,.25);
  padding:22px 18px;
}
.contact__actions{display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 16px}
.contact__meta{display:grid; gap:10px}
.contact__meta .k{display:block; font-size:.82rem; opacity:.75; font-weight:700; letter-spacing:.06em}
.contact__meta .v{display:inline-block; margin-top:4px; font-weight:700; opacity:.92}

.embed{
  margin-top:14px;
  border-radius:var(--radius);
  border:1px solid rgba(234,244,255,.14);
  background:rgba(255,255,255,.06);
  box-shadow:0 16px 36px rgba(0,0,0,.25);
  padding:18px;
}
.embed__head h3{margin:0 0 6px}
.fbwrap{border-radius:18px; overflow:hidden; border:1px solid rgba(234,244,255,.12); background:rgba(0,0,0,.2)}
.fbwrap iframe{width:100%; height:420px; border:0}

.form{
  border-radius:var(--radius);
  border:1px solid rgba(234,244,255,.14);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  box-shadow:0 16px 36px rgba(0,0,0,.25);
  padding:22px 18px;
}
.form__row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
label span{display:block; font-size:.9rem; font-weight:700; margin:10px 0 8px; opacity:.92}
input, select, textarea{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(234,244,255,.16);
  background:rgba(7,26,36,.55);
  color:var(--text);
  padding:12px 12px;
  outline:none;
}
input::placeholder, textarea::placeholder{color:rgba(234,244,255,.55)}
input:focus, select:focus, textarea:focus{border-color:rgba(31,209,255,.40); box-shadow:0 0 0 4px rgba(31,209,255,.12)}

.form__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.hint{margin:12px 0 0; color:rgba(234,244,255,.72); font-size:.92rem}

.map{margin-top:14px; border-radius:var(--radius); overflow:hidden; border:1px solid rgba(234,244,255,.14); background:rgba(0,0,0,.20); box-shadow:0 16px 36px rgba(0,0,0,.25)}
.map iframe{width:100%; height:320px; border:0; display:block}

.footer{padding:28px 0; border-top:1px solid rgba(234,244,255,.10); background:rgba(2,10,14,.55)}
.footer__inner{display:grid; grid-template-columns: 1fr 1fr 1fr; gap:16px; align-items:center}
.footer__links{display:flex; gap:14px; justify-content:center; flex-wrap:wrap}
.footer__links a{opacity:.85; font-weight:700}
.footer__links a:hover{opacity:1}
.footer__credit{display:flex; justify-content:flex-end}
.footer__credit p{margin:0; opacity:.9}
.footer__credit a{text-decoration:underline}

.float{
  position:fixed;
  right:18px; bottom:18px;
  width:58px; height:58px;
  border-radius:20px;
  background:linear-gradient(135deg, rgba(31,209,255,.22), rgba(240,180,41,.25));
  border:1px solid rgba(234,244,255,.20);
  display:grid; place-items:center;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
  z-index:60;
  transition: transform .18s ease, filter .18s ease;
}
.float:hover{transform: translateY(-2px); filter:saturate(1.05)}
.float svg{width:28px; height:28px; color:#eaf4ff}

.lightbox{
  position:fixed; inset:0;
  background:rgba(0,0,0,.72);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:90;
}
.lightbox.is-open{display:flex}
.lightbox__img{max-width:min(1100px, 96vw); max-height:84vh; border-radius:18px; border:1px solid rgba(255,255,255,.18); box-shadow: 0 24px 70px rgba(0,0,0,.55)}
.lightbox__close{
  position:absolute;
  top:18px; right:18px;
  width:48px; height:48px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:28px;
  cursor:pointer;
}

/* reveal */
.reveal{opacity:0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease}
.reveal.is-in{opacity:1; transform: translateY(0)}

/* responsive */
@media (max-width: 980px){
  .menu{display:none}
  .burger{display:inline-block}
  .hero__stats{grid-template-columns:1fr; width:min(720px, 100%)}
  .cards{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .section__head{flex-direction:column; align-items:flex-start}
  .footer__inner{grid-template-columns:1fr; text-align:center}
  .footer__links{justify-content:center}
  .footer__credit{justify-content:center}
  .masonry{grid-template-columns:1fr}
  .photo{grid-column: auto !important; grid-row:auto !important}
}

/* mobile menu */
.menu--open{
  position:fixed;
  left:0; right:0; top:70px;
  display:flex !important;
  flex-direction:column;
  gap:10px;
  padding:14px 20px 18px;
  background:rgba(7,26,36,.92);
  border-bottom:1px solid rgba(234,244,255,.12);
}
.menu--open a{padding:12px 12px; border-radius:14px; background:rgba(255,255,255,.06); border:1px solid rgba(234,244,255,.12)}

