/* =========================================================
   ARTIFEX LAVORI EDILI — stile
   Nero profondo + oro, tipografia in stile Apple
   ========================================================= */

:root {
  --bg: #000;
  --bg-2: #0b0b0c;
  --bg-3: #141416;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #8e8e93;
  --gold: #d9a94e;
  --gold-hi: #f3d590;
  --gold-lo: #a87b22;
  --gold-grad: linear-gradient(135deg, #f6dc9c 0%, #d9a94e 45%, #b48428 100%);
  --gold-text: linear-gradient(100deg, #f8e2a8 0%, #dcae55 40%, #c39233 70%, #f0cf86 100%);
  --light: #f5f5f7;
  --radius: 28px;
  --radius-sm: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: rgba(217, 169, 78, .55) #000; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(217, 169, 78, .45); border-radius: 8px; border: 2px solid #000; }
::-webkit-scrollbar-thumb:hover { background: rgba(217, 169, 78, .75); }
.quote__form::-webkit-scrollbar-track { background: transparent; }
.quote__form::-webkit-scrollbar-thumb { border-color: transparent; background-clip: padding-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
html:has(body.is-locked) { overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 8px; }

.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--gold { stroke: url(#g-gold); color: var(--gold); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }

/* ---------- Tipografia ---------- */
em { font-style: normal; }
.display {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.035em;
}
.display em, .hero h1 em, .hero h2 em, .floor3d h2 em, .work--end em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  background: var(--gold-text);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
  animation: shimmer 7s var(--ease-io) infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }
.kicker {
  font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--text-2); max-width: 640px; margin-top: 24px; letter-spacing: -.015em; }
.lead em { color: var(--text); }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.center .kicker::after { content: ""; width: 24px; height: 1px; background: currentColor; }
.muted { color: var(--text-3); }

/* ---------- Bottoni ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s;
  position: relative; isolation: isolate; overflow: hidden;
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 30px; font-size: 17px; }
.btn--xl { --h: 64px; padding: 0 38px; font-size: 19px; }
.btn--gold { background: var(--gold-grad); color: #1a1204; box-shadow: 0 10px 30px -10px rgba(217, 169, 78, .6), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover { box-shadow: 0 16px 44px -12px rgba(217, 169, 78, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--glass { background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); }
.btn:active { transform: scale(.97); }

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: #000;
  display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 28px; }
.loader__mark { width: 180px; height: auto; animation: breathe 2.4s var(--ease-io) infinite; }
@keyframes breathe { 50% { opacity: .55; transform: scale(.98); } }
.loader__bar { width: 180px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .3s var(--ease); }
.loader__txt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: transform .5s var(--ease); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transition: opacity .5s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: var(--nav-h); max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { width: 64px; height: auto; }
.nav__name { font-weight: 800; font-size: 17px; letter-spacing: .14em; line-height: 1; display: grid; gap: 4px; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__name small { font-family: var(--serif); font-size: 13px; font-weight: 400; letter-spacing: .02em; color: var(--text-2); -webkit-text-fill-color: var(--text-2); }
.nav__links { display: flex; gap: 6px; }
.nav__links a { font-size: 14px; color: var(--text-2); padding: 8px 14px; border-radius: 999px; transition: color .3s, background .3s; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); transition: color .3s; }
.nav__tel:hover { color: var(--gold-hi); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.nav__mobile { display: none; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 520vh; background: #000; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform, border-radius; overflow: hidden; }
.hero__canvas { width: 100%; height: 100%; transform: scale(1.08); will-change: transform; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 45%, transparent 35%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .78) 100%);
  transition: opacity .6s;
}
.hero__grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(-1%, 1%); } }

.hero__copy { position: absolute; z-index: 2; will-change: transform, opacity; }
.hero__copy--intro { left: 0; right: 0; bottom: clamp(70px, 12vh, 140px); text-align: center; padding: 0 var(--gutter); display: grid; justify-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); margin-bottom: 22px; padding: 8px 16px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 169, 78, .22); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(217, 169, 78, 0); } }
.hero__title { font-size: clamp(46px, 8.4vw, 124px); line-height: .98; font-weight: 700; letter-spacing: -.045em; text-shadow: 0 4px 60px rgba(0, 0, 0, .45); }
.hero__lead { font-size: clamp(17px, 1.5vw, 21px); color: rgba(255, 255, 255, .82); max-width: 600px; margin-top: 22px; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

.hero__copy--chapter { top: 50%; max-width: 520px; opacity: 0; padding: 32px 34px; border-radius: var(--radius); background: rgba(10, 10, 12, .42); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.hero__copy--chapter.left { left: clamp(16px, 6vw, 96px); }
.hero__copy--chapter.right { right: clamp(16px, 6vw, 96px); }
.hero__copy--chapter h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
.hero__copy--chapter p:last-child { color: rgba(255, 255, 255, .78); margin-top: 16px; font-size: 17px; }
.chapter-num { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 14px; font-weight: 600; }
.hero__copy--final { left: 0; right: 0; bottom: clamp(70px, 13vh, 150px); text-align: center; opacity: 0; display: grid; justify-items: center; padding: 0 var(--gutter); }
.hero__copy--final h2 { font-size: clamp(48px, 8vw, 116px); line-height: .98; letter-spacing: -.045em; font-weight: 700; text-shadow: 0 4px 60px rgba(0, 0, 0, .5); }

.hero__meter { position: absolute; z-index: 3; right: clamp(16px, 3vw, 40px); top: 50%; bottom: auto; height: auto; align-content: start; width: 150px; display: grid; gap: 8px; padding: 18px; border-radius: 20px; background: rgba(0, 0, 0, .58); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); visibility: hidden; opacity: 0; }
.hero__meter-label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.hero__meter-pct { font-size: 34px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.hero__meter-pct b { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__meter-track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.hero__meter-track span { display: block; height: 100%; width: 0; background: var(--gold-grad); }
.hero__meter-steps { display: grid; gap: 6px; margin-top: 6px; }
.hero__meter-steps li { font-size: 12px; color: rgba(255, 255, 255, .45); display: flex; align-items: center; gap: 8px; transition: color .4s; }
.hero__meter-steps li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; transition: background .4s, border-color .4s; }
.hero__meter-steps li.is-on { color: var(--text); }
.hero__meter-steps li.is-on::before { background: var(--gold); border-color: var(--gold); }

.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); transition: opacity .5s; }
.mouse { width: 20px; height: 30px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 12px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: var(--gold-hi); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Trust / marquee ---------- */
.trust { position: relative; padding: 0 0 clamp(80px, 10vw, 140px); background: #000; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 48s linear infinite; align-items: center; }
.marquee__track span { font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; color: var(--text-2); }
.marquee__track i { font-style: normal; color: var(--gold); font-size: 14px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(64px, 8vw, 110px); background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat { background: #050505; padding: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: auto 1fr; align-items: baseline; }
.stat b { font-size: clamp(44px, 5vw, 72px); font-weight: 700; letter-spacing: -.05em; line-height: 1; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat > span { font-size: clamp(28px, 3vw, 44px); font-weight: 600; color: var(--gold); }
.stat p { grid-column: 1 / -1; color: var(--text-2); font-size: 15px; margin-top: 14px; line-height: 1.4; }

/* ---------- Problema ---------- */
.problem { background: linear-gradient(180deg, #000, var(--bg-2)); }
.problem__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.pains { margin-top: 48px; display: grid; gap: 4px; }
.pain { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.pain__n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--gold); line-height: 1; }
.pain h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.pain p { color: var(--text-2); margin-top: 6px; font-size: 16px; }
.photo-card { --rx: 0deg; --ry: 0deg; transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease); position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 13; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); border: 1px solid var(--line); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.05); transform: scale(1.1); }
.photo-card__tag { position: absolute; top: 18px; left: 18px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* ---------- Soluzione / confronto ---------- */
.solution { background: var(--bg-2); }
.compare { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 60px 120px -50px rgba(217, 169, 78, .25), 0 40px 80px -40px rgba(0, 0, 0, .9); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before img { filter: saturate(.6); }
.compare__label { position: absolute; top: 20px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); pointer-events: none; }
.compare__label--l { left: 20px; }
.compare__label--r { right: 20px; color: var(--gold-hi); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, var(--gold-hi) 15%, var(--gold-hi) 85%, transparent); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 2px; background: rgba(0, 0, 0, .45); border: 1.5px solid var(--gold-hi); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--gold-hi); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .4s var(--ease); }
.compare__handle .ic { width: 16px; height: 16px; }
.compare:hover .compare__handle span { transform: translate(-50%, -50%) scale(1.08); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.pillar { border-radius: var(--radius-sm); padding: 28px; transition: transform .5s var(--ease), border-color .5s; }
.pillar:hover { transform: translateY(-6px); border-color: rgba(217, 169, 78, .35); }
.pillar .ic { width: 30px; height: 30px; stroke-width: 1.4; margin-bottom: 18px; }
.pillar h3 { font-size: 19px; letter-spacing: -.02em; }
.pillar p { color: var(--text-2); font-size: 15px; margin-top: 8px; }

/* ---------- Servizi ---------- */
.services { background: linear-gradient(180deg, var(--bg-2), #000 40%); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); transition: all .35s var(--ease); }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-active { background: var(--text); color: #000; border-color: var(--text); }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-flow: dense; perspective: 1400px; }
.svc {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; border-radius: var(--radius); padding: 28px; min-height: 300px;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #121214, #0a0a0b);
  border: 1px solid var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), border-color .5s, box-shadow .6s var(--ease), opacity .5s var(--ease);
  isolation: isolate; overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(217, 169, 78, .18), transparent 45%);
}
.svc::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(246, 220, 156, .9), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.svc:hover { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(217, 169, 78, .15); }
.svc:hover::before, .svc:hover::after { opacity: 1; }
.svc.is-tilting { transition: transform .12s linear, border-color .5s, box-shadow .6s var(--ease); }
.svc__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; background: linear-gradient(145deg, rgba(217, 169, 78, .2), rgba(217, 169, 78, .04)); border: 1px solid rgba(217, 169, 78, .25); color: var(--gold-hi); transform: translateZ(40px); transition: transform .6s var(--ease), background .5s; }
.svc__icon .ic { width: 28px; height: 28px; stroke-width: 1.5; }
.svc:hover .svc__icon { transform: translateZ(60px) scale(1.06) rotate(-4deg); background: var(--gold-grad); color: #1a1204; }
.svc h3 { font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; transform: translateZ(30px); }
.svc p { color: var(--text-2); font-size: 15px; margin-top: 10px; transform: translateZ(20px); }
.svc ul { margin-top: 18px; display: grid; gap: 7px; transform: translateZ(18px); }
.svc li { font-size: 14px; color: var(--text-2); display: flex; gap: 10px; align-items: center; }
.svc li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
.svc__cta { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--gold-hi); min-height: 44px; align-self: flex-start; transform: translateZ(26px); opacity: .75; transition: opacity .4s, gap .4s var(--ease); }
.svc__cta .ic { transition: transform .4s var(--ease); }
.svc:hover .svc__cta { opacity: 1; gap: 12px; }
.svc:hover .svc__cta .ic { transform: translateX(3px); }
.svc--wide { grid-column: span 2; }
.svc--tall { grid-row: span 2; }
.svc--photo { padding: 0; min-height: 360px; justify-content: flex-end; }
.svc--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04) translateZ(0); transition: transform 1.2s var(--ease), filter .8s; filter: brightness(.82); }
.svc--photo:hover img { transform: scale(1.12); filter: brightness(.9); }
.svc--photo .svc__body { padding: 28px; position: relative; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85) 45%); padding-top: 90px; display: flex; flex-direction: column; transform-style: preserve-3d; }
.svc--photo .svc__body p { color: rgba(255, 255, 255, .78); }
.svc--photo h3 { font-size: 26px; }
.svc.is-hidden { display: none; }

/* ---------- 3D Floor ---------- */
.floor3d { position: relative; height: 340vh; background: #000; }
.floor3d__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.floor3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.floor3d__sticky::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 38%, transparent 60%), radial-gradient(90% 70% at 60% 60%, transparent 40%, #000 100%), linear-gradient(180deg, #000 0%, transparent 18%, transparent 80%, #000 100%); }
@media (max-width: 1079px) { .floor3d__sticky::after { background: linear-gradient(180deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .4) 45%, transparent 65%, #000 100%); } }
.floor3d__copy { position: absolute; z-index: 2; left: var(--gutter); top: clamp(90px, 14vh, 150px); max-width: 600px; padding-left: max(0px, calc((var(--vw, 100vw) - var(--container)) / 2)); }
.floor3d__copy .display { font-size: clamp(36px, 5vw, 68px); text-shadow: 0 4px 40px rgba(0, 0, 0, .8); }
.floor3d__copy .lead { text-shadow: 0 2px 20px #000; }
.floor3d__specs { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(40px, 9vh, 90px); display: flex; gap: 12px; padding-right: max(0px, calc((var(--vw, 100vw) - var(--container)) / 2)); }
.floor3d__specs div { padding: 18px 22px; border-radius: 20px; background: rgba(0, 0, 0, .45); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: grid; gap: 4px; min-width: 140px; }
.floor3d__specs b { font-size: 26px; letter-spacing: -.03em; color: var(--gold-hi); }
.floor3d__specs span { font-size: 13px; color: var(--text-2); }
.floor3d__counter { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(40px, 9vh, 90px); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding-left: max(0px, calc((var(--vw, 100vw) - var(--container)) / 2)); font-variant-numeric: tabular-nums; }
.floor3d__counter span { color: var(--gold-hi); font-weight: 700; }

/* ---------- Cantieri (galleria orizzontale) ---------- */
.works { position: relative; background: #000; }
.works__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 9vh, 110px) 0 32px; overflow: hidden; }
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(28px, 4vh, 52px); }
.works__head .display { font-size: clamp(40px, 5.4vw, 76px); }
.works__lead { margin-top: 0; max-width: 420px; font-size: 18px; }
.works__track { display: flex; gap: 20px; padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((var(--vw, 100vw) - var(--container)) / 2 + var(--gutter))); width: max-content; perspective: 1600px; will-change: transform; }
.work { position: relative; margin: 0; flex: none; height: clamp(320px, 58vh, 560px); width: auto; aspect-ratio: 9 / 15; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); cursor: zoom-in; transform-style: preserve-3d; transition: box-shadow .5s; }
.work img, .work video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1s var(--ease); }
.work:hover img, .work:hover video { transform: scale(1.18); }
.work:hover { box-shadow: 0 30px 80px -30px rgba(217, 169, 78, .35); }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 22px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85)); display: grid; gap: 2px; }
.work figcaption b { font-size: 19px; letter-spacing: -.02em; }
.work figcaption span { font-size: 14px; color: var(--text-2); }
.work--video { cursor: default; }
.work__play { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--gold-hi); transition: opacity .4s; }
.work__play .ic { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.work--video.is-playing .work__play { opacity: 0; }
.work--end { cursor: default; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; padding: 36px; background: radial-gradient(120% 90% at 0% 100%, rgba(217, 169, 78, .22), transparent 60%), #0b0b0c; }
.work--end p { font-size: 34px; font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.works__progress { margin-top: clamp(20px, 3vh, 36px); height: 2px; position: relative; }
.works__progress::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 2px; background: var(--line); border-radius: 2px; }
.works__progress span { position: absolute; left: var(--gutter); top: 0; height: 2px; width: 0; background: var(--gold-grad); border-radius: 2px; }

/* ---------- Processo ---------- */
.process { background: linear-gradient(180deg, #000, var(--bg-2)); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps__line { position: absolute; left: 32px; right: 32px; top: 31px; width: calc(100% - 64px); height: 4px; overflow: visible; }
.steps__line path { stroke: var(--gold); stroke-width: 2; fill: none; stroke-dasharray: 1000; stroke-dashoffset: 1000; vector-effect: non-scaling-stroke; }
.step { position: relative; }
.step__n { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--gold-hi); background: #0b0b0c; border: 1px solid rgba(217, 169, 78, .45); box-shadow: 0 0 0 8px var(--bg-2); margin-bottom: 28px; transition: background .5s, color .5s; }
.step.is-on .step__n { background: var(--gold-grad); color: #1a1204; border-color: transparent; }
.step h3 { font-size: 22px; letter-spacing: -.025em; }
.step p { color: var(--text-2); margin-top: 10px; font-size: 16px; }

/* ---------- Attrezzatura ---------- */
.gear { background: var(--bg-2); }
.gear__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; perspective: 1400px; }
.gear__card { --rx: 0deg; --ry: 0deg; position: relative; border-radius: var(--radius); overflow: hidden; padding: clamp(28px, 3.5vw, 48px); min-height: 520px; display: flex; flex-direction: column; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.gear__card.light { background: linear-gradient(180deg, #fbfbfd, #ececf0); color: #1d1d1f; }
.gear__card--van { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 24px; padding-bottom: clamp(110px, 12vw, 150px); }
.gear__text { position: relative; z-index: 1; transform: translateZ(40px); }
.gear__text h3 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.05; font-weight: 700; margin-top: 18px; }
.gear__text p { color: #6e6e73; margin-top: 14px; font-size: 17px; max-width: 420px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #1d1d1f; color: var(--gold-hi); }
.gear__img { mix-blend-mode: multiply; margin: auto auto 0; max-height: 330px; width: auto; height: auto; max-width: 100%; transform: translateZ(70px); transition: transform .8s var(--ease); }
.gear__img--van { max-height: none; width: 100%; margin: 0; transform: translateZ(80px) scale(1.06); }
.gear__card:hover .gear__img { transform: translateZ(90px) scale(1.04); }
.gear__card--tool { min-height: 0; z-index: 1; display: grid; grid-template-columns: 1fr minmax(120px, 170px); align-items: center; gap: 16px; padding: 26px 28px; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85); }
.gear__card--tool:nth-child(2) { margin: calc(clamp(110px, 12vw, 150px) * -1 + 20px) 0 0 clamp(16px, 4vw, 56px); }
.gear__card--tool:nth-child(3) { margin: calc(clamp(110px, 12vw, 150px) * -1 + 70px) clamp(16px, 4vw, 56px) 0 0; }
.gear__card--tool .gear__text h3 { font-size: clamp(19px, 1.7vw, 23px); margin-top: 12px; }
.gear__card--tool .gear__text p { font-size: 14px; margin-top: 8px; }
.gear__card--tool .gear__img { max-height: 170px; margin: 0; }
.gear__card--van:hover .gear__img--van { transform: translateZ(100px) scale(1.1) translateX(-2%); }
.tilt.is-tilting { transition: transform .12s linear; }

/* ---------- Recensioni ---------- */
.reviews { background: #000; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1200px; }
.review { margin: 0; padding: 34px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 22px; transition: border-color .5s; }
.review:hover { border-color: rgba(217, 169, 78, .3); }
.stars { display: flex; gap: 4px; }
.stars svg { width: 18px; height: 18px; fill: var(--gold); }
.review blockquote { margin: 0; font-size: 19px; line-height: 1.5; letter-spacing: -.015em; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--gold-grad); color: #1a1204; }
.review small { display: block; color: var(--text-3); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { background: linear-gradient(180deg, #000, var(--bg-2)); }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head .btn { margin-top: 32px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.02em; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-hi); }
.qa__icon { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background .4s, color .4s; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--gold); color: #000; border-color: var(--gold); }
.qa__body { overflow: hidden; }
.qa__body p { color: var(--text-2); padding: 0 50px 26px 0; font-size: 17px; }

/* ---------- Finale ---------- */
.final { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 200px) 0; background: #000; text-align: center; }
.final__glow { position: absolute; left: 50%; top: 55%; width: 1100px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(217, 169, 78, .22), transparent); filter: blur(30px); pointer-events: none; }
.final__inner { position: relative; display: grid; justify-items: center; }
.final__logo { width: clamp(180px, 22vw, 260px); height: auto; margin-bottom: 40px; filter: drop-shadow(0 10px 40px rgba(217, 169, 78, .25)); }
.final__cta { margin-top: 44px; }
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 72px; width: 100%; }
.contact { border-radius: var(--radius-sm); padding: 24px; display: grid; justify-items: start; gap: 4px; text-align: left; transition: transform .5s var(--ease), border-color .4s; }
a.contact:hover { transform: translateY(-4px); border-color: rgba(217, 169, 78, .4); }
.contact .ic { width: 26px; height: 26px; margin-bottom: 12px; stroke-width: 1.5; }
.contact span { font-size: 13px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.contact b { font-size: 16px; font-weight: 600; word-break: break-word; }
.areas { margin-top: 40px; width: 100%; max-width: 860px; display: grid; justify-items: center; gap: 16px; }
.areas__title { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.areas__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.areas__list li { font-size: 13px; color: var(--text-2); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: color .3s, border-color .3s; }
.areas__list li:hover { color: var(--text); border-color: rgba(217, 169, 78, .4); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 44px 0 22px; font-size: 13px; }
.footer__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 64px; height: auto; }
.footer__brand div { display: grid; gap: 2px; line-height: 1.35; }
.footer__brand b { font-size: 14px; font-weight: 600; color: var(--text); }
.footer__brand span { color: var(--text-2); }
.footer__brand small { color: var(--text-3); font-size: 12px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer__links a, .footer__contact a { color: var(--text-2); transition: color .3s; }
.footer__links a:hover, .footer__contact a:hover { color: var(--gold-hi); }
.footer__contact { display: grid; justify-items: end; gap: 6px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer__contact .ic { color: var(--gold); width: 15px; height: 15px; }
.footer__hours { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12px; }
.footer__bottom a:hover { color: var(--text); }
.footer__legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal button { color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__legal button:hover { color: var(--text); }

/* ---------- Barra mobile ---------- */
.mbar { display: none; }
.steps__vline, .swipe-hint { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; padding: 24px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 20px; transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); }

/* ---------- Reveal (stato iniziale per GSAP) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }
.js .reveal-img { opacity: 0; transform: translateY(60px) scale(.96); }

/* =========================================================
   MODALE PREVENTIVO
   ========================================================= */
.quote { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.quote.is-open { visibility: visible; }
.quote__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); opacity: 0; }
.quote__sheet {
  position: relative; width: min(760px, 100%); max-height: min(860px, calc(100vh - 40px)); max-height: min(860px, calc(100dvh - 40px));
  display: flex; flex-direction: column; border-radius: 32px; overflow: hidden;
  background: linear-gradient(180deg, rgba(28, 28, 30, .96), rgba(14, 14, 16, .98));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 50px 140px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(217, 169, 78, .08), inset 0 1px 0 rgba(255, 255, 255, .08);
  opacity: 0;
}
.quote__head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; padding: 22px 22px 16px; }
.quote__titles { text-align: center; }
.quote__step-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.quote__titles h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -.03em; margin-top: 4px; font-weight: 700; }
.quote__back, .quote__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .3s, opacity .3s; }
.quote__back:hover, .quote__close:hover { background: rgba(255, 255, 255, .16); }
.quote__back[disabled] { opacity: 0; pointer-events: none; }
.quote__progress { height: 3px; margin: 0 24px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.quote__progress span { display: block; height: 100%; width: 16%; background: var(--gold-grad); border-radius: 3px; transition: width .6s var(--ease); }
.quote__form { flex: 1 1 auto; min-height: 0; overflow-y: auto; touch-action: pan-y; overscroll-behavior: contain; padding: 26px 28px 30px; position: relative; -webkit-overflow-scrolling: touch; }
.quote__form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qstep { display: none; }
.qstep.is-active { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.qhint { color: var(--text-2); font-size: 15px; margin-bottom: 18px; }
.qfield { margin-bottom: 26px; position: relative; }
.qrow { display: flex; gap: 16px; flex-wrap: wrap; }
.qrow > .qfield { flex: 1 1 180px; }
.qfield--grow { flex: 2 1 240px !important; }
.qfield--sm { flex: 0 1 140px !important; }
.qlabel { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.qlabel small { font-weight: 400; color: var(--text-3); }
.qlabel output { color: var(--gold-hi); font-variant-numeric: tabular-nums; font-size: 15px; }
.qinput { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; font: inherit; font-size: 16px; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); transition: border-color .3s, background .3s, box-shadow .3s; -webkit-appearance: none; appearance: none; }
.qinput::placeholder { color: var(--text-3); }
.qinput:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(217, 169, 78, .15); }
select.qinput { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a1a1a6' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
select.qinput option { background: #1c1c1e; }
input[type="date"].qinput { color-scheme: dark; }
textarea.qinput { resize: vertical; min-height: 110px; line-height: 1.45; }
.qcount { position: absolute; right: 12px; bottom: -20px; font-size: 12px; color: var(--text-3); }
.qinput.is-invalid { border-color: #ff453a; box-shadow: 0 0 0 4px rgba(255, 69, 58, .15); }
.qerr { display: none; color: #ff6961; font-size: 13px; margin-top: 8px; }
.qerr.is-shown { display: block; }

.qgrid { display: grid; gap: 10px; }
.qgrid--services { grid-template-columns: repeat(3, 1fr); }
.qgrid--4 { grid-template-columns: repeat(4, 1fr); }
.qgrid--3 { grid-template-columns: repeat(3, 1fr); }
.qtile { position: relative; cursor: pointer; }
.qtile input, .qchip input, .qseg input, .qcheck input { position: absolute; opacity: 0; pointer-events: none; }
.qtile > span { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; min-height: 96px; padding: 16px; border-radius: 16px; font-size: 14px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); transition: all .35s var(--ease); position: relative; }
.qtile > span .ic { width: 26px; height: 26px; color: var(--gold-hi); stroke-width: 1.5; transition: transform .45s var(--ease); }
.qtile > span::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: all .3s var(--ease); background-repeat: no-repeat; background-position: center; background-size: 12px; }
.qtile:hover > span { border-color: var(--line-2); background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.qtile:hover > span .ic { transform: scale(1.1) rotate(-4deg); }
.qtile input:checked + span { border-color: var(--gold); background: linear-gradient(160deg, rgba(217, 169, 78, .2), rgba(217, 169, 78, .05)); box-shadow: 0 0 0 1px var(--gold) inset, 0 12px 30px -16px rgba(217, 169, 78, .6); }
.qtile input:checked + span::after { background-color: var(--gold); border-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.qtile input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.qtile--tall > span { min-height: 140px; gap: 8px; }
.qtile--tall b { font-size: 17px; }
.qtile--tall small { font-weight: 400; color: var(--text-2); font-size: 13px; line-height: 1.4; padding-right: 10px; }
.qgroup-title { grid-column: 1 / -1; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 10px 0 2px; font-weight: 600; }
.qgroup-title:first-child { margin-top: 0; }

.qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qchip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: all .3s var(--ease); }
.qchip:hover span { border-color: var(--line-2); }
.qchip input:checked + span { background: var(--gold); border-color: var(--gold); color: #1a1204; font-weight: 600; }
.qchip input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

.qseg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); gap: 4px; }
.qseg--wide { display: flex; width: 100%; }
.qseg--wide label { flex: 1; }
.qseg--mt { margin-top: 12px; }
.qseg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--text-2); transition: all .3s var(--ease); white-space: nowrap; }
.qseg span:hover { color: var(--text); }
.qseg input:checked + span { background: rgba(255, 255, 255, .14); color: var(--text); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.qseg input:focus-visible + span { outline: 2px solid var(--gold-hi); }

.qrange { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) var(--fill, 18%), rgba(255, 255, 255, .1) var(--fill, 18%)); outline: none; margin: 10px 0 16px; }
.qrange::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .5), 0 0 0 4px rgba(217, 169, 78, .3); cursor: grab; }
.qrange::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, .5), 0 0 0 4px rgba(217, 169, 78, .3); cursor: grab; }
.qrange:disabled { opacity: .35; }

.qcheck { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-2); cursor: pointer; line-height: 1.45; }
.qcheck > span { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid var(--line-2); transition: all .3s var(--ease); background-repeat: no-repeat; background-position: center; background-size: 14px; margin-top: -1px; }
.qcheck input:checked + span { background-color: var(--gold); border-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.qcheck input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.qcheck a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.qcheck--privacy { margin-top: 8px; }
.qcheck--photo { padding: 16px 18px; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); align-items: center; }

.qdrop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 120px; padding: 20px; border-radius: 18px; border: 1.5px dashed var(--line-2); background: rgba(255, 255, 255, .03); text-align: center; font-size: 14px; color: var(--text-2); cursor: pointer; transition: all .3s var(--ease); position: relative; }
.qdrop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qdrop .ic { width: 28px; height: 28px; color: var(--gold-hi); }
.qdrop b { color: var(--text); }
.qdrop:hover, .qdrop.is-over { border-color: var(--gold); background: rgba(217, 169, 78, .07); }
.qthumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.qthumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.qthumb img { width: 100%; height: 100%; object-fit: cover; }
.qthumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, .7); display: grid; place-items: center; }
.qthumb button .ic { width: 12px; height: 12px; }

.qsummary { display: grid; gap: 10px; }
.qsum { border-radius: 18px; padding: 18px 20px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); }
.qsum__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.qsum__head h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.qsum__head button { font-size: 14px; color: var(--gold-hi); min-height: 32px; padding: 0 6px; }
.qsum dl { margin: 0; display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 6px 16px; font-size: 14px; }
.qsum dt { color: var(--text-3); }
.qsum dd { margin: 0; color: var(--text); }

.qdone { text-align: center; padding: 30px 10px 10px; display: grid; justify-items: center; gap: 14px; }
.qdone[hidden] { display: none; }
.qdone__check { width: 110px; height: 110px; }
.qdone__check circle { fill: none; stroke: var(--gold); stroke-width: 3; }
.qdone__check path { fill: none; stroke: var(--gold-hi); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.qdone h3 { font-size: 30px; letter-spacing: -.03em; margin-top: 10px; }
.qdone p { color: var(--text-2); max-width: 440px; }
.qdone__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }

.quote__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.quote__secure { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.quote__secure .ic { color: var(--gold); }
.quote__foot[hidden] { display: none; }
.quote__foot .btn[disabled] { opacity: .6; pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .25); border-top-color: #1a1204; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__mobile { display: grid; position: absolute; top: var(--nav-h); left: 0; right: 0; padding: 12px var(--gutter) 28px; background: rgba(0, 0, 0, .9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--line); clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); }
  .nav.menu-open .nav__mobile { clip-path: inset(0 0 0 0); }
  .nav.menu-open::before { opacity: 1; }
  .nav__mobile a { font-size: 26px; font-weight: 600; letter-spacing: -.03em; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contacts { grid-template-columns: repeat(2, 1fr); }
  .gear__card--van { grid-template-columns: 1fr; }
  .floor3d__specs { left: var(--gutter); right: auto; bottom: 90px; padding: 0; }
  .floor3d__counter { bottom: 40px; padding: 0; }
  .floor3d__copy { padding: 0; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 36px; }
  .display { font-size: clamp(30px, 8.6vw, 38px); }
  .kicker { font-size: 12px; margin-bottom: 14px; }
  .lead { font-size: 16px; margin-top: 16px; }
  .nav__tel { display: none; }
  .nav__actions .btn { display: none; }
  .nav__brand img { width: 52px; }
  .hero { height: 440vh; }
  .hero__canvas { transform: none; }
  .hero__copy--intro { bottom: 96px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .1em; white-space: nowrap; padding: 7px 12px; }
  .hero__cta .btn--glass { display: none; }
  .hero__copy--chapter { left: 20px !important; right: 20px !important; top: auto; bottom: 92px; max-width: none; padding: 18px 20px; border-radius: 22px; }
  .hero__copy--chapter h2 { font-size: 25px; }
  .hero__copy--chapter p:last-child { font-size: 14px; margin-top: 10px; }
  .chapter-num { font-size: 11px; margin-bottom: 10px; }
  .hero__copy--final { bottom: 100px; }
  .hero__meter { top: calc(var(--nav-h) + 12px); right: 12px; width: 118px; padding: 12px; }
  .hero__meter-steps { display: none; }
  .hero__meter-pct { font-size: 24px; }
  .hero__scroll { bottom: 28px; font-size: 10px; white-space: nowrap; }
  .problem__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .problem__visual { order: -1; }
  .photo-card { aspect-ratio: 4 / 3; }
  .marquee { padding: 14px 0; }
  .marquee__track { gap: 18px; }
  .marquee__track span { font-size: 15px; }
  .pains { margin-top: 28px; }
  .pain { grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; }
  .pain__n { font-size: 24px; }
  .pain h3 { font-size: 16.5px; }
  .pain p { font-size: 14px; }
  .bento { grid-template-columns: 1fr; perspective: none; }
  .svc--wide, .svc--tall { grid-column: auto; grid-row: auto; }
  .svc { min-height: 0; }
  .svc--photo { min-height: 420px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pillar { padding: 18px; }
  .pillar .ic { width: 24px; height: 24px; margin-bottom: 12px; }
  .pillar h3 { font-size: 15px; }
  .pillar p { font-size: 13px; }
  .compare { aspect-ratio: 1 / 1; }
  .compare__handle span { width: 48px; height: 48px; }
  .trust { padding-bottom: 8px; }
  .stats { grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-radius: 18px; }
  .stat { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; text-align: center; padding: 16px 4px; }
  .stat b { font-size: 25px; }
  .stat > span { font-size: 15px; }
  .stat p { width: 100%; font-size: 10.5px; line-height: 1.3; margin-top: 6px; }
  .stat p br { display: none; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps__line { display: none; }
  .step:not(:last-child)::before, .step:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: -20px; width: 2px; border-radius: 2px; background: var(--line); }
  .step:not(:last-child)::after { background: var(--gold-grad); transform-origin: top; transform: scaleY(0); transition: transform .9s var(--ease); }
  .step.is-on:not(:last-child)::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; }
  .step__n { width: 44px; height: 44px; font-size: 20px; margin: 0; grid-row: span 2; box-shadow: 0 0 0 6px var(--bg-2); }
  .step h3 { font-size: 17px; margin-top: 10px; }
  .step p { font-size: 14px; margin-top: 4px; }
  .gear__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gear__card { border-radius: 22px; }
  .gear__card--van { grid-template-columns: 1fr; gap: 6px; padding: 24px 20px 84px; }
  .gear__text h3 { font-size: 22px; margin-top: 12px; }
  .gear__text p { font-size: 14px; margin-top: 8px; }
  .badge { font-size: 11px; padding: 5px 10px; }
  .gear__card--tool { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 14px; border-radius: 18px; }
  .gear__card--tool:nth-child(2) { margin: -70px 0 0 0; }
  .gear__card--tool:nth-child(3) { margin: -34px 0 0 0; }
  .gear__card--tool .gear__text h3 { font-size: 13.5px; margin-top: 8px; line-height: 1.2; letter-spacing: -.02em; }
  .gear__card--tool .gear__text p { display: none; }
  .gear__card--tool .badge { white-space: nowrap; font-size: 10px; padding: 4px 8px; gap: 5px; }
  .gear__card--tool .badge .ic { width: 12px; height: 12px; }
  .gear__card--tool .gear__img { max-height: 110px; margin: 0 auto; }
  .reviews__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 82%; scroll-snap-align: center; padding: 22px; gap: 14px; border-radius: 22px; }
  .review blockquote { font-size: 15px; }
  .stars svg { width: 14px; height: 14px; }
  .avatar { width: 38px; height: 38px; font-size: 14px; }
  .swipe-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
  .swipe-hint .ic { width: 14px; height: 14px; color: var(--gold); }
  .faq__grid { gap: 28px; }
  .faq__head { text-align: center; display: grid; justify-items: center; }
  .faq__head .kicker::after { content: ""; width: 24px; height: 1px; background: currentColor; }
  .faq__head .lead { margin-left: auto; margin-right: auto; }
  .faq__head .btn { margin-top: 20px; }
  .faq__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; align-items: stretch; }
  .faq__list::-webkit-scrollbar { display: none; }
  .qa { flex: 0 0 80%; scroll-snap-align: center; border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }
  .qa summary { padding: 0 0 12px; font-size: 16.5px; pointer-events: none; }
  .qa__icon { display: none; }
  .qa__body p { padding: 0; font-size: 14px; }
  .contacts { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 48px; }
  .contact { padding: 18px 16px; }
  .contact .ic { width: 22px; height: 22px; margin-bottom: 8px; }
  .contact span { font-size: 11px; }
  .contact b { font-size: 14px; }
  .areas { margin-top: 28px; gap: 12px; }
  .areas__list { gap: 6px; }
  .areas__list li { font-size: 12px; padding: 6px 11px; }
  .works__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .works__pin { min-height: 0; }
  .works__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .works__track::-webkit-scrollbar { display: none; }
  .work { width: 76vw; height: auto; scroll-snap-align: center; }
  .works__progress { display: none; }
  .floor3d { height: 260vh; }
  .floor3d__copy { top: 90px; }
  .floor3d__specs { gap: 8px; bottom: 110px; flex-wrap: wrap; right: var(--gutter); }
  .floor3d__specs div { min-width: 0; flex: 1; padding: 12px 14px; }
  .floor3d__specs b { font-size: 20px; }
  .floor3d__counter { bottom: 70px; }
  .footer { padding: 36px 0 104px; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; justify-items: center; gap: 20px; }
  .footer__brand { flex-direction: column; gap: 10px; }
  .footer__links { gap: 6px 16px; max-width: 320px; }
  .footer__contact { justify-items: center; }
  .footer__bottom { justify-content: center; gap: 14px; margin-top: 22px; }
  .mbar { display: flex; position: fixed; z-index: 90; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); gap: 8px; padding: 8px; border-radius: 999px; background: rgba(20, 20, 22, .72); border: 1px solid var(--line-2); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); transform: translateY(140%); transition: transform .6s var(--ease); }
  .mbar.is-visible { transform: none; }
  .mbar__main { flex: 1; }
  .mbar__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
  .mbar__btn .ic { width: 20px; height: 20px; }

  .quote { padding: 0; align-items: end; }
  .quote__sheet { width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 28px 28px 0 0; }
  .quote__form { padding: 22px 18px 26px; }
  .qgrid--services, .qgrid--4 { grid-template-columns: 1fr 1fr; }
  .qgrid--3 { grid-template-columns: 1fr; }
  .qtile--tall > span { min-height: 0; }
  .qthumbs { grid-template-columns: repeat(4, 1fr); }
  .qseg span { padding: 0 10px; font-size: 13px; }
  .quote__secure { display: none; }
  .quote__foot { padding: 14px 18px max(14px, env(safe-area-inset-bottom)); }
  .quote__foot .btn { flex: 1; }
  .qsum dl { grid-template-columns: 1fr; gap: 2px; }
  .qsum dd { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; }
}
