/* Raison Pictures — identità FPV · premium moderno */
:root {
  /* Tema chiaro: avorio caldo, testo antracite, oro sobrio */
  --bg: #f6f1e8;
  --bg-2: #ede6d8;
  --card: #fdfbf7;
  --line: rgba(32, 27, 18, 0.11);
  --line-2: rgba(32, 27, 18, 0.2);
  --head: #17140f;
  --text: #2b2721;
  --muted: #6a645a;
  --dim: #948d80;
  --gold: #94722b;
  --gold-2: #b58f43;
  --fill: rgba(32, 27, 18, 0.04);
  --numc: rgba(32, 27, 18, 0.1);
  --hdr: rgba(246, 241, 232, 0.84);
  --menu-bg: rgba(246, 241, 232, 0.98);
  --btn-bg: #17140f;
  --btn-fg: #fbf8f2;
  --btn-hover: #94722b;
  --shadow: 0 30px 80px rgba(60, 45, 20, 0.12);
  --radius: 18px;
  --max: 1200px;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}
/* Blocchi scuri (video, lavori, chiamata finale, footer, schede servizio) */
.dark, .service, .work, .reel, .lightbox, .site-footer, .cta {
  --bg: #09090a;
  --bg-2: #0f0f11;
  --card: #131316;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --head: #ffffff;
  --text: #ecebe6;
  --muted: #a19d94;
  --dim: #77736b;
  --gold: #c9a96e;
  --gold-2: #e6cd9a;
  --fill: var(--fill);
  --numc: var(--numc);
  --btn-bg: #c9a96e;
  --btn-fg: #0a0a0b;
  --btn-hover: #e6cd9a;
  color: var(--text);
}
.section.dark, .cta, .site-footer { background: var(--bg); }
.section.dark { border-top: 0; border-bottom: 0; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: #c9a96e; color: #0a0a0b; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; position: relative; }
.section.tight { padding: 80px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── Tipografia ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); opacity: 0.7; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; color: var(--head); }
h1 { font-size: clamp(42px, 6.4vw, 92px); }
h2 { font-size: clamp(32px, 4.6vw, 62px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
em, .accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); letter-spacing: -0.01em; font-size: 1.1em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.7; max-width: 640px; }
.muted { color: var(--muted); }

/* ── Bottoni ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 1px solid transparent;
  font: 600 14px/1 var(--sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: transform 0.25s, background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 8px 26px rgba(30, 24, 10, 0.18); }
.btn-primary:hover { background: var(--btn-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(30, 24, 10, 0.25); }
.dark .btn-primary:hover, .cta .btn-primary:hover { color: #0a0a0b; }
.btn-ghost { border-color: var(--line-2); color: var(--head); background: var(--fill); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn .arr { transition: transform 0.25s; }
.btn:hover .arr { transform: translateX(4px); }

/* ── Header ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0;
  transition: background 0.35s, backdrop-filter 0.35s, padding 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
  background: var(--hdr); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line); padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.03em; color: var(--head); }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.logo .wm { font-weight: 600; }
.logo .wm i { font-style: normal; color: var(--gold); }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--head); }
.header-cta { padding: 12px 22px; font-size: 13px; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--head); transition: transform 0.3s, opacity 0.3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--menu-bg);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 100px 32px 40px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; padding: 8px 0; color: var(--head); }
.mobile-menu .btn { margin-top: 24px; font-size: 15px; align-self: flex-start; }

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 150px 0 80px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 50% at 78% 15%, rgba(201, 169, 110, 0.26), transparent 70%),
  radial-gradient(50% 45% at 6% 95%, rgba(201, 169, 110, 0.14), transparent 70%),
  var(--bg); }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: 0.6;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 84px 84px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 100%); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 100%); }
.flight { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.flight path { fill: none; stroke: #b08a3c; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 6 12; opacity: 0.55; animation: dash 60s linear infinite; }
.flight path.solid { stroke-dasharray: 1400; stroke-dashoffset: 1400; opacity: 0.9; animation: draw 4.5s 0.6s cubic-bezier(.4, 0, .2, 1) forwards; }
.flight circle { fill: var(--gold); }
@keyframes dash { to { stroke-dashoffset: -1200; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-content { position: relative; max-width: 1040px; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.hero-meta b { color: var(--head); font-weight: 600; }
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ── Reel ── */
.reel { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 9; background: var(--card); box-shadow: var(--shadow); }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s; }
.reel.ready video { opacity: 1; }
.reel-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px;
  background: radial-gradient(70% 90% at 30% 20%, rgba(201, 169, 110, 0.14), transparent 70%), linear-gradient(160deg, #17171a, #0c0c0e); }
.reel.ready .reel-empty { display: none; }
.play { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; background: rgba(201, 169, 110, 0.08); }
.play svg { width: 26px; height: 26px; fill: var(--gold); margin-left: 4px; }
.reel-empty p { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.reel-tag { position: absolute; left: 20px; top: 20px; z-index: 2; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: rgba(9, 9, 10, 0.7); backdrop-filter: blur(8px); border: 1px solid var(--line-2); color: var(--head); }

/* ── Strip ── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 30px 28px; border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--head); }
.strip-item span { font-size: 13px; color: var(--muted); }

/* ── Titoli sezione ── */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head > div { max-width: 700px; }
.section-head h2 { max-width: 740px; }
.section-head p { max-width: 360px; color: var(--muted); }

/* ── Servizi ── */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; padding: 40px; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); text-decoration: none; isolation: isolate;
  background: linear-gradient(180deg, transparent 20%, rgba(9, 9, 10, 0.92)), var(--card);
  transition: transform 0.4s, border-color 0.4s;
}
.service::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.9; transition: transform 0.8s, opacity 0.4s; background: var(--art); }
.service.home { --art: radial-gradient(70% 60% at 25% 0%, rgba(201, 169, 110, 0.32), transparent 65%), linear-gradient(140deg, #1c1a16, #0d0d0f); }
.service.hotel { --art: radial-gradient(70% 60% at 80% 0%, rgba(160, 190, 210, 0.22), transparent 65%), linear-gradient(140deg, #141719, #0d0d0f); }
.service:hover { transform: translateY(-6px); border-color: var(--gold); }
.service:hover::before { transform: scale(1.06); }
.service .num { position: absolute; top: 34px; right: 40px; font-family: var(--serif); font-style: italic; font-size: 64px; color: var(--numc); line-height: 1; }
.service .tag { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.service h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.service p { color: var(--muted); max-width: 440px; margin-bottom: 22px; }
.service ul { list-style: none; display: grid; gap: 8px; margin-bottom: 30px; font-size: 14px; color: var(--text); }
.service li { display: flex; gap: 12px; align-items: center; }
.service li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
.service .more { font-weight: 600; font-size: 14px; color: var(--head); display: inline-flex; gap: 10px; align-items: center; }
.services-note { margin-top: 22px; font-size: 14px; color: var(--muted); }
.services-note a { color: var(--gold); text-underline-offset: 4px; }

/* ── Perché FPV ── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 36px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.3s; }
.feature:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(201, 169, 110, 0.1); border: 1px solid rgba(201, 169, 110, 0.25); margin-bottom: 24px; }
.feature .ico svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ── Come funziona ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 36px 32px 8px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--gold); opacity: 0.9; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ── Lavori (slot video) ── */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.work video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s; }
.work.ready video { opacity: 1; }
.work .reel-empty { gap: 12px; }
.work.ready .reel-empty { display: none; }
.work .play { width: 60px; height: 60px; } .work .play svg { width: 18px; height: 18px; }
.work-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); font-size: 14px; font-weight: 600; z-index: 2; }
.work-label small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ── Chi sono ── */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.about-photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(9, 9, 10, 0.7)); }
.about h2 { margin-bottom: 26px; }
.about p { color: var(--muted); margin-bottom: 18px; max-width: 560px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fact { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; color: var(--text); }

/* ── FAQ ── */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; position: relative; color: var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--gold); transition: transform 0.3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 48px 28px 0; max-width: 720px; }
.faq details p a { color: var(--gold); }

/* ── CTA finale ── */
.cta { position: relative; text-align: center; padding: 140px 0; overflow: hidden; isolation: isolate; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(201, 169, 110, 0.2), transparent 70%); }
.cta h2 { max-width: 820px; margin: 0 auto 22px; }
.cta .lead { margin: 0 auto 40px; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.footer-grid h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-grid ul { list-style: none; display: grid; gap: 11px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--head); }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-bottom a { color: var(--dim); }

/* ── Pagine interne ── */
.page-hero { padding: 170px 0 60px; position: relative; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 80% 0%, rgba(201, 169, 110, 0.13), transparent 70%); }
.page-hero h1 { font-size: clamp(38px, 6vw, 78px); margin-bottom: 24px; max-width: 900px; }
.crumbs { font-size: 13px; color: var(--dim); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.container.prose { max-width: var(--max); padding-bottom: 40px; }
.prose > * { max-width: 820px; }
.prose > .gallery3 { max-width: 100%; }
.prose h2 { font-size: clamp(26px, 3vw, 38px); margin: 64px 0 20px; }
.prose h3 { margin: 34px 0 10px; font-size: 19px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.prose ul { margin: 0 0 18px 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--head); font-weight: 600; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.prose-cta { margin: 56px 0 0; padding: 44px; border-radius: 24px; border: 1px solid var(--line-2); background: radial-gradient(80% 120% at 100% 0%, rgba(201, 169, 110, 0.12), transparent 60%), var(--card); }
.prose-cta p { color: var(--text); font-size: 18px; margin-bottom: 22px; }
.more-links { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; }
.more-links span { width: 100%; color: var(--dim); font-size: 13px; }
.more-links a { color: var(--gold); text-decoration: none; }
.gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 24px; }
.gallery3 img { width: 100%; height: 100%; min-height: 220px; max-height: 340px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }

/* ── Portfolio foto ── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--muted); font: 500 13px var(--sans); cursor: pointer; transition: all 0.25s; }
.chip:hover, .chip.active { border-color: var(--gold); color: var(--gold-2); background: rgba(201, 169, 110, 0.08); }
.masonry { columns: 3; column-gap: 14px; }
.masonry button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); cursor: zoom-in; break-inside: avoid; transition: transform 0.3s, border-color 0.3s; }
.masonry button:hover { transform: translateY(-3px); border-color: var(--gold); }
.masonry button.hide { display: none; }
.masonry img { width: 100%; height: auto; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 4, 5, 0.96); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--fill); color: var(--head); font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { border-color: var(--gold); color: var(--gold); }
.lb-close { top: 24px; right: 24px; } .lb-prev { left: 24px; } .lb-next { right: 24px; }

/* ── Form preventivo ── */
.form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.form-card { padding: 44px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.field { margin-bottom: 26px; }
.field > label, .legend { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--head); margin-bottom: 10px; }
.field .opt { color: var(--dim); font-weight: 400; }
.input { width: 100%; padding: 15px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--fill); color: var(--head); font: 400 15px var(--sans); transition: border-color 0.2s, background 0.2s; }
.input::placeholder { color: var(--dim); }
.input:focus { outline: none; border-color: var(--gold); background: rgba(201, 169, 110, 0.05); }
textarea.input { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choices.two { grid-template-columns: repeat(2, 1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 16px 14px; border-radius: 12px; border: 1px solid var(--line-2); text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); transition: all 0.2s; }
.choice input:checked + span { border-color: var(--gold); color: var(--head); background: rgba(201, 169, 110, 0.1); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 26px; }
.consent input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--gold); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-msg { margin-top: 16px; font-size: 14px; }
.form-msg.err { color: #ff9c8a; }
.form-side { display: grid; gap: 16px; position: sticky; top: 110px; }
.side-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.side-card h3 { font-size: 18px; margin-bottom: 14px; }
.side-card ul { list-style: none; display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.side-card li { display: flex; gap: 12px; }
.side-card li::before { content: '✓'; color: var(--gold); font-weight: 700; }
.side-card a { color: var(--gold); text-decoration: none; }
.success { text-align: center; padding: 60px 20px; display: none; }
.success.show { display: block; }
.success h2 { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 14px; }
.success p { color: var(--muted); max-width: 460px; margin: 0 auto 28px; }

/* ── Reveal ── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(.2, .7, .2, 1), transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; } .js .reveal.d2 { transition-delay: 0.16s; } .js .reveal.d3 { transition-delay: 0.24s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav-links { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-side { position: static; }
}
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .nav-links, .header-cta { display: none; }
  .burger { display: block; }
  .services, .features, .works, .about { grid-template-columns: 1fr; }
  .about { gap: 44px; }
  .service { min-height: 440px; padding: 30px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step, .step + .step { padding: 30px 20px 10px 0; border-left: 0; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-item { border-bottom: 1px solid var(--line); }
  .strip-item:nth-child(2n) { border-right: 0; }
  .work { aspect-ratio: 16 / 10; }
  .masonry { columns: 2; }
  .gallery3 { grid-template-columns: 1fr 1fr; }
  .gallery3 img:last-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  .container { padding: 0 22px; }
  .hero { padding: 120px 0 56px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { margin-top: 40px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-bottom: 1px solid var(--line); padding: 28px 0; }
  .masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-card { padding: 28px 22px; }
  .row2, .choices { grid-template-columns: 1fr; }
  .choices.two { grid-template-columns: 1fr; }
  .prose-cta { padding: 30px 22px; }
  .cta { padding: 96px 0; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; } .lightbox { padding: 20px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flight path, .flight path.solid { animation: none; stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Sezione "problema" ── */
.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pain-col { padding: 40px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); }
.pain-col h3 { font-size: 26px; margin-bottom: 6px; }
.pain-col .who { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 28px; }
.pain-col ul { list-style: none; display: grid; gap: 14px; }
.pain-col li { position: relative; padding: 18px 20px 18px 54px; border-radius: 14px; background: var(--fill); border: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--text); font-weight: 500; }
.pain-col li::before { content: '\201C'; position: absolute; left: 18px; top: 6px; font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--gold); opacity: 0.85; }
.pain-note { margin: 48px auto 0; max-width: 720px; text-align: center; font-size: clamp(20px, 2.3vw, 28px); line-height: 1.4; letter-spacing: -0.02em; color: var(--head); font-weight: 600; }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr; } .pain-col { padding: 28px 22px; } }

/* ── Rifiniture tema chiaro ── */
.feature, .pain-col, .side-card, .form-card, .prose-cta { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 12px 40px rgba(60, 45, 20, 0.06); }
.feature:hover { box-shadow: 0 18px 50px rgba(60, 45, 20, 0.1); }
.pain-col li { background: #fff; border-color: var(--line); box-shadow: 0 2px 10px rgba(60, 45, 20, 0.04); }
.strip { background: var(--bg-2); }
.about-photo::after { background: linear-gradient(transparent 70%, rgba(23, 20, 15, 0.35)); }
.site-header .logo img { box-shadow: 0 4px 14px rgba(30, 24, 10, 0.25); }
.btn-ghost { background: transparent; }
.cta::before { background: radial-gradient(50% 70% at 50% 100%, rgba(201, 169, 110, 0.28), transparent 70%); }
.service h3, .service .more { color: #fff; }
.faq summary, .prose strong { color: var(--head); }
.masonry button { background: var(--card); }
.dark .section-head p, .dark .lead { color: var(--muted); }

/* ═══════════════ VERSIONE 4 — stile Apple ═══════════════ */
:root {
  --bg: #fff; --bg-2: #f5f5f7; --card: #fff;
  --line: rgba(0, 0, 0, 0.1); --line-2: rgba(0, 0, 0, 0.18);
  --head: #1d1d1f; --text: #1d1d1f; --muted: #6e6e73; --dim: #86868b;
  --gold: #8f6b1f; --gold-2: #a9812f;
  --fill: rgba(0, 0, 0, 0.04); --numc: rgba(0, 0, 0, 0.1);
  --btn-bg: #1d1d1f; --btn-fg: #fff; --btn-hover: #8f6b1f;
  --ac: #e6c98a; --ac-d: #8f6b1f;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html { scroll-behavior: auto; }
body { font-family: var(--sans); font-size: 17px; letter-spacing: -0.011em; background: #fff; }
em { font-family: inherit; font-style: normal; font-size: inherit; letter-spacing: inherit; color: var(--ac-d); }
.dark em, .cta em { color: var(--ac); }
h1, h2, h3 { letter-spacing: -0.035em; }

/* — barra di scorrimento e navigazione — */
.nav4 { position: fixed; inset: 0 0 auto 0; z-index: 200; height: 48px; background: rgba(22, 22, 24, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav4-in { max-width: 1024px; height: 48px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav4-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #f5f5f7; font-size: 15px; letter-spacing: -0.02em; }
.nav4-brand img { width: 24px; height: 24px; border-radius: 6px; }
.nav4-brand b { font-weight: 600; } .nav4-brand i { font-style: normal; color: var(--ac); }
.nav4-links { display: flex; gap: 30px; list-style: none; }
.nav4-links a { color: rgba(245, 245, 247, 0.82); text-decoration: none; font-size: 12px; letter-spacing: -0.01em; transition: color 0.2s; }
.nav4-links a:hover { color: #fff; }
.nav4-cta { background: var(--ac); color: #1d1d1f; font-size: 12px; font-weight: 500; padding: 5px 13px; border-radius: 980px; text-decoration: none; transition: transform 0.3s var(--ease), background 0.2s; }
.nav4-cta:hover { background: #f3dcaa; transform: scale(1.06); }
.nav4-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.nav4-bar i { display: block; height: 100%; width: 100%; background: var(--ac); transform: scaleX(0); transform-origin: left; }
.burger { border-color: rgba(255, 255, 255, 0.25); width: 36px; height: 36px; }
.burger span { background: #f5f5f7; left: 10px; right: 10px; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; }
.burger.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); opacity: 1; }
.mobile-menu { background: #000; z-index: 150; }
.mobile-menu a { color: #f5f5f7; font-size: 40px; font-weight: 700; letter-spacing: -0.04em; }
@media (max-width: 800px) { .nav4-links, .nav4-cta { display: none; } .burger { display: block; } }

/* — bottoni e link — */
.pill { display: inline-block; padding: 13px 24px; border-radius: 980px; font-size: 17px; font-weight: 500; text-decoration: none; letter-spacing: -0.02em; transition: background 0.25s, transform 0.4s var(--ease), box-shadow 0.3s; will-change: transform; }
.pill-fill { background: var(--ac); color: #1d1d1f; box-shadow: 0 0 0 0 rgba(230, 201, 138, 0.5); animation: pulse 3.2s 2.4s infinite; }
.pill-fill:hover { background: #f4ddae; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230, 201, 138, 0.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(230, 201, 138, 0); } }
.tl { color: var(--ac-d); text-decoration: none; font-size: 19px; letter-spacing: -0.02em; display: inline-flex; gap: 6px; align-items: center; }
.tl::after { content: '›'; transition: transform 0.3s var(--ease); font-size: 1.2em; line-height: 1; }
.tl:hover::after { transform: translateX(5px); }
.tl:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero4 .tl, .tile-dark .tl, .xv .tl, .cta4 .tl { color: var(--ac); }

/* — utilità di comparsa — */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-scale { opacity: 0; transform: scale(0.9) translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .rv-scale.in { opacity: 1; transform: none; }
.ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.ln > span { display: block; transform: translateY(112%); transition: transform 1.25s var(--ease); }
.js .ln > span { transform: translateY(112%); }
.in .ln > span, .ready .ln > span, .ln.in > span { transform: none; }
.hero4 .ln:nth-child(2) > span { transition-delay: 0.12s; }
.hero4-text .rv { transition-delay: 0.5s; }
.hero4-text .rv + .rv { transition-delay: 0.65s; }

/* — HERO — */
.hero4 { position: relative; background: #000; color: #f5f5f7; height: 100svh; min-height: 720px; overflow: hidden; isolation: isolate; }
.hero4-bg { position: absolute; inset: 0; z-index: 0; }
.hero4-bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s; }
.hero4-bg.ready video { opacity: 0.55; }
.hero4-spot { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(230, 201, 138, 0.11), transparent 60%); }
.hero4-text { position: relative; z-index: 3; text-align: center; padding: clamp(96px, 14vh, 150px) 22px 0; max-width: 1100px; margin: 0 auto; }
.kicker { font-size: 17px; font-weight: 600; color: var(--ac); margin-bottom: 14px; letter-spacing: -0.02em; }
.mega { font-size: clamp(50px, 10.4vw, 148px); font-weight: 700; line-height: 0.98; letter-spacing: -0.055em; color: #f5f5f7; margin-bottom: 26px; }
.hero4-sub { font-size: clamp(17px, 1.9vw, 24px); line-height: 1.3; font-weight: 500; color: #a1a1a6; max-width: 900px; margin: 0 auto 26px; letter-spacing: -0.02em; }
.hero4-links { display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; z-index: 4; width: 24px; height: 40px; border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #f5f5f7; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* — la pianta 3D — */
.plan-wrap { perspective: 1700px; pointer-events: none; }
.plan { position: relative; transform-style: preserve-3d; }
.plan svg { display: block; width: 100%; height: auto; overflow: visible; }
.plan-walls { position: absolute; inset: 0; transform: translateZ(16px); }
.plan-walls.base { transform: none; opacity: 0.4; }
.plan text { text-rendering: geometricPrecision; }
.plan-floor .labels text { opacity: 0; transition: opacity 0.5s; }
.plan-floor .labels text.on { opacity: 0.95; }
.hero-plan { position: absolute; left: 50%; bottom: -47%; width: min(1240px, 140vw); margin-left: calc(min(1240px, 140vw) / -2); z-index: 2; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); opacity: 0; transition: opacity 0.9s 0.1s; }
.ready .hero-plan { opacity: 1; }
.hero-plan .plan { transform: rotateX(62deg) rotateZ(calc(-30deg + var(--rz, 0deg))) translateY(var(--ty, 0px)); }

/* — testo che si accende — */
.statement, .cost { padding: clamp(110px, 20vh, 220px) 22px; }
.statement { background: #fbfbfd; }
.wrap { max-width: 1024px; margin: 0 auto; }
.words { font-size: clamp(30px, 5.2vw, 68px); line-height: 1.08; font-weight: 700; letter-spacing: -0.045em; }
.words .w { color: rgba(29, 29, 31, 0.14); transition: color 0.35s; }
.words .w.lit { color: #1d1d1f; }
.cost { background: #000; }
.words-dark .w { color: rgba(245, 245, 247, 0.16); }
.words-dark .w.lit { color: #f5f5f7; }

/* — la storia scrollabile — */
.story { position: relative; height: 640vh; background: #000; color: #f5f5f7; }
.story-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.story-top { position: absolute; top: 76px; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; padding: 0 clamp(22px, 5vw, 64px); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: #86868b; }
.story-count b { color: var(--ac); font-weight: 600; font-variant-numeric: tabular-nums; }
.story-plan { position: absolute; left: 50%; top: 50%; width: min(1000px, 150vw); margin-left: calc(min(1000px, 150vw) / -2); margin-top: calc(min(1000px, 150vw) * -0.34); }
.story-plan .plan { transform: rotateX(58deg) rotateZ(-38deg) scale(1.15); }
.caps { position: absolute; left: clamp(22px, 5vw, 64px); right: clamp(22px, 5vw, 64px); bottom: clamp(48px, 9vh, 96px); z-index: 5; height: 3.4em; font-size: clamp(30px, 5.6vw, 76px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.cap { position: absolute; left: 0; bottom: 0; max-width: 16em; opacity: 0; transform: translateY(26px); filter: blur(10px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), filter 0.6s; }
.cap.on { opacity: 1; transform: none; filter: none; }
.cap.final { background: linear-gradient(90deg, #fff, var(--ac)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.1); z-index: 6; }
.story-bar i { display: block; height: 100%; background: var(--ac); transform-origin: left; transform: scaleX(0); }
.story::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.story-pin::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4; background: radial-gradient(70% 60% at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.85)), linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent 45%); }

/* — striscia scorrevole — */
.marquee { background: #000; color: #f5f5f7; overflow: hidden; padding: clamp(40px, 8vw, 90px) 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.marquee-track { display: flex; align-items: center; gap: 0; width: max-content; animation: slide 46s linear infinite; font-size: clamp(46px, 9vw, 130px); font-weight: 700; letter-spacing: -0.05em; white-space: nowrap; }
.marquee-track span { padding: 0 0.32em; color: rgba(245, 245, 247, 0.26); }
.marquee-track span:nth-of-type(2n) { color: #f5f5f7; }
.marquee-track i { width: 0.22em; height: 0.22em; border-radius: 50%; background: var(--ac); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* — schede — */
.tiles { background: #f5f5f7; padding: clamp(60px, 9vw, 120px) 14px 60px; }
.tiles-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(78vh, 720px); padding: clamp(28px, 4vw, 56px); border-radius: 30px; text-decoration: none; overflow: hidden; transform-style: preserve-3d; transition: transform 0.5s var(--ease), box-shadow 0.5s; will-change: transform; }
.tile-light { background: #fff; color: #1d1d1f; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04); }
.tile-dark { background: #000; color: #f5f5f7; }
.tile-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 30%), rgba(230, 201, 138, 0.22), transparent 55%); opacity: 0; transition: opacity 0.4s; }
.tile-light .tile-glow { background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 30%), rgba(143, 107, 31, 0.12), transparent 55%); }
.tile:hover .tile-glow { opacity: 1; }
.tile:hover { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2); }
.tile-k { font-size: 17px; font-weight: 600; margin-bottom: 18px; color: var(--ac-d); }
.tile-dark .tile-k { color: var(--ac); }
.tile h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -0.045em; margin-bottom: 20px; color: inherit; }
.tile-p { font-size: 19px; line-height: 1.4; letter-spacing: -0.02em; color: #6e6e73; margin-bottom: 26px; max-width: 30em; }
.tile-dark .tile-p { color: #a1a1a6; }
.tiles-note { text-align: center; margin-top: 34px; color: #6e6e73; }
.tiles-note a { color: var(--ac-d); }

/* — pannelli orizzontali — */
.hs { position: relative; background: #f5f5f7; }
.hs-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hs-head { padding: 0 clamp(22px, 5vw, 64px); margin-bottom: 28px; }
.kicker-s { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--ac-d); }
.hs-track { display: flex; gap: 14px; padding: 0 clamp(22px, 5vw, 64px); will-change: transform; }
.panel { flex: none; width: min(78vw, 900px); height: min(64vh, 560px); border-radius: 30px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.panel .pn { position: absolute; top: clamp(22px, 3vw, 44px); left: clamp(28px, 4vw, 56px); font-size: 17px; font-weight: 600; opacity: 0.5; }
.panel h3 { font-size: clamp(44px, 7vw, 100px); line-height: 0.98; letter-spacing: -0.055em; font-weight: 700; margin-bottom: 18px; color: inherit; }
.panel p { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; letter-spacing: -0.02em; max-width: 24em; }
.p1 { background: #fff; color: #1d1d1f; } .p1 p { color: #6e6e73; }
.p2 { background: #1d1d1f; color: #f5f5f7; } .p2 p { color: #a1a1a6; }
.p3 { background: linear-gradient(145deg, #f1dfb6, #d6a750); color: #1d1d1f; } .p3 p { color: #4a3a17; }

/* — video che si espande — */
.xv { position: relative; height: 300vh; background: #000; }
.xv-pin { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.xv-frame { position: relative; z-index: 1; width: 58vw; height: 52vh; border-radius: 30px; overflow: hidden; background: #111; will-change: width, height; }
.xv-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s; }
.xv-frame.ready video { opacity: 1; }
.xv-frame.ready .xv-empty { display: none; }
.xv-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: #86868b; font-size: 15px; letter-spacing: 0.02em; }
.xv-mesh { position: absolute; inset: -20%; z-index: -1; background: conic-gradient(from 0deg at 50% 50%, #1a1710, #3a2f17, #14171a, #2c2412, #1a1710); filter: blur(60px); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.play { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.25); }
.play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.xv-title { position: absolute; z-index: 2; left: 0; right: 0; bottom: 9vh; text-align: center; font-size: clamp(44px, 9vw, 130px); font-weight: 700; letter-spacing: -0.055em; color: #f5f5f7; mix-blend-mode: normal; opacity: 0; transform: translateY(40px); }

/* — come funziona — */
.how { background: #fbfbfd; padding: clamp(100px, 16vh, 190px) 22px; }
.big { font-size: clamp(44px, 8vw, 110px); font-weight: 700; letter-spacing: -0.055em; line-height: 1; margin-bottom: 14px; }
.sub { font-size: clamp(20px, 2.4vw, 30px); color: #6e6e73; font-weight: 500; letter-spacing: -0.03em; margin-bottom: clamp(50px, 8vw, 100px); }
.steps4 { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; padding-top: 34px; }
.s4 span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #1d1d1f; color: #fff; font-weight: 600; margin-bottom: 26px; position: relative; z-index: 2; transition: background 0.5s, transform 0.6s var(--ease); }
.s4.in span { background: var(--ac-d); transform: scale(1.08); }
.s4 h3 { font-size: 26px; letter-spacing: -0.04em; margin-bottom: 10px; }
.s4 p { color: #6e6e73; font-size: 17px; line-height: 1.4; }
.s4-line { position: absolute; left: 22px; right: 22px; top: 56px; height: 2px; background: rgba(0, 0, 0, 0.1); z-index: 1; }
.s4-line i { display: block; height: 100%; background: var(--ac-d); transform-origin: left; transform: scaleX(0); }

/* — chi sono — */
.about4 { background: #f5f5f7; padding: clamp(90px, 14vh, 170px) 22px; overflow: hidden; }
.about4-in { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 1180px; }
.ph { border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 5; background: #ddd; }
.ph img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.about4-t p { font-size: clamp(19px, 2vw, 25px); line-height: 1.32; letter-spacing: -0.025em; color: #424245; margin-bottom: 20px; max-width: 26em; }
.about4-t .big { font-size: clamp(40px, 6vw, 84px); margin-bottom: 30px; }
.contacts { line-height: 2 !important; }

/* — domande — */
.faq4 { background: #fff; padding: clamp(90px, 14vh, 170px) 22px; }
.faq4 .faq { max-width: 860px; }
.faq4 details { border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.faq4 summary { font-size: 24px; letter-spacing: -0.035em; padding: 28px 46px 28px 0; color: #1d1d1f; }
.faq4 summary::after { color: var(--ac-d); }
.faq4 details p { font-size: 19px; line-height: 1.42; color: #6e6e73; }

/* — chiamata finale — */
.cta4 { background: #000; color: #f5f5f7; text-align: center; padding: clamp(120px, 24vh, 260px) 22px; overflow: hidden; }
.cta4-h { font-size: clamp(60px, 15vw, 240px); font-weight: 700; letter-spacing: -0.065em; line-height: 0.95; margin-bottom: 30px; background: linear-gradient(100deg, #f5f5f7 20%, #e6c98a 45%, #f5f5f7 70%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sweep 6s linear infinite; }
@keyframes sweep { to { background-position: -240% 0; } }
.cta4 p { font-size: clamp(19px, 2vw, 26px); color: #a1a1a6; max-width: 26em; margin: 0 auto 28px; line-height: 1.3; letter-spacing: -0.02em; }

/* — footer — */
.foot4 { background: #f5f5f7; color: #6e6e73; font-size: 12px; line-height: 1.5; padding: 40px 22px 30px; }
.foot4-in { max-width: 1024px; margin: 0 auto; }
.foot4-note { padding: 14px 0 18px; border-bottom: 1px solid rgba(0, 0, 0, 0.14); margin-bottom: 20px; }
.foot4-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(0, 0, 0, 0.14); margin-bottom: 16px; }
.foot4 h4 { font-size: 12px; font-weight: 600; color: #1d1d1f; margin-bottom: 10px; letter-spacing: -0.01em; }
.foot4 ul { list-style: none; display: grid; gap: 7px; }
.foot4 a { color: #424245; text-decoration: none; }
.foot4 a:hover { text-decoration: underline; }
.foot4-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* — pagine interne: adattamenti — */
.site-header { display: none; }
.page-hero { background: #fbfbfd; padding: 150px 0 50px; }
.page-hero::before { display: none; }
.page-hero h1 { font-size: clamp(40px, 6.6vw, 88px); letter-spacing: -0.05em; }
.page-hero .eyebrow { font-size: 17px; letter-spacing: -0.02em; text-transform: none; color: var(--ac-d); font-weight: 600; }
.page-hero .eyebrow::before { display: none; }
.lead { color: #6e6e73; font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.02em; }
.btn { border-radius: 980px; }
.btn-primary { background: #1d1d1f; box-shadow: none; }
.btn-primary:hover { background: var(--ac-d); box-shadow: none; }
.cta, .cta .btn-primary { }
.cta { padding: clamp(100px, 18vh, 200px) 0; }
.cta h2 { font-size: clamp(56px, 12vw, 180px); letter-spacing: -0.06em; }
.cta::before { background: none; }
.cta .btn-primary { background: var(--ac); color: #1d1d1f; }
.cta .btn-primary:hover { background: #f4ddae; }
.section.alt { background: #f5f5f7; border-color: transparent; }
.feature, .pain-col, .side-card, .form-card, .prose-cta { box-shadow: none; border-radius: 26px; }
.prose-cta { background: #f5f5f7; border: 0; }
.prose-cta p { color: #1d1d1f; }
.faq summary { letter-spacing: -0.03em; }

/* — schermi piccoli — */
@media (max-width: 900px) {
  .tiles-in { grid-template-columns: 1fr; }
  .tile { min-height: 62vh; }
  .steps4 { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .s4-line { display: none; }
  .about4-in { grid-template-columns: 1fr; }
  .foot4-cols { grid-template-columns: 1fr 1fr; }
  .hero-plan { bottom: -30%; }
  .story-plan { margin-top: calc(min(1000px, 150vw) * -0.3); }
}
@media (max-width: 560px) {
  .steps4 { grid-template-columns: 1fr; }
  .foot4-cols { grid-template-columns: 1fr; }
  .panel { width: 84vw; }
}
.rm .story, .rm .xv { height: auto; }
.rm .story-pin, .rm .xv-pin, .rm .hs-pin { position: relative; height: auto; padding: 80px 0; }
.rm .hs-track { overflow-x: auto; }
.rm .cap { position: static; opacity: 1; transform: none; filter: none; margin-bottom: 14px; }
.rm .caps { height: auto; }
.rm .ln > span, .rm .rv, .rm .rv-scale { transform: none; opacity: 1; }
.rm .xv-title { opacity: 1; transform: none; position: static; }
.rm .marquee-track, .rm .cta4-h, .rm .pill-fill, .rm .scroll-cue span { animation: none; }

/* — barra di navigazione: capsula flottante — */
.nav4 { top: 14px; left: 0; right: 0; bottom: auto; margin: 0 auto; width: min(900px, calc(100% - 28px)); height: 54px; border-radius: 999px; background: rgba(14, 14, 16, 0.82); backdrop-filter: blur(26px) saturate(190%); -webkit-backdrop-filter: blur(26px) saturate(190%); border: 1px solid rgba(255, 255, 255, 0.13); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06); transition: background 0.4s, box-shadow 0.4s; }
.nav4-in { max-width: none; height: 100%; padding: 0 8px 0 18px; }
.nav4-links { gap: 34px; }
.nav4-links a { font-size: 13px; color: rgba(245, 245, 247, 0.85); }
.nav4-cta { font-size: 13px; padding: 10px 20px; }
.nav4-bar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300; pointer-events: none; }
.nav4-bar i { display: block; height: 100%; width: 100%; background: var(--ac); transform: scaleX(0); transform-origin: left; }
@media (max-width: 800px) { .nav4 { width: calc(100% - 20px); top: 10px; height: 50px; } .nav4-in { padding: 0 8px 0 14px; } }

/* — hero senza etichetta sopra il titolo — */
.hero4-text { padding-top: clamp(104px, 16vh, 170px); }

/* — tablet — */
@media (min-width: 561px) and (max-width: 900px) {
  .tiles-in { grid-template-columns: 1fr 1fr; }
  .tile { min-height: min(56vh, 520px); }
  .tile h2 { font-size: clamp(26px, 4.4vw, 36px); }
  .tile-p { font-size: 16px; }
  .mega { font-size: clamp(64px, 12.4vw, 112px); }
  .hero4 .hero-plan { bottom: 8%; width: 98vw; margin-left: -49vw; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%); mask-image: linear-gradient(180deg, transparent 0%, #000 12%); }
  .hero4 .hero-plan .plan { transform: rotateX(52deg) rotateZ(-24deg); }
  .panel { width: min(70vw, 620px); }
  .about4-in { grid-template-columns: 0.8fr 1.2fr; gap: 34px; }
  .steps4 { grid-template-columns: 1fr 1fr; }
}

/* — telefono — */
@media (max-width: 560px) {
  .hero4 { min-height: 680px; }
  .hero4-text { padding-top: 100px; }
  .mega { font-size: clamp(36px, 10.7vw, 60px); letter-spacing: -0.05em; }
  .hero4-sub { font-size: 17px; padding: 0 4px; }
  .hero4-sub br { display: none; }
  .hero4-links { flex-direction: column; gap: 16px; }
  .hero4-links .pill { width: 100%; max-width: 330px; text-align: center; }
  .hero4 .hero-plan { bottom: 9%; width: 98vw; margin-left: -49vw; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%); mask-image: linear-gradient(180deg, transparent 0%, #000 12%); }
  .hero4 .hero-plan .plan { transform: rotateX(52deg) rotateZ(-22deg); }
  .statement, .cost { padding: 90px 22px; }
  .words { font-size: clamp(26px, 7.6vw, 40px); }
  .story-top { top: 78px; font-size: 13px; }
  .caps { font-size: clamp(26px, 8vw, 40px); bottom: 54px; }
  .story-plan { width: 220vw; margin-left: -110vw; margin-top: -76vw; }
  .marquee { padding: 40px 0; }
  .marquee-track { font-size: 44px; }
  .tiles { padding: 40px 10px 40px; }
  .tile { min-height: 60vh; padding: 26px; border-radius: 26px; }
  .tile h2 { font-size: 30px; }
  .tile-p { font-size: 16px; }
  .hs-head { margin-bottom: 20px; }
  .panel { width: 84vw; height: 58vh; border-radius: 26px; }
  .panel h3 { font-size: clamp(36px, 11vw, 52px); }
  .panel p { font-size: 17px; }
  .xv-title { font-size: clamp(38px, 12vw, 64px); bottom: 12vh; }
  .how, .about4, .faq4 { padding: 80px 20px; }
  .big { font-size: clamp(38px, 13vw, 60px); }
  .sub { font-size: 19px; margin-bottom: 44px; }
  .s4 h3 { font-size: 22px; }
  .about4-t .big { font-size: clamp(36px, 11vw, 54px); }
  .about4-t p { font-size: 18px; }
  .faq4 summary { font-size: 19px; padding: 22px 38px 22px 0; }
  .faq4 details p { font-size: 17px; }
  .cta4 { padding: 100px 20px; }
  .cta4-h { font-size: clamp(52px, 17vw, 96px); }
  .foot4 { padding: 32px 20px 26px; }
  .page-hero { padding: 120px 0 40px; }
  .page-hero h1 { font-size: clamp(34px, 10vw, 52px); }
  .lead { font-size: 18px; }
}

/* — telefono: apertura senza animazione, testo centrato nello schermo — */
@media (max-width: 560px) {
  .hero4 { display: flex; align-items: center; justify-content: center; }
  .hero4-text { padding: 72px 22px 36px; margin: 0 auto; }
  .hero4 .hero-plan { visibility: hidden; }
  .hero4-spot { display: none; }
}

/* — visual statico nelle pagine "video tour" (nessun video ancora caricato) — */
.svc-visual { position: relative; border-radius: 30px; overflow: hidden; background: radial-gradient(120% 90% at 18% 0%, rgba(201, 169, 110, 0.16), transparent 60%), linear-gradient(165deg, #17171a, #0a0a0b); padding: 64px 40px 48px; isolation: isolate; }
.svc-visual .plan-wrap { max-width: 720px; margin: 0 auto; }
.svc-visual .plan { transform: rotateX(54deg) rotateZ(-26deg); }
.svc-visual .labels text { opacity: 0.55; }
.svc-visual .plan-walls.base { opacity: 0.3; }
@media (max-width: 600px) {
  .svc-visual { padding: 40px 20px 30px; border-radius: 24px; }
}

/* — aura dorata su tutti gli sfondi neri (stessa del primo hero) — */
.story-pin { background: radial-gradient(ellipse 62% 58% at 50% 42%, rgba(230, 201, 138, 0.12), transparent 70%); }
.xv-pin { background: radial-gradient(ellipse 64% 60% at 50% 46%, rgba(230, 201, 138, 0.13), transparent 70%); }
.marquee { background: radial-gradient(ellipse 58% 130% at 50% 50%, rgba(230, 201, 138, 0.11), transparent 72%), #000; }
.cost { background: radial-gradient(ellipse 64% 78% at 50% 50%, rgba(230, 201, 138, 0.11), transparent 72%), #000; }
.cta4 { background: radial-gradient(ellipse 62% 70% at 50% 46%, rgba(230, 201, 138, 0.14), transparent 72%), #000; }
.tile-dark { background: radial-gradient(ellipse 90% 62% at 50% 24%, rgba(230, 201, 138, 0.14), transparent 72%), #000; }
.p2 { background: radial-gradient(ellipse 90% 70% at 32% 22%, rgba(230, 201, 138, 0.13), transparent 72%), #1d1d1f; }
.cta::before { background: radial-gradient(ellipse 62% 70% at 50% 46%, rgba(230, 201, 138, 0.14), transparent 72%); }
.mobile-menu { background: radial-gradient(ellipse 80% 55% at 50% 40%, rgba(230, 201, 138, 0.12), transparent 72%), #000; }
.lightbox { background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(230, 201, 138, 0.10), transparent 70%), rgba(4, 4, 5, 0.97); }
@media (max-width: 560px) {
  .hero4-spot { display: block; --mx: 50%; --my: 46%; }
}

/* — correzioni grafiche — */
.prose a.btn, .prose a.btn-primary { color: var(--btn-fg); }
.prose a.btn-primary:hover { color: #fff; }
.chip:hover, .chip.active { color: var(--gold); }

/* — schermi larghi e bassi (portatili 16:9): la pianta sale e si vede intera — */
@media (min-aspect-ratio: 3/2) and (min-width: 901px) {
  .hero-plan { bottom: -9%; width: min(1000px, 88vw); margin-left: calc(min(1000px, 88vw) / -2); }
  .hero4-text { padding-top: clamp(96px, 14vh, 150px); }
  .mega { font-size: clamp(50px, min(10.4vw, 17.5vh), 148px); }
}

/* — "Parliamone." non deve uscire dal contenitore (il gradiente sul testo taglia ciò che sborda) — */
.cta4 .wrap { max-width: 1180px; }
.cta4-h { font-size: clamp(56px, 12.5vw, 200px); padding: 0 0.04em 0.06em; }
@media (max-width: 560px) { .cta4-h { font-size: clamp(50px, 16vw, 90px); } }

/* — segnaposto grigio mentre le foto si caricano — */
.masonry button { background: #e9e9ed; }

/* — titoli delle pagine interne: niente parola sola all'ultima riga — */
.page-hero h1, .prose h2 { text-wrap: balance; }

/* — barra: tra 801 e 900 px mostra i link, non l'hamburger (prima comparivano entrambi) — */
@media (min-width: 801px) { .burger { display: none !important; } }


/* — video a tutto schermo: il poster si vede subito, poi parte il video — */
.xv-frame video { opacity: 1; }
.xv-frame { background: #000; }
@media (prefers-reduced-motion: reduce) { .xv-frame video { animation: none; } }


/* — "Così si entra." sempre visibile sotto il rettangolo, per tutta l'animazione — */
.xv-title { opacity: 1 !important; transform: none !important; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55); }


/* ═══ pagina Contatti (stile link-in-bio) ═══ */
body:has(.lt) { background: #000; }
.lt { min-height: 100svh; display: grid; place-items: center; padding: 56px 20px 40px; color: #f5f5f7; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 55% at 50% 22%, rgba(230, 201, 138, 0.16), transparent 70%), radial-gradient(ellipse 60% 40% at 50% 100%, rgba(230, 201, 138, 0.07), transparent 70%), #000; }
.lt-card { width: 100%; max-width: 480px; text-align: center; }
.lt-logo { display: inline-block; margin-bottom: 18px; animation: ltIn 0.9s var(--ease) both; }
.lt-logo { position: relative; }
.lt-logo::before { content: ''; position: absolute; inset: -34px; z-index: -1; background: radial-gradient(closest-side, rgba(230, 201, 138, 0.28), transparent); }
.lt-mark { width: 118px; height: auto; display: block; filter: drop-shadow(0 6px 22px rgba(230, 201, 138, 0.25)); }
.lt-name { font-size: 30px; font-weight: 700; letter-spacing: -0.04em; color: #f5f5f7; margin-bottom: 8px; animation: ltIn 0.9s 0.08s var(--ease) both; }
.lt-name i { font-style: normal; color: var(--ac); }
.lt-bio { color: #a1a1a6; font-size: 16px; line-height: 1.45; letter-spacing: -0.02em; margin-bottom: 34px; animation: ltIn 0.9s 0.16s var(--ease) both; }
.lt-links { display: grid; gap: 12px; }
.lt-link { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 22px; text-decoration: none; text-align: left; color: #f5f5f7;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s; animation: ltIn 0.9s calc(0.26s + var(--i) * 0.09s) var(--ease) both; }
.lt-link:hover { transform: translateY(-3px) scale(1.012); background: rgba(255, 255, 255, 0.09); border-color: rgba(230, 201, 138, 0.55); box-shadow: 0 16px 50px rgba(230, 201, 138, 0.14); }
.lt-link:active { transform: scale(0.99); }
.lt-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); }
.lt-ico svg { width: 23px; height: 23px; fill: none; stroke: var(--ac); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lt-txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.lt-txt b { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.lt-txt small { font-size: 14px; color: #a1a1a6; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-arr { font-size: 26px; line-height: 1; color: #6e6e73; transition: transform 0.3s var(--ease), color 0.3s; }
.lt-link:hover .lt-arr { transform: translateX(4px); color: var(--ac); }
.lt-primary { background: linear-gradient(135deg, #ecd29b, #d6aa58); border-color: transparent; color: #1d1d1f; padding: 20px 18px; box-shadow: 0 10px 40px rgba(230, 201, 138, 0.25); }
.lt-primary:hover { background: linear-gradient(135deg, #f3ddae, #dfb665); border-color: transparent; box-shadow: 0 18px 60px rgba(230, 201, 138, 0.38); }
.lt-primary .lt-ico { background: rgba(29, 29, 31, 0.1); }
.lt-primary .lt-ico svg { stroke: #1d1d1f; }
.lt-primary .lt-txt small { color: rgba(29, 29, 31, 0.7); }
.lt-primary .lt-txt b { font-size: 21px; }
.lt-primary .lt-arr { color: rgba(29, 29, 31, 0.55); }
.lt-primary:hover .lt-arr { color: #1d1d1f; }
.lt-foot { margin-top: 30px; font-size: 12px; animation: ltIn 0.9s 0.7s var(--ease) both; }
.lt-foot a { color: #6e6e73; text-decoration: none; }
.lt-foot a:hover { color: #a1a1a6; text-decoration: underline; }
@keyframes ltIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lt-logo, .lt-name, .lt-bio, .lt-link, .lt-foot { animation: none; } }


/* ═══ Lavori: video YouTube ═══ */
.lav { background: #fbfbfd; padding: clamp(90px, 14vh, 170px) 22px; }
.lav .wrap { max-width: 1100px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.06); }
.yt-play { all: unset; position: absolute; inset: 0; display: block; cursor: pointer; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease), filter 0.5s; }
.yt-play:hover img { transform: scale(1.035); filter: brightness(1.06); }
.yt-play::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.38)); pointer-events: none; }
.yt-btn { position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(72px, 9vw, 110px); aspect-ratio: 1; margin: calc(clamp(72px, 9vw, 110px) / -2) 0 0 calc(clamp(72px, 9vw, 110px) / -2); border-radius: 50%; display: grid; place-items: center;
  background: rgba(245, 245, 247, 0.22); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4); transition: transform 0.5s var(--ease), background 0.3s; }
.yt-btn svg { width: 38%; height: 38%; fill: #fff; margin-left: 6%; }
.yt-play:hover .yt-btn { transform: scale(1.08); background: rgba(230, 201, 138, 0.55); }
.yt-play:focus-visible { outline: 3px solid var(--ac); outline-offset: -3px; }
.yt-tag { position: absolute; left: 22px; bottom: 20px; z-index: 2; font-size: 14px; font-weight: 600; color: #fff; letter-spacing: -0.01em; padding: 7px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-note { margin-top: 20px; font-size: 14px; color: #6e6e73; text-align: center; }
.yt-note a { color: var(--ac-d); }
@media (max-width: 600px) { .yt { border-radius: 22px; } .yt-tag { left: 14px; bottom: 12px; font-size: 12px; } }


/* — modulo: campi non validi e messaggi di errore leggibili su fondo chiaro — */
.input.invalid { border-color: #d6382a !important; background: rgba(214, 56, 42, 0.05); }
.form-msg.err { color: #c0301f; font-weight: 500; }
