:root{
  --bg:#f5f5f5;
  --card:#ffffff;
  --text:#111111;
  --muted:#6b6b6b;
  --accent:#c09078;
  --accent2:#000000;
  --ring: rgba(192,144,120,.35);
  --shadow: 0 18px 40px rgba(0,0,0,.10);
  --radius: 18px;
}

*{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:linear-gradient(180deg, #ffffff 0%, var(--bg) 40%, #ffffff 100%);
}

img{max-width:100%; display:block}
a{color:inherit}
.container{width:min(1100px, 92%); 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:#fff; border-radius:12px; box-shadow:var(--shadow); z-index:9999}

.topbar{position:sticky; top:0; z-index:60; backdrop-filter:saturate(140%) blur(10px); background:rgba(255,255,255,.75); border-bottom:1px solid rgba(0,0,0,.06)}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0}

.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand__logo{width:40px; height:40px; border-radius:12px; box-shadow:0 10px 22px rgba(0,0,0,.12)}
.brand__name{display:block; font-weight:800; letter-spacing:.3px}
.brand__tag{display:block; font-size:12px; color:var(--muted)}

.nav{display:flex; align-items:center; gap:18px}
.nav a{text-decoration:none; color:rgba(0,0,0,.78); font-weight:600; font-size:14px}
.nav a:hover{color:var(--text)}

.navbtn{display:none; border:0; background:transparent; padding:10px; border-radius:12px}
.navbtn span{display:block; width:22px; height:2px; background:#111; margin:5px 0; border-radius:99px}

.mobileNav{border-top:1px solid rgba(0,0,0,.06); padding:10px 0; background:rgba(255,255,255,.92)}
.mobileNav a{display:block; padding:10px 4%; text-decoration:none; font-weight:700; color:rgba(0,0,0,.82)}
.mobileNav a:hover{background:rgba(0,0,0,.04)}

.hero{position:relative; min-height:78vh; display:grid; place-items:center; overflow:hidden}
.hero__bg{
  position:absolute; inset:0;
  background-image:
    radial-gradient(1200px 600px at 10% 20%, rgba(192,144,120,.25), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.64) 100%),
    url('../img/portada.jpg');
  background-size:cover;
  background-position:center;
  transform:scale(1.03);
}
.hero__fade{position:absolute; left:0; right:0; bottom:-1px; height:90px; background:linear-gradient(180deg, transparent 0%, rgba(245,245,245,.98) 70%, var(--bg) 100%)}
.hero__content{position:relative; padding:78px 0 40px; color:#fff}
.pill{display:inline-block; padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); font-weight:650; font-size:13px}
.hero h1{margin:14px 0 10px; font-size:clamp(32px, 5vw, 54px); line-height:1.05; letter-spacing:-.4px}
.accent{color:rgba(255,255,255,.95); text-shadow:0 10px 30px rgba(0,0,0,.25)}
.lead{max-width:62ch; font-size:clamp(16px, 2vw, 18px); color:rgba(255,255,255,.92); line-height:1.6}

.cta{display:flex; flex-wrap:wrap; gap:12px; margin-top:18px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(135deg, rgba(192,144,120,.95), rgba(192,144,120,.70));
  color:#111; font-weight:800; text-decoration:none;
  box-shadow:0 14px 40px rgba(0,0,0,.16);
}
.btn:hover{transform:translateY(-1px)}
.btn--ghost{background:rgba(255,255,255,.10); color:#fff; border:1px solid rgba(255,255,255,.28)}
.btn--link{background:transparent; color:#fff; border:1px dashed rgba(255,255,255,.35); box-shadow:none}
.btn--sm{padding:10px 12px; border-radius:12px; box-shadow:none}

.hero__stats{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; margin-top:26px; max-width:760px}
.stat{padding:12px 14px; border-radius:16px; background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.18)}
.stat__n{display:block; font-weight:900}
.stat__t{display:block; font-size:12px; color:rgba(255,255,255,.85); margin-top:2px}

.section{padding:64px 0}
.section--alt{background:linear-gradient(180deg, rgba(0,0,0,.03) 0%, rgba(0,0,0,.02) 100%)}
.section__head{display:flex; justify-content:space-between; align-items:flex-end; gap:18px; margin-bottom:18px}
.section__head h2{margin:0; font-size:28px; letter-spacing:-.2px}
.section__head p{margin:0; color:var(--muted); max-width:60ch; line-height:1.6}

.grid{display:grid; gap:14px}
.cards{grid-template-columns:repeat(4, minmax(0,1fr))}
.card{
  background:var(--card);
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.card h3{margin:0 0 6px}
.card p{margin:0; color:var(--muted); line-height:1.6}

.banner{margin-top:16px; display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:18px; border-radius:22px;
  background:linear-gradient(135deg, rgba(192,144,120,.20), rgba(0,0,0,.02));
  border:1px solid rgba(192,144,120,.28);
}
.banner h3{margin:0 0 6px}
.banner p{margin:0; color:var(--muted)}

.gallery{display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px}
.gitem{border:0; padding:0; border-radius:16px; overflow:hidden; cursor:pointer; background:#000; box-shadow:0 12px 32px rgba(0,0,0,.10)}
.gitem img{width:100%; height:180px; object-fit:cover; transition:transform .25s ease}
.gitem:hover img{transform:scale(1.05)}

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

.social{grid-template-columns:1.2fr .8fr}
.embed{border-radius:18px; overflow:hidden; border:1px solid rgba(0,0,0,.06); background:#fff}
.embed iframe{width:100%; height:520px}
.note{margin-top:14px; padding:12px 12px; border-radius:16px; border:1px dashed rgba(0,0,0,.14); color:var(--muted); background:rgba(0,0,0,.02)}

.contact{grid-template-columns:1.1fr .9fr}
.list{margin:0; padding-left:18px; color:var(--muted); line-height:1.7}
.list a{color:rgba(0,0,0,.84)}

.map{margin-top:14px; border-radius:18px; overflow:hidden; border:1px solid rgba(0,0,0,.06)}
.map iframe{width:100%; height:290px; border:0}

.form{display:grid; gap:12px}
.form label{display:grid; gap:7px; font-weight:750; font-size:13px}
.form input,.form select,.form textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  font:inherit;
  outline:none;
}
.form input:focus,.form select:focus,.form textarea:focus{box-shadow:0 0 0 4px var(--ring); border-color:rgba(192,144,120,.5)}
.form__small{margin:0; color:var(--muted); font-size:13px; line-height:1.5}

.footer{padding:28px 0; border-top:1px solid rgba(0,0,0,.06)}
.footer__inner{display:flex; align-items:center; justify-content:space-between; gap:12px; color:var(--muted); flex-wrap:wrap}
.footer a{color:rgba(0,0,0,.72)}
.footer a:hover{color:rgba(0,0,0,.95)}

.lightbox{position:fixed; inset:0; background:rgba(0,0,0,.88); display:none; align-items:center; justify-content:center; z-index:80; padding:18px}
.lightbox.open{display:flex}
.lightbox img{max-width:min(1100px, 94vw); max-height:80vh; border-radius:18px; box-shadow:0 26px 70px rgba(0,0,0,.5)}
.lightbox__close{
  position:absolute; top:14px; right:14px; width:44px; height:44px; border-radius:14px;
  border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.08);
  color:#fff; font-size:26px; cursor:pointer;
}
.lightbox__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:46px; height:46px; border-radius:16px;
  border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.08);
  color:#fff; font-size:30px; cursor:pointer;
}
.lightbox__nav--prev{left:14px}
.lightbox__nav--next{right:14px}

.wafloat{
  position:fixed; right:16px; bottom:16px; z-index:90;
  width:56px; height:56px; border-radius:18px;
  background:linear-gradient(135deg, rgba(192,144,120,.95), rgba(192,144,120,.75));
  border:1px solid rgba(0,0,0,.10);
  box-shadow:0 18px 46px rgba(0,0,0,.18);
  display:grid; place-items:center;
}
.wafloat svg{width:28px; height:28px; fill:#111}

.reveal{opacity:0; transform:translateY(10px); transition:opacity .55s ease, transform .55s ease}
.reveal.show{opacity:1; transform:translateY(0)}

.thanks{min-height:100vh; display:grid; place-items:center}
.thanks__wrap{padding:54px 0; text-align:center}
.thanks__logo{width:74px; height:74px; border-radius:22px; margin:0 auto 14px; box-shadow:var(--shadow)}

@media (max-width: 980px){
  .cards{grid-template-columns:repeat(2, minmax(0,1fr))}
  .gallery{grid-template-columns:repeat(3, minmax(0,1fr))}
  .social{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .section__head{flex-direction:column; align-items:flex-start}
}

@media (max-width: 720px){
  .nav{display:none}
  .navbtn{display:block}
  .hero{min-height:86vh}
  .hero__content{padding:68px 0 34px}
  .hero__stats{grid-template-columns:1fr; max-width:520px}
  .gallery{grid-template-columns:repeat(2, minmax(0,1fr))}
  .gitem img{height:160px}
}
