
:root{
  --bg:#0b0b0e;
  --card:#101016;
  --text:#f5f5f7;
  --muted:#b9b9c3;
  --line:rgba(255,255,255,.10);
  --green:#1f8a4c;
  --red:#c7362e;
  --gold:#d7b36a;
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --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, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(31,138,76,.20), transparent 60%),
    radial-gradient(900px 600px at 80% 0%, rgba(199,54,46,.18), transparent 55%),
    radial-gradient(900px 600px at 50% 110%, rgba(215,179,106,.10), transparent 55%),
    var(--bg);
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{width:min(1140px, 92vw); margin-inline:auto}
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,11,14,.65);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
}
.brand img{width:40px; height:40px; border-radius:12px; box-shadow:var(--shadow)}
.brand .title{line-height:1.1}
.brand .title strong{display:block; letter-spacing:.12em; font-family: Georgia, "Times New Roman", serif; font-size:18px}
.brand .title span{display:block; font-size:12px; letter-spacing:.18em; color:var(--muted)}
.nav-links{
  display:flex; gap:18px; align-items:center;
}
.nav-links a{
  color:var(--muted);
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
}
.nav-links a:hover{color:var(--text); background:rgba(255,255,255,.06)}
.nav-cta{
  display:flex; gap:10px; align-items:center;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:600;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.10)}
.btn.primary{
  background: linear-gradient(135deg, rgba(31,138,76,.95), rgba(215,179,106,.35));
  border-color: rgba(31,138,76,.55);
}
.btn.outline{
  background: transparent;
}
.burger{
  display:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color:var(--text);
  padding:10px 12px;
  border-radius:14px;
}
.hero{
  position:relative;
  padding: 44px 0 24px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:stretch;
}
.hero-card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-media{
  position:relative;
  min-height: 520px;
  background:
    radial-gradient(900px 420px at 30% 20%, rgba(0,0,0,.0), rgba(0,0,0,.65)),
    url('../img/portada.jpg') center/cover no-repeat;
}
.hero-media:after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(11,11,14,.15), rgba(11,11,14,.78));
}
.hero-copy{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:28px;
  gap:14px;
}
.badges{
  display:flex; flex-wrap:wrap; gap:10px;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.18);
  color: rgba(245,245,247,.95);
  font-size:12px;
  letter-spacing:.06em;
}
.h1{
  font-size: clamp(30px, 4vw, 48px);
  margin:0;
  letter-spacing:.02em;
  font-family: Georgia, "Times New Roman", serif;
}
.lead{
  margin:0;
  color:rgba(245,245,247,.86);
  max-width: 58ch;
  font-size: 16px;
  line-height:1.6;
}
.hero-actions{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-top:6px;
}
.side{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.kpi{
  display:grid; grid-template-columns:1fr 1fr;
  gap:12px;
}
.kpi .box{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding:14px;
}
.kpi .box strong{display:block; font-size:14px}
.kpi .box span{color:var(--muted); font-size:12px; line-height:1.4}
.notice{
  border:1px dashed rgba(215,179,106,.55);
  background: rgba(215,179,106,.10);
  border-radius: 16px;
  padding:14px;
}
.notice strong{color:var(--gold)}
.section{
  padding: 28px 0;
}
.section h2{
  margin:0 0 10px 0;
  font-size: 26px;
  letter-spacing:.02em;
}
.section p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.card .pad{padding:16px}
.card h3{margin:0 0 8px 0; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:13px; line-height:1.6}
.gallery{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.g-item{
  position:relative;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  cursor: zoom-in;
}
.g-item img{
  width:100%; height:100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.g-item:hover img{transform: scale(1.05)}
.g-item:after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.35));
  opacity:.9;
  pointer-events:none;
}
.g1{grid-column: span 5; min-height: 260px}
.g2{grid-column: span 4; min-height: 260px}
.g3{grid-column: span 3; min-height: 260px}
.g4{grid-column: span 6; min-height: 260px}
.g5{grid-column: span 6; min-height: 260px}
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-top:16px;
  align-items:stretch;
}
.embed{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.embed iframe{width:100%; height:420px; border:0; display:block}
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-top:16px;
}
.field{
  display:flex; flex-direction:column; gap:8px;
}
label{font-size:13px; color:rgba(245,245,247,.9)}
input, textarea{
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: 14px;
  padding:12px 12px;
  color:var(--text);
  outline:none;
}
textarea{min-height:130px; resize:vertical}
small.help{color:var(--muted); line-height:1.5}
.footer{
  padding: 26px 0 34px;
  border-top:1px solid var(--line);
  color:var(--muted);
  text-align:center;
}
.footer a{color:var(--text)}
/* lightbox */
.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,.78);
  display:none;
  align-items:center; justify-content:center;
  z-index:1000;
  padding:18px;
}
.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 70px rgba(0,0,0,.65);
}
.lb-close{
  position:fixed;
  top:14px; right:14px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  color:var(--text);
  border-radius: 14px;
  padding:10px 12px;
  cursor:pointer;
}
.whatsapp{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:60;
  width:56px; height:56px;
  border-radius: 18px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, #25D366, rgba(215,179,106,.25));
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.20);
}
.whatsapp:hover{transform: translateY(-1px)}
.whatsapp svg{width:26px; height:26px; fill:white}
.fade-in{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.show{
  opacity:1;
  transform: translateY(0);
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr}
  .hero-media{min-height: 520px}
  .kpi{grid-template-columns:1fr 1fr}
  .grid-3{grid-template-columns: 1fr}
  .split{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .embed iframe{height:380px}
}
@media (max-width: 760px){
  .nav-links{display:none}
  .burger{display:inline-flex}
  .hero-copy{padding:20px}
  .hero-actions .btn{flex:1}
  .gallery{grid-template-columns: repeat(6, 1fr)}
  .g1{grid-column: span 6}
  .g2{grid-column: span 6}
  .g3{grid-column: span 6}
  .g4{grid-column: span 6}
  .g5{grid-column: span 6}
}
.drawer{
  display:none;
  position:fixed;
  inset:72px 10px auto 10px;
  background: rgba(11,11,14,.92);
  border:1px solid var(--line);
  border-radius: 18px;
  padding:12px;
  z-index:80;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.drawer.open{display:block}
.drawer a{
  display:block;
  padding:12px 12px;
  border-radius: 14px;
  color:var(--muted);
}
.drawer a:hover{color:var(--text); background: rgba(255,255,255,.06)}
