/* =========================================================
   Castilla & Asociados — estilos
   Paleta: obra (ladrillo), hormigón y hueso.
   ========================================================= */
:root {
  --ink: #11100e;
  --ink-2: #1a1916;
  --ink-3: #26241f;
  --bone: #eee8dd;
  --bone-2: #ddd5c6;
  --stone: #9b9387;
  --muted: #8d867b;
  --brick: #c4552e;
  --brick-2: #e0703f;
  --line: rgba(238, 232, 221, 0.14);
  --line-dark: rgba(17, 16, 14, 0.14);

  --serif: "Outfit", system-ui, -apple-system, sans-serif;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;
  --em: #d9d2c5;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1520px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hdr-h: 66px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-family: var(--serif); font-style: normal; font-weight: 400; letter-spacing: -0.005em; }
::selection { background: var(--brick); color: var(--bone); }
:focus-visible { outline: 2px solid var(--brick-2); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--bone); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }

.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  color: var(--stone); margin: 0 0 22px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brick); }
.muted { color: var(--muted); }
.h2 {
  font-family: var(--sans); font-weight: 400; font-size: clamp(32px, 4.5vw, 73.6px);
  line-height: 0.98; letter-spacing: -0.035em; margin: 0;
}
.h2 em { font-size: 1.06em; }

/* ---------- split text ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.14em 0.08em 0.24em; margin: -0.14em -0.08em -0.24em; }
.wi { display: inline-block; will-change: transform; }
.sw { transition: none; }

/* ---------- roll (hover) ---------- */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.35; }
.roll > span { display: inline-block; transition: transform 0.6s var(--ease); }
.roll::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap;
  transition: transform 0.6s var(--ease);
}
a:hover .roll > span, button:hover .roll > span, a:hover .roll::after, button:hover .roll::after { transform: translateY(-100%); }

.arr { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.5s var(--ease); }
a:hover .arr, button:hover .arr { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 24px;
  border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { background: var(--brick); color: var(--bone); }
.btn--line { border: 1px solid var(--line); color: var(--bone); }
.btn--line:hover { border-color: var(--bone); }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.link:hover { border-color: var(--brick); }

.tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500; padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--en-proceso { color: var(--brick-2); border-color: rgba(224, 112, 63, 0.4); }
.tag--en-proceso::before { animation: pulse 1.6s infinite; }
.tag--realizado { color: #b9c7a5; border-color: rgba(185, 199, 165, 0.35); }
@keyframes pulse { 50% { opacity: 0.25; } }

/* ---------- loader + curtain ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center;
  pointer-events: none;
}
.loader__word { font-weight: 500; font-size: clamp(44.8px, 12vw, 192px); letter-spacing: -0.05em; line-height: 0.85; overflow: hidden; }
.loader__word .ch { display: inline-block; transform: translateY(105%); }
.loader__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; height: 1px; background: var(--line); }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--brick); transform-origin: left; transform: scaleX(0); }
.loader__count { position: absolute; right: var(--gutter); bottom: 62px; font-size: 13px; letter-spacing: 0.1em; color: var(--stone); font-variant-numeric: tabular-nums; }
.no-loader .loader { display: none; }

.curtain { position: fixed; inset: 0; z-index: 190; background: var(--brick); transform: translateY(100%); pointer-events: none; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 180; pointer-events: none; width: 10px; height: 10px;
  margin: -5px 0 0 -5px; border-radius: 50%; background: var(--bone); mix-blend-mode: difference;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.3s;
  display: grid; place-items: center; opacity: 0;
}
.cursor span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--bone); opacity: 0; transition: opacity 0.3s; }
.cursor.is-big { width: 80px; height: 80px; margin: -40px 0 0 -40px; background: var(--brick); mix-blend-mode: normal; }
.cursor.is-big span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hdr-h);
  display: flex; align-items: center; gap: 32px; padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  transition: transform 0.6s var(--ease), background 0.4s, backdrop-filter 0.4s;
}
.hdr.is-solid { background: rgba(17, 16, 14, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hdr.is-hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo__img { height: 34px; width: auto; }
.nav { display: flex; gap: 34px; font-size: 14px; font-weight: 500; }
.nav__link { position: relative; color: rgba(238, 232, 221, 0.78); transition: color 0.3s; }
.nav__link:hover, .nav__link.is-active { color: var(--bone); }
.nav__link.is-active::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: var(--brick); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--bone); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--ink-2); padding: calc(var(--hdr-h) + 30px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease); visibility: hidden;
}
.menu-open .mnav { clip-path: inset(0 0 0 0); visibility: visible; }
.mnav__link { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mnav__i { font-size: 12px; color: var(--brick-2); }
.mnav__t { font-size: clamp(35.2px, 9.6vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.mnav__foot { display: flex; flex-direction: column; gap: 6px; color: var(--stone); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; will-change: clip-path, transform; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(17,16,14,.78) 0%, rgba(17,16,14,.5) 45%, rgba(17,16,14,.1) 80%),
  linear-gradient(180deg, rgba(17,16,14,.55) 0%, rgba(17,16,14,.15) 30%, rgba(17,16,14,.35) 60%, rgba(17,16,14,.92) 100%); }
.hero__content { position: relative; padding-bottom: clamp(32px, 5.6vh, 64px); }
.hero__title {
  font-weight: 400; font-size: clamp(38.4px, 6.7vw, 120px); line-height: 0.92; letter-spacing: -0.045em;
  margin: 0 0 clamp(22.4px, 3.2vh, 38.4px); max-width: 13ch;
}
.hero__title, .hero__lead { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.35); }
.hero__title em { color: #fff; font-size: 1.04em; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero__lead { max-width: 440px; margin: 0; font-size: 17px; font-weight: 500; }
.hero__scroll { position: absolute; right: var(--gutter); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 60px; background: linear-gradient(var(--bone), transparent); animation: drip 2s var(--ease) infinite; }
@keyframes drip { from { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } to { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- statement ---------- */
.statement { padding-top: clamp(48.4px, 7vw, 96.8px); padding-bottom: clamp(39.6px, 5.3vw, 70.4px); }
.statement__text {
  font-size: clamp(24px, 3.4vw, 56px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 32px; max-width: 22ch;
}
.statement__text--md { font-size: clamp(20.8px, 2.6vw, 40px); max-width: 26ch; }
.statement__text .sw { opacity: 0.16; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12.8px, 1.8vw, 25.6px); padding-bottom: clamp(44px, 5.3vw, 79.2px); }
.pillar { display: block; }
.pillar--b { margin-top: clamp(48px, 9.6vw, 160px); }
.pillar__media { aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; }
.pillar__media img { width: 100%; height: 118%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.04); }
.pillar__body { display: grid; grid-template-columns: auto 1fr; column-gap: 22px; padding-top: 26px; }
.pillar__n { font-size: 13px; color: var(--brick-2); padding-top: 12px; }
.pillar__t { font-weight: 400; font-size: clamp(30.4px, 3.5vw, 57.6px); letter-spacing: -0.04em; line-height: 1; margin: 0 0 14px; }
.pillar__body p { grid-column: 2; margin: 0; max-width: 40ch; color: rgba(238,232,221,.72); }

/* ---------- reveal images ---------- */
.reveal-img { overflow: hidden; }
.js .reveal-img { clip-path: inset(100% 0 0 0); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .reveal-img img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js .reveal-img.is-in img { transform: scale(1); }
.js .pillar:hover .reveal-img.is-in img { transform: scale(1.04); }

/* ---------- horizontal projects ---------- */
.hproj { background: var(--bone); color: var(--ink); }
.hproj__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--hdr-h); }
.hproj__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(19.2px, 3.2vh, 38.4px); }
.hproj__prog { display: flex; align-items: center; gap: 14px; font-size: 13px; font-variant-numeric: tabular-nums; }
.hproj__prog i { width: 140px; height: 1px; background: var(--line-dark); display: block; }
.hproj__prog b { display: block; height: 100%; background: var(--brick); transform-origin: left; transform: scaleX(0); }
.hproj__track { display: flex; gap: clamp(12.8px, 1.6vw, 22.4px); padding: 0 var(--gutter); will-change: transform; }
.pcard { display: block; }
.pcard--h { flex: none; width: clamp(224px, 27.2vw, 448px); }
.pcard__media { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; background: var(--bone-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__meta { display: grid; grid-template-columns: auto 1fr auto; column-gap: 16px; row-gap: 4px; align-items: baseline; padding-top: 18px; }
.pcard__n { font-size: 12px; color: var(--brick); }
.pcard__t { margin: 0; font-weight: 400; font-size: clamp(19.2px, 1.8vw, 27.2px); letter-spacing: -0.03em; line-height: 1.05; }
.pcard__k { grid-column: 2; font-size: 14px; color: var(--muted); }
.pcard .tag { grid-row: 1; grid-column: 3; }
.hproj .tag--realizado { color: #5d7147; border-color: rgba(93,113,71,.35); }
.hproj .tag--en-proceso { color: var(--brick); }
.pcard--all { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4/3; align-self: flex-start; background: var(--ink); color: var(--bone); border-radius: 4px; padding: 32px; width: clamp(208px, 20.8vw, 336px); }
.pcard--all__t { font-size: clamp(27.2px, 2.7vw, 43.2px); letter-spacing: -0.04em; line-height: 1; }
.pcard--all .arr { width: 44px; height: 44px; align-self: flex-end; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee__row { display: flex; gap: 40px; white-space: nowrap; width: max-content; font-size: clamp(32px, 4.8vw, 76.8px); letter-spacing: -0.04em; line-height: 1; }
.marquee__row span:nth-of-type(even) { font-family: var(--serif); font-style: normal; }
.marquee__row i { font-style: normal; color: var(--brick); font-size: 0.4em; align-self: center; }

/* ---------- why (sticky stack) ---------- */
.why { padding-top: clamp(44px, 5.3vw, 79.2px); padding-bottom: clamp(26.4px, 3.5vw, 52.8px); }
.why__head { margin-bottom: 32px; max-width: 900px; }
.why__stack { position: relative; }
.why__card {
  position: sticky; top: calc(var(--hdr-h) + 20px + var(--i) * 22px);
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: min(58vh, 520px); margin-bottom: 40px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transform-origin: center top;
}
.why__card:nth-child(2) { background: #1e1c18; } .why__card:nth-child(3) { background: #23201b; } .why__card:nth-child(4) { background: var(--brick); }
.why__txt { padding: clamp(22.4px, 3.2vw, 51.2px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.why__n { font-size: 13px; color: var(--brick-2); }
.why__card:nth-child(4) .why__n { color: var(--ink); }
.why__txt h3 { font-weight: 400; font-size: clamp(28.8px, 3.5vw, 60.8px); letter-spacing: -0.04em; line-height: 0.98; margin: auto 0 18px; }
.why__txt p { margin: 0; max-width: 36ch; font-size: 16px; color: rgba(238,232,221,.78); }
.why__card:nth-child(4) p { color: rgba(238,232,221,.9); }
.why__img { overflow: hidden; }
.why__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- numbers ---------- */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers--light { background: var(--bone); color: var(--ink); border: 0; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers__grid--2 { grid-template-columns: repeat(2, 1fr); }
.numbers__grid--3 { grid-template-columns: repeat(3, 1fr); }
.num { padding: clamp(28.8px, 4vw, 57.6px) 24px clamp(28.8px, 4vw, 57.6px) 0; border-right: 1px solid var(--line); }
.numbers--light .num { border-color: var(--line-dark); }
.num + .num { padding-left: 24px; }
.num:last-child { border-right: 0; }
.num b { display: block; font-weight: 400; font-size: clamp(44.8px, 5.6vw, 96px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 22ch; }

/* ---------- process ---------- */
.process { padding-top: clamp(44px, 5.3vw, 79.2px); padding-bottom: clamp(44px, 5.3vw, 79.2px); display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 4.8vw, 96px); }
.process__head { position: sticky; top: calc(var(--hdr-h) + 40px); align-self: start; }
.process__head .muted { max-width: 38ch; margin-top: 28px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 70px 1fr; column-gap: 20px; padding: 34px 0; border-top: 1px solid var(--line); position: relative; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--brick); transform: scaleX(var(--p, 0)); transform-origin: left; }
.step__n { font-size: 13px; color: var(--brick-2); padding-top: 12px; grid-row: span 2; }
.step h4 { margin: 0; font-weight: 400; font-size: clamp(24px, 2.6vw, 41.6px); letter-spacing: -0.035em; line-height: 1.05; }
.step p { margin: 8px 0 0; color: var(--muted); }

/* ---------- inner pages ---------- */
.phero { padding-top: calc(var(--hdr-h) + clamp(35.2px, 6.2vh, 74.8px)); padding-bottom: clamp(24.6px, 3.5vw, 48.4px); }
.phero__title { font-weight: 400; font-size: clamp(41.6px, 7.2vw, 131.2px); line-height: 0.92; letter-spacing: -0.05em; margin: 0; max-width: 14ch; }
.wide { height: 72vh; overflow: hidden; }
.wide--tall { height: 86vh; }
.wide img, .wide video { width: 100%; height: 118%; object-fit: cover; }
.wide--video video { height: 100%; }
.about { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; padding-top: clamp(44px, 5.3vw, 79.2px); padding-bottom: clamp(35.2px, 4.4vw, 61.6px); }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; color: rgba(238,232,221,.75); max-width: 900px; }
.about__cols p { margin: 0; }
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(19.2px, 3.2vw, 51.2px); align-items: start; padding-bottom: clamp(44px, 5.3vw, 79.2px); }
.duo__c { border-top: 1px solid var(--line); padding-top: 28px; }
.duo__n { font-size: 13px; color: var(--brick-2); display: block; margin-bottom: 18px; }
.duo__c p { color: rgba(238,232,221,.75); max-width: 40ch; margin: 22px 0; }
.duo__plus { font-family: var(--serif); font-size: clamp(64px, 8vw, 144px); color: var(--brick); line-height: 0.8; padding-top: 40px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.ticks li::before { content: "—"; color: var(--brick-2); }

.team { padding-bottom: clamp(44px, 5.3vw, 79.2px); }
.team__head { margin-bottom: 36px; }
.team__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.member { position: relative; display: grid; grid-template-columns: 70px 1.3fr 1fr 60px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.member::before { content: ""; position: absolute; inset: 0; background: var(--bone); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); z-index: -1; }
.member:hover::before { transform: scaleY(1); }
.member:hover { color: var(--ink); }
.member { isolation: isolate; transition: color .4s, padding .6s var(--ease); }
.member:hover { padding-left: 16px; padding-right: 16px; }
.member__i { font-size: 12px; color: var(--brick-2); }
.member__n { font-size: clamp(20.8px, 2.4vw, 38.4px); letter-spacing: -0.035em; line-height: 1.1; }
.member__r { color: var(--muted); font-size: 15px; }
.member__mono { justify-self: end; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-family: var(--serif); font-style: normal; font-size: 20px; opacity: .5; }

/* ---------- projects list ---------- */
.plist { padding-bottom: clamp(44px, 5.3vw, 79.2px); }
.filters { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 36px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.filters__g { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 42px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; transition: background .35s, color .35s, border-color .35s; }
.chip sup { font-size: 10px; color: var(--stone); margin-left: 2px; }
.chip:hover { border-color: var(--bone); }
.chip.is-on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chip.is-on sup { color: var(--brick); }
.chip--s { height: 36px; font-size: 13px; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 72px clamp(12.8px, 1.8vw, 25.6px); }
.pgrid .pcard:nth-child(even) { margin-top: 120px; }
.pgrid .pcard.is-hidden { display: none; }
.pgrid.is-filtered .pcard { margin-top: 0; }
.pgrid__empty { color: var(--muted); padding: 40px 0; }

/* ---------- project page ---------- */
.pj-hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; display: flex; align-items: flex-end; }
.pj-hero__media { position: absolute; inset: 0; }
.pj-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pj-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,16,14,.5), rgba(17,16,14,0) 35%, rgba(17,16,14,.85)); }
.pj-hero__c { position: relative; padding-bottom: clamp(32px, 5.6vh, 64px); }
.pj-hero__t { font-weight: 400; font-size: clamp(44.8px, 8vw, 144px); line-height: 0.9; letter-spacing: -0.05em; margin: 0 0 18px; }
.pj-hero__tag { font-family: var(--serif); font-style: normal; font-size: clamp(17.6px, 1.9vw, 28.8px); margin: 0; color: rgba(238,232,221,.88); }
.back { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; margin-bottom: 36px; color: rgba(238,232,221,.8); }
.back .arr { transform: rotate(180deg); }
.back:hover .arr { transform: rotate(180deg) translateX(4px); }
.pj-intro { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(25.6px, 4.8vw, 96px); padding-top: clamp(39.6px, 4.8vw, 70.4px); padding-bottom: clamp(30.8px, 4vw, 57.2px); }
.facts { margin: 0; border-top: 1px solid var(--line); align-self: start; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }
.pj-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(25.6px, 4.8vw, 96px); padding-bottom: clamp(39.6px, 4.8vw, 70.4px); }
.pj-body__txt { color: rgba(238,232,221,.78); font-size: 16px; }
.pj-body__txt p:first-child { margin-top: 0; }
.feats { padding-top: clamp(39.6px, 4.8vw, 70.4px); padding-bottom: clamp(30.8px, 4vw, 52.8px); }
.feats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.feat { padding: 30px 24px 30px 0; border-right: 1px solid var(--line); }
.feat + .feat { padding-left: 24px; }
.feat:last-child { border-right: 0; }
.feat__n { font-size: 12px; color: var(--brick-2); }
.feat h4 { font-weight: 400; font-size: clamp(19.2px, 1.8vw, 27.2px); letter-spacing: -0.03em; line-height: 1.05; margin: 40px 0 10px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.typs { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(25.6px, 4.8vw, 96px); padding-top: 40px; padding-bottom: clamp(39.6px, 4.8vw, 70.4px); }
.typs__head .muted { margin-top: 24px; }
.typs__list { border-top: 1px solid var(--line); }
.typ { border-bottom: 1px solid var(--line); }
.typ summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 16px; padding: 26px 0; }
.typ summary::-webkit-details-marker { display: none; }
.typ__l { font-size: clamp(22.4px, 2.2vw, 35.2px); letter-spacing: -0.035em; }
.typ__m { font-size: 14px; color: var(--muted); }
.typ summary i { width: 28px; height: 28px; position: relative; }
.typ summary i::before, .typ summary i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 13px; height: 1.5px; background: var(--brick-2); transition: transform .5s var(--ease); }
.typ summary i::after { transform: rotate(90deg); }
.typ[open] summary i::after { transform: rotate(0); }
.typ__b { padding: 0 0 30px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; color: rgba(238,232,221,.78); }
.typ__b p { margin: 0; }
.typ__nums { display: flex; gap: 28px; }
.typ__nums b { display: block; font-weight: 400; font-size: 36px; letter-spacing: -0.04em; line-height: 1; color: var(--bone); }
.typ__nums span { font-size: 12px; color: var(--muted); }

.gal { padding-bottom: clamp(39.6px, 4.8vw, 70.4px); }
.gal__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 40px; }
.gal__head .eyebrow { margin: 0; }
.gal__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px clamp(9.6px, 1.4vw, 22.4px); }
.gal__i { margin: 0; }
.gal__i--0 { grid-column: 1 / -1; }
.gal__i--1 { grid-column: 1 / span 7; }
.gal__i--2 { grid-column: 8 / span 5; margin-top: 18vh; }
.gal__i--3 { grid-column: 2 / span 5; }
.gal__i--4 { grid-column: 7 / span 6; margin-top: 10vh; }
.gal__btn { display: block; width: 100%; border-radius: 4px; }
.gal__btn img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.gal__btn:hover img { transform: scale(1.03) !important; }
.gal__i figcaption { font-size: 13px; color: var(--muted); padding-top: 12px; }

.pj-cta { padding-top: 40px; padding-bottom: clamp(39.6px, 4.8vw, 70.4px); display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; }
.pj-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.next { position: relative; display: block; height: 56vh; overflow: hidden; }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); filter: brightness(.55); }
.next:hover img { transform: scale(1.04); }
.next__c { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 60px; }
.next__t { display: flex; align-items: center; gap: 24px; font-size: clamp(38.4px, 6.4vw, 112px); letter-spacing: -0.05em; line-height: 1; }
.next__t .arr { width: 0.6em; height: 0.6em; }

.lb { position: fixed; inset: 0; z-index: 150; background: rgba(17,16,14,.96); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb img { max-height: 82vh; max-width: 100%; object-fit: contain; border-radius: 3px; }
.lb figcaption { color: var(--stone); font-size: 14px; }
.lb__x { position: absolute; top: 18px; right: 24px; font-size: 40px; line-height: 1; width: 48px; height: 48px; }
.lb__nav { width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; justify-self: center; }
.lb__nav:hover { border-color: var(--bone); }
.lb__prev .arr { transform: rotate(180deg); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5.6vw, 112px); padding-bottom: clamp(44px, 5.3vw, 79.2px); }
.ci { padding: 26px 0; border-top: 1px solid var(--line); }
.ci p { margin: 0 0 14px; }
.ci__big { font-size: clamp(17.6px, 1.8vw, 27.2px); letter-spacing: -0.03em; word-break: break-word; transition: color .3s; }
.ci__big:hover { color: var(--brick-2); }
.form { display: flex; flex-direction: column; gap: 10px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { position: relative; display: block; padding-top: 22px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--bone);
  font: inherit; font-size: 17px; padding: 12px 0; outline: none; transition: border-color .3s; resize: vertical; border-radius: 0;
}
.field input:focus, .field textarea:focus { border-color: var(--brick-2); }
.field span { position: absolute; left: 0; top: 36px; color: var(--muted); pointer-events: none; transition: transform .45s var(--ease), font-size .45s var(--ease), color .3s; transform-origin: left; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-30px); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.field.is-err input, .field.is-err textarea { border-color: var(--brick-2); }
.form__opts { border: 0; padding: 26px 0 10px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__opts legend { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; padding: 0; }
.form__opts label { position: relative; }
.form__opts input { position: absolute; opacity: 0; }
.form__opts span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; transition: all .3s; }
.form__opts input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.form__opts input:focus-visible + span { outline: 2px solid var(--brick-2); outline-offset: 2px; }
.form__err { color: var(--brick-2); margin: 6px 0 0; font-size: 14px; }
.form__ok { border: 1px solid var(--line); border-radius: 6px; padding: 24px; margin-top: 16px; }
.form__ok p { margin: 0 0 8px; }
.form__ok .form__btns { margin: 8px 0 16px; }
.form__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- footer ---------- */
.ftr { background: var(--ink-2); padding-top: clamp(39.6px, 4.8vw, 70.4px); overflow: hidden; }
.ftr__big { display: inline-flex; align-items: center; gap: 0.2em; font-size: clamp(51.2px, 9.6vw, 176px); letter-spacing: -0.055em; line-height: 0.95; transition: color .4s; }
.ftr__big:hover { color: var(--brick-2); }
.ftr__big .arr { width: 0.5em; height: 0.5em; }
.ftr__grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding-top: 80px; padding-bottom: 70px; color: rgba(238,232,221,.8); font-size: 15px; }
.ftr__grid a:hover { color: var(--brick-2); }
.ftr__brand img { height: 40px; width: auto; }
.ftr__h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin: 0 0 14px; }
.ftr__word { font-weight: 600; font-size: 21.5vw; letter-spacing: -0.06em; line-height: 0.75; text-align: center; color: var(--ink-3); white-space: nowrap; overflow: hidden; padding-top: 0.05em; user-select: none; }
.ftr__word .ch { display: inline-block; }
.ftr__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .why__card { grid-template-columns: 1fr; }
  .why__img { height: 34vh; order: -1; }
  .feats__list { grid-template-columns: 1fr 1fr; }
  .feat:nth-child(2) { border-right: 0; }
  .feat:nth-child(3) { padding-left: 0; }
  .feat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .num:nth-child(2) { border-right: 0; }
  .num:nth-child(3) { padding-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
  .numbers__grid--3 { grid-template-columns: 1fr 1fr 1fr; }
  .numbers__grid--3 .num:nth-child(2) { border-right: 1px solid var(--line-dark); }
  .numbers__grid--3 .num:nth-child(3) { padding-left: 24px; border-top: 0; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  :root { --hdr-h: 64px; }
  .hero__scroll { display: none; }
  .pillars, .pgrid { grid-template-columns: 1fr; }
  .pillar--b, .pgrid .pcard:nth-child(even) { margin-top: 0; }
  .pillars { gap: 64px; }
  .hproj__pin { height: auto; padding: 100px 0; }
  .hproj__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .hproj__track::-webkit-scrollbar { display: none; }
  .pcard--h { width: 80vw; scroll-snap-align: center; }
  .hproj__prog { display: none; }
  .process, .about, .pj-intro, .pj-body, .typs, .contact { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .why__card { position: relative; top: auto; min-height: 0; margin-bottom: 16px; }
  .why__txt h3 { margin-top: 0; }
  .about__cols, .form__row { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .duo__plus { padding: 0; text-align: center; }
  .member { grid-template-columns: 40px 1fr; row-gap: 4px; }
  .member__r { grid-column: 2; }
  .member__mono { display: none; }
  .gal__grid { grid-template-columns: 1fr; gap: 32px; }
  .gal__grid .gal__i { grid-column: 1 / -1; margin-top: 0; }
  .typ__b { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .logo__img { height: 34px; }
  .wide { height: 60vh; }
  .lb { grid-template-columns: 1fr; }
  .lb__nav { position: absolute; bottom: 24px; }
  .lb__prev { left: 24px; } .lb__next { right: 24px; }
}
@media (max-width: 560px) {
  .numbers__grid, .numbers__grid--3 { grid-template-columns: 1fr; }
  .num, .num + .num, .numbers__grid--3 .num:nth-child(3) { padding: 32px 0; border-right: 0 !important; border-top: 1px solid var(--line); }
  .num:first-child { border-top: 0; }
  .feats__list { grid-template-columns: 1fr; }
  .feat, .feat + .feat { padding: 26px 0; border-right: 0; border-top: 1px solid var(--line); }
  .feat:first-child { border-top: 0; }
  .feat h4 { margin-top: 16px; }
  .ftr__grid { grid-template-columns: 1fr; }
  .hero__row .btn { width: 100%; justify-content: center; }
  .pcard__meta { grid-template-columns: auto 1fr; }
  .pcard .tag { grid-row: auto; grid-column: 2; justify-self: start; margin-top: 8px; }
  .typ summary { grid-template-columns: 1fr 28px; }
  .typ__m { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal-img { clip-path: none; }
  .js .reveal-img img { transform: none; }
  .statement__text .sw { opacity: 1; }
}
.entering .curtain { transform: translateY(0); }

/* ---------- tipografía: Outfit (opción 2) ---------- */
em { font-weight: 300; color: var(--em); letter-spacing: inherit; }
.hero__title em { color: #fff; font-weight: 300; font-size: 1em; }
.h2 em { font-size: 1em; }
.hero__title, .phero__title, .pj-hero__t, .h2, .pillar__t, .why__txt h3, .pcard__t, .num b, .step h4, .next__t,
.ftr__big, .typ__l, .member__n, .mnav__t, .pcard--all__t, .feat h4, .typ__nums b { font-weight: 500; letter-spacing: -0.035em; }
.statement__text { letter-spacing: -0.025em; }
.marquee__row span:nth-of-type(even), .duo__plus, .member__mono, .pj-hero__tag { font-weight: 300; }
.logo__word b, .loader__word { letter-spacing: -0.035em; }
.hproj, .numbers--light { --em: #6b6358; }

/* ---------- imágenes más compactas ---------- */
.pillars { max-width: 1180px; }
.pillar__media { aspect-ratio: 4/3; }
.pcard--h { width: clamp(260px, 26vw, 400px); }
.pcard--all { width: clamp(220px, 20vw, 320px); }
.pgrid { grid-template-columns: repeat(3, 1fr); gap: 56px clamp(16px, 2vw, 28px); }
.pgrid .pcard:nth-child(even) { margin-top: 0; }
.pgrid .pcard:nth-child(3n+2) { margin-top: 64px; }
.pgrid.is-filtered .pcard { margin-top: 0; }
.wide { height: 52vh; max-width: var(--maxw); margin: 0 auto; }
.wide--tall { height: 62vh; }
.pj-hero { height: 78svh; min-height: 520px; }
.why__card { min-height: min(46vh, 420px); grid-template-columns: 1.3fr 1fr; }
.gal__grid { max-width: 1180px; margin: 0 auto; }
.gal__i--0 { grid-column: 2 / span 10; }
.gal__i--1 { grid-column: 1 / span 6; }
.gal__i--2 { grid-column: 8 / span 5; margin-top: 12vh; }
.gal__i--3 { grid-column: 2 / span 4; }
.gal__i--4 { grid-column: 7 / span 5; margin-top: 8vh; }
.next { height: 40vh; }
@media (max-width: 1080px) { .pgrid { grid-template-columns: repeat(2, 1fr); } .pgrid .pcard:nth-child(3n+2) { margin-top: 0; } .pgrid .pcard:nth-child(even) { margin-top: 64px; } .why__card { grid-template-columns: 1fr; } .why__img { height: 26vh; } }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr; } .pgrid .pcard:nth-child(n) { margin-top: 0; } .pcard--h { width: 72vw; } .wide, .wide--tall { height: 40vh; } .pj-hero { height: 70svh; } }

/* ---------- cierre de páginas más compacto ---------- */
.pj-cta { padding-top: 24px; padding-bottom: clamp(40px, 5vw, 72px); align-items: center; }
.pj-cta .h2 { font-size: clamp(26px, 2.8vw, 44px); }
.next { height: 30vh; min-height: 220px; }
.next__c { padding-bottom: 32px; }
.next__t { font-size: clamp(28px, 3.6vw, 56px); gap: 14px; }
.ftr { padding-top: clamp(56px, 6vw, 96px); }
.ftr__big { font-size: clamp(40px, 6vw, 96px); }
.ftr__grid { padding-top: 48px; padding-bottom: 48px; }
.ftr__word { font-size: 15vw; }

/* ---------- textos de presentación más chicos ---------- */
.statement__text { font-size: clamp(20px, 2.3vw, 36px); line-height: 1.2; max-width: 34ch; margin-bottom: 24px; }
.statement__text--md { font-size: clamp(18px, 1.8vw, 28px); max-width: 38ch; }

/* pilares alineados */
.pillar--b { margin-top: 0; }
.pillars { align-items: start; }

/* logo en la pantalla de carga */
.loader__word { line-height: 0; padding: 4px 0; }
.loader__logo { display: block; width: clamp(200px, 30vw, 420px); height: auto; transform: translateY(105%); }

/* =========================================================
   Escala tipográfica unificada (más contenida en todo el sitio)
   ========================================================= */
.hero__title { font-size: clamp(36px, 5vw, 84px); }
.phero__title { font-size: clamp(38px, 5vw, 84px); }
.pj-hero__t { font-size: clamp(40px, 5.4vw, 92px); }
.pj-hero__tag { font-size: clamp(18px, 1.6vw, 26px); }
.h2 { font-size: clamp(28px, 3.1vw, 50px); line-height: 1.05; }
.pillar__t { font-size: clamp(26px, 2.4vw, 40px); }
.pcard__t { font-size: clamp(19px, 1.5vw, 24px); }
.pcard--all__t { font-size: clamp(24px, 2.2vw, 36px); }
.num b { font-size: clamp(38px, 4.2vw, 68px); }
.step h4 { font-size: clamp(21px, 2vw, 32px); }
.member__n { font-size: clamp(21px, 2vw, 32px); }
.typ__l { font-size: clamp(21px, 1.9vw, 30px); }
.feat h4 { font-size: clamp(19px, 1.5vw, 24px); margin-top: 24px; }
.duo__plus { font-size: clamp(56px, 6vw, 108px); }
.mnav__t { font-size: clamp(36px, 9vw, 60px); }
.ci__big { font-size: clamp(18px, 1.6vw, 26px); }

/* Por qué elegirnos: tarjetas más bajas */
.why__head { margin-bottom: 28px; }
.why__card { min-height: 0; height: clamp(300px, 34vw, 400px); }
.why__txt { padding: clamp(22px, 2.6vw, 40px); gap: 20px; }
.why__txt h3 { font-size: clamp(24px, 2.4vw, 38px); }
.why__txt p { font-size: 15px; }

/* Cinta de palabras */
.marquee { padding: 16px 0; }
.marquee__row { font-size: clamp(26px, 3.2vw, 50px); gap: 28px; }

@media (max-width: 1080px) {
  .why__card { height: auto; }
}

/* =========================================================
   ESCALA TIPOGRÁFICA ÚNICA — un tamaño por rol, en todas las páginas
   ========================================================= */
:root {
  --t-display: clamp(36px, 5vw, 84px);    /* título principal de cada página */
  --t-h2: clamp(28px, 3.1vw, 50px);       /* título de sección */
  --t-h3: clamp(22px, 2.2vw, 34px);       /* título de bloque o tarjeta grande */
  --t-h4: clamp(19px, 1.5vw, 24px);       /* título chico (tarjetas, ítems) */
  --t-num: clamp(38px, 4.2vw, 68px);      /* cifras destacadas */
  --t-lead: clamp(20px, 2vw, 32px);       /* párrafo de presentación */
  --t-sub: clamp(16px, 1.25vw, 19px);     /* bajada bajo un título principal */
  --t-body: 16px;                         /* texto corrido */
  --t-small: 14px;                        /* detalle, metadatos */
  --t-label: 12px;                        /* etiquetas en mayúsculas y numeración */
}

/* título principal */
.hero__title, .phero__title, .pj-hero__t, .ftr__big {
  font-size: var(--t-display); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500;
}
/* título de sección */
.h2, .next__t, .marquee__row { font-size: var(--t-h2); letter-spacing: -0.035em; }
.h2, .next__t { line-height: 1.05; font-weight: 500; }
/* título de bloque */
.pillar__t, .why__txt h3, .step h4, .member__n, .typ__l, .pcard--all__t, .pj-cta .h2, .typ__nums b {
  font-size: var(--t-h3); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500;
}
/* título chico */
.pcard__t, .feat h4, .ci__big { font-size: var(--t-h4); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
/* cifras */
.num b { font-size: var(--t-num); line-height: 1; letter-spacing: -0.035em; font-weight: 500; }
/* presentación */
.statement__text, .statement__text--md { font-size: var(--t-lead); line-height: 1.22; letter-spacing: -0.02em; max-width: 36ch; }
/* bajada */
.hero__lead, .pj-hero__tag { font-size: var(--t-sub); line-height: 1.5; letter-spacing: 0; }
.hero__lead { font-weight: 500; }
/* texto corrido */
body, .pj-body__txt, .about__cols, .why__txt p, .step p, .feat p, .duo__c p, .typ__b, .pillar__body p, .ci p,
.field input, .field textarea, .link, .ticks li, .process__head .muted, .typs__head .muted, .form__ok p {
  font-size: var(--t-body);
}
/* detalle */
.pcard__k, .num span, .facts div, .member__r, .typ__m, .gal__i figcaption, .gal__head .muted, .ftr__grid, .back,
.nav, .btn--sm, .chip, .form__opts span, .form__err, .lb figcaption, .hproj__prog, .mnav__foot, .ftr__legal, .typ__nums span {
  font-size: var(--t-small);
}
.btn { font-size: 15px; }
/* etiquetas y numeración */
.eyebrow, .ftr__h, .pillar__n, .why__n, .step__n, .duo__n, .pcard__n, .feat__n, .member__i, .mnav__i,
.form__opts legend, .hero__scroll, .loader__count, .chip--s {
  font-size: var(--t-label);
}
.tag { font-size: 11px; }
.ci .ftr__h { font-size: var(--t-label); }

/* =========================================================
   "Nuestra forma de hacer la diferencia" — filas con foto al pasar el mouse
   ========================================================= */
.dif { padding-top: clamp(44px, 5.3vw, 80px); padding-bottom: clamp(44px, 5.3vw, 80px); }
.dif__head { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: start; margin-bottom: clamp(28px, 3vw, 44px); }
.dif__head .eyebrow { margin: 10px 0 0; }
.dif__title { margin: 0; }

.wipe { position: relative; display: block; width: fit-content; max-width: 100%; }
.js .wipe::after {
  content: ""; position: absolute; inset: 6% -1% -6% 0; background: var(--ink); opacity: 0.92;
  transform-origin: right center; transition: transform 1.2s var(--ease);
}
.js .wipe:nth-child(2)::after { transition-delay: 0.14s; }
.js [data-wipe].is-in .wipe::after { transform: scaleX(0); }

.dif__item { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
.dif__item:last-child { border-bottom: 1px solid var(--line); }
.dif__bg {
  position: absolute; inset: 0; opacity: 0; clip-path: inset(100% 0 0 0); transform: scale(1.05);
  transition: opacity 0.4s, transform 4s cubic-bezier(0.5, 1, 0.89, 1), clip-path 1s var(--ease);
}
.dif__bg img { width: 100%; height: 100%; object-fit: cover; }
.dif__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,16,14,.78), rgba(17,16,14,.5)); }
.dif__item:hover .dif__bg, .dif__item.is-active .dif__bg { opacity: 1; clip-path: inset(0 0 0 0); transform: scale(1); }

.dif__row {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.7fr); gap: 24px;
  align-items: center; padding-top: clamp(22px, 2.6vw, 38px); padding-bottom: clamp(22px, 2.6vw, 38px);
}
.dif__num { width: 26px; height: 26px; border: 1px solid currentColor; display: grid; place-items: center; font-size: var(--t-label); align-self: start; margin-top: 4px; }
.dif__text { margin: 0; max-width: 36ch; font-size: var(--t-body); color: rgba(238, 232, 221, 0.72); transition: color 0.4s; }
.dif__more { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: var(--t-h2); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.dif__more .arr { width: 0.7em; height: 0.7em; opacity: 0.45; transition: transform 0.6s var(--ease), opacity 0.4s; }
.dif__item:hover .dif__text, .dif__item.is-active .dif__text { color: #fff; }
.dif__item:hover .dif__more .arr, .dif__item.is-active .dif__more .arr { transform: translateX(8px); opacity: 1; }

.dif__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-top: clamp(28px, 3vw, 48px); }
.dif__brief { margin: 0; font-size: var(--t-lead); line-height: 1.22; letter-spacing: -0.02em; }

@media (max-width: 900px) {
  .dif__head { grid-template-columns: 1fr; gap: 14px; }
  .dif__head .eyebrow { margin: 0; }
  .dif__row { grid-template-columns: 36px minmax(0, 1fr); gap: 10px 14px; }
  .dif__more { grid-column: 2; grid-row: 1; }
  .dif__text { grid-column: 2; grid-row: 2; }
  .dif__num { grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) { .js .wipe::after { display: none; } }

/* números de "hacer la diferencia": grandes y finos (opción B) */
.dif__row { grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1.7fr); }
.dif__num {
  width: auto; height: auto; border: 0; display: block; align-self: center; margin: 0;
  font-size: var(--t-h2); font-weight: 200; letter-spacing: -0.04em; line-height: 1;
  color: rgba(238, 232, 221, 0.4); font-variant-numeric: tabular-nums; transition: color 0.4s;
}
.dif__item:hover .dif__num, .dif__item.is-active .dif__num { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 900px) { .dif__row { grid-template-columns: 56px minmax(0, 1fr); } .dif__num { align-self: start; } }

/* =========================================================
   "Cómo trabajamos" — escena fija: el scroll recorre el video de la obra
   ========================================================= */
.proc { position: relative; background: var(--ink); }
.proc__stick { position: relative; overflow: hidden; padding-top: clamp(44px, 5.3vw, 80px); padding-bottom: clamp(44px, 5.3vw, 80px); }
.proc__bg { position: absolute; inset: 0; will-change: transform; }
.proc__vid { width: 100%; height: 100%; object-fit: cover; display: block; }
.proc__scrim { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(17,16,14,.94) 0%, rgba(17,16,14,.8) 32%, rgba(17,16,14,.28) 60%, rgba(17,16,14,.04) 100%),
  linear-gradient(180deg, rgba(17,16,14,.6) 0%, rgba(17,16,14,0) 24%, rgba(17,16,14,0) 58%, rgba(17,16,14,.9) 100%); }
.proc__in { position: relative; will-change: transform; }
.proc__head .h2 { margin: 0; }
.proc__intro { margin: 18px 0 0; max-width: 44ch; font-size: var(--t-body); color: rgba(238,232,221,.78); }
.proc__txt { margin-top: 32px; }
.proc__n { display: block; font-size: var(--t-label); letter-spacing: .08em; color: var(--brick-2); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.proc__n small { font-size: inherit; color: var(--stone); }
.proc__stage h3 { margin: 0; font-size: var(--t-h2); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.proc__stage p { margin: 12px 0 0; max-width: 40ch; font-size: var(--t-sub); color: rgba(238,232,221,.9); }
.proc__still { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; margin-bottom: 16px; }
.proc__prog { margin-top: 32px; }
.proc__bar, .proc__cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.proc__seg { height: 2px; background: rgba(238,232,221,.22); position: relative; overflow: hidden; }
.proc__fill { position: absolute; inset: 0; background: var(--bone); transform-origin: left center; transform: scaleX(0); }
.proc__cols { margin-top: 12px; }
.proc__col { font-size: var(--t-label); letter-spacing: .1em; text-transform: uppercase; opacity: .5; transition: opacity .4s; }
.proc__col.is-done { opacity: .75; }
.proc__col.is-on { opacity: 1; }

@media (min-width: 901px) {
  .js .proc { height: 520vh; }
  .js .proc__stick { position: sticky; top: 0; height: 100vh; padding-top: 0; padding-bottom: 0; }
  .js .proc__in { height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 30px; padding-top: var(--hdr-h); }
  .js .proc__txt { position: relative; min-height: 190px; margin-top: 0; }
  .js .proc__stage { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
  .js .proc__stage.is-on { opacity: 1; transform: none; }
  .js .proc__prog { margin-top: 0; }
  .proc__still { display: none; }
}
@media (max-width: 900px) {
  .proc__bg, .proc__scrim, .proc__prog { display: none; }
  .proc__txt { display: grid; gap: 40px; }
  .proc__stage { border-top: 1px solid var(--line); padding-top: 18px; }
  .proc__stage h3 { font-size: var(--t-h3); }
}
.proc__poster, .proc__cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.proc__cv { opacity: 0; transition: opacity .4s; }
.proc__cv.is-on { opacity: 1; }
.proc__vid { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }

/* "Cómo trabajamos": panel más chico en computadora; en celular, la lista de antes */
@media (min-width: 901px) {
  .js .proc { height: auto; padding: clamp(44px, 5.3vw, 80px) var(--gutter); }
  .js .proc__track { height: 300vh; max-width: calc(var(--maxw) - 2 * var(--gutter)); margin: 0 auto; }
  .js .proc__stick { position: sticky; top: 16vh; height: 68vh; min-height: 440px; border-radius: 8px; border: 1px solid var(--line); }
  .js .proc__in { height: 100%; gap: 22px; padding-top: 0; padding-left: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); }
  .js .proc__txt { min-height: 150px; }
  .proc__stage h3 { font-size: var(--t-h3); }
  .proc__intro { margin-top: 12px; max-width: 40ch; font-size: var(--t-small); }
}
@media (max-width: 900px) {
  .proc { padding: clamp(44px, 12vw, 72px) 0; }
  .proc__stick { padding: 0; overflow: visible; }
  .proc__still { display: none; }
  .proc__intro { color: var(--muted); margin-top: 16px; }
  .proc__txt { display: block; margin-top: 28px; }
  .proc__stage { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 24px 0; border-top: 1px solid var(--line); }
  .proc__n { grid-row: span 2; margin: 0; padding-top: 8px; font-size: var(--t-label); }
  .proc__n small { display: none; }
  .proc__stage h3 { font-size: var(--t-h3); line-height: 1.1; letter-spacing: -0.03em; }
  .proc__stage p { margin-top: 8px; color: var(--muted); font-size: var(--t-body); max-width: none; }
}

/* "Cómo trabajamos": sin marco; el video va de borde a borde y se funde con el fondo arriba y abajo */
@media (min-width: 901px) {
  .js .proc { padding: 0; }
  .js .proc__track { max-width: none; height: 280vh; }
  .js .proc__stick { border: 0; border-radius: 0; }
  .js .proc__in { padding-left: var(--gutter); padding-right: var(--gutter); }
  .proc__scrim { background:
    linear-gradient(90deg, rgba(17,16,14,.94) 0%, rgba(17,16,14,.8) 30%, rgba(17,16,14,.28) 58%, rgba(17,16,14,.05) 100%),
    linear-gradient(180deg, rgba(17,16,14,1) 0%, rgba(17,16,14,.55) 10%, rgba(17,16,14,0) 28%, rgba(17,16,14,0) 66%, rgba(17,16,14,.7) 88%, rgba(17,16,14,1) 100%); }
}

/* =========================================================
   ESCALA v2 — un escalón más chica en todo el sitio
   ========================================================= */
:root {
  --t-display: clamp(30px, 3.7vw, 60px);
  --t-h2: clamp(24px, 2.5vw, 40px);
  --t-h3: clamp(19px, 1.8vw, 28px);
  --t-h4: clamp(17px, 1.3vw, 21px);
  --t-num: clamp(30px, 3.3vw, 52px);
  --t-lead: clamp(18px, 1.65vw, 26px);
  --t-sub: clamp(15px, 1.1vw, 17px);
  --t-body: 15px;
  --t-small: 13.5px;
  --t-label: 11.5px;
}
body { font-size: var(--t-body); }
.btn { height: 44px; padding: 0 22px; font-size: 14px; }
.btn--sm { height: 38px; padding: 0 18px; }
.hero__title { max-width: 16ch; }
.phero { padding-top: calc(var(--hdr-h) + clamp(28px, 5vh, 56px)); padding-bottom: clamp(20px, 2.6vw, 36px); }
.phero__title { max-width: 18ch; }

/* imágenes a lo ancho: contenidas y más bajas */
.wide, .wide--tall {
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--maxw) - 2 * var(--gutter)); margin: 0 auto;
  height: auto; aspect-ratio: 21 / 9; max-height: 56vh; border-radius: 4px;
}
.wide img { height: 116%; }
.wide--video video { height: 100%; }
.pj-hero { height: 64svh; min-height: 440px; }
.next { height: 26vh; min-height: 190px; }

/* pie de página */
.ftr { padding-top: clamp(44px, 5vw, 72px); }
.ftr__grid { padding-top: 36px; padding-bottom: 36px; }
.ftr__word { font-size: 11vw; }
.ftr__brand img { height: 34px; }

/* bloques varios */
.statement { padding-top: clamp(40px, 5.5vw, 80px); padding-bottom: clamp(32px, 4.4vw, 60px); }
.pillars { max-width: 1040px; }
.pcard--h { width: clamp(240px, 24vw, 360px); }
.marquee { padding: 12px 0; }
.dif__row { padding-top: clamp(16px, 2vw, 28px); padding-bottom: clamp(16px, 2vw, 28px); grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.7fr); }
.num { padding-top: clamp(24px, 3.4vw, 48px); padding-bottom: clamp(24px, 3.4vw, 48px); }
.member { padding: 18px 0; }
.member__mono { width: 40px; height: 40px; font-size: 16px; }
.duo__plus { font-size: clamp(44px, 4.6vw, 80px); padding-top: 28px; }
.gal__grid { max-width: 1040px; gap: 40px clamp(12px, 1.8vw, 24px); }
.typ summary { padding: 18px 0; }
.feat { padding-top: 22px; padding-bottom: 22px; }
.ci { padding: 20px 0; }
.field input, .field textarea { font-size: 16px; }
@media (max-width: 900px) {
  .wide, .wide--tall { aspect-ratio: 16 / 10; }
  .pj-hero { height: 60svh; }
  .dif__row { grid-template-columns: 48px minmax(0, 1fr); }
}
.wide, .wide--tall { margin-bottom: clamp(36px, 5vw, 72px); }
.hero__title { max-width: 22ch; }
.hero__title em { display: block; }

/* SEO: títulos semánticos y preguntas frecuentes */
h3.dif__more { margin: 0; }
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 96px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(44px, 5.3vw, 80px); }
.faq__list { border-top: 1px solid var(--line); }
.faq .typ summary { grid-template-columns: 1fr 28px; }
.faq h3.typ__l { margin: 0; font-size: var(--t-h4); line-height: 1.2; letter-spacing: -0.02em; }
.faq__a { padding: 0 0 22px; max-width: 62ch; color: rgba(238, 232, 221, 0.78); }
.faq__a p { margin: 0; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* transición entre páginas en negro */
.curtain { background: var(--ink); }

/* redes en la barra superior */
.social { display: flex; align-items: center; gap: 6px; }
.social__a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: rgba(238,232,221,.82); transition: color .3s, background .3s; }
.social__a svg { width: 18px; height: 18px; }
.social__a:hover { color: var(--bone); background: rgba(238,232,221,.1); }
@media (max-width: 1080px) { .social { margin-left: auto; } .logo { margin-right: 0; } }

/* botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 95;
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border-radius: 99px;
  background: #25d366; color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.menu-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; } .wa-float span { display: none; } .wa-float svg { width: 28px; height: 28px; } }
/* WhatsApp: solo el logo, en un círculo */
.wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
.wa-float svg { width: 30px; height: 30px; }

/* Comercialización (Alberton Ledesma Propiedades) */
.com { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-top: clamp(20px, 3vw, 44px); padding-bottom: clamp(44px, 5.3vw, 80px); }
.com__p { margin: 16px 0 22px; max-width: 52ch; color: rgba(238,232,221,.8); }
.com__p strong { color: var(--bone); font-weight: 500; }
.com__logo { justify-self: end; width: min(100%, 280px); aspect-ratio: 1; background: #fff; border-radius: 8px; display: grid; place-items: center; padding: 14%; }
.com__logo img { width: 100%; height: auto; }
.com--pj { grid-template-columns: auto 1fr; gap: 24px; padding-top: 0; padding-bottom: clamp(28px, 3vw, 44px); }
.com--pj .com__logo { justify-self: start; width: 96px; padding: 12px; border-radius: 6px; }
.com--pj .eyebrow { margin-bottom: 8px; }
.com--pj .com__p { margin: 0; }
@media (max-width: 900px) { .com { grid-template-columns: 1fr; } .com__logo { justify-self: start; width: 180px; } .com--pj { grid-template-columns: auto 1fr; } .com--pj .com__logo { width: 76px; } }
.com__logo { width: min(100%, 200px); padding: 12%; }
.com--pj .com__logo { width: 88px; padding: 10px; }

/* =========================================================
   Auditoría de diseño: alineación, ritmo y legibilidad
   ========================================================= */
:root { --sec: clamp(48px, 5.8vw, 88px); --t-label: 12px; }
/* todo arranca en el mismo borde que el resto de la página */
.pillars { max-width: var(--maxw); }
.pillar__media { aspect-ratio: 3 / 2; }
.gal__grid { max-width: none; }
/* ritmo vertical único entre secciones */
.statement { padding-top: var(--sec); padding-bottom: calc(var(--sec) * .75); }
.pillars, .duo, .team, .plist, .contact, .gal, .pj-body { padding-bottom: var(--sec); }
.dif, .about, .pj-intro, .feats { padding-top: var(--sec); }
.dif, .com, .pj-cta { padding-bottom: var(--sec); }
.feats { padding-bottom: calc(var(--sec) * .75); }
.typs { padding-top: calc(var(--sec) * .5); padding-bottom: var(--sec); }
.com { padding-top: calc(var(--sec) * .5); }
.com--pj { padding-top: 0; padding-bottom: calc(var(--sec) * .6); }
.pj-cta { padding-top: calc(var(--sec) * .4); }
.wide, .wide--tall { margin-bottom: var(--sec); }
/* etiquetas un poco más legibles */
.tag { font-size: 11.5px; }
.chip sup { font-size: 10.5px; }

/* "Nuestros proyectos": carrusel (sin fijar la página al hacer scroll) */
.hproj__pin { height: auto; overflow: visible; padding: var(--sec) 0; }
.hproj__head { align-items: center; }
.hproj__ctrl { display: flex; align-items: center; gap: 10px; }
.hproj__prog { display: flex !important; margin-right: 8px; }
.hproj__track {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
  scrollbar-width: none; cursor: grab; outline: none; padding-bottom: 6px; overscroll-behavior-x: contain;
}
.hproj__track::-webkit-scrollbar { display: none; }
.hproj__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.hproj__track.is-drag .pcard { pointer-events: none; }
.hproj__track .pcard { scroll-snap-align: start; }
.hproj__track::after { content: ""; flex: 0 0 calc(var(--gutter) - 16px); }
.hproj__track img { -webkit-user-drag: none; user-select: none; }
.car__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.car__btn:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.car__btn .arr { width: 18px; height: 18px; }
.car__btn--prev .arr { transform: rotate(180deg); }
.car__btn--prev:hover .arr { transform: rotate(180deg) translateX(3px); }
@media (max-width: 900px) {
  .hproj__pin { padding: var(--sec) 0; }
  .hproj__prog { display: none !important; }
  .pcard--h { width: 78vw; }
}
.pcard--h { width: clamp(260px, 26vw, 380px); }
.pcard--h .pcard__meta { grid-template-columns: auto 1fr; row-gap: 4px; }
.pcard--h .tag { grid-row: auto; grid-column: 2; justify-self: start; margin-top: 8px; }
@media (max-width: 900px) { .pcard--h { width: 78vw; } }
/* cinta continua: sin "imanes" para que el movimiento sea fluido */
.hproj__track { scroll-snap-type: none; scroll-behavior: auto; }
.hproj__track::after { content: none; }
.hproj__track .pcard { scroll-snap-align: none; }
/* foco del carrusel: sin recuadro al hacer clic con el mouse, visible solo con teclado */
.hproj__track .pcard:focus:not(:focus-visible) { outline: none; }

/* =========================================================
   Mejoras de la simulación de usuario
   ========================================================= */
/* 1. ¿Qué querés hacer? */
.paths { padding-top: var(--sec); padding-bottom: calc(var(--sec) * .75); }
.paths__head { margin-bottom: 28px; }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.path { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: 6px; background: var(--ink-2); transition: border-color .3s, background .3s; }
.path:hover { border-color: rgba(238,232,221,.32); background: #1e1c19; }
.path__n { font-size: var(--t-label); color: var(--brick-2); letter-spacing: .08em; }
.path__t { margin: 0; font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
.path__d { margin: 0; color: rgba(238,232,221,.72); font-size: var(--t-body); flex: 1; }
.path__act { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.path__act .link { font-size: var(--t-small); }
.paths__more { margin-top: 26px; }
@media (max-width: 900px) { .paths__grid { grid-template-columns: 1fr; } }

/* 2. Formas de sumarte */
.ways { padding-top: calc(var(--sec) * .5); padding-bottom: var(--sec); }
.ways__head { margin-bottom: 28px; }
.ways__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.way { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: 6px; background: var(--ink-2); }
.way__n { font-size: var(--t-label); color: var(--brick-2); }
.way__t { margin: 0; font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
.way p { margin: 0 0 8px; color: rgba(238,232,221,.72); flex: 1; }
@media (max-width: 900px) { .ways__grid { grid-template-columns: 1fr; } }

/* 3. Formulario corto */
.form__hint { margin: 2px 0 0; font-size: var(--t-small); color: var(--muted); }
.form__err { font-size: var(--t-body); font-weight: 500; padding: 10px 14px; border-radius: 6px; background: rgba(224,112,63,.12); border: 1px solid rgba(224,112,63,.4); }

/* 5. Celular: WhatsApp después de la primera pantalla, consulta fija en proyectos, espacios en 2 columnas */
.wa-float { transition: transform .4s var(--ease), box-shadow .4s, opacity .35s; }
.wa-float.is-off { opacity: 0; transform: translateY(20px); pointer-events: none; }
.pj-sticky { display: none; }
@media (max-width: 900px) {
  .pj-sticky {
    display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; z-index: 95;
    left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); height: 52px; border-radius: 99px;
    background: #25d366; color: #fff; font-weight: 500; font-size: 15px; box-shadow: 0 10px 28px rgba(0,0,0,.4);
    opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease);
  }
  .pj-sticky svg { width: 22px; height: 22px; }
  .pj-sticky span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pj-sticky.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open .pj-sticky { opacity: 0; pointer-events: none; }
  .feats__list { grid-template-columns: 1fr 1fr; }
  .feat, .feat + .feat { padding: 18px 12px 18px 0; border-right: 0; border-top: 1px solid var(--line); }
  .feat:nth-child(odd) { border-right: 1px solid var(--line); }
  .feat:nth-child(even) { padding-left: 12px; }
  .feat:nth-child(-n+2) { border-top: 0; }
  .feat h4 { margin-top: 10px; font-size: 17px; }
  .feat p { font-size: 13.5px; }
  .back { margin-bottom: 18px; }
  .pj-hero .eyebrow { line-height: 1.5; }
}

/* 6. Menú visible desde 900 px */
@media (min-width: 901px) and (max-width: 1080px) {
  .nav { display: flex; gap: 20px; }
  .burger { display: none; }
  .logo { margin-right: auto; }
  .social { margin-left: 0; }
  .hdr { gap: 20px; }
}
/* SEO: textos de introducción y títulos de espacios como h3 */
.phero__lead { margin: 18px 0 0; max-width: 62ch; color: rgba(238,232,221,.75); font-size: var(--t-sub); }
.feat h3.feat__t { font-weight: 500; font-size: var(--t-h4); letter-spacing: -0.02em; line-height: 1.15; margin: 24px 0 10px; }
@media (max-width: 900px) { .feat h3.feat__t { margin-top: 10px; font-size: 17px; } }
.tag--proximamente { color: #e7c27a; border-color: rgba(231,194,122,.4); }
.hproj .tag--proximamente { color: #9a6b12; border-color: rgba(154,107,18,.35); }
/* la grilla de espacios se adapta a la cantidad de ítems */
.feats__list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- obras terminadas (fotos reales) ---------- */
.done { padding-top: var(--sec); padding-bottom: var(--sec); }
.done__head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.done__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.done__head .h2 { margin: 0; }
.done__lead { margin: 0; color: var(--muted); font-size: var(--t-body); max-width: 40ch; justify-self: end; }
.done__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.done__i { position: relative; display: block; border-radius: 4px; overflow: hidden; color: #fff; }
.done__i--0 { grid-column: span 7; aspect-ratio: 4 / 3; }
.done__i--1 { grid-column: span 5; aspect-ratio: auto; }
.done__i--2 { grid-column: span 5; aspect-ratio: 4 / 3; }
.done__i--3 { grid-column: span 7; aspect-ratio: auto; }
.done__m { position: absolute; inset: 0; }
.done__m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.done__i:hover .done__m img { transform: scale(1.03); }
.done__i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); pointer-events: none; }
.done__tag { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: var(--t-label); letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 99px; }
.done__c { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.done__c b { font-weight: 500; font-size: var(--t-sub); }
.done__c span { font-size: var(--t-small); opacity: .8; }
.tour { padding-top: var(--sec); }
.tour .gal__head { margin-bottom: 24px; }
@media (max-width: 900px) {
  .done__head { grid-template-columns: 1fr; }
  .done__lead { justify-self: start; }
  .done__grid { grid-template-columns: 1fr; }
  .done__grid .done__i { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}
/* galería de fotos reales: mosaico que acepta fotos verticales y horizontales */
.gal__grid--real { display: block; column-count: 3; column-gap: clamp(10px, 1.4vw, 20px); max-width: none; }
.gal__grid--real .gal__i { break-inside: avoid; margin: 0 0 clamp(18px, 2vw, 28px); }
@media (max-width: 900px) { .gal__grid--real { column-count: 2; } }
@media (max-width: 560px) { .gal__grid--real { column-count: 1; } }
