/* =========================================================
   PHIAT LUX – Foglio di stile
   ========================================================= */
:root {
  --night: #060a12;
  --navy: #0a1120;
  --panel: #16275e;
  --panel-2: #1e3270;
  --line: rgba(255, 255, 255, .09);
  --accent: #ffc21a;
  --accent-2: #ff8a00;
  --blue: #3b8bff;
  --brand: #1c3278;
  --field: #0f1d4a;
  --text: #e9edf5;
  --muted: #98a3b9;
  --ink: #0b1220;
  --ink-muted: #56627a;
  --paper: #f3f5f9;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px -20px rgba(3, 8, 20, .55);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, Segoe UI, sans-serif;
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--navy); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; margin: 0 0 .5em; letter-spacing: .2px; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Bottoni ---------- */
.btn {
  --bg: var(--accent); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: .6em; padding: 1em 1.7em;
  background: var(--bg); color: var(--fg); border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 1px; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--white); z-index: -1;
  transform: translateX(-101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 12px 30px -10px rgba(255, 194, 26, .6); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.btn--ghost:hover { --fg: var(--ink); color: var(--ink); }
.btn--dark { --bg: var(--brand); --fg: var(--white); }
.btn--dark::before { background: var(--accent); }
.btn--dark:hover { color: var(--ink); }
.btn--sm { padding: .75em 1.3em; font-size: .95rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--display); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Etichette ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.1em;
  font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: 3px; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .muted, .section--light p { color: var(--ink-muted); }
.section--light .eyebrow { color: #c98a00; }
.section--dark { background: var(--night); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--brand); font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 20px; }
.topbar__info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--accent); }
.topbar a:hover { color: var(--white); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(28, 50, 120, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background .3s; }
.header.is-scrolled { background: rgba(28, 50, 120, .97); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .3s; }
.header.is-scrolled .container { height: 70px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 48px; height: 48px; flex: none; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.05); }
.logo__full { width: 130px; height: 130px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.logo__text { font-family: var(--body); font-weight: 600; font-size: 1.6rem; letter-spacing: .3px; line-height: 1; }
.logo__text small { display: block; font-family: var(--display); text-transform: uppercase; font-size: .62rem; letter-spacing: 3.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; background: none; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text);
  transition: color .2s;
}
.nav__link svg { width: 14px; height: 14px; transition: transform .3s; }
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--accent); }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }
.nav__cta { margin-left: 14px; }

.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; width: min(860px, 90vw);
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.mega::before { content: ""; position: absolute; inset: -20px 0 auto; height: 20px; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__col h4 { font-size: .95rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega__col a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; font-weight: 500; transition: background .2s; }
.mega__col a:hover { background: var(--panel-2); color: var(--accent); }
.mega__col a svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--brand); cursor: pointer; position: relative; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: .3s; }
.burger::before { top: 15px; } .burger span { top: 22px; } .burger::after { top: 29px; }
.menu-open .burger::before { top: 22px; transform: rotate(45deg); }
.menu-open .burger span { opacity: 0; }
.menu-open .burger::after { top: 22px; transform: rotate(-45deg); }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--night); padding: 110px 24px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.menu-open .mobile-nav { transform: none; }
.mobile-nav > a, .mobile-nav details > summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; }
.mobile-nav details[open] > summary::after { content: "–"; }
.mobile-nav details details > summary { font-size: 1.15rem; padding: 12px 0 12px 14px; color: var(--accent); }
.mobile-nav details details a { display: block; padding: 8px 0 8px 28px; color: var(--muted); }
.mobile-nav .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; overflow: hidden; background: var(--night); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 10, 18, .96) 0%, rgba(6, 10, 18, .82) 40%, rgba(6, 10, 18, .35) 75%, rgba(6, 10, 18, .2) 100%),
              linear-gradient(0deg, rgba(6, 10, 18, .9) 0%, transparent 35%);
}
.hero__grid { position: absolute; inset: 0; z-index: 1; opacity: .18; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 70px 70px; mask-image: radial-gradient(circle at 25% 50%, #000 0, transparent 70%); }
.hero__content { position: relative; z-index: 2; padding: 120px 0 190px; }
.hero__text { max-width: 820px; }
.hero__caption { display: none; }
.hero__caption.is-active { display: block; animation: heroIn 1s var(--ease) both; }
.hero__caption.is-active > * { animation: heroIn .9s var(--ease) both; }
.hero__caption.is-active > *:nth-child(2) { animation-delay: .12s; }
.hero__caption.is-active > *:nth-child(3) { animation-delay: .24s; }
.hero__caption.is-active > *:nth-child(4) { animation-delay: .36s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #c8d0df; max-width: 640px; margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__controls { position: absolute; z-index: 3; right: max(20px, calc((100vw - var(--container)) / 2)); bottom: 170px; display: flex; align-items: center; gap: 18px; }
.hero__count { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: 2px; }
.hero__count b { color: var(--accent); font-size: 2rem; }
.hero__arrow { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(28, 50, 120, .6); display: grid; place-items: center; cursor: pointer; transition: .3s; color: #fff; }
.hero__arrow:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.hero__arrow svg { width: 20px; height: 20px; }
.hero__progress { position: absolute; z-index: 3; left: 0; bottom: 0; height: 3px; background: var(--accent); width: 0; }
.hero__progress.run { animation: progress 7s linear forwards; }
@keyframes progress { to { width: 100%; } }

/* Barra punti di forza */
.features { position: relative; z-index: 5; margin-top: -120px; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.feature { padding: 34px 30px; display: flex; gap: 18px; align-items: flex-start; border-right: 1px solid var(--line); position: relative; transition: background .35s; }
.feature:last-child { border-right: 0; }
.feature::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.feature:hover { background: var(--panel-2); }
.feature:hover::after { width: 100%; }
.feature__icon { width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 194, 26, .1); color: var(--accent); }
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.35rem; margin-bottom: .2em; text-transform: uppercase; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Metodo ---------- */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage__main, .collage__small { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.collage__main { inset: 0 18% 14% 0; }
.collage__small { width: 52%; aspect-ratio: 1; right: 0; bottom: 0; border: 8px solid var(--paper); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.collage__main:hover img, .collage__small:hover img { transform: scale(1.06); }
.collage__badge {
  position: absolute; left: -6%; bottom: 22%; z-index: 2; background: var(--accent); color: var(--ink);
  border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite;
}
.collage__badge strong { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.collage__badge span { font-family: var(--display); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: .95rem; }
@keyframes float { 50% { transform: translateY(-12px); } }
.collage__ring { position: absolute; top: -30px; right: 4%; width: 120px; height: 120px; border-radius: 50%; border: 2px dashed rgba(201, 138, 0, .5); animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.steps { display: grid; gap: 16px; margin: 30px 0 34px; }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px -18px rgba(11, 18, 32, .35); transition: transform .35s var(--ease), box-shadow .35s; }
.step:hover { transform: translateX(8px); box-shadow: 0 18px 40px -18px rgba(11, 18, 32, .45); }
.step__num { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #c98a00; }
.step h3 { margin-bottom: .25em; color: var(--ink); }
.step p { margin: 0; font-size: .98rem; }
.callout { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; font-weight: 600; color: var(--ink); }

/* ---------- Contatori ---------- */
.stats { background: var(--accent); color: var(--ink); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(0, 0, 0, .04) 22px 44px); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 50px 20px; text-align: center; border-right: 1px solid rgba(11, 18, 32, .15); }
.stat:last-child { border: 0; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; }
.stat span { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }

/* ---------- Aree di soluzione ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.area {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4.4; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: var(--white);
}
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.area::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 10, 18, .1) 0%, rgba(6, 10, 18, .55) 45%, rgba(6, 10, 18, .96) 100%); transition: background .5s; }
.area:hover img { transform: scale(1.1); }
.area:hover::before { background: linear-gradient(180deg, rgba(6, 10, 18, .45) 0%, rgba(6, 10, 18, .9) 50%, rgba(6, 10, 18, .98) 100%); }
.area__num { position: absolute; top: 22px; right: 26px; font-family: var(--display); font-weight: 700; font-size: 3.2rem; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); }
.area__icon { width: 58px; height: 58px; border-radius: 16px; background: var(--accent); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.area__icon svg { width: 30px; height: 30px; }
.area h3 { text-transform: uppercase; font-size: 1.65rem; }
.area p { color: #c8d0df; font-size: .97rem; }
.area__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.area__more > div { overflow: hidden; }
.area:hover .area__more, .area:focus-within .area__more { grid-template-rows: 1fr; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; font-size: .97rem; }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1220' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.area .checklist { margin: 4px 0 16px; }

.help-bar { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 32px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.help-bar p { margin: 0; font-size: 1.1rem; }
.help-bar__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 194, 26, .12); color: var(--accent); margin-right: 14px; vertical-align: middle; }
.help-bar__icon svg { width: 22px; height: 22px; }

/* ---------- Servizi (tab) ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 8px; padding: 6px; background: var(--white); border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(11, 18, 32, .35); margin-bottom: 40px; }
.tab { border: 0; background: none; padding: 12px 24px; border-radius: 999px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-muted); transition: .3s; }
.tab.is-active { background: var(--brand); color: var(--accent); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 12px 34px -20px rgba(11, 18, 32, .4); transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -24px rgba(11, 18, 32, .5); }
.service-card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.08); }
.service-card__icon { position: absolute; left: 24px; top: -31px; z-index: 2; width: 62px; height: 62px; border-radius: 16px; background: var(--brand); color: var(--accent); display: grid; place-items: center; border: 4px solid var(--white); transition: .35s; }
.service-card:hover .service-card__icon { background: var(--accent); color: var(--ink); }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__body { position: relative; padding: 48px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { text-transform: uppercase; }
.service-card__body p { font-size: .97rem; flex: 1; }
.service-card .link-arrow { color: #c98a00; }
.fade-swap { animation: fadeSwap .6s var(--ease) both; }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--night); border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 3rem); text-transform: uppercase; white-space: nowrap; }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
.marquee__item svg { width: 34px; height: 34px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Per chi lavoriamo ---------- */
.audience { display: grid; grid-template-columns: 340px 1fr; gap: 30px; }
.audience__nav { display: grid; gap: 12px; align-content: start; }
.audience__btn {
  text-align: left; border: 1px solid var(--line); background: var(--brand); border-radius: var(--radius); padding: 22px 24px; cursor: pointer;
  display: flex; gap: 16px; align-items: center; transition: .3s; color: var(--text);
}
.audience__btn svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.audience__btn strong { display: block; font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .5px; }
.audience__btn small { color: var(--muted); }
.audience__btn.is-active { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.audience__btn.is-active svg, .audience__btn.is-active small { color: var(--ink); }
.audience__panel { display: none; grid-template-columns: 1.05fr 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; }
.audience__panel.is-active { display: grid; animation: fadeSwap .6s var(--ease) both; }
.audience__media { position: relative; overflow: hidden; }
.audience__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.audience__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.audience__body h3 { font-size: 2.1rem; text-transform: uppercase; }
.audience__body .quote { font-size: 1.12rem; color: #c8d0df; border-left: 3px solid var(--accent); padding-left: 16px; margin-bottom: 22px; }
.audience__body .checklist { margin-bottom: 28px; }

/* ---------- Come lavoriamo ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: p; position: relative; }
.process::before { content: ""; position: absolute; top: 44px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, #c98a00 0 10px, transparent 10px 20px); opacity: .5; }
.process__step { text-align: center; position: relative; }
.process__icon { width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; box-shadow: 0 14px 30px -16px rgba(11, 18, 32, .45); position: relative; transition: .4s var(--ease); }
.process__icon svg { width: 36px; height: 36px; }
.process__icon::after { counter-increment: p; content: "0" counter(p); position: absolute; top: -4px; right: -4px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); font-family: var(--display); font-weight: 700; font-size: .95rem; display: grid; place-items: center; }
.process__step:hover .process__icon { background: var(--ink); color: var(--accent); transform: translateY(-6px); }
.process__step h3 { font-size: 1.3rem; text-transform: uppercase; color: var(--ink); }
.process__step p { font-size: .95rem; }

/* ---------- Casi studio ---------- */
.case-feature { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); border: 1px solid var(--line); margin-bottom: 50px; }
.case-feature__media { position: relative; min-height: 420px; overflow: hidden; }
.case-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-feature:hover .case-feature__media img { transform: scale(1.05); }
.case-feature__tag { position: absolute; left: 20px; top: 20px; background: var(--accent); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-family: var(--display); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: .9rem; }
.case-feature__body { padding: clamp(28px, 4vw, 48px); }
.case-feature__body h3 { font-size: 2rem; text-transform: uppercase; }
.psr { display: grid; gap: 14px; margin: 22px 0 28px; }
.psr div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.psr dt { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }
.psr dd { margin: 0; color: #c8d0df; }
.psr .result dd { color: var(--white); font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { border: 1px solid var(--line); background: transparent; color: var(--text); padding: 10px 22px; border-radius: 999px; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; transition: .3s; }
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 18px; grid-auto-flow: dense; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; isolation: isolate; border: 0; padding: 0; background: var(--panel); text-align: left; color: var(--white); }
.gallery__item:nth-child(6n+1) { grid-row: span 2; }
.gallery__item:nth-child(6n+4), .gallery__item:nth-child(6n) { grid-column: span 2; }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.gallery__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(6, 10, 18, .92)); transition: .4s; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::before { background: linear-gradient(180deg, rgba(6, 10, 18, .2) 0%, rgba(6, 10, 18, .95)); }
.gallery__caption { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.gallery__caption small { color: var(--accent); font-family: var(--display); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.gallery__caption h3 { margin: 2px 0 2px; font-size: 1.5rem; text-transform: uppercase; }
.gallery__caption p { margin: 0; font-size: .92rem; color: #c8d0df; max-height: 0; opacity: 0; transition: .4s var(--ease); overflow: hidden; }
.gallery__item:hover .gallery__caption p { max-height: 60px; opacity: 1; }
.gallery__zoom { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
.gallery__zoom svg { width: 20px; height: 20px; }
.gallery__item:hover .gallery__zoom { transform: scale(1); }
.gallery__item.is-hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3, 6, 12, .94); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: 78vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: contain; }
.lightbox figcaption { margin-top: 16px; text-align: center; }
.lightbox figcaption strong { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; display: block; }
.lightbox__btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: .3s; }
.lightbox__btn:hover { background: var(--accent); color: var(--ink); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 24px; top: 50%; translate: 0 -50%; }

/* ---------- Incentivi (parallax) ---------- */
.parallax { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 150px) 0; isolation: isolate; }
.parallax__bg { position: absolute; inset: -20% 0; z-index: -2; }
.parallax__bg img { width: 100%; height: 100%; object-fit: cover; }
.parallax::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 10, 18, .95) 0%, rgba(6, 10, 18, .75) 60%, rgba(6, 10, 18, .5)); }
.incentive { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.incentive__box { background: rgba(22, 39, 94, .75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.incentive__box li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.incentive__box li:last-child { border: 0; }
.incentive__box li span:last-child { color: var(--accent); font-weight: 600; text-align: right; }
.note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---------- Recensioni ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: center; }
.rating { display: flex; align-items: center; gap: 18px; margin: 24px 0 30px; }
.rating strong { font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--ink); }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 20px; height: 20px; }
.slider { position: relative; overflow: hidden; }
.slider__track { display: flex; transition: transform .7s var(--ease); }
.review { flex: 0 0 100%; padding: 4px; }
.review__card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: 0 16px 40px -22px rgba(11, 18, 32, .45); position: relative; }
.review__card::before { content: "\201C"; position: absolute; right: 30px; top: -10px; font-family: Georgia, serif; font-size: 9rem; line-height: 1; color: var(--accent); opacity: .5; }
.review__card p { font-size: 1.08rem; color: var(--ink); line-height: 1.6; }
.review__author { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.review__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.review__author strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; }
.slider__nav { display: flex; gap: 10px; margin-top: 24px; }
.slider__dot { width: 12px; height: 12px; border-radius: 999px; border: 0; background: #c7cdd8; cursor: pointer; transition: .3s; padding: 0; }
.slider__dot.is-active { width: 36px; background: var(--brand); }

/* ---------- Questionario ---------- */
.wizard-wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: start; }
.wizard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow); }
.wizard__progress { display: flex; gap: 8px; margin-bottom: 26px; }
.wizard__progress span { flex: 1; height: 5px; border-radius: 5px; background: var(--panel-2); position: relative; overflow: hidden; }
.wizard__progress span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.wizard__progress span.is-done::after { transform: none; }
.wizard__step { display: none; }
.wizard__step.is-active { display: block; animation: fadeSwap .5s var(--ease) both; }
.wizard__step h3 { font-size: 1.8rem; text-transform: uppercase; }
.wizard__count { color: var(--accent); font-family: var(--display); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .95rem; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0 26px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option span { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--field); transition: .25s; font-weight: 500; height: 100%; }
.option svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.option:hover span { border-color: rgba(255, 194, 26, .5); }
.option input:checked + span { border-color: var(--accent); background: rgba(255, 194, 26, .1); box-shadow: inset 0 0 0 1px var(--accent); }
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wizard__actions { display: flex; justify-content: space-between; gap: 12px; }
.wizard__summary { background: var(--field); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; font-size: .95rem; }
.wizard__summary div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.wizard__summary b { color: var(--accent); text-align: right; }

/* ---------- Form ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .5px; margin-bottom: 6px; color: var(--muted); text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 194, 26, .18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { margin-top: 5px; accent-color: var(--accent); }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; background: rgba(46, 204, 113, .12); color: #7ee2a8; font-weight: 600; }
.form-msg.is-visible { display: block; }

/* ---------- Zone ---------- */
.zones { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: .95rem; box-shadow: 0 6px 18px -12px rgba(11, 18, 32, .4); transition: .25s; }
.chip svg { width: 15px; height: 15px; color: #c98a00; }
.chip:hover { background: var(--brand); color: var(--accent); }
.chip--main { background: var(--accent); }
.radar { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #e8ecf3 100%); box-shadow: inset 0 0 0 1px #dfe4ec; overflow: hidden; }
.radar__ring { position: absolute; inset: var(--i); border-radius: 50%; border: 1px dashed #c3cad6; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 194, 26, .45), transparent 25%); animation: spin 6s linear infinite; }
.radar__dot { position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(11, 18, 32, .12); }
.radar__dot span { position: absolute; left: 16px; top: -6px; white-space: nowrap; font-size: .8rem; font-weight: 700; color: var(--ink); }
.radar__center { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 194, 26, .7); animation: pulse 2s infinite; }
.radar__center + span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 18px); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink); }
@keyframes pulse { 70% { box-shadow: 0 0 0 26px rgba(255, 194, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 194, 26, 0); } }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; }
.contact__info { display: grid; gap: 14px; align-content: start; }
.info-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: .3s; }
.info-card:hover { border-color: rgba(255, 194, 26, .5); transform: translateY(-3px); }
.info-card__icon { width: 54px; height: 54px; flex: none; border-radius: 14px; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.info-card__icon svg { width: 26px; height: 26px; }
.info-card small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; font-weight: 600; }
.info-card strong { font-family: var(--display); font-size: 1.4rem; letter-spacing: .5px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 240px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.contact__form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 42px); }

/* ---------- CTA finale ---------- */
.cta-band { background: var(--accent); color: var(--ink); padding: 50px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .2); }
.cta-band .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--night); padding-top: 80px; color: var(--muted); font-size: .96rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer h4 { color: var(--white); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer li { padding: 5px 0; }
.footer a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .88rem; }
.footer__bottom nav { display: flex; gap: 20px; }

/* ---------- Floating ---------- */
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6); transition: transform .3s; }
.whatsapp:hover { transform: scale(1.1); }
.whatsapp svg { width: 32px; height: 32px; }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(20px); transition: .3s; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top svg { width: 20px; height: 20px; }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 420px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); font-size: .9rem; display: none; }
.cookie.is-visible { display: block; animation: fadeSwap .5s var(--ease) both; }
.cookie p { margin-bottom: 14px; color: var(--muted); }
.cookie__actions { display: flex; gap: 10px; }
.cookie__actions .btn { flex: 1; justify-content: center; } /* Accetta e Solo necessari con lo stesso peso */
.cookie__title { display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: .5px; text-transform: uppercase; color: var(--text); margin: 0 30px 8px 0; }
.cookie__close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.cookie__close:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.cookie__close svg { width: 18px; height: 18px; }
.cookie-tab { position: fixed; left: 16px; bottom: 16px; z-index: 89; display: none; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font: 600 .78rem/1 var(--body); cursor: pointer; box-shadow: var(--shadow); }
.cookie-tab.is-visible { display: inline-flex; }
.cookie-tab:hover { color: var(--text); }
.cookie-tab svg { width: 15px; height: 15px; }

/* ---------- Pagina servizio ---------- */
.page-hero { position: relative; padding: clamp(110px, 14vw, 170px) 0 clamp(80px, 9vw, 110px); overflow: hidden; isolation: isolate; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: zoomOut 8s ease-out both; }
@keyframes zoomOut { from { transform: scale(1.15); } }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 10, 18, .95), rgba(6, 10, 18, .6)); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 900px; }
.page-hero p { max-width: 680px; font-size: 1.15rem; color: #c8d0df; }
.breadcrumb { display: flex; gap: 10px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span::before { content: "/"; margin-right: 10px; opacity: .5; }
.svc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--white); border-radius: var(--radius); color: var(--ink); font-weight: 600; box-shadow: 0 8px 22px -16px rgba(11, 18, 32, .4); }
.svc-list li svg { width: 22px; height: 22px; color: #c98a00; flex: none; }
.svc-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: 110px; box-shadow: var(--shadow); }
.svc-text { max-width: 860px; }
.svc-text h2 { margin-top: 1.2em; }
.svc-text > div:first-child h2 { margin-top: 0; }
.svc-text p { color: var(--ink-muted); font-size: 1.08rem; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: .35s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: rgba(255, 194, 26, .45); }
.card__icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(255, 194, 26, .12); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { text-transform: uppercase; }
.card p { color: var(--muted); margin: 0; }
.norms { display: flex; flex-wrap: wrap; gap: 12px; }
.brands { display: flex; flex-wrap: wrap; gap: 12px; }
.brand { padding: 12px 20px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 1px; color: var(--white); background: rgba(255, 255, 255, .04); transition: .25s; }
.brand:hover { border-color: var(--accent); color: var(--accent); }
.brands-home { margin-top: clamp(50px, 7vw, 80px); text-align: center; }
.brands-home .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.brands-home .brands { justify-content: center; margin-top: 22px; }
.section--light .brand { color: var(--ink); background: var(--white); border-color: rgba(11, 18, 32, .1); box-shadow: 0 6px 18px -12px rgba(11, 18, 32, .4); }
.section--light .brand:hover { background: var(--brand); color: var(--accent); }
.norm { padding: 12px 20px; border: 1px solid rgba(255, 194, 26, .4); border-radius: 12px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 1px; color: var(--accent); background: rgba(255, 194, 26, .06); }
.photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; height: 380px; }
.photos .gallery__item { cursor: zoom-in; }
.faq { max-width: 900px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius); box-shadow: 0 8px 22px -16px rgba(11, 18, 32, .4); overflow: hidden; }
.faq summary { padding: 22px 60px 22px 26px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 1.4rem; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 22px; margin: 0; color: var(--ink-muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .area { aspect-ratio: 4 / 4.2; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .topbar__info span:nth-child(3), .topbar__social { display: none; }
  .method, .wizard-wrap, .reviews, .zones, .contact, .incentive, .svc-grid, .section-head--split { grid-template-columns: 1fr; }
  .collage { max-width: 560px; }
  .collage__small { border-color: var(--paper); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: 1fr; }
  .audience__nav { grid-template-columns: repeat(3, 1fr); }
  .audience__btn { flex-direction: column; text-align: center; padding: 16px 12px; }
  .audience__btn small { display: none; }
  .audience__btn strong { font-size: 1.1rem; }
  .audience__panel.is-active { grid-template-columns: 1fr; }
  .audience__media { aspect-ratio: 16 / 9; }
  .case-feature { grid-template-columns: 1fr; }
  .case-feature__media { min-height: 280px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .gallery__item:nth-child(6n+4), .gallery__item:nth-child(6n) { grid-column: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(11, 18, 32, .15); }
  .hero__controls { bottom: auto; top: 30px; }
  .svc-media { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .cards-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .topbar { display: none; }
  .header .container { height: 70px; }
  .hero { min-height: 0; }
  .hero__content { padding: 90px 0 150px; }
  .hero__controls { display: none; }
  .hero .btn { width: 100%; justify-content: center; }
  .features { margin-top: -90px; }
  .features__grid { grid-template-columns: 1fr; }
  .feature { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 24px; }
  .areas, .services, .gallery, .cards-4, .svc-list, .options, .form { grid-template-columns: 1fr; }
  .gallery__item:nth-child(6n+1) { grid-row: auto; }
  .process { grid-template-columns: 1fr 1fr; }
  .collage__badge { left: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .photos { grid-template-columns: 1fr; height: auto; grid-auto-rows: 240px; }
  .audience__nav { grid-template-columns: 1fr; }
  .audience__btn { flex-direction: row; text-align: left; }
  .psr div { grid-template-columns: 1fr; gap: 2px; }
  .help-bar { padding: 22px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .cookie-tab span { display: none; } /* su telefono solo l icona */
  .cookie-tab { padding: 9px; left: 12px; bottom: 12px; }
  .whatsapp { bottom: 90px; }
  .to-top { bottom: 160px; }
}

/* Evita che slider e contenuti larghi allarghino le colonne della griglia */
.reviews > *, .method > *, .wizard-wrap > *, .zones > *, .contact > *, .incentive > *, .svc-grid > *, .audience > * { min-width: 0; }
/* Su touch screen le schede delle aree mostrano subito l'elenco */
@media (hover: none) { .area__more { grid-template-rows: 1fr; } .gallery__caption p { max-height: 60px; opacity: 1; } .gallery__zoom { transform: scale(1); } }

/* Referenti nei contatti */
.info-card__mail { display: block; margin-top: 2px; font-size: .9rem; color: var(--muted); word-break: break-all; }
.info-card__mail:hover, .info-card strong a:hover { color: var(--accent); }
.info-card small { color: var(--accent); }
.review__card .stars { margin-bottom: 14px; }

/* ---------- Pagine legali (cookie policy) ---------- */
.page-hero--plain { background: radial-gradient(120% 140% at 85% 0%, var(--panel) 0%, var(--night) 60%); }
.page-hero--plain::before { display: none; }
.legal-wrap { padding-top: clamp(50px, 7vw, 90px); }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.legal-toc { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 4px; font-size: .95rem; }
.legal-toc strong { font-family: var(--display); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; color: var(--ink); }
.legal-toc a { color: var(--ink-muted); padding: 6px 0 6px 14px; border-left: 2px solid #d9dee8; transition: color .2s, border-color .2s; }
.legal-toc a:hover { color: var(--ink); border-color: var(--accent); }
.legal-toc .btn { margin-top: 18px; align-self: flex-start; }
.legal { max-width: 780px; color: var(--ink); }
.section--light .legal p, .section--light .legal li, .section--light .legal dd { color: #3c475c; }
.legal__updated { font-size: .9rem; }
.legal h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); text-transform: uppercase; margin-top: 2.2em; padding-top: .4em; scroll-margin-top: 110px; }
.legal h2:first-of-type { margin-top: .6em; }
.legal h3 { font-size: 1.45rem; margin-top: 1.8em; }
.legal h4 { font-size: 1.2rem; margin-bottom: .4em; }
.legal__cat { margin-top: 1.6em; color: #c98a00; text-transform: uppercase; letter-spacing: .5px; font-size: 1.05rem !important; }
.legal a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal code { font-size: .88em; background: #e6eaf2; padding: 1px 6px; border-radius: 4px; color: var(--ink); }
.legal-card { background: var(--white); border: 1px solid #e1e6ef; border-radius: var(--radius); padding: 22px 24px; margin: 16px 0 22px; box-shadow: 0 10px 30px -22px rgba(11, 18, 32, .5); }
.legal-card > p:last-of-type { margin-bottom: 0; }
.legal-card dl { margin: 16px 0 0; display: grid; gap: 10px; }
.legal-card dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid #edf0f5; }
.legal-card dt { font-weight: 600; color: var(--ink); font-size: .92rem; }
.legal-card dd { margin: 0; }
.legal-card dd ul { margin: 0; padding-left: 1.1em; }
.legal__owner { font-style: normal; line-height: 1.8; color: #3c475c; }
.legal__owner strong { color: var(--ink); font-size: 1.1rem; }
.legal__browsers { columns: 2; }
.legal__defs dt { font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; color: var(--ink); margin-top: 1.2em; }
.legal__defs dd { margin: .3em 0 0; }
.legal__link { background: none; border: 0; padding: 0; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: none; }
  .legal-card dl > div { grid-template-columns: 1fr; gap: 2px; }
  .legal__browsers { columns: 1; }
}

/* ---------- Mappa bloccata finché non c'è il consenso ---------- */
.map__consent { height: 100%; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: var(--muted); font-size: .92rem; background: var(--field); }
.map__consent a:not(.btn) { color: var(--accent); text-decoration: underline; }
.cookie p a { color: var(--accent); text-decoration: underline; }
.footer__bottom nav button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.footer__bottom nav { flex-wrap: wrap; gap: 8px 20px; }
[hidden] { display: none !important; }
