/* Elivideo – landing page · nero e giallo */

@font-face {
  font-family: "Manrope";
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/Manrope-var.woff2") format("woff2");
}

:root {
  --black: #0a0a0a;
  --panel: #121212;
  --panel-2: #181818;
  --line: #262626;
  --line-soft: #1d1d1d;
  --yellow: #f5c400;
  --yellow-soft: #ffd84d;
  --text: #ececec;
  --muted: #9a9a9a;
  --dim: #6e6e6e;
  --wrap: 1240px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
.y { color: var(--yellow); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--yellow); color: var(--black); padding: 8px 14px; }
.skip:focus { left: 10px; }

.eyebrow { display: flex; align-items: center; gap: 14px; font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--yellow); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; font: 600 .82rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-soft); }
.btn-line { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-line:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-black { background: var(--black); color: var(--yellow); }
.btn-black:hover { background: #222; }
.btn-black-line { border-color: var(--black); color: var(--black); }
.btn-black-line:hover { background: var(--black); color: var(--yellow); }

/* Logo */
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 36px; width: auto; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(10,10,10,.94); border-color: var(--line-soft); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: #e4e4e4; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--yellow); }
.nav .lang { color: var(--muted) !important; border-left: 1px solid rgba(255,255,255,.2); padding-left: 24px; }
.nav .btn { padding: 12px 20px; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 48% 50%; }
/* il testo sta a destra: a sinistra restano liberi muso e telecamera Cineflex */
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(270deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.85) 34%, rgba(10,10,10,.4) 50%, rgba(10,10,10,0) 62%),
  linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,.35) 18%, rgba(10,10,10,0) 40%),
  linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 18%); }
.hero-content { position: relative; z-index: 1; padding-bottom: 72px; padding-top: 140px; display: flex; justify-content: flex-end; max-width: none; padding-right: 6vw; }
.hero-text { max-width: 540px; }
.hero h1 { font-size: clamp(2.8rem, 5.4vw, 5rem); font-weight: 300; letter-spacing: -0.035em; }
.hero h1 strong { font-weight: 700; color: var(--yellow); }
.hero-lead { max-width: 36em; margin: 28px 0 40px; font-size: 1.12rem; color: #cfcfcf; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Numeri */
.figures { position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--black); }
.figures ul { list-style: none; margin: 0 auto; padding: 0 32px; max-width: var(--wrap); display: grid; grid-template-columns: repeat(4, 1fr); }
.figures li { padding: 34px 28px; border-left: 1px solid var(--line); }
.figures li:first-child { border-left: 0; padding-left: 0; }
.figures strong { display: block; font-size: 1.9rem; font-weight: 300; letter-spacing: -0.02em; color: var(--yellow); line-height: 1.1; margin-bottom: 6px; }
.figures span { font-size: .9rem; color: var(--muted); }

/* Sezioni */
.section { padding: 128px 0; border-bottom: 1px solid var(--line-soft); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 72px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 34em; }
.lead-text { font-size: 1.12rem; color: #cfcfcf; }
.spaced { margin-top: 28px; }
.muted { color: var(--muted); }

/* Chi siamo */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; }
.about h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.about-text p { color: #c4c4c4; }
.about-text p:first-child { font-size: 1.16rem; color: var(--text); }

/* Sistemi */
.systems { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.system { background: var(--panel); border: 1px solid var(--line-soft); padding: 48px 44px 40px; position: relative; display: flex; flex-direction: column; }
.system::before { content: ""; position: absolute; top: -1px; left: -1px; width: 72px; height: 2px; background: var(--yellow); }
.system-tag { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.system h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 20px; }
.system > p { color: #bdbdbd; margin-bottom: 34px; }
.specs { margin: auto 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.specs dt { color: var(--dim); }
.specs dd { margin: 0; color: var(--text); }

/* Diretta: catena del segnale */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.chain { list-style: none; margin: 0; padding: 0; position: relative; }
.chain::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(var(--yellow), rgba(245,196,0,.15)); }
.chain li { position: relative; padding: 0 0 26px 44px; }
.chain li::before { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: var(--black); border: 2px solid var(--yellow); }
.chain li:last-child { padding-bottom: 0; }
.chain strong { display: block; font-weight: 600; color: #fff; }
.chain span { color: var(--muted); font-size: .95rem; }
.alt-note { margin-top: 40px; padding: 22px 24px; border: 1px solid var(--line); color: #bdbdbd; font-size: .95rem; }
.alt-note strong { color: var(--yellow); font-weight: 600; }

/* Liste a griglia (registrazione, accessori) */
.grid-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-list li { padding: 28px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-list strong { display: block; color: #fff; font-weight: 600; margin-bottom: 6px; }
.grid-list span { color: var(--muted); font-size: .94rem; }
.grid-list .is-backup strong { color: var(--yellow); }

/* Installazione */
.mounts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mount { border: 1px solid var(--line); padding: 44px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.mount h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 300; letter-spacing: -0.02em; }
.mount p { margin: 8px 0 0; color: var(--muted); }
.badge { flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--black); background: var(--yellow); padding: 8px 12px; }

/* Per chi / passi */
.cols-4, .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: n; }
.steps { grid-template-columns: repeat(3, 1fr); }
.cols-4 li, .steps li { counter-increment: n; border-top: 1px solid var(--line); padding-top: 26px; }
.cols-4 li::before, .steps li::before { content: counter(n, decimal-leading-zero); display: block; font-size: .8rem; font-weight: 600; letter-spacing: .2em; color: var(--yellow); margin-bottom: 22px; }
.cols-4 h3, .steps h3 { margin-bottom: 10px; }
.cols-4 p, .steps p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Lavori */
.works { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.works li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.works strong { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.1; }
.works span { color: var(--yellow); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }

/* Contatti */
.contact { background: var(--yellow); color: var(--black); padding: 120px 0; }
.contact .eyebrow { color: var(--black); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; }
.contact h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 300; }
.contact h2 strong { font-weight: 700; }
.contact-lead { font-size: 1.1rem; margin: 26px 0 36px; max-width: 32em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-card { font-style: normal; border-top: 2px solid var(--black); padding-top: 26px; }
.contact-card .name { font-size: 1.5rem; font-weight: 600; margin-bottom: 4px; }
.contact-card p { margin: 0 0 18px; }
.contact-card a { color: var(--black); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.35); }
.contact-card a:hover { border-color: var(--black); }

/* Footer */
.site-footer { padding: 36px 0; font-size: .86rem; color: var(--dim); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }

/* Pagina testo (privacy) */
.doc { max-width: 780px; padding-top: 160px; padding-bottom: 120px; }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 36px; }
.doc h2 { font-size: 1.45rem; font-weight: 500; margin: 44px 0 14px; }
.doc p { color: #c4c4c4; }
.doc a { color: var(--yellow); }

/* Comparsa allo scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
/* Tablet e telefono: foto in alto a tutta larghezza, testo sotto su nero */
@media (max-width: 1080px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; display: block; height: 68vh; height: 68svh; min-height: 380px; }
  .hero-media img { object-position: 22% 60%; }
  .hero::after { inset: 0 0 auto 0; height: 68svh; min-height: 380px; background:
    linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 30%),
    linear-gradient(180deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,0) 25%); }
  .hero-content { display: block; padding-top: 8px; margin-top: -40px; max-width: var(--wrap); padding-right: 32px; }
  .hero-text { max-width: 640px; }
  .nav { gap: 22px; }
  .section-head, .about, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .systems, .mounts { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .wrap, .figures ul { padding: 0 20px; }
  .header-inner { height: 68px; }
  .logo-img { height: 30px; }
  .nav-toggle { display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 26px; height: 1.5px; background: #fff; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav { position: fixed; inset: 68px 0 0 0; background: var(--black); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 32px; display: none; }
  .nav.open { display: flex; }
  .site-header.menu-open { background: var(--black); }
  .nav a:not(.btn) { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .nav .lang { border-left: 0; padding-left: 0; }
  .nav .btn { margin-top: 24px; padding: 18px; }
  .hero-content { padding-bottom: 48px; padding-right: 20px; }
  .hero-media img { object-position: 12% 60%; }
  .hero-lead { font-size: 1.02rem; margin: 20px 0 30px; }
  .figures ul { grid-template-columns: 1fr 1fr; }
  .figures li { padding: 24px 0 24px 18px; }
  .figures li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .figures li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .figures strong { font-size: 1.5rem; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 48px; }
  .system { padding: 36px 24px 28px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .mount { padding: 30px 24px; flex-direction: column; align-items: start; }
  .cols-4, .steps, .grid-list { grid-template-columns: 1fr; }
  .cols-4, .steps { gap: 32px; }
  .works li { flex-direction: column; gap: 8px; padding: 26px 0; }
  .contact { padding: 88px 0; }
  .btn { width: 100%; }
  .nav .btn, .header-inner > .btn { width: auto; }
  .header-inner > .btn { padding: 12px 18px; }
  .doc { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
