/* ── FONT (self-hosted, variabili, subset latin) ── */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:  #0F1114;
  --dark2: #14161A;
  --dark3: #1B1E23;
  --mid:   #3A3F46;
  --gray:  #8B919A;
  --light: #C7CCD3;
  --mist:  #F1F0EC;
  --white: #F8F8F6;
  --volt:  #C6F24E;
  --volt-dark: #1A2008;
  --d: 'Space Grotesk', sans-serif;
  --b: 'Hanken Grotesk', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--b); background: var(--dark); color: var(--white); overflow-x: hidden; }
::selection { background: var(--volt); color: var(--volt-dark); }

a:focus-visible, button:focus-visible, video:focus-visible {
  outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 4px;
}

/* ── REVEAL ON SCROLL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ph img, .machine { transition: none; }
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  background: rgba(15,17,20,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo {
  font-family: var(--d); font-weight: 600; font-size: 22px;
  letter-spacing: -0.04em; color: var(--white); text-decoration: none;
  display: flex; align-items: baseline; gap: 1px;
}
.logo span { color: var(--volt); }

.nav-links { display: none; }

.nav-cta {
  background: var(--volt); color: var(--volt-dark);
  font-family: var(--d); font-weight: 600; font-size: 13px;
  letter-spacing: 0.01em; padding: 9px 18px; border-radius: 100px;
  text-decoration: none; white-space: nowrap;
  transition: opacity .15s;
}
.nav-cta:hover { opacity: .85; }

/* ── HERO (split: testo + foto) ── */
.hero {
  display: flex; flex-direction: column;
  background: var(--dark);
}

.hero-content {
  order: 1; position: relative; z-index: 1;
  padding: 104px 24px 44px;
  display: flex; flex-direction: column;
}

.hero-media {
  order: 2; position: relative;
  height: 56vh; min-height: 320px;
  background: var(--dark3); overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  display: block;
}
/* sfumatura morbida sul bordo tra testo e foto (mobile: in alto) */
.hero-media::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(15,17,20,.6) 0%, rgba(15,17,20,0) 18%);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 100px;
  padding: 6px 14px; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--light); margin-bottom: 24px;
}
.hero-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--volt); }

.hero-h1 {
  font-family: var(--d); font-weight: 700;
  font-size: clamp(44px, 12vw, 80px);
  line-height: 1; letter-spacing: -0.04em;
  color: var(--white); margin-bottom: 8px;
}

.hero-h1-en {
  font-family: var(--d); font-weight: 400;
  font-size: clamp(18px, 4.5vw, 28px);
  letter-spacing: -0.02em; color: rgba(248,248,246,.55);
  margin-bottom: 24px; line-height: 1.2;
}

.hero-sub {
  font-size: 15px; line-height: 1.6; color: var(--light);
  max-width: 38ch; margin-bottom: 36px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--volt); color: var(--volt-dark);
  font-family: var(--d); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 100px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: opacity .15s;
}
.btn-primary:hover { opacity: .88; }

.btn-ghost {
  color: var(--light); font-size: 14px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,.5); }

/* ── PRODUCT INTRO ── */
.intro {
  background: var(--dark2); padding: 80px 24px;
}

.intro-inner {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 48px;
}

.tag {
  font-family: var(--d); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--volt);
}

.intro-text h2 {
  font-family: var(--d); font-weight: 600;
  font-size: clamp(28px, 6vw, 42px); letter-spacing: -0.03em;
  line-height: 1.1; margin: 12px 0 20px;
}

.intro-text h2 em { font-style: normal; color: rgba(248,248,246,.4); }

.intro-text p {
  font-size: 16px; line-height: 1.7; color: var(--light); max-width: 54ch;
}

.specs-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: var(--mid); border-radius: 12px; overflow: hidden;
}

.spec-cell {
  background: var(--dark3); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 4px;
}

.spec-val {
  font-family: var(--d); font-weight: 600;
  font-size: clamp(22px, 5vw, 30px); letter-spacing: -0.03em;
  color: var(--white);
}

.spec-key {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray);
}

/* ── FEATURES ── */
.features { background: var(--mist); color: var(--dark2); padding: 80px 24px; }

.features-inner { max-width: 720px; margin: 0 auto; }

.section-label {
  font-family: var(--d); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: #9A9388;
  margin-bottom: 12px;
}

.features h2 {
  font-family: var(--d); font-weight: 600;
  font-size: clamp(26px, 5vw, 38px); letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 48px;
}

.features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

.feat {
  background: #FBFAF8; border: 1px solid #E2DFD7; border-radius: 12px;
  padding: 28px 24px;
}

.feat-icon {
  width: 36px; height: 36px; margin-bottom: 16px;
}

.feat h3 {
  font-family: var(--d); font-weight: 600; font-size: 16px;
  letter-spacing: -0.02em; margin-bottom: 8px; color: var(--dark2);
}

.feat p { font-size: 13.5px; line-height: 1.6; color: #6B655C; }

/* ── FOR WHO ── */
.forwho { background: var(--dark); padding: 80px 24px; }

.forwho-inner { max-width: 720px; margin: 0 auto; }

.forwho h2 {
  font-family: var(--d); font-weight: 600;
  font-size: clamp(26px, 5vw, 38px); letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 48px;
}

.forwho h2 em { font-style: normal; color: var(--volt); }

.audience-grid {
  display: flex; flex-direction: column; gap: 16px;
}

.audience-card {
  border: 1px solid var(--mid); border-radius: 12px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
}

.audience-card h3 {
  font-family: var(--d); font-weight: 600; font-size: 18px;
  letter-spacing: -0.02em; color: var(--white);
  display: flex; align-items: center; gap: 10px;
}

.audience-card h3 span {
  font-size: 13px; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--volt);
}

.audience-card p { font-size: 14px; line-height: 1.65; color: var(--gray); }

/* ── TECH SPECS ── */
.techspecs { background: var(--dark2); padding: 80px 24px; }

.techspecs-inner { max-width: 720px; margin: 0 auto; }

.techspecs h2 {
  font-family: var(--d); font-weight: 600;
  font-size: clamp(26px, 5vw, 38px); letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.specs-table { width: 100%; border-collapse: collapse; }

.specs-table tr { border-bottom: 1px solid var(--mid); }
.specs-table tr:last-child { border-bottom: none; }

.specs-table td {
  padding: 16px 0; font-size: 15px; vertical-align: top;
}

.specs-table td:first-child {
  color: var(--gray); width: 45%; font-size: 13px;
  letter-spacing: 0.02em; padding-right: 16px;
}

.specs-table td:last-child { color: var(--white); font-weight: 500; }

/* ── CTA ── */
.cta-section {
  background: var(--volt); color: var(--volt-dark);
  padding: 80px 24px; text-align: center;
}

.cta-section h2 {
  font-family: var(--d); font-weight: 700;
  font-size: clamp(32px, 8vw, 56px); letter-spacing: -0.04em;
  line-height: 1; margin-bottom: 12px;
}

.cta-section h2 em {
  font-style: normal; opacity: .45;
}

.cta-sub {
  font-size: 15px; line-height: 1.6; opacity: .7;
  max-width: 36ch; margin: 0 auto 36px;
}

.btn-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--volt-dark); color: var(--volt);
  font-family: var(--d); font-weight: 600; font-size: 16px;
  padding: 16px 32px; border-radius: 100px;
  text-decoration: none; transition: opacity .15s;
}
.btn-dark:hover { opacity: .85; }

.cta-note {
  margin-top: 20px; font-size: 13px; opacity: .5;
}

/* ── FOOTER ── */
footer {
  background: var(--dark2); padding: 40px 24px;
  border-top: 1px solid var(--mid);
  display: flex; flex-direction: column; gap: 20px;
  align-items: center; text-align: center;
}

.footer-logo {
  font-family: var(--d); font-weight: 600; font-size: 28px;
  letter-spacing: -0.04em; color: var(--white);
  display: flex; align-items: baseline; gap: 1px;
}
.footer-logo span { color: var(--volt); }

footer p { font-size: 13px; color: var(--gray); line-height: 1.6; }
footer a { color: var(--gray); text-decoration: none; }
footer a:hover { color: var(--white); }

/* ── VIDEO ── */
.video-sec { background: var(--dark); padding: 80px 24px; }
.video-inner { max-width: 1100px; margin: 0 auto; }
.video-sec h2 {
  font-family: var(--d); font-weight: 600;
  font-size: clamp(26px, 5vw, 38px); letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.video-frame {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--mid); background: var(--dark3);
  aspect-ratio: 16 / 9;
}
.video-frame video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── 10 IN 1 ── */
.tenin1 { background: var(--mist); color: var(--dark2); padding: 80px 24px; }
.tenin1-inner { max-width: 1100px; margin: 0 auto; }
.tenin1 h2 {
  font-family: var(--d); font-weight: 600;
  font-size: clamp(32px, 7vw, 52px); letter-spacing: -0.04em;
  line-height: 1; margin-bottom: 16px;
}
.tenin1 h2 em { font-style: normal; color: #B0A998; }
.tenin1-sub {
  font-size: 15px; line-height: 1.6; color: #6B655C;
  max-width: 50ch; margin-bottom: 40px;
}
.tenin1-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 12px;
}
.machine {
  background: #FBFAF8; border: 1px solid #E2DFD7; border-radius: 12px;
  padding: 22px 20px; font-family: var(--d); font-weight: 600;
  font-size: 17px; letter-spacing: -0.02em; color: var(--dark2);
  display: flex; align-items: center; gap: 14px;
  transition: border-color .15s, transform .15s;
}
.machine:hover { border-color: var(--dark2); transform: translateY(-2px); }
.machine-n {
  font-size: 12px; font-weight: 500; letter-spacing: 0.05em;
  color: #1A2008; background: var(--volt);
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
}

/* ── GALLERY ── */
.gallery { background: var(--dark2); padding: 80px 24px; }
.gallery-inner { max-width: 1100px; margin: 0 auto; }
.gallery h2 {
  font-family: var(--d); font-weight: 600;
  font-size: clamp(26px, 5vw, 38px); letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.gallery-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.ph-wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.ph {
  position: relative; margin: 0; border-radius: 14px; overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--dark3); border: 1px solid var(--mid);
}
.ph img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.ph:hover img { transform: scale(1.04); }
.ph figcaption {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--d); font-weight: 600; font-size: 13px;
  color: #fff; letter-spacing: -0.01em;
  background: rgba(15,17,20,.55); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 100px;
}

/* ── WHATSAPP ── */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-fab:hover { transform: scale(1.07); box-shadow: 0 6px 22px rgba(0,0,0,.45); }
.wa-fab svg { width: 30px; height: 30px; }

.cta-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1DA851; color: #fff;
  font-family: var(--d); font-weight: 600; font-size: 16px;
  padding: 16px 32px; border-radius: 100px;
  text-decoration: none; transition: opacity .15s;
}
.btn-wa:hover { opacity: .88; }

/* ── DESKTOP TWEAKS ── */
@media (min-width: 768px) {
  nav { padding: 20px 48px; }

  .nav-links {
    display: flex; align-items: center; gap: 28px;
    position: absolute; left: 50%; transform: translateX(-50%);
  }
  .nav-links a {
    font-size: 13.5px; color: var(--light); text-decoration: none;
    letter-spacing: 0.01em; transition: color .15s;
  }
  .nav-links a:hover { color: var(--white); }

  .hero { flex-direction: row; min-height: 100vh; align-items: stretch; }
  .hero-content {
    flex: 1 1 0; order: 1; justify-content: center;
    padding: 120px 56px; max-width: 50%;
  }
  .hero-media {
    flex: 1 1 0; order: 2; height: auto; min-height: 100vh;
  }
  .hero-media img { object-position: 50% 50%; }
  .hero-media::before {
    background: linear-gradient(to right, rgba(15,17,20,.55) 0%, rgba(15,17,20,0) 16%);
  }

  .intro, .features, .forwho, .techspecs, .cta-section,
  .video-sec, .tenin1, .gallery { padding: 100px 48px; }
  footer { padding: 48px; flex-direction: row; justify-content: space-between; text-align: left; }

  .features-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }

  .audience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

  .specs-table td:first-child { width: 40%; }

  .tenin1-grid { grid-template-columns: repeat(5,1fr); gap: 14px; }
  .machine { flex-direction: column; align-items: flex-start; gap: 18px; min-height: 130px; justify-content: space-between; }

  .gallery-grid { grid-template-columns: repeat(3,1fr); gap: 16px; }
  .ph { aspect-ratio: 3 / 4; }
  .ph-wide { grid-column: span 1; aspect-ratio: 3 / 4; }
}

@media (min-width: 1024px) {
  nav { padding: 20px 64px; }
  .hero-content { padding: 120px 80px; }
  .intro, .features, .forwho, .techspecs, .cta-section { padding: 120px 64px; }
  footer { padding: 56px 64px; }

  .intro-inner { flex-direction: row; align-items: center; gap: 64px; max-width: 1100px; margin: 0 auto; }
  .intro-text { flex: 1.2; }
  .specs-row   { flex: 1; grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: repeat(3,1fr); }

  .features-inner,
  .forwho-inner,
  .techspecs-inner { max-width: 1100px; }
}

/* ── LANG SWITCH ── */
.lang-switch {
  font-family: var(--d); font-size: 12px; font-weight: 600;
  color: var(--light); text-decoration: none;
  border: 1px solid rgba(255,255,255,.25); border-radius: 100px;
  padding: 7px 14px; margin-right: 10px;
  transition: color .15s, border-color .15s;
}
.lang-switch:hover { color: var(--white); border-color: rgba(255,255,255,.6); }
.nav-right { display: flex; align-items: center; }

/* ── FAQ ── */
.faq { background: var(--dark); padding: 80px 24px; }
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq h2 {
  font-family: var(--d); font-weight: 600;
  font-size: clamp(26px, 5vw, 38px); letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.faq details {
  border-bottom: 1px solid var(--mid);
}
.faq details:first-of-type { border-top: 1px solid var(--mid); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  font-family: var(--d); font-weight: 600; font-size: 16px;
  letter-spacing: -0.01em; color: var(--white);
  transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--volt); }
.faq summary::after {
  content: '+'; flex: none;
  font-family: var(--d); font-weight: 400; font-size: 22px;
  color: var(--volt); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  font-size: 14.5px; line-height: 1.7; color: var(--gray);
  padding: 0 0 20px; max-width: 60ch;
}

@media (min-width: 768px) {
  .faq { padding: 100px 48px; }
}
@media (min-width: 1024px) {
  .faq { padding: 120px 64px; }
  .faq-inner { max-width: 900px; }
}

/* ── COOKIE BANNER ── */
.cookie-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 98;
  max-width: 340px;
  background: var(--dark3); border: 1px solid var(--mid); border-radius: 14px;
  padding: 18px; box-shadow: 0 8px 28px rgba(0,0,0,.45);
}
.cookie-bar p {
  font-size: 13px; line-height: 1.55; color: var(--light); margin-bottom: 14px;
}
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button {
  font-family: var(--d); font-weight: 600; font-size: 13px;
  padding: 9px 18px; border-radius: 100px; cursor: pointer;
  border: none; transition: opacity .15s;
}
.cookie-actions button:hover { opacity: .85; }
.ck-yes { background: var(--volt); color: var(--volt-dark); }
.ck-no { background: transparent; color: var(--gray); border: 1px solid var(--mid) !important; }
@media (max-width: 480px) {
  .cookie-bar { right: 92px; max-width: none; }
}
.cookie-bar a { color: var(--volt); text-decoration: none; }
.cookie-bar a:hover { text-decoration: underline; }
