/* =========================================================
   STRATA — Costruzioni & Ristrutturazioni
   Palette: grafite, cemento, arancione segnale, blu progetto
   ========================================================= */
:root {
  --bg: #0d0e10;
  --bg-2: #141518;
  --panel: #18191c;
  --concrete: #efece6;
  --concrete-2: #d9d5cd;
  --ink: #111214;
  --text: #efece6;
  --muted: rgba(239, 236, 230, .62);
  --dim: rgba(239, 236, 230, .38);
  --line: rgba(239, 236, 230, .12);
  --accent: #ff6b2c;
  --accent-2: #ff9a5c;
  --blue: #9fd8ff;
  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html { background: var(--bg); -webkit-font-smoothing: antialiased; }
html.is-loading { overflow: hidden; }
body { background: var(--bg); color: var(--text); font-family: var(--f-sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #111; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.8rem); line-height: .98; letter-spacing: -.035em; }
em { font-style: normal; color: var(--accent); }
.label { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); margin-bottom: 22px; }
.label::before { content: ''; width: 18px; height: 1px; background: currentColor; }

/* ---------- Bottoni ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 4px; font-family: var(--f-display); font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn--accent { background: var(--accent); color: #111; }
.btn--accent::before { background: var(--concrete); }
.btn--ghost { border: 1px solid rgba(239,236,230,.25); }
.btn--ghost::before { background: var(--concrete); }
.btn--ghost:hover { color: #111; }
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--pad); transition: background .5s, padding .5s, transform .8s var(--ease), border-color .5s; border-bottom: 1px solid transparent; transform: translateY(-110%); }
.is-ready .nav { transform: none; }
.nav.is-scrolled { background: rgba(13,14,16,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 11px; border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 40px; height: 37px; fill: none; stroke: var(--concrete); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.logo__top { fill: var(--accent); stroke: var(--accent); }
.logo__low { opacity: .5; }
.logo__text { font-family: var(--f-display); font-weight: 600; font-size: 21px; letter-spacing: .2em; line-height: 1; display: flex; flex-direction: column; }
.logo__text small { font-family: var(--f-mono); font-weight: 400; font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 32px); list-style: none; }
.nav__links a { display: flex; align-items: baseline; gap: 6px; font-size: 14px; color: var(--muted); transition: color .3s; padding: 6px 0; position: relative; }
.nav__links a span { font-family: var(--f-mono); font-size: 9px; color: var(--accent); }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 12px 20px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 100px var(--pad) 40px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease-io); }
.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu ul { list-style: none; }
.menu li a { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-size: clamp(2.2rem, 10vw, 3.2rem); line-height: 1.25; letter-spacing: -.03em; }
.menu li a span { color: var(--accent); }
.menu .btn { align-self: flex-start; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
.is-ready .line > span { transform: none; }
.line:nth-child(2) > span { transition-delay: .08s; }
.line:nth-child(3) > span { transition-delay: .16s; }

/* ---------- Costruzione 3D (hero sticky) ---------- */
.build { position: relative; height: 520vh; }
.build__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(ellipse at 65% 60%, #1d1f23 0%, #111215 55%, #0b0c0d 100%); }
.build__sticky .gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.build__shade { position: absolute; inset: 0; pointer-events: none; }
.build__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); }
.build__photo:not([src]) { visibility: hidden; }
.build__photo--dusk { opacity: 0; clip-path: none; }
.build__scan { position: absolute; left: 0; top: 0; height: 2px; z-index: 1; opacity: 0; pointer-events: none; transform-origin: 0 50%; background: linear-gradient(90deg, transparent, var(--accent) 12%, var(--accent) 88%, transparent); box-shadow: 0 0 16px 2px rgba(255, 107, 44, .55), 0 0 60px 8px rgba(255, 107, 44, .18); will-change: transform; }
.build__shade { z-index: 1; background: linear-gradient(90deg, rgba(10,11,13,.82) 0%, rgba(10,11,13,.45) 34%, rgba(10,11,13,0) 58%); }
@media (max-width: 860px) { .build__shade { background: linear-gradient(0deg, rgba(10,11,13,.9) 0%, rgba(10,11,13,.5) 40%, rgba(10,11,13,0) 65%); } }
.build__grid { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(159,216,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(159,216,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); }
.hero { position: absolute; left: var(--pad); top: 50%; transform: translateY(-46%); width: min(620px, 50vw); z-index: 2; transition: opacity .5s; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--accent); margin-bottom: 26px; opacity: 0; transition: opacity 1s .2s; }
.eyebrow i { width: 26px; height: 1px; background: currentColor; }
.is-ready .eyebrow { opacity: 1; }
.hero__title { font-size: clamp(3rem, 7vw, 7.4rem); line-height: .92; letter-spacing: -.055em; }
.hero__sub { max-width: 460px; margin-top: 28px; font-size: 17px; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.bsteps { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(470px, 40vw); min-height: 280px; z-index: 2; pointer-events: none; }
.bstep { position: absolute; inset: 0 0 auto 0; opacity: 0; }
.bstep .mono { color: var(--accent); }
.bstep h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); margin-top: 14px; }
.bstep p { margin-top: 18px; color: var(--muted); font-size: 16.5px; max-width: 400px; }
.bstep .btn { margin-top: 28px; }
.hud { position: absolute; right: var(--pad); bottom: 34px; display: flex; gap: 22px; color: var(--dim); font-size: 10px; z-index: 2; }
.hud__item { display: flex; align-items: center; gap: 8px; }
.hud__item i { width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.build__scroll { position: absolute; left: var(--pad); bottom: 34px; display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 10px; z-index: 2; transition: opacity .5s; }
.build__scroll i { width: 1px; height: 26px; background: linear-gradient(transparent, var(--accent)); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Numeri ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(36px, 5vw, 64px) var(--pad); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.6rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.stat:nth-child(2) { transition-delay: .06s; } .stat:nth-child(3) { transition-delay: .12s; } .stat:nth-child(4) { transition-delay: .18s; }

/* ---------- Ristrutturazione 3D ---------- */
.reno { height: 380vh; }
.reno__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; padding: 90px var(--pad) 40px; overflow: hidden; }
.reno__lead { margin-top: 22px; color: var(--muted); font-size: 17px; max-width: 430px; }
.reno__phases { list-style: none; margin-top: 36px; display: grid; gap: 12px; color: var(--dim); }
.reno__phases li { display: flex; align-items: center; gap: 12px; transition: color .4s; }
.reno__phases li i { width: 22px; height: 22px; border: 1px solid var(--line); position: relative; transition: background .4s, border-color .4s; }
.reno__phases li.on { color: var(--text); }
.reno__phases li.on i { background: var(--accent); border-color: var(--accent); }
.reno__phases li.on i::after { content: ''; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #111; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.reno__visual { position: relative; height: min(76vh, 720px); border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 40%, #24262a, #121316 75%); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.reno__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reno__img:not([src]) { visibility: hidden; }
.reno__img--after { clip-path: inset(0 0 0 var(--x, 100%)); }
.reno__line { position: absolute; top: 0; bottom: 0; left: var(--x, 100%); width: 2px; margin-left: -1px; background: var(--accent); box-shadow: 0 0 16px 3px rgba(255,107,44,.65); opacity: var(--lo, 1); }
.reno__tag { position: absolute; top: 20px; padding: 7px 12px; background: rgba(13,14,16,.8); border: 1px solid var(--line); font-size: 10px; }
.reno__tag { transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.reno__tag--before { left: 20px; color: var(--muted); }
.reno__tag--after { right: 40px; color: var(--muted); }
.reno__tag.is-on { background: var(--accent); border-color: var(--accent); color: #111; transform: scale(1.08); }
.reno__meter { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: baseline; gap: 12px; color: var(--dim); font-size: 10px; }
.reno__meter b { font-family: var(--f-display); font-weight: 400; font-size: 38px; letter-spacing: -.04em; color: var(--text); text-transform: none; font-variant-numeric: tabular-nums; }

/* ---------- Sezioni ---------- */
section { position: relative; }
.section-head { max-width: 900px; margin-bottom: clamp(48px, 7vw, 90px); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.section-head__copy { color: var(--muted); font-size: 17px; max-width: 420px; }
.services, .method, .projects, .guarantee { padding: clamp(90px, 12vw, 160px) var(--pad); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.svc { position: relative; padding: 34px 26px 30px 0; display: flex; flex-direction: column; gap: 14px; min-height: 300px; border-right: 1px solid var(--line); padding-left: 26px; transition: background .5s; }
.svc:first-child { padding-left: 0; }
.svc:last-child { border-right: 0; }
.svc::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.svc:hover::before { transform: scaleX(1); }
.svc__n { color: var(--accent); }
.svc h3 { font-size: 26px; line-height: 1.05; letter-spacing: -.02em; margin-top: auto; }
.svc p { color: var(--muted); font-size: 15px; }
.svc__tag { color: var(--dim); font-size: 10px; }
.svc:nth-child(2) { transition-delay: .06s; } .svc:nth-child(3) { transition-delay: .12s; } .svc:nth-child(4) { transition-delay: .18s; }

.method { background: var(--concrete); color: var(--ink); }
.method h2 em, .method .label { color: #e2551a; }
.method .section-head__copy { color: #4a4a48; }
.mline { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 44px; }
.mline__track { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(17,18,20,.1); }
.mline__track i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.mstep { display: flex; flex-direction: column; gap: 10px; opacity: .35; transition: opacity .6s; }
.mstep.on { opacity: 1; }
.mstep__n { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; background: var(--ink); color: var(--concrete); }
.mstep.on .mstep__n { background: var(--accent); color: #111; }
.mstep h3 { font-size: 24px; letter-spacing: -.02em; line-height: 1.1; margin-top: 8px; }
.mstep p { color: #4a4a48; font-size: 15px; }

/* ---------- Progetti ---------- */
.pgrid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 80px; }
.proj { grid-column: span 6; display: block; transition: opacity .6s, filter .6s; }
.proj:nth-child(2), .proj:nth-child(4) { margin-top: 120px; }
.proj__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.proj__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.75); transform: scale(1.03); transition: filter 1s var(--ease), transform 1.6s var(--ease); opacity: 0; }
.proj__media img.is-loaded { opacity: 1; }
.proj__scan { position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--accent); box-shadow: 0 0 20px 4px rgba(255,107,44,.6); opacity: 0; }
.pgrid:hover .proj:not(:hover) { opacity: .4; }
.proj:hover img, .proj.is-active img { filter: none; transform: scale(1.08); }
.proj:hover .proj__scan, .proj.is-active .proj__scan { animation: pscan 1.2s var(--ease) forwards; }
@keyframes pscan { 0% { top: 0; opacity: 1; } 100% { top: 100%; opacity: 0; } }
.proj__meta { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; margin-top: 18px; }
.proj__meta .mono:first-child { color: var(--accent); }
.proj__meta h3 { font-size: 24px; letter-spacing: -.02em; }
.proj__tag { color: var(--dim); font-size: 10px; }

/* ---------- Garanzie ---------- */
.guarantee { padding-top: 0; }
.gcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gcard { padding: 30px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-height: 260px; transition: border-color .5s, transform .7s var(--ease); }
.gcard:hover { border-color: rgba(255,107,44,.5); transform: translateY(-4px); }
.gcard svg { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.gcard h3 { font-size: 22px; letter-spacing: -.02em; }
.gcard p { color: var(--muted); font-size: 15px; }
.gcard:nth-child(2) { transition-delay: .06s; } .gcard:nth-child(3) { transition-delay: .12s; } .gcard:nth-child(4) { transition-delay: .18s; }

/* ---------- Contatti ---------- */
.contact { padding: clamp(90px, 12vw, 160px) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #15110e); }
.contact__copy { margin-top: 22px; color: var(--muted); font-size: 17px; max-width: 430px; }
.contact__dl { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.contact__dl dt { font-size: 10px; color: var(--accent); margin-bottom: 6px; }
.form { background: var(--panel); border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 14px; align-self: start; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chips legend { font-size: 10px; color: var(--dim); margin-bottom: 12px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line); font-size: 14px; transition: background .3s, color .3s, border-color .3s; }
.chips input:checked + span { background: var(--accent); color: #111; border-color: var(--accent); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { position: relative; }
.field input { width: 100%; height: 58px; padding: 22px 16px 8px; border: 1px solid var(--line); background: var(--bg-2); outline: none; transition: border-color .3s; font-size: 16px; }
.field input:focus { border-color: var(--accent); }
.field label { position: absolute; left: 16px; top: 18px; font-size: 15px; color: var(--dim); pointer-events: none; transition: top .3s, font-size .3s, color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 8px; font-size: 11px; color: var(--accent); }
.field.is-invalid input { border-color: #e0533d; }
.consent { display: flex; gap: 12px; font-size: 13.5px; color: var(--muted); cursor: pointer; margin: 4px 0; }
.consent input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin-top: 2px; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent.is-invalid { color: #ff8a73; }
.form__msg { font-size: 14px; color: var(--accent-2); min-height: 1em; }

.footer { padding: 56px var(--pad) 32px; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 32px; }
.footer__claim { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 3.2rem); letter-spacing: -.04em; color: var(--accent); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 10px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Cursore sui progetti ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 80; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--accent); color: #111; display: grid; place-items: center; pointer-events: none; transform: scale(0); transition: transform .4s var(--ease); }
.cursor.on { transform: scale(1); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: clip-path 1.1s var(--ease-io); clip-path: inset(0); }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__inner { width: min(280px, 70vw); display: flex; flex-direction: column; align-items: center; gap: 18px; transition: opacity .5s, transform 1s var(--ease-io); }
.loader.is-done .loader__inner { opacity: 0; transform: translateY(-40px); }
.loader__mark { width: 120px; height: 110px; overflow: visible; }
.lslab { transition: transform .8s var(--ease), opacity .6s; opacity: .18; transform: translateY(-14px); }
.lslab.on { opacity: 1; transform: none; }
.lslab__fill { fill: var(--panel); }
.lslab__line { fill: none; stroke: var(--concrete); stroke-width: 3; stroke-linejoin: round; }
.lslab[data-i="2"] .lslab__fill { fill: var(--accent); }
.lslab[data-i="2"] .lslab__line { stroke: var(--accent); }
.loader__meta { width: 100%; display: flex; justify-content: space-between; color: var(--muted); }
.loader__meta b { font-weight: 400; color: var(--text); }
.loader__bar { width: 100%; height: 2px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.loader__tip { color: var(--dim); font-size: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav nav { display: none; }
  .svc-grid, .gcards { grid-template-columns: 1fr 1fr; }
  .svc { border-bottom: 1px solid var(--line); }
  .svc:first-child { padding-left: 26px; }
  .svc:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 860px) {
  .nav__cta { display: none; }
  .burger { display: block; }
  .hero { top: auto; bottom: 90px; transform: none; width: auto; right: var(--pad); }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero__sub { font-size: 15.5px; }
  .bsteps { top: auto; bottom: 80px; transform: none; width: auto; right: var(--pad); min-height: 220px; }
  .bstep p { font-size: 15px; }
  .hud { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .reno__sticky { grid-template-columns: 1fr; align-content: center; gap: 20px; padding-top: 80px; }
  .reno__lead, .reno__phases { display: none; }
  .reno__visual { height: 54vh; }
  .section-head--split { grid-template-columns: 1fr; gap: 16px; }
  .svc-grid, .gcards { grid-template-columns: 1fr; }
  .svc, .svc:first-child, .svc:nth-child(odd) { padding: 28px 0; border-right: 0; min-height: 0; }
  .mline { grid-template-columns: 1fr; padding: 0 0 0 30px; gap: 30px; }
  .mline__track { top: 0; bottom: 0; left: 0; right: auto; width: 3px; height: auto; }
  .mline__track i { height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .proj { grid-column: 1 / -1; }
  .proj:nth-child(2), .proj:nth-child(4) { margin-top: 0; }
  .pgrid { row-gap: 56px; }
  .pgrid:hover .proj:not(:hover) { opacity: 1; }
  .contact { grid-template-columns: 1fr; }
  .contact__dl { grid-template-columns: 1fr; }
}
