:root{--bg:#f2f2f2;--gris:#e2e2e2;--rojo:#ec1e3b;--tx:#231f20;--mu:#6b6b6b;--ln:#d4d4d4}
::selection{background:#231f20;color:#f2f2f2}
a:focus-visible,button:focus-visible{outline:2px solid var(--rojo);outline-offset:3px}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--tx);font:400 17px/1.6 "Space Grotesk",system-ui,sans-serif}
a{color:inherit;text-decoration:none}
img,video{display:block;max-width:100%}
.serif{font-family:"Instrument Serif",Georgia,serif;font-weight:400}
.wrap{max-width:1280px;margin:0 auto;padding:0 40px}
section{padding:120px 0;border-top:1px solid var(--ln)}
.eyebrow{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--mu);margin-bottom:24px}
h2{font-family:"Instrument Serif",serif;font-weight:400;font-size:clamp(38px,5vw,64px);line-height:1.05;letter-spacing:-.01em;max-width:16ch}
h3{font-weight:500;font-size:22px;line-height:1.25}
.head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:64px;flex-wrap:wrap}
.head p{max-width:420px;color:var(--mu)}
/* header */
header{position:sticky;top:0;z-index:50;background:rgba(242,242,242,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--ln)}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px}
.logo img{height:40px;width:auto;display:block}
.menu{display:flex;gap:32px;list-style:none;font-size:15px}
.menu a:hover{color:var(--tx);text-decoration:underline;text-decoration-color:var(--rojo);text-underline-offset:6px}
.btn{display:inline-flex;align-items:center;gap:10px;padding:14px 24px;border-radius:999px;background:var(--rojo);color:#fff;font-weight:500;font-size:15px;transition:.2s}
.btn:hover{background:#231f20}.btn.ghost{background:transparent;color:var(--tx);border:1px solid var(--tx)}
.burger{display:none;width:44px;height:44px;border:0;background:none;cursor:pointer;position:relative}
.burger span{position:absolute;left:10px;right:10px;height:1.5px;background:var(--tx);transition:.25s}
.burger span:nth-child(1){top:16px}.burger span:nth-child(2){top:26px}
.open .burger span:nth-child(1){top:21px;transform:rotate(45deg)}.open .burger span:nth-child(2){top:21px;transform:rotate(-45deg)}
/* hero */
.hero{padding:0;border:0}
.hero video{width:100%;height:min(78vh,820px);min-height:420px;object-fit:cover;background:#cfcfcf}
.manifest{padding-top:96px;padding-bottom:120px}
.manifest h1{font-family:"Instrument Serif",serif;font-weight:400;font-size:clamp(40px,6.4vw,92px);line-height:1.02;letter-spacing:-.015em;max-width:18ch}
.manifest h1 em{color:var(--rojo)}
.manifest .row{display:flex;justify-content:space-between;gap:40px;margin-top:48px;flex-wrap:wrap;align-items:end}
.manifest p{max-width:520px;color:var(--mu);font-size:19px}
/* proyectos */
.projects{display:grid;grid-template-columns:repeat(2,1fr);gap:64px 40px}
.ph{aspect-ratio:4/3;background:linear-gradient(135deg,#d9d9d9,#ececec);position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ph::after{content:"Foto pendiente";font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--mu);border:1px solid var(--mu);padding:8px 14px;border-radius:999px}
.ph.photo{aspect-ratio:4/5;background:#d9d9d9}.ph.photo::after{display:none}.ph.photo picture,.ph.photo img{width:100%;height:100%}.ph.photo img{object-fit:cover;object-position:50% 70%}
.project .tag{text-align:right;max-width:46%}
.ph.b{background:linear-gradient(135deg,#cfcfcf,#f2f2f2)}
.project:nth-child(even){margin-top:120px}
.project .meta{display:flex;justify-content:space-between;margin-top:20px;gap:16px}
.project .tag{font-size:13px;color:var(--mu)}
.project p{color:var(--mu);margin-top:6px;font-size:15px}
/* servicios */
.services{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--ln)}
.svc{padding:40px 32px 48px 0;border-bottom:1px solid var(--ln)}
.svc:not(:nth-child(3n)){border-right:1px solid var(--ln)}.svc:not(:nth-child(3n+1)){padding-left:32px}
.svc .n{font-family:"Instrument Serif",serif;font-size:28px;color:var(--tx)}
.svc h3{margin:16px 0 10px}.svc p{color:var(--mu);font-size:15px}
/* método */
.metodo{background:var(--gris)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;counter-reset:s}
.step{border-top:1px solid var(--tx);padding-top:24px}
.step b{font-family:"Instrument Serif",serif;font-weight:400;font-size:56px;line-height:1;display:block;margin-bottom:20px}
.step p{color:#555555;font-size:15px;margin-top:10px}
/* luminosos */
.dark{background:#111111;color:#f2f2f2;border:0}
.dark .eyebrow{color:#8f8f8f}
.dark h2 em{color:#ffffff;font-style:italic}
.lum{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center}
.lum ul{list-style:none;margin-top:32px}.lum li{padding:16px 0;border-bottom:1px solid #2b2b2b;display:flex;justify-content:space-between}
.lum li span{color:#8f8f8f;font-size:14px}
.glow{aspect-ratio:1;border:1px solid #2b2b2b;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;background:radial-gradient(circle at 50% 50%,rgba(236,30,59,.14),transparent 65%)}
.glow strong{font-family:"Instrument Serif",serif;font-weight:400;font-size:clamp(56px,7vw,110px);color:#ffffff}
.lum-photo{border:1px solid #2b2b2b;background:#111}
.glow small{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#8f8f8f}
/* por qué */
.why{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 40px}
.why h3{font-size:19px;margin-bottom:8px}.why p{color:var(--mu);font-size:15px}
.why div{border-top:1px solid var(--ln);padding-top:20px}
/* contacto */
.contact{display:grid;grid-template-columns:1.2fr 1fr;gap:64px}
.contact h2{max-width:12ch}
.cinfo{display:flex;flex-direction:column;gap:24px}
.cinfo div{border-top:1px solid var(--ln);padding-top:16px}
.cinfo small{display:block;font-size:13px;color:var(--mu);margin-bottom:4px}
.cinfo a,.cinfo span{font-size:20px}.cinfo a:hover{color:var(--rojo)}
.logo{display:inline-block;overflow:hidden}
.logo img{animation:logo-in 1s cubic-bezier(.22,1,.36,1) .15s both;transition:transform .35s ease,opacity .35s}
.logo:hover img{transform:translateY(-2px);opacity:.85}
@keyframes logo-in{0%{opacity:0;transform:translateX(-14px);clip-path:inset(0 100% 0 0)}100%{opacity:1;transform:none;clip-path:inset(0 0 0 0)}}
@media(prefers-reduced-motion:reduce){.logo img{animation:none!important;transition:none!important}.logo:hover img{transform:none}}
#va-intro{position:fixed;inset:0;z-index:9999;cursor:pointer}
#va-intro canvas{position:absolute;inset:0;width:100%;height:100%}
#va-intro img{position:absolute;left:50%;top:50%;width:min(46vw,520px);height:auto;transform:translate(-50%,-50%) scale(.94);opacity:0;transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1)}
#va-intro.on img{opacity:1;transform:translate(-50%,-50%) scale(1)}
#va-intro.hole img{opacity:0;transition:opacity .7s ease}
#va-intro.done{opacity:0;transition:opacity .25s ease;pointer-events:none}
html.va-intro-run,html.va-intro-run body{overflow:hidden}
html.va-intro-play .logo img{animation:none}
.slides>picture,.slides>img{position:absolute;inset:0;opacity:0;transition:opacity .9s cubic-bezier(.4,0,.2,1)}
.slides>picture:first-of-type,.slides>.is-on{opacity:1}.slides.ready>picture:not(.is-on),.slides.ready>img:not(.is-on){opacity:0}
.slides img{width:100%;height:100%;object-fit:cover;object-position:50% 70%}
.sl-btn{position:absolute;top:50%;z-index:2;width:40px;height:40px;margin-top:-20px;border:0;border-radius:50%;background:rgba(35,31,32,.55);color:#fff;font-size:18px;line-height:40px;cursor:pointer;opacity:0;transition:opacity .25s,background .25s}
.sl-prev{left:12px}.sl-next{right:12px}
.slides:hover .sl-btn,.sl-btn:focus-visible{opacity:1}.sl-btn:hover{background:#231f20}
.sl-dots{position:absolute;left:0;right:0;bottom:14px;z-index:2;display:flex;justify-content:center;gap:8px}
.sl-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.7);box-shadow:0 0 0 1px rgba(0,0,0,.15);cursor:pointer;transition:background .25s,transform .25s}
.sl-dots button[aria-current="true"]{background:#ec1e3b;transform:scale(1.25)}
.slides:focus-visible{outline:2px solid #ec1e3b;outline-offset:3px}
@media(hover:none){.sl-btn{opacity:.85}}
@media(prefers-reduced-motion:reduce){.slides>picture,.slides>img{transition:none}}
.wa{background:#231f20}
.wa-fab{position:fixed;right:24px;bottom:24px;z-index:40;display:flex;align-items:center;gap:12px;padding:6px 20px 6px 6px;border-radius:999px;background:#231f20;color:#f2f2f2;font-weight:500;font-size:15px;box-shadow:0 10px 30px rgba(0,0,0,.22);transition:transform .25s,box-shadow .25s;animation:wa-in .7s cubic-bezier(.34,1.56,.64,1) .6s both}
.wa-fab:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(0,0,0,.28)}
.wa-fab:hover .wa-lbl{text-decoration:underline;text-decoration-color:#ec1e3b;text-underline-offset:5px}
.wa-ico{position:relative;width:48px;height:48px;border-radius:50%;background:#25d366;display:flex;align-items:center;justify-content:center;flex:none;transition:transform .25s}
.wa-ico svg{width:28px;height:28px}
.wa-ico::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #25d366;animation:wa-ring 2.6s ease-out 1.6s infinite}
.wa-fab:hover .wa-ico{transform:scale(1.08) rotate(-8deg)}
@keyframes wa-in{0%{opacity:0;transform:translateY(24px) scale(.8)}100%{opacity:1;transform:none}}
@keyframes wa-ring{0%{transform:scale(1);opacity:.7}80%,100%{transform:scale(1.6);opacity:0}}
@media(max-width:640px){.wa-fab{right:16px;bottom:16px;padding:5px 14px 5px 5px;font-size:13px;gap:8px}.wa-ico{width:42px;height:42px}.wa-ico svg{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.wa-fab,.wa-ico,.wa-ico::after{animation:none!important;transition:none!important}.wa-fab:hover,.wa-fab:hover .wa-ico{transform:none}}

footer{padding:56px 0;background:#111111;font-size:14px;color:#8f8f8f}footer a:hover{color:#ffffff}.flogo{height:36px;width:auto}
footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.float{position:fixed;right:20px;bottom:20px;z-index:40;box-shadow:0 8px 24px rgba(0,0,0,.15)}
@media(max-width:900px){
 .wrap{padding:0 22px}section{padding:80px 0}
 .menu{position:fixed;inset:72px 0 auto 0;flex-direction:column;gap:0;background:var(--bg);padding:8px 22px 28px;border-bottom:1px solid var(--ln);display:none}
 .menu li a{display:block;padding:16px 0;font-size:24px;font-family:"Instrument Serif",serif;border-bottom:1px solid var(--ln)}
 .open .menu{display:flex}
 .burger{display:block}.nav .btn{display:none}
 .hero video{height:min(56vh,480px);min-height:300px}
 .manifest{padding-top:56px;padding-bottom:72px}
 .projects,.services,.why,.contact,.lum{grid-template-columns:1fr}
 .project:nth-child(even){margin-top:0}
 .svc,.svc:not(:nth-child(3n+1)){padding:28px 0;border-right:0!important}
 .steps{grid-template-columns:1fr 1fr}
 .head{margin-bottom:40px}
 .float{left:16px;right:16px;justify-content:center}
 footer{padding-bottom:100px}
}
