/* ---- 00-base.css ---- */
/* =========================================================
   VELORA Studio — design tokens
   ========================================================= */
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --obsidian: #050505;
  --bg-2: #0a0a09;
  --bg-3: #11100e;
  --ivory: #ece5d5;
  --ivory-2: #b4ac9c;
  --muted: #8f8878;
  --gold: #c9a45c;
  --gold-2: #dcc28a;
  --gold-3: #f2e0ab;
  --gold-deep: #9a7432;
  --silver: #c7c8cc;
  --line: rgba(201, 164, 92, .22);
  --line-2: rgba(201, 164, 92, .42);
  --hair: rgba(236, 229, 213, .09);
  --metal: linear-gradient(100deg, #8a6a2f 0%, #e6cd8a 30%, #b08638 52%, #f2e0ab 74%, #9a7432 100%);
  --metal-btn: linear-gradient(100deg, #b08638 0%, #ecd59b 48%, #b8913f 100%);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --space: clamp(110px, 14vw, 200px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--obsidian); color: var(--ivory); font-family: var(--sans); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, canvas, picture { display: block; max-width: 100%; }
picture img { width: 100%; height: 100%; object-fit: cover; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: #0a0a08; }
[hidden] { display: none !important; }

/* Grana fotografica */
body::after { content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Accessibilità ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 10000; background: var(--gold-2); color: #0a0a08; padding: 10px 16px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 4px; }

/* ---------- Layout e tipografia ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--space); }
.section-head { max-width: 820px; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; font: 600 11px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-head--center .eyebrow::after { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.h2 { font: 500 clamp(2.4rem, 5.2vw, 4.6rem)/1.02 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.h2 em { font-style: italic; color: var(--gold-2); }
.h3 { font: 500 clamp(1.45rem, 2vw, 1.85rem)/1.12 var(--serif); letter-spacing: 0; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.16rem); line-height: 1.75; color: var(--ivory-2); max-width: 60ch; text-wrap: pretty; }
.gold-text { background: var(--metal); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: metal 9s var(--ease-io) infinite alternate; }
@keyframes metal { to { background-position: 100% 0; } }
.link-gold { color: var(--gold-2); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.link-gold:hover { color: var(--gold-3); border-color: var(--gold-2); }

/* ---------- Logo (wordmark provvisorio: sostituibile in src/sections/logo.html) ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; line-height: 1; }
.logo__word { font: 600 21px/1 var(--serif); letter-spacing: .58em; padding-left: .58em; color: var(--ivory); }
.logo__sub { display: flex; align-items: center; gap: 9px; font: 600 8px/1 var(--sans); letter-spacing: .5em; padding-left: .5em; color: var(--gold); }
.logo__sub i { width: 18px; height: 1px; background: rgba(201, 164, 92, .6); }

/* ---------- Pulsanti (angoli vivi, metallo) ---------- */
.btn { --h: 52px; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: var(--h); padding: 0 28px; font: 600 11.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: transform .45s var(--ease), box-shadow .45s var(--ease), filter .3s, background-color .3s, color .3s, border-color .3s; }
.btn-sm { --h: 42px; padding: 0 20px; font-size: 10.5px; }
.btn-lg { --h: 60px; padding: 0 34px; }
.btn-xl { --h: 68px; padding: 0 42px; font-size: 12.5px; }
.btn-gold { color: #16110a; background: var(--metal-btn); box-shadow: 0 16px 44px -18px rgba(201, 164, 92, .7), 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, 250, 235, .7) 50%, transparent 70%); transform: translateX(-130%); transition: transform 1s var(--ease); }
.btn-gold:hover { filter: brightness(1.06); box-shadow: 0 22px 54px -16px rgba(201, 164, 92, .85), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-gold:hover::after { transform: translateX(130%); }
.btn-outline { color: var(--gold-2); border: 1px solid var(--line-2); background: rgba(5, 5, 5, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-outline:hover { color: var(--gold-3); border-color: var(--gold-2); background: rgba(201, 164, 92, .07); }
.btn-ghost { color: var(--ivory-2); padding-inline: 6px; }
.btn-ghost:hover { color: var(--ivory); }
.btn__arrow { font-size: 15px; letter-spacing: 0; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn:disabled { opacity: .55; cursor: progress; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; padding-block: 14px; letter-spacing: .16em; } }

/* pulsanti in miniatura nei mockup */
.n-btn, .m-btn { display: inline-block; font-weight: 600; letter-spacing: .18em; line-height: 1; white-space: nowrap; }
.n-btn--gold, .m-btn--gold { color: #16110a; background: var(--metal-btn); }
.n-btn--line, .m-btn--line { color: var(--gold-2); border: 1px solid rgba(201, 164, 92, .55); }

/* ---------- Spotlight su superfici ---------- */
[data-spotlight] { --mx: 50%; --my: 50%; position: relative; }
[data-spotlight]::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(220, 194, 138, .09), transparent 45%); transition: opacity .5s var(--ease); }
[data-spotlight]:hover::before { opacity: 1; }

/* ---------- Comparsa allo scroll ---------- */
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---- 10-nav.css ---- */
/* ---------- Navigazione ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; border-bottom: 1px solid transparent; transition: background-color .5s, border-color .5s, transform .6s var(--ease); animation: nav-in 1.2s .2s var(--ease) both; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-14px); } }
.nav.is-scrolled { background: rgba(5, 5, 5, .74); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--hair); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .5s var(--ease); }
.nav.is-scrolled .nav__inner { height: 70px; }
.nav__brand { text-decoration: none; }
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav__links a { position: relative; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ivory-2); text-decoration: none; padding: 8px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ivory); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__burger { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line); }
.nav__burger i { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--ivory); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger i:first-child { top: 17px; } .nav__burger i:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 70px 0 0; z-index: 59; display: flex; flex-direction: column; justify-content: space-between; padding: 36px var(--gutter) calc(32px + env(safe-area-inset-bottom)); background: rgba(5, 5, 5, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--hair); font: 500 2.1rem/1 var(--serif); text-decoration: none; opacity: 0; transform: translateY(14px); animation: menu-in .7s var(--ease) forwards; }
.mobile-menu nav a small { font: 600 10px/1 var(--sans); letter-spacing: .3em; color: var(--gold); }
.mobile-menu nav a:nth-child(2) { animation-delay: .05s; } .mobile-menu nav a:nth-child(3) { animation-delay: .1s; } .mobile-menu nav a:nth-child(4) { animation-delay: .15s; } .mobile-menu nav a:nth-child(5) { animation-delay: .2s; }
@keyframes menu-in { to { opacity: 1; transform: none; } }

@media (max-width: 980px) { .nav__links { display: none; } .nav__burger { display: block; } }
@media (max-width: 520px) { .nav__cta .btn { display: none; } .nav__inner { height: 70px; } }

/* ---- 20-hero.css ---- */
/* =========================================================
   01 — HERO CINEMATICO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 130px 0 120px; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; inset: 0; background:
    radial-gradient(38vmax 30vmax at var(--gx, 68%) var(--gy, 22%), rgba(214, 186, 132, .2), transparent 70%),
    radial-gradient(70% 55% at 50% -10%, rgba(214, 186, 132, .12), transparent 70%),
    radial-gradient(120% 80% at 50% 120%, #0b0a08 0%, var(--obsidian) 60%); }
.hero__arc { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__arc-line, .hero__arc-glow { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: arc-draw 3.2s .3s var(--ease) forwards; }
.hero__arc-fill { opacity: 0; animation: fade 2.4s 1.2s var(--ease) forwards; }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.hero__columns { position: absolute; right: 9%; top: 0; bottom: 18%; display: flex; gap: clamp(40px, 6vw, 96px); opacity: 0; animation: fade 2s 1s var(--ease) forwards; }
.hero__columns i { position: relative; width: 2px; height: 100%; background: linear-gradient(180deg, transparent, rgba(246, 226, 180, .75) 30%, rgba(246, 226, 180, .9) 70%, rgba(246, 226, 180, .3)); box-shadow: 0 0 18px rgba(214, 180, 110, .6), 0 0 60px rgba(201, 164, 92, .35); }
.hero__columns i::after { content: ""; position: absolute; left: -40px; right: -40px; top: 10%; bottom: 0; background: radial-gradient(50% 50% at 50% 60%, rgba(214, 186, 132, .12), transparent 70%); }
.hero__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(180deg, transparent, rgba(201, 164, 92, .05) 40%, rgba(0, 0, 0, .6)); }
.hero__floor::before { content: ""; position: absolute; left: 6%; right: 6%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(220, 194, 138, .55), transparent); box-shadow: 0 0 24px rgba(220, 194, 138, .4); }
.hero__motes { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 40% 45%, transparent 50%, rgba(0, 0, 0, .75)); }

.hero__inner { position: relative; }
.hero__eyebrow { animation: rise 1.2s .35s var(--ease) both; }
.hero__eyebrow::before { display: none; }
.hero__eyebrow i { width: 26px; height: 1px; background: var(--line-2); }
.hero__eyebrow span:last-child { color: var(--ivory-2); }
.hero__title { font: 500 clamp(2.9rem, 5.6vw, 6.2rem)/.98 var(--serif); letter-spacing: -.018em; max-width: 21ch; }
.hero__line { display: block; overflow: hidden; padding: .02em 0 .1em; margin-bottom: -.08em; }
.hero__line > span { display: block; animation: line-up 1.25s var(--ease) both; }
.hero__line:nth-child(1) > span { animation-delay: .45s; }
.hero__line:nth-child(2) > span { animation-delay: .62s; }
.hero__title em { font-style: italic; }
@keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }
.hero__lead { max-width: 520px; margin-top: 34px; font-size: clamp(1.04rem, 1.4vw, 1.2rem); line-height: 1.7; color: var(--ivory-2); animation: rise 1.2s .9s var(--ease) both; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 46px; animation: rise 1.2s 1.05s var(--ease) both; }
.hero__caps { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--hair); max-width: 640px; animation: rise 1.2s 1.2s var(--ease) both; }
.hero__caps li { display: flex; align-items: center; gap: 12px; font: 600 10.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.hero__caps li::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); border: 1px solid var(--gold); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font: 600 9.5px/1 var(--sans); letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; color: var(--muted); text-decoration: none; animation: fade 1.2s 1.6s both; }
.hero__scroll i { position: relative; width: 1px; height: 44px; overflow: hidden; background: rgba(201, 164, 92, .18); }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--gold)); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

@media (max-width: 760px) {
  .hero { justify-content: flex-end; padding: 110px 0 96px; }
  .hero__title { font-size: clamp(2.65rem, 11.5vw, 3.6rem); line-height: 1; }
  .hero__columns { right: 6%; bottom: 40%; gap: 34px; opacity: .6; }
  .hero__arc { opacity: .45; }
  .hero__ctas { flex-direction: column; } .hero__ctas .btn { width: 100%; }
  .hero__caps { margin-top: 40px; gap: 12px 18px; }
  .hero__scroll { display: none; }
  .hero__eyebrow span:last-child, .hero__eyebrow i { display: none; }
}

/* ---- 30-problem.css ---- */
/* =========================================================
   02 — IL PROBLEMA
   ========================================================= */
.problem { border-top: 1px solid var(--hair); }
.problem__head { display: grid; grid-template-columns: 1fr; max-width: 1040px; }
.problem__title { font-size: clamp(2.3rem, 5.4vw, 5rem); line-height: 1.04; }
.problem__title em { color: var(--gold-2); }
.problem__title .w { opacity: .14; transition: opacity .25s linear; }
.problem__title .w.is-lit { opacity: 1; }
.problem__title.is-static .w { opacity: 1; }
.problem__lead { margin-top: 40px; margin-left: auto; max-width: 560px; }
.problem__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); }
.problem__item { position: relative; padding: 38px clamp(18px, 2.2vw, 34px) 10px 0; }
.problem__item + .problem__item { padding-left: clamp(18px, 2.2vw, 34px); border-left: 1px solid var(--hair); }
.problem__num { display: block; margin-bottom: 30px; font: italic 500 1.5rem/1 var(--serif); color: var(--gold); }
.problem__item .h3 { margin-bottom: 14px; }
.problem__item p { color: var(--ivory-2); font-size: .97rem; }
.problem__item::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--gold-2); transition: width 1.2s var(--ease) .2s; }
.problem__item.is-in::before { width: 46px; }
.problem__item + .problem__item::before { left: clamp(18px, 2.2vw, 34px); }
@media (max-width: 980px) { .problem__grid { grid-template-columns: 1fr 1fr; } .problem__item:nth-child(3) { padding-left: 0; border-left: 0; } .problem__item:nth-child(3)::before { left: 0; } .problem__item:nth-child(n+3) { border-top: 1px solid var(--hair); } }
@media (max-width: 600px) { .problem__grid { grid-template-columns: 1fr; } .problem__item, .problem__item + .problem__item { padding: 30px 0 18px; border-left: 0; } .problem__item + .problem__item { border-top: 1px solid var(--hair); } .problem__item + .problem__item::before { left: 0; } .problem__lead { margin-left: 0; } }

/* ---- 40-transformation.css ---- */
/* =========================================================
   Dispositivi condivisi (smartphone + cornice browser)
   ========================================================= */
.phone { position: relative; aspect-ratio: 9 / 19.5; border-radius: 17% / 7.9%; padding: 3.4%;
  background: linear-gradient(125deg, #77787c 0%, #3a3b3e 14%, #1b1c1e 42%, #2c2d30 70%, #67686c 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 60px -24px rgba(0, 0, 0, .95); }
.phone__btn { position: absolute; width: 1.6%; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, #55565a, #2a2b2e); }
.phone__btn--a { left: -1.3%; top: 19%; height: 5%; } .phone__btn--b { left: -1.3%; top: 27%; height: 9%; }
.phone__btn--c { right: -1.3%; left: auto; top: 25%; height: 13%; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #55565a, #2a2b2e); }
.phone__screen { position: relative; height: 100%; border-radius: 14% / 6.5%; overflow: hidden; background: #060606; container-type: inline-size; }
.phone__photo { position: absolute; inset: 0 0 34% 0; }
.phone__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 6, .55) 0%, rgba(6, 6, 6, 0) 30%, rgba(6, 6, 6, 0) 55%, #060606 100%); }
.phone__time { position: absolute; top: 3.6cqw; left: 9cqw; font: 600 4.4cqw/1 var(--sans); color: #f3efe6; }
.phone__island { position: absolute; top: 2.8cqw; left: 50%; width: 30cqw; height: 8.6cqw; margin-left: -15cqw; border-radius: 5cqw; background: #000; }
.phone__nav { position: absolute; top: 15cqw; left: 7cqw; right: 7cqw; display: flex; align-items: center; justify-content: space-between; }
.phone__nav b { font: 600 4.2cqw/1 var(--sans); letter-spacing: .42em; color: #f3efe6; white-space: nowrap; }
.phone__nav span { display: flex; flex-direction: column; gap: 1.6cqw; width: 7cqw; }
.phone__nav span i { height: .5cqw; background: #e2cc96; } .phone__nav span i:last-child { width: 70%; margin-left: auto; }
.phone__copy { position: absolute; left: 7cqw; right: 7cqw; bottom: 10cqw; display: flex; flex-direction: column; gap: 3.6cqw; }
.phone__copy small { font: 600 2.9cqw/1 var(--sans); letter-spacing: .34em; color: var(--gold); }
.phone__copy strong { font: 500 12.5cqw/.98 var(--serif); color: #f3efe6; }
.phone__copy strong em { color: var(--gold-2); }
.phone__copy p { font: 400 3.9cqw/1.5 var(--sans); color: #a49d8f; }
.m-btn { display: block; padding: 4.4cqw 0; text-align: center; font-size: 3.4cqw; }
.m-btn--gold { margin-top: 1.5cqw; } .m-btn--line { border-width: .3cqw; }
.phone__home { position: absolute; bottom: 2.6cqw; left: 50%; width: 36cqw; height: 1.2cqw; margin-left: -18cqw; border-radius: 1cqw; background: rgba(243, 239, 230, .75); }
.phone__glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .02) 34%, rgba(255, 255, 255, 0) 35%); }

.frame { position: relative; overflow: hidden; background: #0b0b0b; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 120px -40px rgba(0, 0, 0, .95), 0 30px 80px -50px rgba(201, 164, 92, .35); }
.frame__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: linear-gradient(180deg, #1b1b1d, #141416); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2c30; }
.frame__bar span { margin-left: auto; margin-right: auto; padding: 4px 14px; font: 500 10.5px/1 var(--sans); letter-spacing: .08em; color: var(--muted); background: rgba(255, 255, 255, .04); border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.frame__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; background: #060606; }

/* =========================================================
   03 — TRASFORMAZIONE PRIMA / DOPO (portata dal file "Velora Transformation")
   ========================================================= */
.tf { position: relative; background: #040404; border-top: 1px solid var(--hair); }
.tf__wrap { position: relative; height: 640svh; }
.tf__stage { position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: radial-gradient(70% 55% at 50% -6%, rgba(214, 186, 132, .17), rgba(214, 186, 132, 0) 70%), radial-gradient(120% 80% at 50% 120%, #0b0a08 0%, #040404 60%), #040404; }
.tf__ambient { position: absolute; border-radius: 50%; pointer-events: none; }
.tf__ambient--a { left: 12%; top: 16%; width: 22vmax; height: 22vmax; background: rgba(201, 164, 92, .07); filter: blur(60px); }
.tf__ambient--b { right: 8%; top: 8%; width: 16vmax; height: 16vmax; background: rgba(230, 210, 170, .05); filter: blur(50px); }
.tf__camera { position: absolute; inset: 0; transform-origin: 50% 52%; will-change: transform; }
.tf__set { position: absolute; left: 50%; top: 54%; width: min(92vw, 92svh, max(70vw, 640px)); transform: translate(-50%, -50%); }
.tf__floor { position: absolute; left: -140%; right: -140%; top: 40%; height: 320%; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 34% 30% at 50% 22%, #000 0%, rgba(0, 0, 0, .85) 40%, rgba(0, 0, 0, 0) 100%); mask-image: radial-gradient(ellipse 34% 30% at 50% 22%, #000 0%, rgba(0, 0, 0, .85) 40%, rgba(0, 0, 0, 0) 100%); }
.tf__floor svg { position: absolute; inset: 0; }
.tf__floor-light { position: absolute; inset: 0; background: radial-gradient(22% 9% at 50% 7%, rgba(214, 186, 132, .14), rgba(214, 186, 132, 0) 100%); }
.tf__glow { position: absolute; left: 8%; right: 8%; top: 93%; height: 22%; border-radius: 50%; pointer-events: none; }
.tf__glow--old { background: radial-gradient(50% 50% at 50% 30%, rgba(150, 175, 225, .14), rgba(150, 175, 225, 0) 100%); }
.tf__glow--new { background: radial-gradient(50% 50% at 50% 30%, rgba(222, 192, 132, .18), rgba(222, 192, 132, 0) 100%); opacity: 0; }
.tf__spill { position: absolute; left: 6%; top: 92%; width: 34%; height: 16%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(50% 50% at 50% 40%, rgba(246, 226, 180, .3), rgba(246, 226, 180, 0) 100%); opacity: 0; visibility: hidden; pointer-events: none; }
.tf__contact-shadow { position: absolute; left: 1%; right: 1%; top: calc(100% - 1.4%); height: 4%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .95), rgba(0, 0, 0, 0) 100%); filter: blur(4px); pointer-events: none; }
.tf__rig { position: relative; z-index: 1; perspective: 1600px; -webkit-box-reflect: below 1px linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 74%, rgba(255, 255, 255, .2) 100%); }
.tf__phone { position: absolute; bottom: 0; left: 56%; width: 20.5%; z-index: 0; transform-origin: 50% 100%; }
.tf__laptop { position: relative; z-index: 2; }
.laptop__lid { position: relative; margin: 0 6%; padding: .75%; border-radius: clamp(8px, 2.4%, 22px) clamp(8px, 2.4%, 22px) 3px 3px; background: linear-gradient(180deg, #55565a 0%, #2e2f33 6%, #1d1e21 50%, #26272a 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .22), 0 50px 80px -40px rgba(0, 0, 0, .9); }
.laptop__bezel { position: relative; padding: 2.1% 2.1% 2.9%; border-radius: clamp(6px, 2%, 18px) clamp(6px, 2%, 18px) 2px 2px; background: #030303; }
.laptop__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #000; container-type: inline-size; }
.laptop__notch { position: absolute; top: 0; left: 50%; width: 11cqw; height: 2.1cqw; margin-left: -5.5cqw; border-radius: 0 0 1cqw 1cqw; background: #030303; z-index: 6; }
.laptop__glare { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(116deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .02) 30%, rgba(255, 255, 255, 0) 30.5%); }
.laptop__hinge { height: clamp(3px, .55%, 8px); margin: 0 7%; background: linear-gradient(180deg, #0b0b0c, #2a2b2f); }
.laptop__base { position: relative; aspect-ratio: 100 / 2.3; border-radius: 3px 3px 18px 18px / 3px 3px 100% 100%; background: linear-gradient(180deg, #9a9ba0 0%, #5b5c61 18%, #2e2f33 55%, #141517 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 24px -8px rgba(0, 0, 0, .9); }
.laptop__base span { position: absolute; top: 0; left: 43%; width: 14%; height: 42%; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #1c1d20, #3c3d41); }

/* --- sito vecchio (volutamente datato) --- */
.old { position: absolute; inset: 0; background: #d6d6d6; font-family: Verdana, Arial, sans-serif; color: #222; overflow: hidden; }
.old__head { height: 10.5cqw; display: flex; align-items: center; justify-content: space-between; padding: 1.6cqw 3cqw 0; background: linear-gradient(180deg, #3170c9, #0f3a80); border-bottom: .4cqw solid #f2c200; }
.old__head > div:first-child { display: flex; flex-direction: column; gap: .5cqw; }
.old__head b { font: bold 3.7cqw/1 "Times New Roman", Times, serif; color: #ffd400; text-shadow: .25cqw .25cqw 0 #000; }
.old__head i { font: italic 1.15cqw/1 Arial, sans-serif; color: #fff; }
.old__tel { font: bold 1.4cqw/1.3 Arial, sans-serif; color: #fff; text-align: right; }
.old__tel small { font-weight: normal; font-size: 1.05cqw; color: #cde; }
.old__menu { display: flex; gap: .4cqw; padding: .6cqw 3cqw; background: linear-gradient(180deg, #f4f4f4, #bdbdbd); border-bottom: .15cqw solid #888; }
.old__menu span { padding: .5cqw 1.3cqw; font: bold 1.1cqw/1 Verdana, sans-serif; color: #039; text-decoration: underline; background: #e6e6e6; border: .15cqw outset #ddd; }
.old__body { display: grid; grid-template-columns: 22cqw minmax(0, 1fr); gap: 1.8cqw; padding: 1.6cqw 3cqw; }
.old__side { display: flex; flex-direction: column; gap: 1.2cqw; }
.old__box { background: #fff; border: .15cqw solid #999; }
.old__box-h { padding: .6cqw .8cqw; background: #c00; color: #fff; font: bold 1.15cqw/1 Arial, sans-serif; }
.old__box-b { display: flex; flex-direction: column; gap: .7cqw; padding: .9cqw; font: 1.02cqw/1.3 Verdana, sans-serif; }
.old__box-b b { color: #c00; } .old__box-b u { color: #039; }
.old__counter { display: flex; flex-direction: column; align-items: center; gap: .5cqw; font: .95cqw/1 Verdana, sans-serif; color: #444; }
.old__counter span { padding: .4cqw .7cqw; background: #000; color: #3f3; font: bold 1.3cqw/1 "Courier New", monospace; letter-spacing: .2em; }
.old__main { display: flex; flex-direction: column; align-items: center; gap: 1.2cqw; }
.old__welcome { font: bold 2.5cqw/1.1 "Comic Sans MS", "Comic Sans", cursive; color: #c00; }
.old__photo { position: relative; width: 100%; height: 22cqw; border: .35cqw ridge #aaa; background: #bbb; }
.old__photo img { filter: saturate(.85) contrast(.95); }
.old__text { font: 1.2cqw/1.45 Verdana, sans-serif; text-align: center; color: #333; }
.old__btn { padding: .8cqw 2.4cqw; font: bold 1.2cqw/1 Arial, sans-serif; color: #000; background: linear-gradient(180deg, #ffe066, #e6a800); border: .2cqw outset #f0c040; }
.old__foot { position: absolute; left: 0; right: 0; bottom: 0; padding: .8cqw; text-align: center; background: #0f3a80; color: #c8d4ea; font: .92cqw/1 Verdana, sans-serif; }

/* --- sito nuovo firmato VELORA --- */
.new { position: absolute; inset: 0; background: #060606; color: var(--ivory); overflow: hidden; clip-path: inset(0 100% 0 0); }
.new__photo { position: absolute; inset: 0; transform-origin: 70% 50%; }
.new__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 6, 6, .94) 0%, rgba(6, 6, 6, .6) 36%, rgba(6, 6, 6, 0) 64%), linear-gradient(0deg, rgba(6, 6, 6, .9) 0%, rgba(6, 6, 6, 0) 32%), linear-gradient(180deg, rgba(6, 6, 6, .7) 0%, rgba(6, 6, 6, 0) 18%); }
.new__nav { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 2.6cqw 4cqw; }
.new__logo { display: flex; flex-direction: column; gap: .5cqw; }
.new__logo b { font: 600 1.35cqw/1 var(--sans); letter-spacing: .46em; color: #f3efe6; }
.new__logo small { font: 500 .7cqw/1 var(--sans); letter-spacing: .5em; color: var(--gold); }
.new__links { display: flex; gap: 3cqw; font: 500 1.02cqw/1 var(--sans); letter-spacing: .06em; color: #cfc7b4; }
.new__navbtn { padding: .95cqw 1.6cqw; font: 600 .85cqw/1 var(--sans); letter-spacing: .18em; color: var(--gold-2); border: .1cqw solid rgba(201, 164, 92, .6); }
.new__copy { position: absolute; left: 4cqw; top: 17cqw; width: 40cqw; display: flex; flex-direction: column; gap: 1.6cqw; }
.new__eyebrow { display: flex; align-items: center; gap: 1cqw; font: 600 .85cqw/1 var(--sans); letter-spacing: .34em; color: var(--gold); }
.new__eyebrow i { width: 3cqw; height: .1cqw; background: var(--gold); }
.new__h { font: 500 5.4cqw/.98 var(--serif); color: #f3efe6; letter-spacing: -.01em; }
.new__h em { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.new__p { max-width: 30cqw; font: 400 1.12cqw/1.6 var(--sans); color: #a9a293; }
.new__btns { display: flex; gap: 1cqw; margin-top: .6cqw; }
.n-btn { padding: 1.25cqw 2cqw; font-size: .9cqw; }
.n-btn--line { border-width: .1cqw; }
.new__foot { position: absolute; left: 4cqw; right: 4cqw; bottom: 2.6cqw; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding-top: 1.4cqw; border-top: .1cqw solid rgba(201, 164, 92, .25); font: 500 .85cqw/1 var(--sans); letter-spacing: .2em; color: #8f887a; }
.new__foot span:first-child { color: var(--gold-2); }

/* --- raggio di scansione --- */
.beam { position: absolute; top: 0; bottom: 0; left: 0; width: 0; opacity: 0; visibility: hidden; pointer-events: none; z-index: 5; }
.beam__grid { position: absolute; top: 0; bottom: 0; right: 0; width: 13cqw; background: repeating-linear-gradient(90deg, rgba(236, 213, 160, .14) 0 1px, rgba(236, 213, 160, 0) 1px 1.3cqw), repeating-linear-gradient(0deg, rgba(236, 213, 160, .1) 0 1px, rgba(236, 213, 160, 0) 1px 1.3cqw), linear-gradient(90deg, rgba(236, 213, 160, 0) 0%, rgba(236, 213, 160, .1) 100%); -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), #000); mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), #000); }
.beam__halo { position: absolute; top: 0; bottom: 0; left: -7cqw; width: 14cqw; background: radial-gradient(50% 60% at 50% 50%, rgba(244, 222, 170, .26), rgba(244, 222, 170, 0) 100%); }
.beam__line { position: absolute; top: -2%; bottom: -2%; left: -1px; width: 2px; background: linear-gradient(180deg, rgba(246, 231, 193, 0) 0%, #f6e7c1 14%, #fff8e4 50%, #f6e7c1 86%, rgba(246, 231, 193, 0) 100%); box-shadow: 0 0 6px rgba(246, 226, 180, .95), 0 0 22px rgba(214, 180, 110, .6), 0 0 64px rgba(201, 164, 92, .35); }

/* --- testi sovrapposti --- */
.tf__sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.tf__labels { position: absolute; left: 0; right: 0; top: clamp(76px, 10svh, 110px); display: flex; justify-content: center; z-index: 4; pointer-events: none; }
.tf__labels > * { grid-area: 1 / 1; }
.tf__labels { display: grid; justify-items: center; }
.tf__label { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tf__label small { font: 600 10px/1 var(--sans); letter-spacing: .4em; padding-left: .4em; color: var(--muted); }
.tf__label b { font: 500 clamp(26px, min(3.2vw, 5.4svh), 46px)/1 var(--serif); letter-spacing: .32em; padding-left: .32em; color: var(--ivory); }
.tf__label--dopo { opacity: 0; visibility: hidden; }
.tf__label--dopo small { color: var(--gold); }
.tf__scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; z-index: 4; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(4, 4, 4, 0) 0%, rgba(4, 4, 4, .86) 42%, #040404 100%); }
.tf__final-wrap { position: absolute; left: 0; right: 0; bottom: clamp(22px, 6.5svh, 76px); display: flex; justify-content: center; padding: 0 20px; z-index: 5; pointer-events: none; }
.tf__final { display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 2.2svh, 24px); max-width: 900px; text-align: center; opacity: 0; visibility: hidden; pointer-events: auto; }
.tf__final-logo .logo__word { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: .62em; padding-left: .62em; }
.tf__final-title { font: 500 clamp(28px, min(4.3vw, 6.4svh), 66px)/1.06 var(--serif); letter-spacing: -.005em; text-wrap: balance; }
.tf__final-title > span { display: block; }
.tf__concept { margin-top: 14px; font: 600 9.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.tf__hint { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 10px/1 var(--sans); letter-spacing: .4em; padding-left: .4em; color: var(--muted); pointer-events: none; }
.tf__hint i { width: 1px; height: 34px; background: linear-gradient(180deg, var(--gold), rgba(201, 164, 92, 0)); }

/* senza JS o con movimento ridotto: stato finale statico */
.tf.is-static .tf__wrap { height: auto; }
.tf.is-static .tf__stage { position: relative; height: 100svh; min-height: 640px; }

@media (max-width: 700px) { .tf__wrap { height: 560svh; } }

/* le foto riempiono sempre il proprio contenitore */
.phone__photo > picture, .new__photo > picture, .old__photo > picture { position: absolute; inset: 0; }

/* ---- 50-services.css ---- */
/* =========================================================
   04 — SERVIZI
   ========================================================= */
.services { border-top: 1px solid var(--hair); }
.services__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.services__list { border-top: 1px solid var(--line); counter-reset: svc; }
.svc { border-bottom: 1px solid var(--hair); transition: border-color .5s; }
.svc.is-active { border-bottom-color: var(--line); }
.svc__head { width: 100%; display: grid; grid-template-columns: 54px 1fr 22px; align-items: center; gap: 12px; padding: 26px 0; text-align: left; }
.svc__num { font: 600 10.5px/1 var(--sans); letter-spacing: .28em; color: var(--muted); transition: color .4s; }
.svc__title { font: 500 clamp(1.55rem, 2.5vw, 2.25rem)/1.05 var(--serif); color: var(--ivory-2); transition: color .4s, transform .6s var(--ease); }
.svc__plus { position: relative; width: 14px; height: 14px; justify-self: end; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transition: transform .5s var(--ease); }
.svc__plus::after { transform: rotate(90deg); }
.svc.is-active .svc__plus::after { transform: rotate(0); }
.svc.is-active .svc__num { color: var(--gold); }
.svc.is-active .svc__title, .svc__head:hover .svc__title { color: var(--ivory); }
.svc.is-active .svc__title { transform: translateX(8px); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc.is-active .svc__body { grid-template-rows: 1fr; }
.svc__inner { min-height: 0; overflow: hidden; padding-left: 66px; }
.svc__inner > p:first-child { color: var(--ivory-2); max-width: 54ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-bottom: 30px; }
.svc__tags span { padding: 7px 11px; font: 600 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); border: 1px solid var(--line); }

.services__preview { position: sticky; top: calc(50vh - 220px); }
.services__note { margin-top: 18px; font: 600 9.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-align: right; }
.pv { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.pv.is-active { opacity: 1; transform: none; }
.pv > picture { position: absolute; inset: 0; }
.pv__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 6, 6, .9), rgba(6, 6, 6, .35) 55%, rgba(6, 6, 6, .1)), linear-gradient(0deg, rgba(6, 6, 6, .7), transparent 40%); }
.pv__shade--left { background: linear-gradient(90deg, rgba(6, 6, 6, .1), rgba(6, 6, 6, .5) 55%, rgba(6, 6, 6, .92)); }
.pv__shade--right { background: linear-gradient(90deg, rgba(6, 6, 6, .2), rgba(6, 6, 6, .45) 50%, rgba(6, 6, 6, .9)); }
.pv__nav { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 3.4cqw 5cqw; font: 500 1.5cqw/1 var(--sans); letter-spacing: .1em; color: #cfc7b4; }
.pv__nav b { font-weight: 600; letter-spacing: .5em; color: #f3efe6; }
.pv__copy { position: absolute; left: 5cqw; bottom: 8cqw; display: flex; flex-direction: column; gap: 2.2cqw; max-width: 52cqw; }
.pv__copy small { font: 600 1.25cqw/1 var(--sans); letter-spacing: .34em; color: var(--gold); }
.pv__copy strong { font: 500 6.4cqw/.98 var(--serif); color: #f3efe6; }
.pv__copy strong em { color: var(--gold-2); }
.pv__copy .n-btn { align-self: flex-start; padding: 1.8cqw 2.8cqw; font-size: 1.25cqw; }
.pv__form { position: absolute; right: 5cqw; bottom: 8cqw; width: 34cqw; display: flex; flex-direction: column; gap: 1.4cqw; padding: 3cqw; background: rgba(8, 8, 8, .78); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 1.45cqw/1 var(--sans); color: var(--ivory-2); }
.pv__form b { font: 500 2.6cqw/1.1 var(--serif); color: #f3efe6; margin-bottom: .6cqw; }
.pv__form > span:not(.n-btn) { padding: 1.6cqw; border: 1px solid var(--hair); }
.pv__form .n-btn { text-align: center; padding: 1.8cqw; font-size: 1.25cqw; }
.pv__product { position: absolute; right: 6cqw; top: 50%; transform: translateY(-50%); width: 34cqw; display: flex; flex-direction: column; gap: 1.8cqw; }
.pv__product small { font: 600 1.2cqw/1 var(--sans); letter-spacing: .32em; color: var(--gold); }
.pv__product strong { font: 500 5cqw/1 var(--serif); color: #f3efe6; }
.pv__price { font: 500 3cqw/1 var(--serif); color: var(--gold-2); }
.pv__sizes { display: flex; gap: 1cqw; }
.pv__sizes i { font: 500 1.3cqw/1 var(--sans); font-style: normal; padding: 1.2cqw 1.8cqw; border: 1px solid var(--hair); color: var(--ivory-2); }
.pv__sizes i.is-on { border-color: var(--gold); color: var(--ivory); }
.pv__product .n-btn { text-align: center; padding: 2cqw; font-size: 1.25cqw; }
.pv--split { display: grid; grid-template-columns: 1fr 1fr; }
.pv__half { position: relative; overflow: hidden; }
.pv__half > picture { position: absolute; inset: 0; }
.pv__half--old img { filter: saturate(.7) contrast(.9) brightness(1.05); }
.pv__half--old::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(49, 112, 201, .25), rgba(214, 214, 214, .1)); mix-blend-mode: multiply; }
.pv__tag { position: absolute; left: 4cqw; bottom: 4cqw; z-index: 1; padding: 1.2cqw 2cqw; font: 600 1.3cqw/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #222; background: #e6e6e6; }
.pv__tag--gold { left: auto; right: 4cqw; color: #16110a; background: var(--metal-btn); }
.pv__divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, #fff8e4 20%, #fff8e4 80%, transparent); box-shadow: 0 0 14px rgba(246, 226, 180, .9), 0 0 40px rgba(201, 164, 92, .5); }
.pv--dash { display: grid; grid-template-columns: 22cqw 1fr; background: #070707; }
.pv--dash aside { display: flex; flex-direction: column; gap: 1cqw; padding: 4cqw 3cqw; border-right: 1px solid var(--hair); font: 500 1.4cqw/1 var(--sans); color: var(--muted); }
.pv--dash aside b { font: 600 1.3cqw/1 var(--sans); letter-spacing: .3em; color: var(--ivory); margin-bottom: 3cqw; }
.pv--dash aside span { padding: 1.3cqw 1.4cqw; }
.pv--dash aside .is-on { color: var(--ivory); background: rgba(201, 164, 92, .08); border-left: 1px solid var(--gold); }
.dash { display: flex; flex-direction: column; gap: 2.4cqw; padding: 4cqw; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.dash__kpis div { display: flex; flex-direction: column; gap: 1cqw; padding: 2cqw; border: 1px solid var(--hair); }
.dash__kpis small { font: 500 1.2cqw/1 var(--sans); color: var(--muted); }
.dash__kpis b { font: 500 4.6cqw/1 var(--serif); color: var(--ivory); }
.dash__chart { width: 100%; height: 13cqw; border-bottom: 1px solid var(--hair); }
.dash__rows { display: flex; flex-direction: column; gap: 1cqw; }
.dash__rows span { display: flex; justify-content: space-between; padding: 1.4cqw 0; border-bottom: 1px solid var(--hair); font: 500 1.4cqw/1 var(--sans); color: var(--ivory-2); }
.dash__rows b { font-weight: 500; color: var(--ivory); } .dash__rows i { font-style: normal; color: var(--gold-2); }
.dash__note { font: 600 1cqw/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.chat { position: absolute; right: 5cqw; top: 50%; transform: translateY(-50%); width: 42cqw; display: flex; flex-direction: column; gap: 1.6cqw; padding: 3cqw; background: rgba(10, 10, 10, .82); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chat__head { display: flex; align-items: center; gap: 1.4cqw; padding-bottom: 1.8cqw; border-bottom: 1px solid var(--hair); font: 500 1.5cqw/1 var(--sans); }
.chat__head i { width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--metal); }
.chat__head small { margin-left: auto; color: #7fcf9f; font-size: 1.2cqw; }
.chat__msg { max-width: 82%; padding: 1.6cqw 2cqw; font: 400 1.45cqw/1.45 var(--sans); color: var(--ivory-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--hair); }
.chat__msg--me { align-self: flex-end; color: #16110a; background: var(--metal-btn); border: 0; }
.pv.is-active .chat__msg { animation: msg-in .6s var(--ease) both; }
.pv.is-active .chat__msg:nth-child(3) { animation-delay: .5s; } .pv.is-active .chat__msg:nth-child(4) { animation-delay: 1.1s; } .pv.is-active .chat__msg:nth-child(5) { animation-delay: 1.6s; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 980px) {
  .services__layout { grid-template-columns: 1fr; }
  .services__preview { position: relative; top: 0; order: -1; }
  .svc__inner { padding-left: 0; }
  .svc__head { grid-template-columns: 40px 1fr 22px; }
}

/* ---- 60-portfolio.css ---- */
/* =========================================================
   05 — PORTFOLIO DI CONCEPT (scorrimento orizzontale)
   ========================================================= */
.portfolio { position: relative; padding-block: var(--space) 0; border-top: 1px solid var(--hair); background: radial-gradient(60% 40% at 50% 0%, rgba(201, 164, 92, .06), transparent 70%); overflow: hidden; }
.portfolio__pin { display: flex; flex-direction: column; gap: clamp(36px, 5vh, 64px); padding-bottom: var(--space); }
.portfolio.is-pinned .portfolio__pin { min-height: 100svh; justify-content: center; padding-block: 90px 50px; }
.portfolio.is-pinned { padding-top: 0; }
.portfolio__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.portfolio__head .eyebrow { margin-bottom: 20px; }
.portfolio__disclaimer { max-width: 380px; font-size: .86rem; line-height: 1.6; color: var(--muted); padding-left: 20px; border-left: 1px solid var(--line); }
.portfolio__disclaimer strong { color: var(--gold-2); font-weight: 600; }
.portfolio__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.portfolio__viewport::-webkit-scrollbar { display: none; }
.portfolio.is-pinned .portfolio__viewport { overflow: visible; }
.portfolio__track { display: flex; gap: clamp(40px, 6vw, 110px); width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.pf { scroll-snap-align: center; width: min(86vw, 1240px); display: grid; grid-template-columns: minmax(240px, .38fr) 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.pf__meta { display: flex; flex-direction: column; gap: 14px; }
.pf__index { font: 600 10.5px/1 var(--sans); letter-spacing: .32em; color: var(--muted); }
.pf__industry { font: 600 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 18px; }
.pf__name { font: 500 clamp(2rem, 3.4vw, 3.1rem)/1 var(--serif); }
.pf__desc { color: var(--ivory-2); font-size: .98rem; max-width: 40ch; }
.pf__badge { align-self: flex-start; margin-top: 12px; padding: 9px 12px; font: 600 9px/1.6 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); border: 1px solid var(--line); }
.pf__devices { position: relative; padding: 0 9% 7% 0; }
.pf__desktop .frame { transform: perspective(1800px) rotateY(-6deg) rotateX(2deg); transform-origin: 70% 50%; transition: transform 1.2s var(--ease); }
.pf:hover .pf__desktop .frame { transform: perspective(1800px) rotateY(-2deg) rotateX(0); }
.pf__phone { position: absolute; right: 0; bottom: 0; width: 21%; transform: rotate(4deg); transition: transform 1.2s var(--ease); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); }
.pf:hover .pf__phone { transform: rotate(0) translateY(-10px); }
.phone--sm .phone__copy { bottom: 9cqw; gap: 3.2cqw; }
.phone--sm .phone__copy strong { font-size: 11cqw; }
.phone--sm .phone__photo { inset: 0 0 40% 0; }

.site { position: absolute; inset: 0; }
.site > picture { position: absolute; inset: 0; }
.site__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 6, 6, .9) 0%, rgba(6, 6, 6, .5) 38%, rgba(6, 6, 6, 0) 70%), linear-gradient(0deg, rgba(6, 6, 6, .7), transparent 35%), linear-gradient(180deg, rgba(6, 6, 6, .6), transparent 20%); }
.site__nav { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 4cqw; padding: 3cqw 4.5cqw; font: 500 1.25cqw/1 var(--sans); letter-spacing: .08em; color: #cfc7b4; }
.site__nav b { font: 600 1.4cqw/1 var(--sans); letter-spacing: .44em; color: #f3efe6; white-space: nowrap; }
.site__nav span { margin-left: auto; white-space: nowrap; }
.site__nav em { font-style: normal; padding: 1cqw 1.6cqw; font: 600 .95cqw/1 var(--sans); letter-spacing: .18em; color: var(--gold-2); border: 1px solid rgba(201, 164, 92, .6); white-space: nowrap; }
.site__copy { position: absolute; left: 4.5cqw; bottom: 9cqw; display: flex; flex-direction: column; gap: 2cqw; max-width: 50cqw; }
.site__copy small { font: 600 1.05cqw/1 var(--sans); letter-spacing: .34em; color: var(--gold); }
.site__copy strong { font: 500 5.6cqw/.98 var(--serif); color: #f3efe6; }
.site__copy strong em { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site__copy .n-btn { align-self: flex-start; padding: 1.5cqw 2.4cqw; font-size: 1.05cqw; }

.portfolio__progress { display: flex; align-items: center; gap: 18px; font: 600 10.5px/1 var(--sans); letter-spacing: .3em; color: var(--muted); }
.portfolio__progress span:first-child { color: var(--gold-2); }
.portfolio__progress i { position: relative; flex: 1; max-width: 320px; height: 1px; background: var(--hair); }
.portfolio__progress b { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, .1667)); }

@media (max-width: 900px) {
  .portfolio__head { flex-direction: column; align-items: flex-start; }
  .pf { width: 84vw; grid-template-columns: 1fr; gap: 26px; }
  .pf__meta { order: 2; }
  .pf__desktop .frame { transform: none; }
  .pf__phone { width: 25%; }
}

/* ---- 70-why-process-faq.css ---- */
/* =========================================================
   06 — PERCHÉ VELORA
   ========================================================= */
.why { border-top: 1px solid var(--hair); }
.why__layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.why__intro { position: sticky; top: 120px; }
.why__intro .lead { margin-top: 26px; }
.why__feature { margin-top: 48px; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(201, 164, 92, .1), rgba(201, 164, 92, .02) 60%, transparent); }
.why__feature::after { content: ""; position: absolute; top: -1px; left: -1px; width: 22px; height: 22px; border-top: 1px solid var(--gold-3); border-left: 1px solid var(--gold-3); }
.why__feature-tag { font: 600 9.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.why__feature h3 { margin: 16px 0 10px; font: 500 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--serif); }
.why__feature p { color: var(--ivory-2); margin-bottom: 26px; }
.why__list { border-top: 1px solid var(--line); }
.why__list li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 32px 0; border-bottom: 1px solid var(--hair); transition: padding .6s var(--ease); }
.why__list li:hover { padding-left: 10px; }
.why__list li > span { font: italic 500 1.25rem/1.4 var(--serif); color: var(--gold); }
.why__list h3 { font: 500 clamp(1.4rem, 2vw, 1.75rem)/1.15 var(--serif); margin-bottom: 8px; }
.why__list p { color: var(--ivory-2); font-size: .98rem; }
@media (max-width: 960px) { .why__layout { grid-template-columns: minmax(0, 1fr); } .why__intro { position: static; } }

/* =========================================================
   07 — COME FUNZIONA
   ========================================================= */
.process { border-top: 1px solid var(--hair); background: radial-gradient(50% 50% at 50% 100%, rgba(201, 164, 92, .06), transparent 70%); }
.process__track { position: relative; }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); padding-top: 64px; }
.step { position: relative; }
.step::before { content: ""; position: absolute; left: 0; top: -64px; width: 11px; height: 11px; transform: translate(-5px, -5px) rotate(45deg); background: var(--obsidian); border: 1px solid var(--gold); transition: background-color .6s, box-shadow .6s; z-index: 1; }
.step.is-lit::before { background: var(--gold-2); box-shadow: 0 0 18px rgba(220, 194, 138, .8); }
.step__num { display: block; font: 500 clamp(3.6rem, 6vw, 5.6rem)/1 var(--serif); background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; margin-bottom: 18px; }
.step .h3 { margin-bottom: 12px; }
.step p { color: var(--ivory-2); font-size: .97rem; }
.process__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair); pointer-events: none; }
.process__line b { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold-deep), var(--gold-3)); box-shadow: 0 0 12px rgba(220, 194, 138, .5); }
@media (max-width: 900px) {
  .process__steps { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-left: 34px; border-left: 1px solid var(--hair); }
  .step { padding: 8px 0 44px; }
  .step::before { left: -34px; top: 34px; }
  .process__line { display: none; }
}

/* =========================================================
   08 — FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--hair); }
.faq__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.faq__aside { position: sticky; top: 120px; }
.faq__aside .lead { margin: 26px 0 30px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--hair); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; font: 500 clamp(1.25rem, 1.8vw, 1.55rem)/1.25 var(--serif); transition: color .3s; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold-2); }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); transition: transform .6s var(--ease), background-color .4s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--gold-2); translate: -50% -50%; transition: transform .5s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
details[open] > summary .faq__icon { background: rgba(201, 164, 92, .1); }
details[open] > summary .faq__icon::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a-inner { padding: 0 64px 30px 0; color: var(--ivory-2); }
@media (max-width: 960px) { .faq__layout { grid-template-columns: minmax(0, 1fr); } .faq__aside { position: static; } .faq__a-inner { padding-right: 0; } }

/* ---- 80-final-footer.css ---- */
/* =========================================================
   09 — CTA FINALE
   ========================================================= */
.final { position: relative; min-height: 100svh; display: flex; align-items: center; padding: clamp(100px, 12vw, 160px) 0; overflow: hidden; isolation: isolate; text-align: center; border-top: 1px solid var(--hair); }
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final__bg picture { position: absolute; inset: -6% 0; }
.final__bg img { object-position: 60% 50%; opacity: .55; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.final.is-in .final__bg img { transform: scale(1); }
.final__shade { position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 45%, rgba(5, 5, 5, .55), rgba(5, 5, 5, .95) 80%), linear-gradient(180deg, var(--obsidian), transparent 25%, transparent 70%, var(--obsidian)); }
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final__logo { margin-bottom: 34px; }
.final__title { font: 500 clamp(2.5rem, 5vw, 5rem)/1.02 var(--serif); letter-spacing: -.012em; max-width: 19ch; text-wrap: balance; }
.final__title em { font-style: italic; }
.final__lead { margin: 30px auto 0; text-align: center; }
.final__cta { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 40px; }
.final__promise { display: flex; gap: 22px; font: 600 10.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ivory-2); }
.final__promise span { display: flex; align-items: center; gap: 22px; }
.final__promise span + span::before { content: ""; width: 4px; height: 4px; transform: rotate(45deg); background: var(--gold); }
@media (max-width: 600px) { .final__cta .btn { width: 100%; white-space: normal; text-align: center; } .final__promise { flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 9.5px; letter-spacing: .18em; } .final__promise span { gap: 10px; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 80px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); background: #030303; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 54px; border-bottom: 1px solid var(--hair); }
.footer__brand a { text-decoration: none; }
.footer__brand p { max-width: 36ch; margin-top: 22px; font-size: .9rem; color: var(--muted); }
.footer__nav { display: flex; gap: clamp(36px, 6vw, 90px); flex-wrap: wrap; }
.footer__nav div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: .9rem; }
.footer__nav b { font: 600 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer__nav a, .footer__link { color: var(--ivory-2); text-decoration: none; text-align: left; transition: color .3s; }
.footer__nav a:hover, .footer__link:hover { color: var(--ivory); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; font-size: .76rem; color: var(--muted); }
.footer--min { padding: 40px 0; }

/* =========================================================
   CTA FISSA SU MOBILE
   ========================================================= */
.sticky-cta { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: rgba(8, 8, 8, .88); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .9); transform: translateY(150%); transition: transform .7s var(--ease); }
.sticky-cta.is-on { transform: none; }
.sticky-cta__text { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-cta__text b { font: 500 1.15rem/1.1 var(--serif); }
.sticky-cta__text small { font-size: .7rem; color: var(--muted); }
.sticky-cta .btn { --h: 46px; padding: 0 18px; font-size: 10px; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }

/* =========================================================
   PAGINA LEGALE
   ========================================================= */
.legal__head { display: flex; align-items: center; justify-content: space-between; padding-block: 30px; border-bottom: 1px solid var(--hair); }
.legal__head > a:first-child { text-decoration: none; }
.legal { max-width: 760px; padding-block: 70px 100px; }
.legal .h2 { margin-bottom: 26px; }
.legal .h3 { margin: 40px 0 12px; }
.legal p { color: var(--ivory-2); }
.legal__draft { margin-bottom: 30px; padding: 14px 18px; border: 1px dashed var(--line-2); color: var(--gold-2) !important; font-size: .9rem; }

/* ---- 90-questionnaire.css ---- */
/* =========================================================
   QUESTIONARIO DI QUALIFICAZIONE (dialog multi-step)
   ========================================================= */
.qx { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ivory); overflow: hidden; }
.qx::backdrop { background: rgba(2, 2, 2, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.qx[open] { display: flex; align-items: center; justify-content: center; animation: lead-fade .5s var(--ease); }
.qx.is-closing { animation: lead-out .35s ease-in forwards; }
@keyframes lead-fade { from { opacity: 0; } }
@keyframes lead-out { to { opacity: 0; } }
.qx__panel { position: relative; width: min(760px, calc(100% - 32px)); max-height: calc(100svh - 32px); display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(80% 50% at 50% 0%, rgba(201, 164, 92, .1), transparent 70%), linear-gradient(180deg, #0d0c0a, #070707);
  border: 1px solid var(--line-2); box-shadow: 0 60px 160px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .6); animation: panel-in .7s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(24px) scale(.985); } }
.qx__panel::before, .qx__panel::after { content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none; }
.qx__panel::before { top: -1px; left: -1px; border-top: 1px solid var(--gold-3); border-left: 1px solid var(--gold-3); }
.qx__panel::after { bottom: -1px; right: -1px; border-bottom: 1px solid var(--gold-3); border-right: 1px solid var(--gold-3); }
.qx__top { flex: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; padding: 22px clamp(20px, 4vw, 40px); border-bottom: 1px solid var(--hair); }
.qx__brand .logo__word { font-size: 16px; } .qx__brand .logo__sub { font-size: 7px; }
.qx__progress { display: flex; flex-direction: column; gap: 9px; }
.qx__count { font: 600 9.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.qx__bar { position: relative; height: 1px; background: var(--hair); }
.qx__bar b { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, .2)); background: linear-gradient(90deg, var(--gold-deep), var(--gold-3)); box-shadow: 0 0 10px rgba(220, 194, 138, .6); transition: transform .8s var(--ease); }
.qx__close { display: grid; place-items: center; width: 40px; height: 40px; color: var(--ivory-2); border: 1px solid var(--hair); transition: color .3s, border-color .3s; }
.qx__close:hover { color: var(--ivory); border-color: var(--line-2); }

.qx__form { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: clamp(26px, 4vw, 44px) clamp(20px, 4vw, 40px) 0; }
.qx__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qx__step { display: none; border: 0; min-width: 0; }
.qx__step.is-active { display: block; animation: step-in .6s var(--ease); }
.qx__step.is-back { animation-name: step-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes step-back { from { opacity: 0; transform: translateX(-28px); } }
.qx__q { display: block; width: 100%; margin-bottom: 28px; padding: 0; font: 500 clamp(1.8rem, 4vw, 2.7rem)/1.05 var(--serif); outline: none; }
.qx__q small { display: block; margin-bottom: 14px; font: 600 10px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.qx__hint { margin: -14px 0 18px; font-size: .86rem; color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.field__label { font: 600 10px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-2); margin-bottom: 9px; display: block; }
.field .field__label { margin-bottom: 0; }
.field__label em { font-style: normal; letter-spacing: .1em; text-transform: none; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 15px 16px; font-size: 16px; color: var(--ivory); background: rgba(255, 255, 255, .025); border: 1px solid rgba(236, 229, 213, .14); border-radius: 0; outline: none; transition: border-color .3s, background-color .3s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5f5a50; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: rgba(201, 164, 92, .04); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d58b7a; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field--cond { margin-top: 18px; animation: step-in .5s var(--ease); }

.choices { display: grid; gap: 10px; }
.choices--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; gap: 14px; min-height: 56px; height: 100%; padding: 14px 18px; font-size: .95rem; line-height: 1.35; color: var(--ivory-2); border: 1px solid rgba(236, 229, 213, .12); background: rgba(255, 255, 255, .015); transition: border-color .3s, background-color .3s, color .3s; }
.choice span::before { content: ""; flex: none; width: 14px; height: 14px; border: 1px solid rgba(201, 164, 92, .55); transform: rotate(45deg) scale(.85); transition: background-color .3s, transform .4s var(--ease); }
.choice--check span::before { transform: none; }
.choice:hover span { border-color: var(--line-2); color: var(--ivory); }
.choice input:checked + span { color: var(--ivory); border-color: var(--gold); background: linear-gradient(120deg, rgba(201, 164, 92, .14), rgba(201, 164, 92, .03)); }
.choice input:checked + span::before { background: var(--metal-btn); transform: rotate(45deg) scale(1); border-color: transparent; }
.choice--check input:checked + span::before { transform: none; border-color: transparent; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4.4' fill='none' stroke='%2316110a' stroke-width='1.8'/%3E%3C/svg%3E") center / 12px no-repeat, var(--metal-btn); }
.choice input:focus-visible + span { outline: 1px solid var(--gold-2); outline-offset: 3px; }
.choices.is-invalid .choice span { border-color: rgba(213, 139, 122, .5); }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 10px; font-size: .84rem; line-height: 1.55; color: var(--ivory-2); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.consent a { color: var(--gold-2); }
.consent.is-invalid { color: #e3a596; }

.qx__error { flex: 1 0 100%; order: -1; margin: 0; font-size: .86rem; line-height: 1.45; color: #e3a596; }
.qx__error:empty { display: none; }
.qx__actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 10px calc(-1 * clamp(20px, 4vw, 40px)) 0; padding: 18px clamp(20px, 4vw, 40px) calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(7, 7, 7, .6), #070707 40%); border-top: 1px solid var(--hair); }
.qx__actions [data-lead-next], .qx__actions [data-lead-submit] { margin-left: auto; }
.qx__actions .btn-ghost { white-space: nowrap; }
.qx__actions .btn.is-loading { pointer-events: none; }
.qx__actions .btn.is-loading::before { content: ""; width: 14px; height: 14px; border: 1px solid rgba(22, 17, 10, .35); border-top-color: #16110a; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.qx__done { padding: clamp(36px, 6vw, 64px) clamp(22px, 5vw, 56px) clamp(30px, 5vw, 50px); overflow-y: auto; text-align: center; outline: none; animation: step-in .8s var(--ease); }
.qx__seal { display: inline-grid; color: var(--gold-2); margin-bottom: 22px; filter: drop-shadow(0 0 14px rgba(220, 194, 138, .5)); }
.qx__done h3 { font: 500 clamp(2rem, 4.4vw, 3rem)/1.05 var(--serif); }
.qx__done > p { max-width: 46ch; margin: 18px auto 0; color: var(--ivory-2); }
.qx__next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 40px 0 34px; text-align: left; background: var(--hair); border: 1px solid var(--hair); counter-reset: nx; }
.qx__next li { padding: 22px; background: #080808; counter-increment: nx; }
.qx__next li::before { content: "0" counter(nx); display: block; margin-bottom: 14px; font: italic 500 1.2rem/1 var(--serif); color: var(--gold); }
.qx__next b { display: block; font: 500 1.3rem/1.1 var(--serif); margin-bottom: 8px; }
.qx__next span { font-size: .86rem; color: var(--ivory-2); }

@media (max-width: 640px) {
  .qx[open] { align-items: stretch; }
  .qx__panel { width: 100%; max-height: none; height: 100%; border: 0; }
  .qx__top { grid-template-columns: 1fr auto; gap: 14px; }
  .qx__brand { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .qx__next { grid-template-columns: 1fr; }
  .choice span { min-height: 52px; }
}
