/* ============================================================
   COLORI E FONT — cambia qui per modificare tutto il sito
   ============================================================ */
:root {
  --bg: #0a0a0b;          /* sfondo */
  --bg-alt: #141416;      /* sezioni alternate */
  --ink: #f4f1ea;         /* testo */
  --ink-dim: #a7a39a;     /* testo secondario */
  --line: #2a2a2e;        /* bordi */
  --accent: #ff2e74;      /* magenta: colore principale del brand */
  --accent-2: #c8ff3d;    /* lime: dettagli (punto REC, badge) */

  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grana da pellicola */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .01em; }

/* ---------- placeholder colorati: sostituiscili con foto/video ---------- */
.g1 { background: linear-gradient(160deg, #ff2e74 0%, #5b0b3a 60%, #0a0a0b 100%); }
.g2 { background: linear-gradient(200deg, #3a1cff 0%, #ff2e74 55%, #ffb36b 100%); }
.g3 { background: linear-gradient(140deg, #c8ff3d 0%, #1f6b4f 55%, #0a0a0b 100%); }
.g4 { background: linear-gradient(180deg, #1b1b20 0%, #6d2bff 70%, #ff2e74 100%); }
.g5 { background: linear-gradient(120deg, #ffb36b 0%, #ff2e74 50%, #2a0f2e 100%); }
.media, .thumb, .ig-grid a { background-size: cover; background-position: center; }
video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #0a0a0b;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  padding: 14px 22px; border-radius: 999px; border: 2px solid var(--accent);
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-ghost-dark { background: transparent; color: #0a0a0b; border-color: #0a0a0b; }
.btn-ghost-dark:hover { background: #0a0a0b; color: var(--accent); border-color: #0a0a0b; }
.btn-small { padding: 9px 16px; font-size: 14px; }

.label, .tag, .phone-label, .sub {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim);
}

/* ---------- header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 16px var(--pad);
  background: rgba(10,10,11,.75); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { font-family: var(--font-display); font-size: 28px; letter-spacing: .02em; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--ink-dim); transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.burger { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; }
.burger span { display: block; height: 2px; background: var(--ink); transition: transform .3s; }
.burger.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px;
  min-height: calc(100vh - 70px); padding: 60px var(--pad);
}
.tag { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero h1 { font-size: clamp(64px, 10vw, 150px); }
.hero h1 em { font-style: normal; color: var(--accent); -webkit-text-stroke: 0; }
.lead { max-width: 520px; margin: 28px 0 36px; color: var(--ink-dim); font-size: 19px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.phones { position: relative; height: min(640px, 75vh); }
.phone {
  position: absolute; width: 42%; aspect-ratio: 9 / 16;
  border-radius: 26px; overflow: hidden; border: 3px solid #1f1f23;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.phone .media { position: absolute; inset: 0; }
.phone-label { position: absolute; left: 14px; bottom: 14px; color: var(--ink); font-size: 11px; background: rgba(0,0,0,.45); padding: 4px 8px; border-radius: 6px; }
.p1 { left: 0; top: 12%; transform: rotate(-8deg); }
.p2 { left: 29%; top: 0; z-index: 2; transform: rotate(2deg); }
.p3 { right: 0; top: 16%; transform: rotate(9deg); }
.phones:hover .p1 { transform: rotate(-12deg) translateX(-14px); }
.phones:hover .p3 { transform: rotate(13deg) translateX(14px); }

/* ---------- nastro ---------- */
.marquee { background: var(--accent); color: #0a0a0b; overflow: hidden; padding: 14px 0; transform: rotate(-1.5deg); margin: 20px -10px; }
.marquee-track { display: flex; width: max-content; animation: scroll 28s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 34px; text-transform: uppercase; white-space: nowrap; padding-right: 12px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sezioni ---------- */
.section { padding: 110px var(--pad); }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 48px; }
.section-head .label { width: 100%; color: var(--accent); }
.section-head h2 { font-size: clamp(48px, 7vw, 104px); }
.section-head .sub, .section-head .btn { margin-left: auto; }

/* videoclip */
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.clip.big { grid-column: span 2; grid-row: span 2; }
.clip { display: flex; flex-direction: column; gap: 12px; }
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; flex: 1; }
.clip.big .thumb { aspect-ratio: auto; min-height: 300px; }
.play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(10,10,11,.6); color: var(--ink); font-size: 20px;
  transition: transform .3s, background .3s;
}
.clip:hover .play { transform: scale(1.15); background: var(--accent); color: #0a0a0b; }
.clip-info { display: flex; flex-direction: column; }
.clip-info span { color: var(--ink-dim); font-size: 14px; }

/* reel */
.reels { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; margin-right: calc(var(--pad) * -1); }
.reels::-webkit-scrollbar { height: 4px; }
.reels::-webkit-scrollbar-thumb { background: var(--accent); }
.reel { flex: 0 0 clamp(200px, 22vw, 280px); scroll-snap-align: start; }
.reel .media, .reel video { aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; transition: transform .3s; }
.reel:hover .media, .reel:hover video { transform: translateY(-6px); }
.reel p { margin-top: 10px; font-weight: 500; }

/* servizi */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .3s; }
.service:hover { border-color: var(--accent); transform: translateY(-4px); }
.service .num { font-family: var(--font-display); font-size: 56px; color: var(--accent); line-height: 1; }
.service h3 { font-size: 30px; }
.service p { color: var(--ink-dim); font-size: 15px; }
.service ul { list-style: none; font-size: 14px; display: grid; gap: 6px; }
.service li::before { content: "→ "; color: var(--accent); }
.service .price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-family: var(--font-mono); }
.service-hot { background: var(--accent); border-color: var(--accent); color: #0a0a0b; }
.service-hot .num, .service-hot li::before { color: #0a0a0b; }
.service-hot p, .service-hot .price { color: #0a0a0b; }
.service-hot .price { border-color: rgba(0,0,0,.25); }
.badge { position: absolute; top: 18px; right: 18px; background: var(--accent-2); color: #0a0a0b; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; }

/* processo */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 24px 0 0; border-right: 1px solid var(--line); margin-right: 24px; }
.steps li:last-child { border-right: 0; }
.steps span { font-family: var(--font-mono); color: var(--accent); }
.steps h3 { font-size: 40px; margin: 10px 0; }
.steps p { color: var(--ink-dim); font-size: 15px; max-width: 240px; }

/* instagram */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ig-grid a { aspect-ratio: 4 / 5; border-radius: 6px; transition: opacity .3s, transform .3s; }
.ig-grid a:hover { opacity: .8; transform: scale(.97); }

/* contatti */
.contact { background: var(--accent); color: #0a0a0b; padding: 120px var(--pad); text-align: center; }
.contact .label { color: #0a0a0b; opacity: .7; }
.contact h2 { font-size: clamp(60px, 11vw, 170px); margin: 18px 0; }
.contact .lead { color: #0a0a0b; margin: 0 auto 36px; opacity: .8; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.contact .btn:not(.btn-ghost-dark) { background: #0a0a0b; color: var(--ink); border-color: #0a0a0b; }
.contact .btn:not(.btn-ghost-dark):hover { background: var(--ink); color: #0a0a0b; }

/* footer */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px var(--pad); font-family: var(--font-mono); font-size: 13px; color: var(--ink-dim); }
.footer a:hover { color: var(--accent); }

/* animazione all'ingresso */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee-track, .rec { animation: none; }
}

/* ============================================================
   TABLET E TELEFONO
   ============================================================ */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .phones { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .nav { gap: 12px; }
  .nav > .btn { margin-left: auto; }
  .burger { display: flex; }
  .nav-links {
    position: fixed; inset: 69px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .4s;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a { padding: 16px var(--pad); font-family: var(--font-display); font-size: 28px; text-transform: uppercase; color: var(--ink); border-top: 1px solid var(--line); }
  .phones { height: 420px; }
  .section { padding: 80px var(--pad); }
  .clips { grid-template-columns: 1fr; }
  .clip.big { grid-column: auto; grid-row: auto; }
  .clip.big .thumb { aspect-ratio: 16 / 9; min-height: 0; }
  .services, .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-right: 0; }
  .marquee span { font-size: 26px; }
}
