:root {
  --base:#101715; --paper:#f2f5ee; --accent:#c9f2ba; --bar:96px;
  --gutter:clamp(20px,4.45vw,85px); --muted:#b7c7be;
}
body { background:var(--base); color:var(--paper); }
button { font:inherit; color:inherit; cursor:pointer; }
.skip { position:fixed; top:8px; left:8px; z-index:8; padding:10px 14px; background:var(--accent); color:#14231a; transform:translateY(-150%); }
.skip:focus { transform:none; }
.site-header { height:var(--bar); min-height:0; gap:16px; background:#101715f7; border-color:#b6d7c32c; }
.site-header .wordmark, .site-footer .wordmark { display:inline; color:var(--paper); font:680 clamp(1.4rem,2.35vw,2.2rem)/1 system-ui,sans-serif; letter-spacing:-.065em; text-transform:none; white-space:nowrap; }
.wordmark span { color:var(--accent); font-weight:510; }
.site-header nav { gap:clamp(16px,2.9vw,44px); }
.site-header nav a { font-weight:540; }
.nav-contact { padding:8px 15px; border:1px solid #d4e7dc76; border-radius:40px; }
.menu-toggle { display:none; align-items:center; gap:8px; padding:7px 12px; border:1px solid #ffffff38; background:#18241f; border-radius:5px; }

.hero { min-height:max(680px,calc(100svh - var(--bar))); overflow:hidden; background:#0c1613 url("recursos/estudio.jpg") 68% center/cover; }
.hero::before { z-index:-1; background:linear-gradient(90deg,#08110bee,#08110bc9 39%,#08110b36 85%),linear-gradient(0deg,#0c1712d9,transparent 35%); }
.hero-film { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; opacity:0; transition:opacity .6s; }
.hero-film.playing { opacity:1; }
.hero-copy { width:min(840px,100%); animation:enter .55s ease-out both; }
.hero-label { display:inline-flex; align-items:center; gap:9px; padding:7px 12px; border:1px solid #c9f2ba65; border-radius:99px; background:#13221acc; }
.hero-label span { width:6px; height:6px; border-radius:50%; background:var(--accent); }
.hero h1 { max-width:14ch; margin:24px 0 23px; font-size:clamp(3.9rem,7.7vw,8rem); font-weight:430; letter-spacing:-.085em; line-height:.91; }
.hero h1 em { font-style:normal; color:var(--accent); }
.hero .lede { max-width:52ch; margin-bottom:30px; }
.button { padding:11px 19px; border-radius:99px; font-weight:600; min-height:44px; }
.button.primary { background:var(--accent); border-color:var(--accent); color:#16291c; }
.hero-note { display:grid; gap:5px; bottom:61px; color:#e6f4e7; }
.motion-toggle { position:absolute; bottom:22px; right:var(--gutter); background:#101a16df; color:#eef4ec; border:1px solid #d4e7dc76; border-radius:30px; padding:4px 11px; font-size:.75rem; }
@keyframes enter { from { opacity:0; transform:translateY(13px); } to { opacity:1; transform:none; } }

.work { min-height:0; background:#17241d; }
.stage { min-height:calc(100svh - var(--bar)); display:grid; grid-template-rows:auto 1fr auto; position:relative; top:auto; padding:30px var(--gutter) 32px; }
.stage::before { background:linear-gradient(115deg,#12241bdc,#284131b0),url("recursos/almacen.jpg") center/cover; filter:blur(30px); }
.work.enhanced { min-height:270vh; }
.work.enhanced .stage { position:sticky; top:var(--bar); }
.work-top { min-height:28px; }
.rail { grid-auto-flow:row; gap:40px; }
.rail .feature, .work[data-case] .rail .feature { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(26px,6vw,93px); align-items:center; }
.feature-copy { grid-column:1; grid-row:1; }
.feature .feature-copy p { grid-column:auto; grid-row:auto; max-width:44ch; }
.feature h3 { margin:12px 0; font-size:clamp(2.45rem,5.4vw,6.1rem); letter-spacing:-.075em; font-weight:465; }
.feature-copy a { text-underline-offset:5px; color:var(--accent); }
.feature figure { grid-column:2; grid-row:1; height:clamp(315px,53vh,525px); border:1px solid #d4ecca34; }
.feature img { object-position:center; }
.work.enhanced .feature:not(.is-active) { display:none; }
.work.enhanced .feature.is-active { animation:enter .4s ease-out both; }
.work-controls { justify-self:end; display:flex; align-items:center; gap:14px; color:var(--muted); font-size:.83rem; font-variant-numeric:tabular-nums; }
.work-controls button { width:44px; height:44px; border-radius:50%; border:1px solid #ffffff55; background:#1d2b24; font-size:1.1rem; }
.work-controls button:hover { background:#395244; }
.work-controls button:disabled { opacity:.5; cursor:default; }
.work:not(.enhanced) .work-controls { display:none; }

.after, .approach, .contact { scroll-margin-top:0; }
.solutions { background:#eef2e9; }
.section-lead { max-width:74ch; }
.section-lead > p:last-child { max-width:62ch; font-size:1.12rem; }
.after h2, .approach h2, .contact h2 { font-size:clamp(2.75rem,6.2vw,7.2rem); line-height:.95; font-weight:460; letter-spacing:-.075em; margin:14px 0 28px; }
.solutions .services { gap:30px clamp(20px,3vw,50px); margin-top:48px; }
.services article { padding:16px 0 14px; scroll-margin-top:18px; }
.services h3 { margin:8px 0; font-size:clamp(1.28rem,2vw,1.85rem); line-height:1.14; letter-spacing:-.04em; }
.services article > p:last-child { margin-bottom:0; }
.state { font-size:.74rem; color:#315649; margin:0; font-weight:650; }
.state.pilot { color:#734923; }
.approach { display:grid; grid-template-columns:1fr 1fr; min-height:calc(100svh - var(--bar)); align-items:stretch; background:#132119; }
.approach-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(55px,7vw,100px) var(--gutter); }
.approach h2 { font-size:clamp(2.5rem,5vw,5.6rem); }
.approach figure { margin:0; min-height:380px; }
.approach img { display:block; width:100%; height:100%; object-fit:cover; }
.approach ol { padding-left:1.3rem; margin:0; color:#d1ded6; }
.approach li + li { margin-top:14px; }
.faq { display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(28px,6vw,100px); background:#e1ece3; }
.faq-list { align-self:center; }
details { border-bottom:1px solid #284c394f; padding:16px 0; }
details:first-child { border-top:1px solid #284c394f; }
summary { cursor:pointer; font-size:1.08rem; font-weight:650; }
details p { margin:9px 0 0; max-width:58ch; }
.contact { min-height:65svh; padding:clamp(66px,10vw,152px) var(--gutter); background:radial-gradient(ellipse at 77% 22%,#344d3c,#101a15 62%); }
.contact h2 { max-width:15ch; }
.contact > p:not(.eyebrow) { color:#d3e1d8; max-width:56ch; }
.contact .actions { margin-top:27px; }
.site-footer { align-items:center; border-top:1px solid #d4e7dc38; gap:20px 36px; padding:36px var(--gutter); }
.site-footer nav { flex-wrap:wrap; }
.site-footer > span { color:var(--muted); }

@media(max-width:860px) {
  :root { --bar:76px; }
  .site-header { flex-direction:row; align-items:center; justify-content:space-between; }
  .site-header nav { gap:13px; font-size:.78rem; }
  .hero .lede { max-width:43ch; }
  .hero-note { display:none; }
  .solutions .services { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .js .menu-toggle { display:inline-flex; }
  .js .site-header nav { display:none; position:absolute; top:100%; inset-inline:0; background:#14221b; padding:16px var(--gutter) 22px; font-size:1rem; border-bottom:1px solid #c9f2ba44; }
  .js .site-header nav.open { display:grid; }
  .site-header nav a { padding-block:6px; }
  .nav-contact { justify-self:start; padding-inline:13px; }
  .hero { min-height:calc(100svh - var(--bar)); padding-block:44px 62px; background-position:64% center; }
  .hero::before { background:linear-gradient(90deg,#08110bed,#08110b8f),linear-gradient(0deg,#0c1712c9,transparent 40%); }
  .hero h1 { font-size:clamp(3.15rem,12.3vw,4.7rem); max-width:11ch; }
  .hero .lede { max-width:34ch; }
  .hero .actions { gap:9px; }
  .hero .button { padding-inline:13px; gap:9px; }
  .motion-toggle { bottom:12px; }
  .work.enhanced { min-height:0; }
  .work.enhanced .stage, .stage { position:relative; top:auto; min-height:0; }
  .rail { grid-auto-flow:column; grid-auto-columns:min(85%,400px); gap:16px; padding-bottom:12px; scroll-snap-type:x mandatory; }
  .rail .feature, .work[data-case] .rail .feature, .work.enhanced .rail .feature:not(.is-active) { display:flex; flex-direction:column; gap:12px; scroll-snap-align:start; }
  .feature figure { height:clamp(230px,66vw,370px); min-height:0; width:100%; }
  .feature h3 { margin:8px 0; font-size:2.4rem; }
  .feature .feature-copy p { margin-bottom:9px; }
  .work-controls { justify-self:start; }
  .solutions .services, .approach, .faq { grid-template-columns:1fr; }
  .solutions .services { margin-top:30px; gap:10px; }
  .approach figure { min-height:260px; max-height:370px; }
  .faq { gap:9px; }
  .site-footer { align-items:flex-start; }
  .site-footer nav { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .hero-film, .motion-toggle { display:none !important; }
}
