:root{
  --bg:#f6f0e2;
  --surface:#ffffff;
  --text:#1c1c1c;
  --muted:#5d5d5d;
  --brand:#1f3a2a; /* deep olive */
  --brand2:#8a6b2f; /* warm gold */
  --shadow: 0 18px 50px rgba(0,0,0,.12);
  --radius: 18px;
  --radius2: 28px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(31,58,42,.18), transparent 60%),
              radial-gradient(900px 600px at 110% 10%, rgba(138,107,47,.14), transparent 55%),
              var(--bg);
  line-height:1.55;
}

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

.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.section{padding:72px 0}
.section.small{padding:44px 0}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(31,58,42,.08);
  color: var(--brand);
  border: 1px solid rgba(31,58,42,.18);
  font-weight:600;
  letter-spacing:.3px;
  font-size: 13px;
}
.h2{
  font-size: clamp(26px, 3.6vw, 44px);
  line-height:1.1;
  margin:14px 0 10px;
  letter-spacing:-.6px;
}
.p{color:var(--muted); margin:0}
.grid{
  display:grid; gap:18px;
}
.card{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius);
  box-shadow: 0 16px 50px rgba(0,0,0,.08);
  overflow:hidden;
}
.card.pad{padding:22px}
.kicker{
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:700;
  color: rgba(31,58,42,.85);
  font-size: 12px;
}

.btns{display:flex; gap:12px; flex-wrap:wrap; 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(0,0,0,.10);
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  font-weight:700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{transform: translateY(-1px); box-shadow:0 16px 38px rgba(0,0,0,.12)}
.btn.primary{
  background: linear-gradient(135deg, var(--brand), #102217);
  color:#fff;
  border-color: rgba(255,255,255,.16);
}
.btn.gold{
  background: linear-gradient(135deg, var(--brand2), #c29b4c);
  color:#1b1b1b;
  border-color: rgba(0,0,0,.10);
}
.btn svg{width:18px; height:18px}

header{
  position:sticky; top:0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246,240,226,.72);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:800;
}
.brand img{width:38px; height:38px; border-radius: 12px; box-shadow: 0 10px 26px rgba(0,0,0,.12)}
.brand .name{display:flex; flex-direction:column; line-height:1.05}
.brand .name span:nth-child(1){font-size: 16px; letter-spacing: .2px}
.brand .name span:nth-child(2){font-size: 12px; color: rgba(31,58,42,.85); font-weight:700; letter-spacing:.12em; text-transform:uppercase}

.navlinks{display:flex; gap:16px; align-items:center}
.navlinks a{
  padding:10px 12px;
  border-radius:12px;
  color: rgba(0,0,0,.72);
  font-weight:700;
  font-size: 14px;
}
.navlinks a:hover{
  background: rgba(31,58,42,.08);
  color: var(--brand);
}
.menu-btn{
  display:none;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.9);
}

.hero{
  position:relative;
  padding: 46px 0 34px;
}
.hero .wrap{
  display:grid; gap:18px;
  grid-template-columns: 1.15fr .85fr;
  align-items:stretch;
}
.hero-card{
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
  position:relative;
  min-height: 440px;
}
.hero-card .bg{
  position:absolute; inset:0;
  background-image: url("../assets/img/portada.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
}
.hero-card .overlay{
  position:absolute; inset:0;
  background: linear-gradient(120deg, rgba(10,15,12,.78), rgba(10,15,12,.18) 55%, rgba(10,15,12,.55));
}
.hero-card .content{
  position:relative;
  padding: 28px;
  color:#fff;
  display:flex;
  flex-direction:column;
  height:100%;
  justify-content:space-between;
}
.hero h1{
  font-size: clamp(32px, 4.2vw, 56px);
  line-height:1.05;
  margin: 12px 0 10px;
  letter-spacing: -1px;
}
.hero .lead{color: rgba(255,255,255,.86); max-width: 56ch}
.hero .chips{
  display:flex; flex-wrap:wrap; gap:10px; margin-top:14px
}
.chip{
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  font-weight:700;
  font-size: 13px;
}
.side{
  display:grid; gap:18px;
}
.side .card{overflow:hidden}
.media{
  position:relative;
  padding: 0;
}
.media .top{
  display:flex; gap:12px; align-items:center; padding:18px 18px 0;
}
.media .top .mini{
  width:52px; height:52px; border-radius: 16px; background:#fff;
  display:grid; place-items:center; border:1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}
.media .top .mini img{width:38px; height:38px; border-radius: 12px}
.media .top .txt b{display:block; font-size:15px}
.media .top .txt span{display:block; font-size:13px; color:var(--muted)}
.media .actions{padding: 14px 18px 18px}
.media .actions .btn{width:100%}

.stats{
  padding:18px;
  background: linear-gradient(135deg, rgba(31,58,42,.12), rgba(138,107,47,.10));
}
.stats .row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.stat{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding:14px 14px 12px;
}
.stat b{font-size: 20px}
.stat span{display:block; color:var(--muted); font-weight:650; font-size: 13px}

.split{
  display:grid; gap:18px;
  grid-template-columns: 1fr 1fr;
  align-items:start;
}
.list{
  display:grid; gap:12px; margin-top:16px
}
.li{
  display:flex; gap:12px; align-items:flex-start;
  padding:14px;
  border-radius: 16px;
  background: rgba(255,255,255,.85);
  border:1px solid rgba(0,0,0,.06);
}
.dot{
  width:12px; height:12px; border-radius:50%;
  background: var(--brand2);
  margin-top:6px;
  box-shadow: 0 0 0 6px rgba(138,107,47,.18);
}
.li b{display:block; margin-bottom:2px}
.li p{margin:0; color:var(--muted); font-weight:600}

.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.gitem{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  cursor:pointer;
  min-height: 150px;
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
}
.gitem img{
  width:100%; height:100%;
  object-fit:cover;
  transform: scale(1.02);
  transition: transform .25s ease, filter .25s ease;
  filter: saturate(1.02);
}
.gitem:hover img{transform: scale(1.06); filter:saturate(1.12) contrast(1.05)}
.gitem::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.28));
  opacity:.7;
}

.g1{grid-column: span 7; min-height: 280px}
.g2{grid-column: span 5; min-height: 280px}
.g3,.g4,.g5,.g6{grid-column: span 3}
.g7,.g8{grid-column: span 6}

.lightbox{
  position:fixed; inset:0;
  background: rgba(0,0,0,.82);
  display:none;
  align-items:center;
  justify-content:center;
  z-index: 200;
  padding: 18px;
}
.lightbox.open{display:flex}
.lightbox .inner{
  width:min(1100px, 96vw);
  max-height: 86vh;
  border-radius: 22px;
  overflow:hidden;
  position:relative;
  background:#111;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.lightbox img{width:100%; height:100%; object-fit:contain; background:#111}
.lbbar{
  position:absolute; top:10px; left:10px; right:10px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  pointer-events:none;
}
.lbbar .lbbtn{
  pointer-events:auto;
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color:#fff;
}
.lbbar .lbbtn:hover{background: rgba(255,255,255,.18)}
.lbbar .hint{
  pointer-events:none;
  color: rgba(255,255,255,.82);
  font-weight:700;
  font-size: 13px;
  background: rgba(0,0,0,.30);
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
}

.video{
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 46px rgba(0,0,0,.12);
}
.video iframe{width:100%; height:100%; border:0}

.form{
  display:grid; gap:12px;
}
.inp{
  display:grid; gap:8px;
}
.inp label{font-weight:800; font-size:13px; color: rgba(0,0,0,.72)}
.inp input, .inp textarea{
  width:100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.94);
  font: inherit;
  outline:none;
}
.inp input:focus, .inp textarea:focus{
  border-color: rgba(31,58,42,.45);
  box-shadow: 0 0 0 5px rgba(31,58,42,.12);
}

.map{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 46px rgba(0,0,0,.10);
  min-height: 320px;
}
.map iframe{width:100%; height: 340px; border:0}

footer{
  padding: 26px 0 44px;
  color: rgba(0,0,0,.70);
}
footer .foot{
  display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between;
  border-top:1px solid rgba(0,0,0,.08);
  padding-top: 18px;
}
footer .small{font-size: 13px; color: rgba(0,0,0,.62)}
footer a{color: var(--brand); font-weight:800}

.whatsapp-float{
  position:fixed;
  right: 16px;
  bottom: 16px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #25D366;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  display:grid;
  place-items:center;
  z-index: 120;
  border: 1px solid rgba(255,255,255,.16);
}
.whatsapp-float:hover{transform: translateY(-1px)}
.whatsapp-float svg{width:30px; height:30px; fill:#fff}

.toast{
  position:fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  background: rgba(17,17,17,.92);
  color:#fff;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  display:none;
  z-index: 220;
  font-weight:700;
  font-size: 13px;
}
.toast.show{display:block}

@media (max-width: 920px){
  .hero .wrap{grid-template-columns: 1fr; }
  .hero-card{min-height: 420px}
  .split{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .navlinks{display:none}
  .menu-btn{display:inline-flex; gap:10px; align-items:center}
  .nav.open .navlinks{
    display:flex;
    position:absolute;
    left:18px; right:18px; top:64px;
    flex-direction:column;
    background: rgba(246,240,226,.94);
    border:1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.16);
  }
  .g1,.g2{grid-column: span 12}
  .g3,.g4,.g5,.g6{grid-column: span 6}
  .g7,.g8{grid-column: span 12}
}