:root{
  --bg:#0e053f;
  --bg2:#12085a;
  --card:#111827;
  --text:#e8e9f4;
  --muted:#b7bdd6;
  --line:rgba(255,255,255,.12);
  --accent:#c8a96a;
  --accent2:#9ea1c6;
  --white:#ffffff;
  --shadow:0 14px 40px rgba(0,0,0,.28);
  --radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 10% 0%, rgba(200,169,106,.16), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(158,161,198,.15), transparent 55%),
    linear-gradient(180deg, var(--bg), #080322 70%, #06021b);
  line-height:1.5;
}

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

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

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

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(8,3,34,.70);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(12px);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}

.brand{
  display:flex; align-items:center; gap:12px;
}
.brand__mark{
  width:38px; height:38px; border-radius:14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 55%),
    linear-gradient(135deg, rgba(200,169,106,.95), rgba(158,161,198,.35));
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.brand__name{
  letter-spacing:.22em;
  font-weight:700;
  font-size:14px;
}
.brand__sub{
  display:block;
  font-size:11px;
  color:var(--muted);
  letter-spacing:.18em;
  margin-top:2px;
}

.nav{
  display:flex;
  gap:18px;
  align-items:center;
  font-size:14px;
}
.nav a{color:rgba(255,255,255,.88)}
.nav__cta{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(200,169,106,.18);
  border:1px solid rgba(200,169,106,.35);
}

.nav-toggle{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height:2px; width:18px;
  background:rgba(255,255,255,.9);
  margin:5px auto;
  border-radius:2px;
}

.hero{
  position:relative;
  padding:82px 0 44px;
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0;
  background-image:
    linear-gradient(90deg, rgba(8,3,34,.88), rgba(8,3,34,.28) 55%, rgba(8,3,34,.88)),
    url("../img/portada.png");
  background-size: cover;
  background-position: center;
  filter:saturate(1.1) contrast(1.02);
  transform:scale(1.02);
}
.hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap:26px;
  align-items:stretch;
}

.kicker{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid var(--line);
  color:rgba(255,255,255,.9);
  letter-spacing:.08em;
  font-size:12px;
  margin:0 0 14px;
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height:1.08;
  letter-spacing:-.02em;
}
.accent{color:var(--accent)}
.lead{
  margin:0 0 18px;
  color:rgba(255,255,255,.86);
  max-width:58ch;
}

.hero__actions{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-bottom:18px;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); background:rgba(255,255,255,.09)}
.btn--primary{
  background:linear-gradient(135deg, rgba(200,169,106,.95), rgba(200,169,106,.65));
  color:#1b102f;
  border-color:rgba(200,169,106,.55);
  font-weight:700;
}
.btn--ghost{
  background:rgba(255,255,255,.06);
}
.btn--small{
  margin-top:14px;
  width:100%;
}

.hero__badges{
  display:flex; gap:10px; flex-wrap:wrap;
}
.badge{
  padding:10px 12px;
  border-radius:999px;
  background:rgba(8,3,34,.55);
  border:1px solid var(--line);
  color:rgba(255,255,255,.84);
  font-size:12px;
}

.hero__card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  padding:18px;
  display:flex; flex-direction:column;
  justify-content:space-between;
}
.hero__card-top h3{
  margin:0 0 6px;
  letter-spacing:.06em;
}
.hero__card-top p{
  margin:0;
  color:var(--muted);
}
.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:18px;
}
.stat{
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(8,3,34,.55);
  padding:12px 10px;
  text-align:center;
}
.stat__num{
  font-weight:800;
  font-size:18px;
  color:rgba(255,255,255,.92);
}
.stat__label{
  margin-top:4px;
  font-size:11px;
  color:var(--muted);
}

.section{
  padding:62px 0;
}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{
  margin-bottom:22px;
}
.section__head h2{
  margin:0 0 6px;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing:-.01em;
}
.section__head p{
  margin:0;
  color:var(--muted);
}

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

.card{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  padding:18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.card__icon{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:16px;
  background:rgba(200,169,106,.18);
  border:1px solid rgba(200,169,106,.35);
  margin-bottom:12px;
  font-size:18px;
}
.card h3{margin:0 0 8px}
.card p{margin:0 0 12px; color:rgba(255,255,255,.84)}
.list{margin:0; padding-left:18px; color:var(--muted)}
.list li{margin:6px 0}

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.gallery__item{
  padding:0;
  border:1px solid var(--line);
  border-radius: 18px;
  overflow:hidden;
  background:rgba(255,255,255,.05);
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.gallery__item:hover{
  transform: translateY(-2px);
  border-color: rgba(200,169,106,.45);
}
.gallery__item img{
  width:100%;
  height:160px;
  object-fit: cover;
}

.video{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  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:18px;
  align-items:start;
}
.info{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  padding:18px;
}
.info__item{padding:10px 0; border-bottom:1px dashed rgba(255,255,255,.10)}
.info__item:last-child{border-bottom:0}
.info__label{
  font-size:12px;
  color:var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.info__value{display:block; margin-top:4px; font-weight:650}

.map{
  margin-top:14px;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
}
.map iframe{
  width:100%;
  height:280px;
  border:0;
  display:block;
}

.form{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  padding:18px;
}
.form label{
  display:block;
  margin-bottom:12px;
}
.form span{
  display:block;
  font-size:12px;
  color:var(--muted);
  letter-spacing:.06em;
  margin-bottom:6px;
}
.form input, .form textarea, .form select{
  width:100%;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(8,3,34,.55);
  color:rgba(255,255,255,.92);
  outline:none;
}
.form input:focus, .form textarea:focus, .form select:focus{
  border-color: rgba(200,169,106,.55);
  box-shadow: 0 0 0 4px rgba(200,169,106,.12);
}
.form__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:6px;
}
.form__note{
  margin:12px 0 0;
  color:rgba(255,255,255,.70);
  font-size:12px;
}

.social{
  margin-top:14px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background:rgba(8,3,34,.35);
  padding:16px;
}
.social h3{
  margin:0 0 12px;
}
.fb-embed{
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:#fff;
}
.fb-embed iframe{
  width:100%;
  height:520px;
  border:0;
  display:block;
}
.social__fallback{
  margin:10px 0 0;
  color:rgba(255,255,255,.74);
  font-size:12px;
}

.footer{
  border-top:1px solid var(--line);
  padding:26px 0 34px;
  background: rgba(0,0,0,.18);
}
.footer__inner{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:16px;
  align-items:start;
}
.footer__brand{
  display:flex; gap:12px; align-items:center;
}
.footer__logo{
  width:42px; height:42px; border-radius:16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 55%),
    linear-gradient(135deg, rgba(200,169,106,.95), rgba(158,161,198,.35));
}
.footer__name{
  letter-spacing:.22em;
  font-weight:800;
  font-size:13px;
}
.footer__sub{
  color:var(--muted);
  font-size:12px;
  letter-spacing:.12em;
}
.footer__links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}
.footer__copy{
  color:rgba(255,255,255,.78);
  font-size:13px;
  text-align:right;
}
.footer__copy a{color:rgba(255,255,255,.92); text-decoration:underline; text-underline-offset:3px}

.float-wa{
  position:fixed;
  right:16px;
  bottom:16px;
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(200,169,106,.95);
  color:#1b102f;
  border:1px solid rgba(200,169,106,.65);
  box-shadow: var(--shadow);
  z-index:80;
  transition: transform .15s ease;
}
.float-wa:hover{transform: translateY(-2px)}

.lightbox{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.75);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:120;
}
.lightbox.is-open{display:flex}
.lightbox img{
  max-width:min(980px, 100%);
  max-height: 80vh;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}
.lightbox__close{
  position:absolute;
  top:14px;
  right:14px;
  width:44px; height:44px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
}

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

/* Responsive */
@media (max-width: 980px){
  .hero__inner{grid-template-columns: 1fr; gap:14px}
  .hero{padding-top:72px}
  .contact{grid-template-columns:1fr}
  .footer__inner{grid-template-columns:1fr; text-align:left}
  .footer__links{justify-content:flex-start}
  .footer__copy{text-align:left}
  .gallery{grid-template-columns: repeat(3, 1fr);}
}

@media (max-width: 760px){
  .nav-toggle{display:block}
  .nav{
    position:absolute;
    left:22px; right:22px; top:64px;
    display:none;
    flex-direction:column;
    gap:10px;
    padding:14px;
    border-radius: 18px;
    background:rgba(8,3,34,.92);
    border:1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open{display:flex}
  .nav a{width:100%; padding:10px 12px; border-radius:14px; background:rgba(255,255,255,.06)}
  .nav a.nav__cta{background:rgba(200,169,106,.18)}
  .grid--3{grid-template-columns:1fr}
  .gallery{grid-template-columns: repeat(2, 1fr);}
  .gallery__item img{height:150px}
}
