:root{
  --bg:#0f0f10; --bg-2:#141416; --text:#f3f3f4; --muted:#a8acb3; --line:#232429;
  --brand:#d9be79; --brand-2:#b89f5d; --radius:14px; --shadow:0 10px 30px rgba(0,0,0,.25);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0; font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue","Noto Sans",Arial; color:var(--text); background:var(--bg)}
img{display:block; max-width:100%; height:auto}
a{color:inherit; text-decoration:none}
.container{max-width:1160px; margin-inline:auto; padding:0 20px}
.section{padding:56px 0}
h1,h2,h3{margin:0 0 .6rem}
h1{font-size:clamp(30px,4.5vw,56px); line-height:1.1}
h2{font-size:clamp(26px,3vw,34px)}
h3{font-size:18px}
p.sub{color:var(--muted); margin:.25rem 0 1.25rem}

/* Header */
header{position:sticky; top:0; z-index:50; backdrop-filter:saturate(140%) blur(8px); background:rgba(10,10,10,.75); border-bottom:1px solid var(--line)}
.nav{display:flex; align-items:center; gap:18px; height:64px}
.brand{display:flex; align-items:center; gap:.6rem; font-weight:700}
.brand img{height:34px; width:auto}
.spacer{flex:1}

/* Menu pills + underline animado */
.menu{display:flex; gap:6px}
.menu a{
  position:relative; padding:8px 12px; border-radius:10px; color:#d7d9de;
  transition:color .2s ease, background-color .2s ease, transform .2s ease;
  will-change:transform;
}
.menu a::after{
  content:""; position:absolute; left:10px; right:10px; bottom:6px; height:2px;
  background:linear-gradient(90deg,var(--brand),#fff0); transform:scaleX(0);
  transform-origin:left; transition:transform .25s ease;
}
.menu a:hover{background:#1b1c1f; color:var(--text); transform:translateY(-1px)}
.menu a:hover::after{transform:scaleX(1)}
.menu a.active{background:#1b1c1f; color:var(--text)}
.menu a.active::after{transform:scaleX(1)}
.cta{
  background:var(--brand); color:#1b1b1c; border:0; padding:10px 16px; border-radius:999px; font-weight:700;
  box-shadow:0 2px 0 var(--brand-2) inset, 0 8px 16px rgba(0,0,0,.25); transition:transform .08s ease, box-shadow .2s ease;
}
.cta:hover{box-shadow:0 2px 0 var(--brand-2) inset, 0 14px 26px rgba(0,0,0,.35)}
.cta:active{transform:translateY(1px)}
.ghost{border:1px solid var(--line); background:#161719; color:var(--text); border-radius:999px; padding:10px 14px; transition:transform .15s ease, box-shadow .2s ease}
.ghost:hover{transform:translateY(-1px); box-shadow:var(--shadow)}

/* Burger */
.burger{display:none; width:40px; height:40px; place-items:center; border:1px solid var(--line); border-radius:10px; background:#131416}
.burger span{width:20px; height:2px; background:#e7e7e9; position:relative; display:block}
.burger span::before,.burger span::after{content:""; position:absolute; left:0; width:100%; height:2px; background:#e7e7e9}
.burger span::before{top:-6px}.burger span::after{top:6px}
@media (max-width:880px){
  .menu{position:fixed; inset:64px 0 auto 0; display:none; flex-direction:column; background:#0f1012; border-bottom:1px solid var(--line); padding:14px}
  .menu a{border-radius:12px}
  .menu.open{display:flex}
  .burger{display:grid}
}

/* Hero */
.hero{padding:72px 0 32px; background:
  linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.55)),
  url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1900&auto=format&fit=crop') center/cover no-repeat;
  border-bottom:1px solid var(--line);
}
.hero .kickers{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.kicker{border:1px solid var(--line); padding:6px 10px; border-radius:999px; color:var(--muted); font-size:13px}

/* Grid cards */
.grid{display:grid; gap:18px}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:960px){.grid.cols-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:720px){.grid.cols-3,.grid.cols-4{grid-template-columns:1fr}}

.card{
  background:var(--bg-2); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change:transform;
}
.card:hover{transform:translateY(-6px); border-color:#32343a; box-shadow:0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(217,190,121,.18) inset}
.card .media{height:170px; background:#111; overflow:hidden}
.card .media img{width:100%; height:100%; object-fit:cover; transition:transform .35s ease, filter .35s ease}
.card:hover .media img{transform:scale(1.04); filter:saturate(1.05)}
.card .body{padding:14px 16px}
.card .body p{color:var(--muted); margin:.4rem 0 0}

/* Steps */
.steps{display:grid; gap:14px; grid-template-columns:repeat(4,1fr)}
@media (max-width:960px){.steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.steps{grid-template-columns:1fr}}
.step{border:1px solid var(--line); border-radius:var(--radius); padding:16px; background:var(--bg-2); transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease}
.step:hover{transform:translateY(-4px); box-shadow:var(--shadow); border-color:rgba(217,190,121,.35)}
.step .n{display:inline-grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#1f1f21; border:1px solid var(--line); margin-bottom:.35rem; transition:background .2s ease, color .2s ease, border-color .2s ease}
.step:hover .n{background:var(--brand); color:#1a1a1a; border-color:transparent}
.step .ico{display:inline-flex; margin-left:.45rem; opacity:.95; color:#c9a96b}
.step .ico svg{width:20px; height:20px}

/* Quotes */
.quotes{display:grid; gap:14px; grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){.quotes{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.quotes{grid-template-columns:1fr}}
blockquote.quote{margin:0; padding:16px; border:1px dashed var(--line); border-radius:var(--radius); background:#121214; transition:transform .2s ease}
blockquote.quote:hover{transform:translateY(-3px)}
.quote p{margin:0 0 .5rem}
.quote .who{color:var(--muted); font-size:14px}

/* Contact */
.contact{display:grid; gap:18px; grid-template-columns:1.1fr .9fr}
@media (max-width:980px){.contact{grid-template-columns:1fr}}
form label{display:block; margin-bottom:12px}
form label span{display:block; margin:0 0 6px}
input,textarea{width:100%; padding:10px 12px; color:var(--text); background:#141519; border:1px solid var(--line); border-radius:10px; outline:none}
textarea{min-height:132px; resize:vertical}
.chk{display:flex; align-items:center; gap:.6rem; margin:.6rem 0 .2rem}
.chk input{width:18px; height:18px; accent-color:var(--brand)}
.chk a{color:var(--brand); text-decoration:underline}
.actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.btn-wa{display:inline-flex; align-items:center; gap:.5rem}
.btn-wa .wa-ico{width:18px;height:18px;display:inline-grid;place-items:center}

.social{display:flex; gap:8px; margin:6px 0 12px}
.icon{display:grid; place-items:center; width:32px; height:32px; border:1px solid var(--line); border-radius:50%; color:#d9dde3; background:#17181b; transition:transform .15s ease}
.icon:hover{transform:translateY(-2px)}
.map iframe{width:100%; height:320px; border:0; border-radius:12px}

/* Footer */
footer{border-top:1px solid var(--line); padding:28px 0; color:#cfd3d9}
footer .row{display:flex; gap:14px; align-items:center}
footer .row img{height:26px}

/* Otros */
section[id]{scroll-margin-top:84px}
.phone-desktop{
  display:none; font-weight:700; color:var(--brand);
  border:1px solid var(--line); background:#161719;
  border-radius:999px; padding:8px 12px;
}
.phone-desktop:hover{transform:translateY(-1px); box-shadow:var(--shadow)}
.phone-desktop a{color:inherit}
@media (min-width:881px){.phone-desktop{display:inline-block}}

.wa-float{
  position:fixed; right:16px; bottom:16px; display:none;
  align-items:center; gap:8px; background:#25D366; color:#0b0b0b;
  font-weight:700; padding:12px 16px; border-radius:999px;
  box-shadow:0 4px 10px rgba(0,0,0,.35); z-index:999;
}
.wa-float svg{width:18px;height:18px}
.wa-float:hover{filter:brightness(1.05)}
@media (max-width:880px){.wa-float{display:inline-flex}}

/* Accesibilidad */
:focus-visible{outline:2px solid var(--brand); outline-offset:2px; border-radius:10px}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important; transition:none!important}
}
