/* Effecta — service audio e luci
   I colori del marchio si cambiano qui sotto, in un punto solo. */
:root {
  --bg: #0b0b0f;
  --bg-alt: #111118;
  --panel: #16161f;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f4f6;
  --muted: #a3a3b2;
  --accent: #ffb020;      /* luce calda */
  --accent-2: #ff3d81;    /* luce colorata */
  --radius: 16px;
  --display: 'Anton', 'Impact', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.hidden { position: absolute; left: -9999px; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3rem, 9vw, 7rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .4rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.glow { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #0b0b0f; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s; box-shadow: 0 8px 30px -8px var(--accent-2); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-small { padding: 10px 20px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Navigazione */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 11, 15, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { height: 42px; width: auto; }
.brand-word { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .82); }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 6px auto; background: #fff; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(120% 80% at 70% 0%, #2a1340 0%, var(--bg) 60%); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 15, .55) 0%, rgba(11, 11, 15, .35) 40%, var(--bg) 100%), linear-gradient(90deg, rgba(11, 11, 15, .8) 0%, transparent 70%); }
.hero-beams { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.hero-beams i { position: absolute; top: -20%; width: 34vw; height: 140%; background: linear-gradient(180deg, var(--accent) 0%, transparent 75%); opacity: .07; filter: blur(30px); transform-origin: top center; animation: sweep 9s ease-in-out infinite alternate; }
.hero-beams i:nth-child(1) { left: 5%; transform: rotate(-18deg); }
.hero-beams i:nth-child(2) { left: 38%; background: linear-gradient(180deg, var(--accent-2) 0%, transparent 75%); animation-duration: 12s; animation-delay: -4s; }
.hero-beams i:nth-child(3) { right: 0; transform: rotate(16deg); animation-duration: 10s; animation-delay: -2s; }
@keyframes sweep { from { transform: rotate(-20deg); } to { transform: rotate(20deg); } }
.hero-content { position: relative; padding: 140px 0 110px; }
.lead { max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .85); margin: 1.6rem 0 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: drop 1.8s infinite; }
@keyframes drop { to { transform: translateY(14px); opacity: 0; } }

/* Sezioni */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 34px 30px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 54px; height: 54px; margin-bottom: 22px; }
.card-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split h2 { margin-bottom: 1.4rem; }
.split .btn { margin-top: .8rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 22px; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.steps p { margin: 0; color: var(--muted); }
.step-n { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--accent); }

/* Galleria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 12px; background: var(--panel); }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; background: rgba(0, 0, 0, .92); cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 92vh; border-radius: 8px; }
.lightbox button { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; }

/* Modulo */
.section-form { background: radial-gradient(90% 70% at 100% 0%, rgba(255, 61, 129, .14) 0%, transparent 60%), var(--bg-alt); border-top: 1px solid var(--line); }
.split-form { align-items: start; grid-template-columns: .8fr 1.2fr; }
.contact-box { margin-top: 2rem; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-box p { margin: 0 0 .2rem; color: var(--muted); font-size: .95rem; }
.contact-box a { font-weight: 700; font-size: 1.1rem; color: var(--accent); text-decoration: none; }
.contact-box .contact-social { margin: .9rem 0 0; }
.contact-box .contact-social a { font-size: .95rem; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.quote-form { padding: clamp(24px, 4vw, 40px); background: var(--panel); border: 1px solid var(--line); border-radius: 22px; }
.row { margin: 0 0 18px; padding: 0; border: 0; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label, .quote-form legend { display: block; font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .85); padding: 0; }
.quote-form legend { margin-bottom: 10px; }
.quote-form input:not([type=radio]):not([type=checkbox]), .quote-form select, .quote-form textarea { width: 100%; margin-top: 8px; padding: 14px 16px; background: #0e0e15; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; color: var(--text); font: 400 1rem var(--body); color-scheme: dark; transition: border-color .2s, box-shadow .2s; }
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 176, 32, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: block; padding: 11px 20px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-weight: 500; cursor: pointer; transition: all .2s; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #0b0b0f; font-weight: 700; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 176, 32, .3); }
.consent { display: flex !important; gap: 12px; align-items: flex-start; margin: 4px 0 22px; font-weight: 400 !important; color: var(--muted) !important; }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.consent a { color: var(--text); }

.form-note { margin: 16px 0 0; padding: 12px 16px; border: 1px solid var(--accent); border-radius: 12px; color: var(--text); font-size: .92rem; }

/* Footer */
.footer { padding: 54px 0 40px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .95rem; }
.footer-inner { display: grid; gap: 6px; justify-items: center; }
.footer img { height: 130px; width: auto; margin-bottom: 22px; }
.footer p { margin: 0; }
.footer a { color: var(--text); text-decoration: none; }
.footer .small { font-size: .8rem; margin-top: 12px; }

/* Pagine semplici (grazie, privacy) */
.simple { min-height: 100svh; display: grid; place-items: center; padding: 120px 0 80px; text-align: center; }
.simple .lead { margin-inline: auto; }
.doc { padding: 140px 0 90px; }
.doc .wrap { width: min(760px, 100% - 48px); }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 2rem; }
.doc h2 { font-family: var(--body); font-size: 1.2rem; font-weight: 700; text-transform: none; margin: 2rem 0 .6rem; }
.doc p, .doc li { color: #cfcfda; }

/* Comparsa */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .cards, .split, .split-form { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 20px; padding: 28px 24px 32px; background: rgba(11, 11, 15, .97); border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
}
@media (max-width: 560px) {
  .row.two { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-beams i, .scroll-hint span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
