:root{
  --bg:#11110f; --paper:#f2efe8; --ink:#171613; --muted:#777066; --gold:#b5955d;
  --line:rgba(23,22,19,.14); --max:1320px;
  --scene-image:url("assets/backgrounds/estudio-maqueta-hd.png");
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--paper);color:var(--ink);font-weight:300}body.viewer-open{overflow:hidden}
a{color:inherit;text-decoration:none}
.site-header{position:fixed;z-index:20;top:0;left:0;right:0;height:88px;padding:0 4vw;display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(to bottom,rgba(0,0,0,.58),transparent)}
.brand{display:flex;flex-direction:column;gap:4px}.brand-main{font-family:Manrope,sans-serif;letter-spacing:.18em;font-size:16px}.brand-sub{font-size:9px;letter-spacing:.22em;opacity:.68}
.nav{display:flex;gap:28px;font-size:13px}.nav a{opacity:.84}.nav a:hover{opacity:1}
.menu-toggle{display:none;background:none;border:0;color:inherit;font:inherit}
.hero{min-height:100vh;position:relative;display:flex;align-items:flex-end;padding:10vh 6vw 9vh;color:#fff;background:#111 url("assets/projects/la-farola-de-ituzaingo/01.webp") center/cover no-repeat}
.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 40%,rgba(181,149,93,.23),transparent 28%)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.62),rgba(0,0,0,.12))}
.hero-content{position:relative;max-width:900px;z-index:2}.eyebrow,.section-kicker{text-transform:uppercase;letter-spacing:.21em;font-size:11px}
.hero h1,.section h2,.contact h2{font-family:Manrope,sans-serif;font-weight:300;letter-spacing:-.035em}
.hero h1{font-size:clamp(48px,7.5vw,108px);line-height:.95;margin:24px 0}
.hero-copy{max-width:650px;font-size:18px;line-height:1.6;color:rgba(255,255,255,.8)}
.hero-actions{display:flex;gap:12px;margin-top:32px}.button{display:inline-flex;padding:14px 20px;border:1px solid currentColor;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.button-light{background:#f5f1e8;color:#181714;border-color:#f5f1e8}.button-ghost{color:#fff}
.hero-note{position:absolute;right:5vw;bottom:3vh;font-size:10px;opacity:.5;z-index:2}
.section{padding:110px 6vw}.section-light{background:var(--paper)}.section-dark{background:var(--bg);color:#f2efe8}
.section>*{max-width:var(--max);margin-left:auto;margin-right:auto}.section-kicker{color:var(--gold);margin-bottom:24px}
.intro h2,.section-heading h2,.section-dark>h2,.editorial>h2{font-size:clamp(42px,6vw,82px);line-height:1.02;margin:0 0 34px}
.intro p{max-width:800px;font-size:20px;line-height:1.7;color:#5f5a52}
.projects{background:#e8e3d9}.section-heading{display:flex;justify-content:space-between;gap:60px;align-items:end;margin-bottom:48px}.section-heading p{max-width:420px;color:var(--muted);line-height:1.6}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.project-card{background:#181713;min-height:300px;position:relative;overflow:hidden;border:0;padding:0;color:#fff;text-align:left;cursor:pointer}.project-card:first-child{grid-column:span 2;grid-row:span 2;min-height:616px}.project-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s ease,filter .7s ease}.project-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(to top,rgba(0,0,0,.78),transparent)}.project-card:hover img,.project-card:focus-visible img{transform:scale(1.025);filter:saturate(1.05)}
.project-meta{position:absolute;left:22px;right:22px;bottom:20px;color:#fff;display:flex;justify-content:space-between;gap:20px;align-items:end;text-shadow:0 1px 20px rgba(0,0,0,.5)}.project-meta span{font-size:10px;text-transform:uppercase;letter-spacing:.12em}.project-meta strong{font-weight:400}
.project-meta{z-index:1}.projects-loading{grid-column:1/-1;color:var(--muted)}
.project-viewer{position:fixed;z-index:100;inset:0;background:rgba(8,8,7,.96);color:#fff;padding:30px}.project-viewer[hidden]{display:none}.viewer-close{position:absolute;z-index:2;right:30px;top:24px;background:none;border:0;color:#fff;font:inherit;text-transform:uppercase;letter-spacing:.14em;font-size:11px;cursor:pointer}.viewer-stage{height:100%;display:grid;grid-template-columns:60px minmax(0,1fr) 60px;gap:20px;align-items:center}.viewer-stage figure{margin:0;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center}.viewer-stage img{display:block;width:100%;height:calc(100vh - 110px);object-fit:contain}.viewer-stage figcaption{display:flex;justify-content:space-between;gap:20px;padding-top:12px;font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.68)}.viewer-stage figcaption strong{font-weight:400;color:#fff}.viewer-arrow{border:1px solid rgba(255,255,255,.3);border-radius:50%;width:48px;height:48px;background:transparent;color:#fff;font-size:20px;cursor:pointer}.viewer-arrow:disabled{opacity:.25;cursor:default}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:64px;border-top:1px solid rgba(255,255,255,.16)}
.services-grid>div{padding:34px 20px 54px 0;border-bottom:1px solid rgba(255,255,255,.16)}.services-grid span,.process-list span{color:var(--gold);font-size:11px}.services-grid h3{font-weight:300;font-size:22px}
.process-list{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}.process-list>div{padding:30px 28px 36px 0;border-bottom:1px solid var(--line)}.process-list h3{font-size:24px;font-weight:400}.process-list p{color:var(--muted);line-height:1.6}
.editorial{background:#f7f4ed}.editorial-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line)}.editorial article{background:#f7f4ed;padding:30px}.editorial h3{font-weight:400;font-size:22px}.editorial p{color:var(--muted);line-height:1.6}
.contact{min-height:70vh;background:#151512 url("assets/projects/safran-de-san-justo/01.webp") center/cover no-repeat;color:#fff;display:flex;align-items:center;justify-content:center;position:relative;padding:9vw}.contact-overlay{position:absolute;inset:0;background:rgba(0,0,0,.65)}.contact-content{position:relative;z-index:1;text-align:center;max-width:850px}.contact h2{font-size:clamp(44px,7vw,92px);line-height:1;margin:18px 0}.contact p{color:rgba(255,255,255,.72);line-height:1.6}
.contact-actions{display:flex;justify-content:center;gap:12px;margin-top:28px}
.footer{background:#0b0b0a;color:#fff;padding:48px 6vw;display:flex;justify-content:space-between;gap:30px;align-items:end}.footer-note{font-size:11px;opacity:.55}
@media(max-width:850px){
  .nav{position:fixed;top:0;right:-100%;height:100vh;width:75vw;background:#111;padding:120px 30px;flex-direction:column;transition:.3s}.nav.open{right:0}.menu-toggle{display:block;z-index:2}
  .hero{padding-left:7vw;padding-right:7vw}.hero-note{display:none}.section{padding:82px 7vw}
  .section-heading{display:block}.project-grid,.services-grid,.process-list,.editorial-grid{grid-template-columns:1fr}.project-card,.project-card:first-child{grid-column:auto;grid-row:auto;min-height:330px}.viewer-stage{grid-template-columns:1fr}.viewer-arrow{position:absolute;z-index:2;bottom:24px}.viewer-prev{left:24px}.viewer-next{right:24px}.viewer-stage img{height:calc(100vh - 125px)}.viewer-stage figcaption{padding:8px 58px 0}.project-viewer{padding:18px}
  .footer{display:block}.footer-note{margin-top:28px}
}

/* Dirección visual basada en la página anterior de AVILA & AVILA. */
.site-header{height:76px;background:linear-gradient(to bottom,rgba(0,0,0,.86),rgba(0,0,0,.12));border-bottom:1px solid rgba(255,255,255,.08)}
.site-header .brand{width:auto;height:auto;padding:0;display:flex;align-items:flex-start;justify-content:center;overflow:visible;background:transparent;border:0}
.site-header .brand img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:none;mix-blend-mode:normal}
.hero{align-items:center;padding-top:18vh;padding-bottom:10vh;background:#090908;overflow:hidden}
.hero:after{content:"";position:absolute;z-index:0;inset:-18px;background:url("assets/projects/la-farola-de-ituzaingo/01.webp") center/cover no-repeat;filter:blur(7px);transform:scale(1.035)}
.hero:before{z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.76) 0%,rgba(0,0,0,.36) 60%,rgba(0,0,0,.56) 100%)}
.hero-overlay{background:linear-gradient(to top,rgba(0,0,0,.62),rgba(0,0,0,.04) 50%,rgba(0,0,0,.3))}
.hero-content{max-width:760px}
.hero-brand{font-family:Manrope,sans-serif;font-size:clamp(40px,5vw,76px);font-weight:300;letter-spacing:.16em;line-height:1;margin:24px 0 20px}
.hero h1{font-size:clamp(34px,4vw,58px);line-height:1.08;max-width:700px;margin:0 0 24px}
.hero-copy{font-size:16px;max-width:600px}
.hero-index{position:absolute;z-index:3;right:2.6vw;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:22px;font-size:11px;color:rgba(255,255,255,.58)}
.hero-index strong{color:#d3ad6b;font-weight:400;border-left:2px solid #d3ad6b;padding-left:12px}
.brand-signature{min-height:230px;padding:26px 6vw;display:flex;align-items:center;justify-content:center;gap:7vw;background:#f4f2ed;border-bottom:1px solid var(--line)}
.brand-signature img{width:280px;height:auto;display:block}
.brand-signature p{font-family:Manrope,sans-serif;font-size:clamp(22px,3vw,38px);line-height:1.2;font-weight:300;letter-spacing:-.02em;margin:0;color:#2b2924}
.projects{padding-top:76px;padding-bottom:84px;background:#f3f1ec}
.projects .section-heading{margin-bottom:30px}
.projects .section-heading h2{font-size:clamp(38px,4.6vw,64px);margin-bottom:0}
.project-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(230px,18vw);gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding-bottom:16px;scrollbar-color:var(--gold) rgba(23,22,19,.1);scrollbar-width:thin}
.project-grid::-webkit-scrollbar{height:5px}.project-grid::-webkit-scrollbar-track{background:rgba(23,22,19,.1)}.project-grid::-webkit-scrollbar-thumb{background:var(--gold)}
.project-card,.project-card:first-child{grid-column:auto;grid-row:auto;min-height:360px;scroll-snap-align:start}
.project-meta{display:block;left:15px;right:15px;bottom:16px}
.project-meta span,.project-meta strong{display:block}
.project-meta strong{font-size:17px;margin-top:7px}
.vision-split{display:grid;grid-template-columns:minmax(360px,.8fr) minmax(0,1.2fr);min-height:590px;background:#f4f2ed}
.vision-copy{padding:8vw 6vw;display:flex;flex-direction:column;justify-content:center}
.vision-copy h2{font-family:Manrope,sans-serif;font-size:clamp(40px,5vw,72px);font-weight:300;letter-spacing:-.04em;line-height:1.04;margin:0 0 30px}
.vision-copy p{max-width:560px;color:#625d54;font-size:17px;line-height:1.7}
.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;width:max-content;margin-top:20px;padding:14px 16px;border:1px solid rgba(23,22,19,.45);font-size:11px;text-transform:uppercase;letter-spacing:.1em}
.text-link span{color:var(--gold);font-size:18px}
.vision-media{min-height:590px;overflow:hidden}
.vision-media img{width:100%;height:100%;object-fit:cover;display:block}
.services-grid{grid-template-columns:repeat(6,1fr);gap:0}
.services-grid>div{padding-right:24px;border-right:1px solid rgba(255,255,255,.12)}
.services-grid h3{font-size:18px;line-height:1.35}
.process .section-heading{margin-bottom:34px}
.process .section-heading h2{font-size:clamp(38px,5vw,64px);margin-bottom:0}
.process-list{grid-template-columns:repeat(6,1fr);border-color:rgba(255,255,255,.16)}
.process-list>div{padding:28px 20px 30px 0;border-color:rgba(255,255,255,.16)}
.process-list h3{font-size:18px}.process-list p{font-size:13px;color:rgba(255,255,255,.62)}

@media(max-width:1100px){
  .services-grid,.process-list{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:850px){
  .site-header .brand{width:auto;height:auto;padding:0}.hero{align-items:flex-end;padding-top:120px}.hero-brand{font-size:36px;letter-spacing:.1em}.hero h1{font-size:36px}.hero-index{display:none}
  .brand-signature{min-height:190px;gap:22px;padding:24px 7vw}.brand-signature img{width:175px}.brand-signature p{font-size:21px}
  .projects{padding-top:65px;padding-bottom:70px}.project-grid{grid-auto-columns:82vw;scroll-snap-type:x mandatory;padding-bottom:10px}.project-card,.project-card:first-child{min-height:390px}
  .vision-split{grid-template-columns:1fr}.vision-copy{padding:80px 7vw}.vision-media{min-height:390px}
  .services-grid,.process-list{grid-template-columns:1fr}
}

/* Ritmo vertical compacto. */
.hero{min-height:78vh;padding-top:13vh;padding-bottom:6vh}
.section{padding-top:62px;padding-bottom:62px}
.projects{padding-top:50px;padding-bottom:52px}
.projects .section-heading{margin-bottom:22px}
.project-card,.project-card:first-child{min-height:280px}
.vision-split{min-height:420px}
.vision-copy{padding-top:5.5vw;padding-bottom:5.5vw}
.vision-copy h2{margin-bottom:22px}
.vision-copy p{margin-top:0;margin-bottom:8px}
.vision-media{min-height:420px}
.services-grid{margin-top:34px}
.services-grid>div{padding-top:20px;padding-bottom:27px}
.process .section-heading{margin-bottom:24px}
.process-list>div{padding-top:18px;padding-bottom:18px}
.process-list h3{margin-top:12px;margin-bottom:10px}
.process-list p{margin-top:0;margin-bottom:0}
.editorial-grid article{padding:24px}
.contact{min-height:46vh;padding-top:5.5vw;padding-bottom:5.5vw}
.footer{padding-top:34px;padding-bottom:34px}

@media(max-width:850px){
  .hero{min-height:88svh;padding-top:105px;padding-bottom:7vh}
  .section{padding-top:62px;padding-bottom:62px}
  .projects{padding-top:52px;padding-bottom:55px}
  .project-card,.project-card:first-child{min-height:340px}
  .vision-copy{padding-top:62px;padding-bottom:62px}
  .vision-media{min-height:330px}
  .contact{min-height:52vh}
  .contact-actions{flex-direction:column;align-items:stretch;max-width:270px;margin-left:auto;margin-right:auto}
}

/* Exploracion local: fondo arquitectonico + vidrio esmerilado. */
body{
  position:relative;
  min-height:100%;
  background:#17130e;
}
body::before{
  content:"";
  position:fixed;
  z-index:0;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(25,20,14,.28),rgba(25,20,14,.58)),
    var(--scene-image) center/cover no-repeat;
}
main,.footer{position:relative;z-index:1}
main>section{scroll-margin-top:100px}

.site-header{
  top:14px;
  left:2vw;
  right:2vw;
  height:66px;
  padding:0 24px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(21,19,16,.52),rgba(21,19,16,.22));
  box-shadow:0 14px 40px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(18px) saturate(1.22);
  backdrop-filter:blur(18px) saturate(1.22);
}
.nav a{
  padding:9px 12px;
  border-radius:999px;
  transition:background .25s ease,opacity .25s ease;
}
.nav a:hover,.nav a:focus-visible{background:rgba(255,255,255,.12)}

.hero{
  min-height:88vh;
  padding-top:15vh;
  background:transparent;
}
.hero::after{
  display:none;
}
.hero::before{
  display:none;
}
.hero-overlay{
  display:none;
}
.hero-content{
  max-width:800px;
  padding:34px 38px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:26px;
  background:linear-gradient(135deg,rgba(20,17,13,.48),rgba(20,17,13,.17));
  box-shadow:0 28px 80px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(16px) saturate(1.12);
  backdrop-filter:blur(16px) saturate(1.12);
}
.hero-brand{font-size:clamp(38px,4.6vw,68px)}
.hero h1{font-size:clamp(32px,3.7vw,54px)}
.button{
  border-radius:999px;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.button-light{background:rgba(247,243,234,.9)}
.button-ghost{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.5)}

.projects,.editorial{
  margin:24px 2vw;
  border:1px solid rgba(255,255,255,.2);
  border-radius:28px;
  color:#f5f1e8;
  background:linear-gradient(135deg,rgba(20,17,13,.48),rgba(20,17,13,.17));
  box-shadow:0 24px 70px rgba(19,15,10,.16),inset 0 1px rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(16px) saturate(1.12);
  backdrop-filter:blur(16px) saturate(1.12);
}
.project-card{border-radius:18px;box-shadow:0 12px 30px rgba(25,20,14,.14)}
.vision-split{
  margin:24px 2vw;
  min-height:420px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.2);
  border-radius:28px;
  color:#f5f1e8;
  background:linear-gradient(135deg,rgba(20,17,13,.48),rgba(20,17,13,.17));
  box-shadow:0 24px 70px rgba(19,15,10,.16);
  -webkit-backdrop-filter:blur(16px) saturate(1.12);
  backdrop-filter:blur(16px) saturate(1.12);
}
.vision-media{min-height:420px}
.section-dark{
  margin:24px 2vw;
  border:1px solid rgba(255,255,255,.13);
  border-radius:28px;
  background:linear-gradient(135deg,rgba(20,17,13,.48),rgba(20,17,13,.17));
  box-shadow:0 24px 70px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.06);
  -webkit-backdrop-filter:blur(16px) saturate(1.12);
  backdrop-filter:blur(16px) saturate(1.12);
}
.services-grid>div,.process-list>div{background:rgba(255,255,255,.015)}
.editorial-grid{gap:10px;background:transparent}
.editorial article{
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  background:rgba(255,255,255,.04);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.contact{
  margin:24px 2vw;
  min-height:50vh;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  border-radius:28px;
  box-shadow:0 24px 70px rgba(0,0,0,.22);
  background:linear-gradient(135deg,rgba(20,17,13,.48),rgba(20,17,13,.17));
  -webkit-backdrop-filter:blur(16px) saturate(1.12);
  backdrop-filter:blur(16px) saturate(1.12);
}
.contact-overlay{background:transparent}
.contact-content{
  padding:32px 38px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:24px;
  background:rgba(255,255,255,.04);
  -webkit-backdrop-filter:blur(15px);
  backdrop-filter:blur(15px);
}
.footer{
  margin:24px 2vw 20px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(20,17,13,.48),rgba(20,17,13,.17));
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
}
.section-heading p,.vision-copy p,.editorial p,.process-list p{color:rgba(255,255,255,.8)}
.section-kicker,.services-grid span,.process-list span,.text-link span{color:#dfc494}
.text-link{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.04);border-radius:999px}
.project-viewer{background:rgba(12,10,8,.56);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}

/* Tarjetas de vidrio con un ritmo más compacto. */
.projects,.editorial,.vision-split,.section-dark,.contact{margin-top:16px;margin-bottom:16px;border-radius:24px}
.section{padding:34px 4vw}
.section-kicker{margin-bottom:14px;font-size:10px}
.section-heading{gap:32px;margin-bottom:18px}
.section-heading p{margin:0;font-size:14px}
.projects .section-heading{margin-bottom:18px}
.projects .section-heading h2,.section-dark>h2,.process .section-heading h2,.editorial>h2{
  font-size:clamp(28px,3.2vw,44px);
  line-height:1.1;
  margin-bottom:20px;
}
.projects .section-heading h2,.process .section-heading h2{margin-bottom:0}
.project-card,.project-card:first-child{min-height:250px}
.vision-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:320px}
.vision-copy{padding:32px 4vw}
.vision-copy h2{font-size:clamp(30px,3.4vw,46px);line-height:1.1;margin-bottom:16px}
.vision-copy p{font-size:15px;line-height:1.55}
.vision-media{position:relative;min-height:320px}
.vision-media img{position:absolute;inset:0}
.text-link{margin-top:12px;padding:11px 14px;font-size:10px}
.services-grid{margin-top:20px}
.services-grid>div{padding:16px 16px 14px 0}
.services-grid h3{font-size:16px;line-height:1.35;margin:10px 0 0}
.process .section-heading{margin-bottom:18px}
.process-list>div{padding:14px 16px 14px 0}
.process-list h3{font-size:16px;margin:8px 0}
.process-list p{font-size:12px;line-height:1.5}
.editorial-grid article{padding:18px}
.editorial h3{font-size:18px;margin:0 0 10px}
.editorial p{font-size:14px;line-height:1.5;margin:0}
.contact{min-height:0;padding:32px 4vw}
.contact-content{padding:24px 30px;max-width:760px}
.contact h2{font-size:clamp(30px,4vw,52px);margin:12px 0}
.contact p{font-size:14px;margin:10px 0}
.contact-actions{margin-top:20px}
.footer{margin-top:16px;margin-bottom:16px;padding:24px 4vw}
.footer-credit{border-left:1px solid rgba(255,255,255,.2);padding-left:22px;font-size:13px;line-height:1.6;white-space:nowrap;color:rgba(255,255,255,.75)}
.footer-credit strong{font-weight:400;color:#f5f1e8}
.hero{min-height:0;padding-top:106px;padding-bottom:28px}
.hero-content{padding:20px 30px}
.hero-content .eyebrow{margin:0 0 14px}
.hero-brand{font-size:clamp(34px,4vw,56px);margin:0 0 16px}
.hero h1{font-size:clamp(30px,3.3vw,46px);margin-bottom:18px}
.hero-actions{margin-top:18px}
.hero-note{position:relative;right:auto;bottom:auto;margin:14px 0 0}
.hero{flex-direction:column;align-items:flex-start;justify-content:center}

/* Ancho contenido y alineación común de las tarjetas. */
.projects,.editorial,.vision-split,.section-dark,.contact,.footer{
  width:min(1100px,86%);
  margin-left:auto;
  margin-right:auto;
}
.site-header{
  left:max(7vw,calc((100vw - 1100px)/2));
  right:max(7vw,calc((100vw - 1100px)/2));
}
.hero{
  padding-left:max(7vw,calc((100vw - 1100px)/2));
  padding-right:max(7vw,calc((100vw - 1100px)/2));
}
.section,.contact,.footer{padding-left:clamp(24px,3vw,40px);padding-right:clamp(24px,3vw,40px)}
.vision-copy{padding-left:clamp(24px,3vw,40px);padding-right:clamp(24px,3vw,40px)}

@media(max-width:850px){
  .site-header{top:10px;left:3vw;right:3vw;height:62px;padding:0 18px;border-radius:16px}
  .nav{
    top:82px;
    right:-110%;
    width:calc(100vw - 6vw);
    height:auto;
    min-height:calc(100svh - 96px);
    margin-right:3vw;
    padding:70px 28px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:22px;
    background:rgba(16,15,13,.72);
    -webkit-backdrop-filter:blur(24px) saturate(1.15);
    backdrop-filter:blur(24px) saturate(1.15);
  }
  .nav.open{right:0}
  .hero{min-height:0;padding-top:92px;padding-bottom:18px;padding-left:5vw;padding-right:5vw}
  .hero-content{padding:20px 24px;border-radius:22px}
  .projects,.editorial,.vision-split,.section-dark,.contact{width:94%;margin:14px auto;border-radius:22px}
  .project-card{border-radius:15px}
  .contact-content{padding:26px 22px;border-radius:20px}
  .footer{width:94%;margin:14px auto;border-radius:20px}
  .footer-credit{border-left:0;border-top:1px solid rgba(255,255,255,.2);margin-top:20px;padding:16px 0 0}
  .section{padding:28px 5vw}
  .section-heading p{margin-top:12px}
  .project-grid{grid-auto-columns:72vw}
  .project-card,.project-card:first-child{min-height:280px}
  .vision-split{grid-template-columns:1fr;min-height:0}
  .vision-copy{padding:28px 5vw}
  .vision-media{min-height:230px}
  .services-grid,.process-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}
  .services-grid>div{padding:14px 8px 14px 0}
  .process-list>div{padding:14px 0}
  .contact{min-height:0;padding:24px 5vw}
  .contact-content{padding:22px 18px}
  .contact-actions{max-width:270px}
}
