/* =============================================================
   DA.LA.MA · styles.css
   1. Tokens  2. Reset  3. Utilities  4. Type  5. Components
   6. Sections  7. Effects  8. Responsive  9. Reduced motion
   ============================================================= */

/* ============ 1. Tokens ============ */
:root {
  --white: #ffffff;
  --paper: #f6f6f4;
  --ink: #0b0c0e;
  --ink-2: #16181b;
  --ink-3: #24272b;
  --concrete: #a7aeb7;
  --concrete-l: #c9c6c1;
  --concrete-d: #5c5f62;
  --steel: #006dff;
  --steel-d: #0b2d57;
  --deep: #0b2d57;
  --green: #556b4f;
  --sky: #8dbbff;
  --line: rgba(11, 12, 14, .14);
  --line-l: rgba(255, 255, 255, .16);

  --display: "Michroma", "Archivo", system-ui, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --nav-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Concrete texture (SVG noise) */
  --concrete-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.36 0 0 0 0 0.37 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  --concrete-blot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.21 0 0 0 0 0.22 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23b)'/%3E%3C/svg%3E");
}

/* ============ 2. Reset ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--steel); color: var(--white); }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ============ 3. Utilities ============ */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--white);
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.muted { opacity: .6; }

/* ============ 4. Type ============ */
.kicker {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--concrete-d);
}
.section-tag {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--concrete-d); margin-bottom: 1.6rem;
}
.section-tag span { color: var(--steel); }
.section-tag::after { content: ""; flex: 0 0 64px; height: 1px; background: currentColor; opacity: .5; }
.section-title {
  font-family: var(--sans); font-variation-settings: "wdth" 125; font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3.6rem); letter-spacing: -.01em; text-transform: uppercase;
  line-height: 1.02; max-width: 20ch;
}
.section-title em, .manifesto-title em, .contact-title em { font-style: normal; color: var(--steel); }
.section-sub { margin-top: 1.2rem; max-width: 52ch; font-size: 1.08rem; color: var(--concrete-d); }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head-light .section-title { color: var(--white); }
.section-head-light .section-title em { color: var(--sky); }
.section-head-light .section-tag, .section-head-light .section-sub { color: var(--concrete); }
.section-head-light .section-tag span { color: var(--sky); }

/* ============ 5. Components ============ */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .9rem 1.5rem;
  background: var(--bg); color: var(--fg);
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--bg);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out), transform .45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--steel);
  transform: translateX(-102%) skewX(-18deg); transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(0); }
.btn:hover { border-color: var(--steel); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn:disabled::before { display: none; }
.btn-primary { --bg: var(--ink); --fg: var(--white); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { color: var(--white); }
.btn-ghost-dark { --bg: transparent; --fg: var(--ink); border-color: var(--line); margin-top: 1.6rem; }
.btn-ghost-dark:hover { color: var(--white); }
.btn-link { --bg: transparent; --fg: var(--ink); border-color: transparent; padding-inline: .4rem; }
.btn-link::before { display: none; }
.btn-link:hover { color: var(--steel); border-color: transparent; }
.btn-small { min-height: 44px; padding: .6rem 1rem; }
.btn-wa { --bg: var(--white); --fg: var(--ink); }
.btn-wa:hover { color: var(--white); }
.btn-ig { --bg: transparent; --fg: var(--white); border-color: var(--line-l); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* Logo (stacked DA / LA / MA) */
.nav-logo, .splash-logo, .footer-logo {
  display: inline-flex; flex-direction: column; font-family: var(--display); line-height: .92; letter-spacing: .04em;
}

/* Blueprint lines */
.blueprint { pointer-events: none; overflow: visible; }
.blueprint path, .blueprint rect, .blueprint circle {
  fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke;
}
.bp-dash { stroke-dasharray: 6 6; }
.bp-label { font-family: var(--mono); font-size: 13px; fill: currentColor; letter-spacing: .08em; }

/* ============ 6. Sections ============ */

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--white);
  display: grid; place-items: center;
  transition: clip-path .9s var(--ease-out), visibility 0s .9s;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); visibility: hidden; }
@keyframes splashSafety { to { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); visibility: hidden; pointer-events: none; } }
.splash-logo { font-size: clamp(2.4rem, 7vw, 4.2rem); position: relative; z-index: 2; }
.splash-logo span { display: block; animation: splashIn .8s var(--ease-out) both; }
.splash-logo span:nth-child(2) { animation-delay: .12s; }
.splash-logo span:nth-child(3) { animation-delay: .24s; }
@keyframes splashIn { from { opacity: 0; transform: translateY(40%); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
.splash-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--steel); }
.splash-lines path { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw 1.2s .2s var(--ease-out) forwards; }
.splash-lines path + path { stroke: var(--concrete-d); animation-delay: .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem; padding-inline: var(--gutter);
  color: var(--ink);
  transition: background .4s var(--ease-out), color .4s var(--ease-out), transform .5s var(--ease-out), box-shadow .4s;
}
.nav, .nav.is-scrolled { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(12px)) { .nav, .nav.is-scrolled { background: rgba(255,255,255,.78); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); } }
.nav.is-hidden { transform: translateY(-100%); }
.nav-logo { font-size: .82rem; }
.nav-links { display: none; gap: 1.8rem; margin-left: auto; }
.nav-links a {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; position: relative; padding-block: .4rem;
}
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--steel); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  margin-left: auto; display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--white); padding: .7rem 1rem; transition: background .3s;
}
.nav-cta:hover { background: var(--steel); }
.nav-cta svg { width: 16px; height: 16px; fill: currentColor; }
.nav-cta span { display: none; }
.nav-burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; }
.nav-burger span { width: 24px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.nav-links.is-open {
  display: flex; flex-direction: column; gap: 0;
  position: fixed; inset: var(--nav-h) 0 auto 0; background: var(--white); padding: 1rem var(--gutter) 2rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.25);
}
.nav-links.is-open a { font-size: .95rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 0 var(--gutter) 3rem;
  overflow: clip; isolation: isolate;
}
.hero-media {
  position: relative; margin: 0 calc(-1 * var(--gutter)) -1.5rem; height: 50svh; min-height: 300px; z-index: -2; flex: none;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  background: var(--concrete-l);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.08); }
.hero-planes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.plane { position: absolute; display: block; }
.plane-concrete {
  background: var(--concrete-tex), var(--concrete-blot), var(--concrete-l);
  left: -10%; width: 70%; top: 44svh; height: 18svh;
  clip-path: polygon(0 60%, 100% 0, 100% 40%, 0 100%);
}
.plane-steel {
  background: var(--steel);
  right: -5%; width: 60%; top: 40svh; height: 9svh;
  clip-path: polygon(0 100%, 100% 0, 100% 30%, 8% 100%);
}
.plane-sky { background: var(--sky); width: 14vw; height: 14vw; right: 6%; top: 8svh; clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .0; }
.hero-blueprint { position: absolute; inset: 0 0 auto 0; width: 100%; height: 50svh; color: var(--white); z-index: -1; opacity: .9; }
.hero-blueprint .bp-draw path, .hero-blueprint .bp-draw circle { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.hero.is-in .hero-blueprint .bp-draw path, .hero.is-in .hero-blueprint .bp-draw circle { animation: draw 1.8s .5s var(--ease-out) forwards; }
.hero-blueprint .bp-label { opacity: 0; transition: opacity .8s 1.6s; }
.hero.is-in .hero-blueprint .bp-label { opacity: 1; }
.bp-vert { writing-mode: vertical-rl; }

.hero-copy { position: relative; max-width: 640px; }
.hero-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.55rem, 7.4vw, 4.3rem); line-height: 1.06; letter-spacing: .01em;
  margin: 1rem 0 1.2rem;
}
.hero-title .line { display: block; }
.hero-title .line-accent { color: var(--steel); }
.hero-lead { font-size: 1.05rem; color: var(--concrete-d); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-meta { display: grid; gap: .5rem; margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.hero-meta li { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete-d); }
.hero-meta b { color: var(--steel); font-weight: 500; margin-right: .5rem; }
.hero-scroll { display: none; }

/* Marquee */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; padding-block: 1.1rem; border-block: 1px solid var(--ink-3); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(1rem, 2.2vw, 1.5rem); text-transform: uppercase; padding-inline: 1.6rem; display: inline-flex; align-items: center; gap: 3.2rem; white-space: nowrap; }
.marquee span::after { content: ""; width: 22px; height: 12px; background: var(--steel); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Manifesto */
.manifesto { position: relative; padding-block: clamp(5rem, 12vw, 10rem) clamp(7rem, 14vw, 12rem); background: var(--white); }
.manifesto-grid { display: grid; gap: 1rem; }
.manifesto-title {
  font-family: var(--display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(1.8rem, 6vw, 5rem); line-height: 1.02;
}
.manifesto-text { margin-top: 2rem; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.55; max-width: 44ch; color: var(--ink-3); }
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3.5rem; }
.stat { background: var(--white); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; }
.stat-num { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; color: var(--steel); }
.stat-lbl { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete-d); max-width: 26ch; }
.diag-cut { position: absolute; left: 0; right: 0; height: clamp(40px, 7vw, 110px); background: var(--paper); pointer-events: none; }
.diag-cut-bottom { bottom: -1px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }

/* Services */
.services { background: var(--paper); padding-block: clamp(3rem, 8vw, 6rem) clamp(5rem, 10vw, 8rem); }
.services-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--white); display: flex; flex-direction: column; transition: background .5s var(--ease-out), color .5s var(--ease-out); }
.service figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--concrete-l); clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.service img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) contrast(1.05); transform: scale(1.02); transition: filter .7s var(--ease-out), transform 1.1s var(--ease-out); }
.service-body { padding: 1.3rem 1.4rem 1.8rem; position: relative; }
.service-num { font-family: var(--mono); font-size: .72rem; letter-spacing: .15em; color: var(--steel); }
.service h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.12rem; margin: .5rem 0 .6rem; letter-spacing: .02em; }
.service p { color: var(--concrete-d); font-size: .96rem; transition: color .5s; }
.service:hover { background: var(--ink); color: var(--white); }
.service:hover p { color: var(--concrete-l); }
.service:hover .service-num { color: var(--sky); }
.service:hover img { filter: none; transform: scale(1.08); }

/* Process */
.process { position: relative; background: var(--ink); color: var(--white); padding-block: clamp(5rem, 10vw, 8rem); overflow: clip; isolation: isolate; }
.concrete-bg { position: absolute; inset: 0; z-index: -1; background: var(--concrete-tex), var(--concrete-blot); opacity: .5; mix-blend-mode: screen; }
.process-track { position: relative; }
.process-line { position: absolute; left: 0; right: 0; top: 0; height: 40px; width: 100%; display: none; }
.process-line path { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.process-line-base { stroke: var(--line-l); stroke-dasharray: 6 8; }
.process-line-draw { stroke: var(--sky); stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.steps { display: grid; gap: 2.6rem; position: relative; padding-left: 2rem; border-left: 1px dashed var(--line-l); }
.step { position: relative; }
.step-node { position: absolute; left: calc(-2rem - 7px); top: 6px; width: 13px; height: 13px; background: var(--ink); border: 1.5px solid var(--sky); transform: rotate(45deg); transition: background .4s; }
.step.is-visible .step-node { background: var(--sky); }
.step-num { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--concrete); }
.step h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; margin: .8rem 0 .6rem; }
.step p { color: var(--concrete-l); max-width: 34ch; }

/* Quote / presupuestador */
.quote { background: var(--white); padding-block: clamp(5rem, 10vw, 8rem); position: relative; }
.quote::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 55%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%);
}
.qz { position: relative; border: 1px solid var(--ink); background: var(--white); }
.qz-steps { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--ink); }
.qz-steps li {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--concrete);
  padding: .9rem .4rem; text-align: center; border-right: 1px solid var(--line); position: relative; transition: color .3s, background .3s;
}
.qz-steps li:last-child { border-right: 0; }
.qz-steps li span { display: block; font-size: .9rem; color: inherit; }
.qz-steps li.is-active { background: var(--ink); color: var(--white); }
.qz-steps li.is-done { color: var(--steel); }
.qz-panels { padding: clamp(1.4rem, 4vw, 3rem); }
.qz-panel { animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.qz-h { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 1.6rem); margin-bottom: .7rem; }
.qz-p { color: var(--concrete-d); max-width: 58ch; margin-bottom: 1.6rem; }
.qz-fine { font-size: .82rem; color: var(--concrete-d); margin-top: 1rem; }
.qz-cols { display: grid; gap: 2rem; }
.qz-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 2rem; }
.qz-foot { border-top: 1px solid var(--line); padding: 1rem clamp(1.4rem, 4vw, 3rem); font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--concrete-d); }
.qz-foot b { color: var(--steel); font-weight: 500; }

.drop {
  display: grid; place-items: center; gap: .5rem; text-align: center; cursor: pointer;
  padding: 2.2rem 1rem; border: 1.5px dashed var(--concrete); background: var(--paper);
  transition: border-color .3s, background .3s;
}
.drop:hover, .drop.is-over { border-color: var(--steel); background: #eef3f7; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid var(--steel); outline-offset: 3px; }
.drop-icon svg { width: 44px; height: 44px; fill: none; stroke: var(--steel); stroke-width: 1.5; }
.drop-t { font-weight: 600; }
.drop-s { font-family: var(--mono); font-size: .7rem; color: var(--concrete-d); letter-spacing: .08em; }
.thumbs { display: flex; gap: .6rem; margin-top: .9rem; flex-wrap: wrap; }
.thumb { position: relative; width: 84px; height: 84px; border: 1px solid var(--line); background: var(--paper); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; background: var(--ink); color: var(--white); font-size: .8rem; line-height: 1; }

.ai-card { border: 1px solid var(--line); background: var(--paper); min-height: 280px; position: relative; overflow: hidden; }
.ai-empty { padding: 2rem; display: grid; gap: 1rem; place-items: center; text-align: center; height: 100%; color: var(--concrete-d); }
.ai-bp { width: 70%; color: var(--concrete); }
.ai-scan { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(243,243,241,.9); }
.ai-scan::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--steel); box-shadow: 0 0 18px var(--sky); animation: scan 1.6s ease-in-out infinite alternate; }
@keyframes scan { from { top: 8%; } to { top: 92%; } }
.ai-scan p { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; position: relative; background: var(--paper); padding: .4rem .8rem; }
.ai-result { padding: 1.6rem; }
.ai-result .kicker { color: var(--steel); }
.ai-result h4 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; margin: .5rem 0 1rem; }
.ai-row { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: .6rem; font-size: .92rem; }
.ai-row span:first-child { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete-d); padding-top: .2rem; }
.ai-row span:last-child { text-align: right; font-weight: 600; }
.ai-list { margin-top: .8rem; display: grid; gap: .35rem; }
.ai-list li { padding-left: 1.2rem; position: relative; font-size: .92rem; }
.ai-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--steel); transform: rotate(45deg); }
.ai-msg { padding: 1.6rem; color: var(--concrete-d); }

.choice-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.choice {
  background: var(--white); text-align: left; padding: 1.2rem 1.2rem 1.3rem; display: grid; gap: .3rem; position: relative;
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
.choice b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: .92rem; letter-spacing: .02em; }
.choice small { color: var(--concrete-d); font-size: .86rem; line-height: 1.4; }
.choice:hover { background: var(--paper); }
.choice[aria-checked="true"] { background: var(--ink); color: var(--white); }
.choice[aria-checked="true"] small { color: var(--concrete-l); }
.choice .tag-ia { position: absolute; top: .8rem; right: .8rem; font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; background: var(--sky); color: var(--ink); padding: .2rem .45rem; }

.dims { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-end; margin-bottom: 1rem; }
.dims label { display: grid; gap: .3rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete-d); }
.dims input { width: 110px; min-height: 44px; padding: .5rem .7rem; border: 1px solid var(--concrete); background: var(--white); font-family: var(--sans); font-size: 1rem; }
.grid-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.tool { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .6rem .8rem; border: 1px solid var(--line); min-height: 40px; }
.tool.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.area-readout { display: flex; align-items: baseline; gap: .5rem; border-top: 1px solid var(--ink); padding-top: 1rem; }
.area-readout span { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--concrete-d); margin-right: auto; }
.area-readout strong { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); color: var(--steel); line-height: 1; }
.area-readout em { font-style: normal; font-family: var(--display); }
.grid-wrap { position: relative; }
.plan-grid { width: 100%; height: auto; aspect-ratio: 40 / 28; background: #f7f9fb; border: 1px solid var(--ink); touch-action: none; cursor: crosshair; }
.grid-scale { position: absolute; right: .6rem; bottom: .5rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete-d); background: rgba(255,255,255,.85); padding: .15rem .4rem; }

.finish-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.finish { background: var(--white); padding: 1.5rem; text-align: left; display: grid; gap: .5rem; transition: background .35s, color .35s; }
.finish b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.1rem; }
.finish small { color: var(--concrete-d); font-size: .9rem; }
.finish .finish-bars { display: flex; gap: 4px; margin-bottom: .4rem; }
.finish .finish-bars i { width: 26px; height: 6px; background: var(--concrete-l); transform: skewX(-20deg); }
.finish .finish-bars i.on { background: var(--steel); }
.finish:hover { background: var(--paper); }
.finish[aria-checked="true"] { background: var(--ink); color: var(--white); }
.finish[aria-checked="true"] small { color: var(--concrete-l); }
.finish[aria-checked="true"] .finish-bars i.on { background: var(--sky); }

.fields { display: grid; gap: 1rem; margin-bottom: 1.2rem; }
.fields label, .contact-form label { display: grid; gap: .35rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete-d); }
.fields small, .contact-form small { text-transform: none; letter-spacing: 0; }
.fields input, .contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea {
  width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid var(--concrete); background: var(--white);
  font-family: var(--sans); font-size: 1rem; color: var(--ink); text-transform: none; letter-spacing: 0; border-radius: 0;
  transition: border-color .3s, box-shadow .3s;
}
.fields input:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(0,109,255,.18); }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .6rem !important; font-family: var(--sans) !important; font-size: .88rem !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--concrete-d); }
.check input { margin-top: .25rem; accent-color: var(--steel); width: 18px; height: 18px; flex: none; }
.form-error { color: #b3261e; font-size: .9rem; margin-top: .6rem; }
.form-ok { color: var(--steel); font-weight: 600; margin-top: .6rem; }

.result-head { border-bottom: 1px solid var(--ink); padding-bottom: 1.2rem; margin-bottom: 1.4rem; }
.result-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.2rem, 3vw, 2rem); margin-top: .6rem; }
.result-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.result-cell { background: var(--white); padding: 1.2rem 1.3rem; display: grid; gap: .3rem; }
.result-cell span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--concrete-d); }
.result-cell strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.result-cell-main { background: var(--ink); color: var(--white); }
.result-cell-main span { color: var(--concrete); }
.result-cell-main strong { font-size: clamp(1.25rem, 3.2vw, 2.1rem); color: var(--white); line-height: 1.2; }
.result-works { display: grid; gap: 1.5rem; margin-top: 1.8rem; }
.result-works h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: .8rem; font-weight: 500; }
.result-works ul { display: grid; gap: .4rem; }
.result-works li { padding-left: 1.3rem; position: relative; }
.result-works li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 1.5px; background: var(--steel); }
.result-note { margin-top: 1.8rem; padding: 1rem 1.2rem; border-left: 3px solid var(--steel); background: var(--paper); font-size: .92rem; color: var(--ink-3); }
.result-sent { margin-top: .8rem; font-size: .88rem; color: var(--concrete-d); }

/* Works / before-after */
.works { background: var(--ink); color: var(--white); padding-block: clamp(5rem, 10vw, 8rem); position: relative; overflow: clip; }
.works::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: clamp(40px, 7vw, 110px); background: var(--white); clip-path: polygon(0 0, 100% 0, 0 100%); }
.ba-tabs { display: flex; gap: 0; border: 1px solid var(--line-l); width: max-content; max-width: 100%; margin-bottom: 1.2rem; }
.ba-tabs button { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: .8rem 1.1rem; color: var(--concrete); border-right: 1px solid var(--line-l); min-height: 44px; }
.ba-tabs button:last-child { border-right: 0; }
.ba-tabs button.is-active { background: var(--white); color: var(--ink); }
.ba { position: relative; aspect-ratio: 4 / 3; max-width: 1000px; max-height: 78vh; overflow: hidden; background: var(--ink-3); user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before { filter: saturate(.85); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%) rotate(45deg); background: var(--white); box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 0 2px 2px; }
.ba-handle span::before { transform: translate(-90%, -10%) rotate(0deg); }
.ba-handle span::after { transform: translate(-10%, -90%) rotate(180deg); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 1rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--white); padding: .35rem .6rem; pointer-events: none; }
.ba-tag-l { left: 1rem; }
.ba-tag-r { right: 1rem; background: var(--steel); }
.ba-caption { margin-top: 1rem; color: var(--concrete); font-size: .95rem; }
.ba.is-swapping .ba-img { animation: baSwap .6s var(--ease-out); }
@keyframes baSwap { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

.gallery { display: grid; gap: 1rem; margin-top: clamp(3rem, 7vw, 5rem); }
.g { position: relative; overflow: hidden; background: var(--ink-3); }
.g img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1.2s var(--ease-out); }
.g:hover img { transform: scale(1.05); }
.g figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 2.4rem 1rem .9rem; background: linear-gradient(transparent, rgba(11,12,14,.85)); font-size: .92rem; }
.g figcaption span { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.demo-note { margin-top: 1.4rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--concrete); }

/* Testimonials */
.testimonials { padding-block: clamp(5rem, 10vw, 8rem); background: var(--white); }
.t-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.t { background: var(--white); padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: 1.2rem; position: relative; }
.t::before { content: "“"; font-family: var(--display); font-size: 4rem; line-height: .6; color: var(--steel); }
.t-badge { position: absolute; top: 1.2rem; right: 1.2rem; font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; border: 1px dashed var(--concrete); color: var(--concrete-d); padding: .2rem .5rem; }
.t blockquote { font-size: 1.08rem; line-height: 1.55; flex: 1; }
.t figcaption { font-size: .9rem; color: var(--concrete-d); border-top: 1px solid var(--line); padding-top: 1rem; }
.t figcaption b { color: var(--ink); }

/* FAQ */
.faq { background: var(--paper); padding-block: clamp(5rem, 10vw, 8rem); }
.faq-grid { display: grid; gap: 1rem; }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.3rem 3rem 1.3rem 0; position: relative;
  font-family: var(--sans); font-variation-settings: "wdth" 115; font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 14px; height: 14px; border: solid var(--steel); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 2rem 1.4rem 0; color: var(--ink-3); max-width: 62ch; }

/* Contact */
.contact { position: relative; background: var(--ink); color: var(--white); padding-block: clamp(5rem, 10vw, 8rem); overflow: clip; isolation: isolate; }
.contact-planes .plane-concrete { top: auto; bottom: 0; left: -20%; width: 80%; height: 30%; opacity: .16; }
.contact-planes .plane-steel { top: 12%; right: -10%; width: 50%; height: 12%; opacity: .7; }
.contact-grid { display: grid; gap: 3rem; }
.contact .section-tag { color: var(--concrete); }
.contact .section-tag span { color: var(--sky); }
.contact .section-sub { color: var(--concrete-l); }
.contact-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.7rem, 4.6vw, 3.6rem); line-height: 1.05; }
.contact-title em { color: var(--sky); }
.contact-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.contact-form { background: var(--white); color: var(--ink); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1rem; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.contact-form h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; }

/* Footer */
.footer { background: var(--ink); color: var(--white); border-top: 1px solid var(--ink-3); padding-top: 4rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { font-size: clamp(3.4rem, 12vw, 8rem); color: var(--white); }
.footer-logo span:nth-child(2) { color: var(--concrete); }
.footer-logo span:nth-child(3) { color: var(--steel); }
.footer-lemas p { font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; line-height: 1.4; }
.footer-lemas p + p { margin-top: 1rem; }
.footer-links { display: grid; gap: .7rem; align-content: start; }
.footer-links a { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--concrete-l); }
.footer-links a:hover { color: var(--sky); }
.footer-base { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; border-top: 1px solid var(--ink-3); padding-block: 1.4rem 6rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; color: var(--concrete); }

/* Chat */
.chat-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 120;
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--ink); color: var(--white); padding: .95rem 1.2rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.55); border: 1px solid var(--ink-3);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background .3s, transform .4s var(--ease-out);
}
.chat-fab:hover { background: var(--steel); transform: translateY(-2px); }
.chat-fab-dot { width: 9px; height: 9px; background: var(--sky); border-radius: 50%; box-shadow: 0 0 0 0 rgba(156,203,232,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(156,203,232,0); } 100% { box-shadow: 0 0 0 0 rgba(156,203,232,0); } }
.chat {
  position: fixed; z-index: 130; right: 0; bottom: 0; left: 0; top: 0;
  background: var(--white); display: flex; flex-direction: column;
  animation: chatIn .45s var(--ease-out);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: var(--white); padding: .9rem 1rem; }
.chat-id { display: flex; align-items: center; gap: .8rem; }
.chat-id small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.chat-avatar { font-family: var(--display); font-size: .5rem; line-height: 1; background: var(--white); color: var(--ink); width: 38px; height: 38px; display: grid; place-items: center; text-align: left; padding: 4px; }
.chat-close { font-size: 1.8rem; line-height: 1; width: 44px; height: 44px; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; background: var(--paper); overscroll-behavior: contain; }
.msg { max-width: 88%; padding: .75rem .95rem; font-size: .95rem; line-height: 1.5; white-space: pre-wrap; }
.msg-bot { background: var(--white); border: 1px solid var(--line); align-self: flex-start; }
.msg-user { background: var(--ink); color: var(--white); align-self: flex-end; }
.msg-typing { display: inline-flex; gap: 4px; }
.msg-typing i { width: 6px; height: 6px; background: var(--concrete); animation: typing 1s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { opacity: .2; transform: translateY(-3px); } }
.chat-sugs { display: flex; gap: .4rem; overflow-x: auto; padding: .6rem 1rem; background: var(--paper); border-top: 1px solid var(--line); }
.chat-sugs button { flex: none; font-size: .8rem; padding: .45rem .75rem; border: 1px solid var(--concrete); background: var(--white); white-space: nowrap; }
.chat-sugs button:hover { border-color: var(--steel); color: var(--steel); }
.chat-cta { display: flex; border-top: 1px solid var(--line); }
.chat-cta a { flex: 1; text-align: center; padding: .7rem .5rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.chat-cta a:first-child { background: var(--steel); color: var(--white); }
.chat-cta a:last-child { border-left: 1px solid var(--line); }
.chat-form { display: flex; border-top: 1px solid var(--ink); }
.chat-form input { flex: 1; min-width: 0; padding: 1rem; border: 0; font-size: 1rem; }
.chat-form input:focus { outline: none; }
.chat-form button { width: 56px; background: var(--ink); color: var(--white); font-size: 1.3rem; }

/* ============ 7. Effects ============ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
[data-hero-in] { opacity: 0; transform: translateY(26px); }
.hero.is-in [data-hero-in] { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.hero.is-in [data-hero-in]:nth-child(2) { transition-delay: .1s; }
.hero.is-in [data-hero-in]:nth-child(3) { transition-delay: .2s; }
.hero.is-in [data-hero-in]:nth-child(4) { transition-delay: .3s; }
.hero.is-in [data-hero-in]:nth-child(5) { transition-delay: .4s; }
.no-js [data-hero-in] { opacity: 1; transform: none; }
.hero-media { transition: clip-path 1.4s var(--ease-out); }
.hero:not(.is-in) .hero-media { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
.no-js .hero .hero-media { clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); }
.plane { transition: transform 1.3s var(--ease-out), opacity 1s; }
.hero:not(.is-in) .plane-concrete { transform: translateX(-60%); }
.hero:not(.is-in) .plane-steel { transform: translateX(60%); }
.hero-media img { transition: transform 2.4s var(--ease-out); }
.hero.is-in .hero-media img { transform: scale(1); }

/* ============ 8. Responsive ============ */
@media (min-width: 540px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .nav-cta span { display: inline; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .result-grid { grid-template-columns: repeat(3, 1fr); }
  .result-cell-main { grid-column: 1 / -1; }
  .fields { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: repeat(3, 1fr); }
  .finish-grid { grid-template-columns: repeat(3, 1fr); }
  .qz-steps li { font-size: .68rem; }
  .hero-meta { grid-template-columns: repeat(3, auto); gap: 1.6rem; }
  .chat { left: auto; top: auto; right: 16px; bottom: 16px; width: 390px; height: min(620px, calc(100vh - 32px)); box-shadow: 0 30px 70px -20px rgba(0,0,0,.45); border: 1px solid var(--ink); }
}
@media (min-width: 960px) {
  :root { --nav-h: 84px; }
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-cta { margin-left: 1rem; }
  .hero { justify-content: center; padding: calc(var(--nav-h) + 1rem) var(--gutter) 5rem; }
  .hero-blueprint { height: 100%; }
  .hero-media { position: absolute; margin: 0; min-height: 0; inset: 0 0 0 auto; width: 56%; height: 100%; clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%); }
  .no-js .hero .hero-media { clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%); }
  .hero:not(.is-in) .hero-media { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  .plane-concrete { left: 18%; width: 46%; top: auto; bottom: -2%; height: 38%; clip-path: polygon(0 100%, 62% 0, 100% 0, 38% 100%); }
  .plane-steel { right: auto; left: 36%; width: 30%; top: 0; height: 100%; clip-path: polygon(62% 0, 70% 0, 8% 100%, 0 100%); }
  .plane-sky { opacity: .9; right: 0; top: auto; bottom: 0; width: 18vw; height: 18vw; }
  .hero-copy { max-width: 48%; }
  .hero-title { font-size: clamp(2rem, 4.1vw, 4.4rem); }
  .hero-scroll { display: flex; position: absolute; left: var(--gutter); bottom: 1.6rem; align-items: center; gap: .8rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--concrete-d); }
  .hero-scroll i { width: 60px; height: 1px; background: var(--concrete); position: relative; overflow: hidden; }
  .hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--steel); animation: scrollLine 2.2s var(--ease-out) infinite; }
  @keyframes scrollLine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
  .manifesto-grid { grid-template-columns: 1fr 3fr; gap: 3rem; }
  .qz-cols { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .qz-cols-grid { grid-template-columns: 1fr 1.5fr; }
  .choice-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-left: 0; border-left: 0; padding-top: 3.5rem; }
  .process-line { display: block; }
  .step-node { left: 0; top: -3.5rem; transform: translateY(13px) rotate(45deg); }
  .gallery { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 180px; }
  .g-1 { grid-column: span 5; grid-row: span 3; }
  .g-2 { grid-column: span 7; grid-row: span 2; }
  .g-3 { grid-column: span 3; grid-row: span 2; }
  .g-4 { grid-column: span 4; grid-row: span 2; }
  .g-1 { grid-row: 1 / span 4; }
  .g img { aspect-ratio: auto; }
  .faq-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
  .faq-grid .section-head { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 4rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr .6fr; align-items: end; }
}
@media (min-width: 1280px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-copy { max-width: 46%; }
}

/* ============ 9. Reduced motion (only intrusive) ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 90s; }
  .chat-fab-dot, .hero-scroll i::after { animation: none; }
}


/* =============================================================
   10. Marca DALAMA (archivo madre): paleta y secciones nuevas
   ============================================================= */
.splash, .marquee, .process, .works, .contact, .footer, .chat-head { background-color: var(--deep); }
.marquee { border-block-color: rgba(255,255,255,.14); }
.marquee span { font-size: clamp(.85rem, 1.6vw, 1.15rem); }
.footer, .footer-base { border-top-color: rgba(255,255,255,.14); }
.step-node { background: var(--deep); }
.works::before { display: none; }
.diag-cut-deep { background: var(--deep); }
.about { background: var(--paper); padding-block: clamp(5rem, 10vw, 8rem); }
.hero-media img { object-position: 26% 50%; }
.plane-sky { background: var(--steel); }
.hero-meta li { font-size: .78rem; letter-spacing: .2em; color: var(--ink); }

/* Pilares */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3.5rem; }
.pillar { background: var(--white); padding: 1.8rem 1.5rem 2rem; }
.pillar-n { font-family: var(--mono); font-size: .72rem; letter-spacing: .15em; color: var(--steel); }
.pillar h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.3rem; margin: .6rem 0 .7rem; }
.pillar p { color: var(--concrete-d); font-size: .98rem; }

/* Galería de 3 */
.gallery-3 .g img { aspect-ratio: 4 / 3; }

/* Capacidad técnica interna */
.tech { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2rem; background: var(--deep); color: var(--white); padding: clamp(1.6rem, 4vw, 3rem); position: relative; overflow: hidden; }
.tech::after { content: ""; position: absolute; right: -6%; top: 0; bottom: 0; width: 34%; background: var(--steel); clip-path: polygon(60% 0, 100% 0, 100% 100%, 0 100%); opacity: .9; pointer-events: none; }
.tech > * { position: relative; z-index: 1; }
.tech .kicker { color: var(--sky); }
.tech h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.1rem, 2.2vw, 1.6rem); margin: .8rem 0 1rem; line-height: 1.2; }
.tech-copy p:last-child { color: var(--concrete-l); max-width: 48ch; }
.tech-list { display: grid; gap: 0; align-content: center; }
.tech-list li { font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding: .85rem 0 .85rem 2.2rem; border-top: 1px solid rgba(255,255,255,.18); position: relative; }
.tech-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.tech-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.4rem; height: 1.5px; background: var(--sky); }
.tech-list small { text-transform: none; letter-spacing: .02em; opacity: .75; margin-left: .4rem; }

/* Principios */
.principles { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: none; }
.principles li { background: var(--white); padding: 1.6rem 1.4rem 1.8rem; transition: background .45s var(--ease-out), color .45s var(--ease-out); }
.principles li > span { font-family: var(--display); font-size: 1.6rem; color: transparent; -webkit-text-stroke: 1px var(--steel); line-height: 1; }
.principles h3 { font-family: var(--sans); font-variation-settings: "wdth" 118; font-weight: 800; text-transform: uppercase; font-size: 1rem; line-height: 1.2; margin: 1rem 0 .6rem; }
.principles p { color: var(--concrete-d); font-size: .94rem; transition: color .45s; }
.principles li:hover { background: var(--deep); color: var(--white); }
.principles li:hover p { color: var(--concrete-l); }
.principles li:hover > span { -webkit-text-stroke-color: var(--sky); }

/* Zona */
.zone { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .95rem; color: var(--concrete-l); max-width: 46ch; }
.zone span { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: .4rem; }

@media (min-width: 540px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .gallery-3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
}
@media (min-width: 960px) {
  .plane-steel { left: 42.5%; width: 16%; clip-path: polygon(88% 0, 100% 0, 12% 100%, 0 100%); }
  .tech { grid-template-columns: 1.3fr 1fr; gap: 4rem; padding-right: 22%; }
  .gallery.gallery-3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
  .gallery-3 .g { grid-column: auto; grid-row: auto; }
  .principles { grid-template-columns: repeat(4, 1fr); }
}

/* Ajustes celular: el cartel entero, debajo de la barra */
@media (max-width: 959px) {
  .hero-media { margin-top: var(--nav-h); height: 52svh; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .no-js .hero .hero-media { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .hero-media img { object-position: 50% 50%; }
  .hero-blueprint { display: none; }
  .hero .plane-concrete { top: calc(var(--nav-h) + 47svh); }
  .hero .plane-steel { top: calc(var(--nav-h) + 45svh); }
  .tech::after { display: none; }
}
@media (max-width: 959px) { .hero-media { margin-bottom: 1.2rem; clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); } .hero-media img { object-position: 50% 30%; } }

.contact-ctas .btn[href^="mailto:"] { text-transform: none; letter-spacing: .04em; }
