@font-face {
  font-family: 'RocGrotesk';
  src: url('/assets/RocGrotesk-CondensedMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:      #000000;
  --surface: #1d1e1e;
  --fg:      #ffffff;
  --muted:   rgba(255,255,255,0.42);
  --border:  rgba(255,255,255,0.07);
  --border-sec: transparent;
  --cyan:    #0dcccc;
  --red:     #FF0049;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Stack Sans Text', -apple-system, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

.roc {
  font-family: 'RocGrotesk', 'Arial Narrow', Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ── NAV ── */

/* ── UTILITIES ── */
.wrap { max-width: 1240px; margin: 0 auto; }
/* Evita che browser (iOS/Chrome) trasformino la P.IVA in un link blu */
.no-detect,
.no-detect a {
  color: inherit !important;
  text-decoration: none !important;
  font: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  pointer-events: none;
}
/* Asterisco campi obbligatori */
.req::after { content: ' *'; color: var(--red); font-weight: 700; }
/* Badge reCAPTCHA nascosto (testo informativo mostrato nel footer) */
.grecaptcha-badge { visibility: hidden; }
/* Disclaimer reCAPTCHA */
.recaptcha-disclaimer { font-size: 11px; color: #FFFFFF; line-height: 1.6; margin-top: 16px; }
.recaptcha-disclaimer a { color: #FFFFFF; text-decoration: underline; }
.eyebrow {
  font-size: 14px;
  font-family: 'Stack Sans Text', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.btn-red {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(33,156,162,1);
  border-radius: 50px;
  padding: 14px 36px;
  font-family: 'Stack Sans Text', system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 0 8px rgba(33,156,162,0.45), 0 0 20px rgba(33,156,162,0.2), inset 0 0 10px rgba(33,156,162,0.05);
}
.btn-red::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(33,156,162,0.55), 0 0 24px rgba(33,156,162,0.25), 0 0 48px rgba(33,156,162,0.1);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.btn-red:hover::after {
  opacity: 1;
}
.link-ghost {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, gap 0.2s;
  white-space: nowrap;
}
.link-ghost:hover { color: var(--cyan); gap: 12px; }

/* ── SEZIONE COMUNE ── */
.sec {
  padding: 104px 56px;
  border-top: 1px solid var(--border-sec);
}

/* ── CTA CARD GLOBALE ── */
.cta-outer {
  padding: 56px;
}
.cta-card {
  text-align: center;
  padding: 96px 56px;
  max-width: 1240px;
  margin: 0 auto;
}
.cta-card-inner {
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) {
  .cta-outer { padding: 28px; }
  .cta-card { padding: 72px 36px; }
}
@media (max-width: 640px) {
  .cta-outer { padding: 20px; }
  .cta-card { padding: 56px 24px; }
}

/* ── FOOTER ── */
footer { background: var(--bg); }
.foot-nl { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px; }
.foot-nl-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.foot-nl-title { font-family: 'Stack Sans Text', system-ui, sans-serif; font-weight: 600; text-transform: none; color: #fff; font-size: 22px; letter-spacing: 0; margin-bottom: 10px; }
.foot-nl-sub { color: #fff; font-size: 15px; line-height: 1.6; }
.foot-nl-form { display: flex; flex-direction: column; gap: 12px; }
.foot-nl-row { display: flex; gap: 10px; }
.foot-nl-input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 1.5rem; padding: 13px 20px; color: #fff; font-family: 'Stack Sans Text',system-ui,sans-serif; font-size: 15px; outline: none; transition: border-color 0.2s; }
.foot-nl-input:focus { border-color: var(--cyan); }
.foot-nl-input::placeholder { color: rgba(255,255,255,0.3); }
.foot-nl-btn { background: #000; color: #fff; border: 1px solid rgba(33,156,162,1); border-radius: 50px; padding: 13px 28px; font-family: 'Stack Sans Text',system-ui,sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: all 0.3s ease; box-shadow: 0 0 6px rgba(33,156,162,0.55), 0 0 18px rgba(33,156,162,0.3), 0 0 38px rgba(33,156,162,0.13), inset 0 0 10px rgba(33,156,162,0.05); }
.foot-nl-btn:hover { box-shadow: 0 0 10px rgba(33,156,162,0.75), 0 0 28px rgba(33,156,162,0.45), 0 0 55px rgba(33,156,162,0.22), inset 0 0 14px rgba(33,156,162,0.08); }
.foot-nl-check { display: flex; align-items: flex-start; gap: 10px; color: #ffffff; font-size: 13px; cursor: pointer; line-height: 1.5; }
.foot-nl-check input { accent-color: var(--cyan); margin-top: 3px; flex-shrink: 0; }
.foot-nl-check a { color: var(--cyan); text-decoration: underline; }
.foot-main { padding: 56px; }
.foot-main-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1.1fr 1.1fr 1.4fr; gap: 48px; }
.foot-logo { height: 72px; display: block; margin-bottom: 20px; }
.foot-seo { color: #ffffff; font-size: 14px; line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.foot-socials { display: flex; gap: 12px; }
.foot-social-link { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.foot-social-link:hover { border-color: var(--cyan); color: var(--cyan); }
.foot-col h3 { font-family: 'Stack Sans Text', system-ui, sans-serif !important; font-weight: 600 !important; font-size: 18px !important; letter-spacing: 0 !important; text-transform: none !important; color: #fff; margin-bottom: 20px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { color: #ffffff; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.foot-col a:hover { color: var(--cyan); }
.foot-info-block { color: #ffffff; font-size: 14px; line-height: 1.75; margin-bottom: 28px; }
.foot-info-block a { color: #ffffff; text-decoration: none; }
.foot-info-block a:hover { color: var(--cyan); }
.foot-legal { border-top: 1px solid var(--border); padding: 20px 56px; }
.foot-legal-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.foot-legal-text { font-size: 11px; color: #ffffff; line-height: 1.7; max-width: 720px; }
.foot-legal-links { display: flex; align-items: center; flex-shrink: 0; }
.foot-legal-links a { font-size: 12px; color: #fff; text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.foot-legal-links a:hover { color: var(--cyan); }
.foot-legal-links a:not(:last-child)::after {
  content: '|';
  display: inline-block;
  margin: 0 14px;
  color: rgba(13,204,204,0.75);
  text-shadow: 0 0 6px rgba(13,204,204,0.9), 0 0 16px rgba(13,204,204,0.5), 0 0 28px rgba(13,204,204,0.2);
  font-size: 12px;
  pointer-events: none;
}

/* ── FAQ ── */
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 36px 0; cursor: pointer; gap: 32px;
  background: none; border: none; width: 100%; text-align: left;
}
.faq-q-text { font-size: 22px; font-weight: 500; color: #fff; line-height: 1.4; }
.faq-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #ffffff; transition: color 0.25s;
}
.faq-item.open .faq-icon { color: var(--cyan); }
.faq-a { padding: 0 0 28px; color: #fff; font-size: 16px; line-height: 1.78; max-width: 680px; }

/* ── ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@keyframes marquee-scroll-reverse {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .sec { padding: 80px 36px; }
  .foot-nl { padding: 48px 36px; }
  .foot-nl-inner { grid-template-columns: 1fr; gap: 32px; }
  .foot-main { padding: 48px 36px; }
  .foot-main-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-legal { padding: 20px 36px; }
  .foot-legal-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
}

@media (max-width: 640px) {
  .sec { padding: 64px 28px; }
  .faq-q-text { font-size: 18px; }
  /* Corpo testo minimo 17px su mobile */
  p, li, span:not(.eyebrow):not(.pc-cat):not(.pc-date):not(.pc-author):not(.breadcrumb-link):not(.breadcrumb-current):not(.breadcrumb-sep):not(.kw-tag):not(.foot-check-text):not(.no-detect) { font-size: 17px; }
  .foot-nl { padding: 40px 28px; }
  .foot-nl-inner { padding: 0; }
  .foot-nl-row { flex-direction: column; }
  .foot-nl-btn { width: 100%; text-align: center; }
  /* Checkbox privacy: 15px su smartphone */
  .foot-nl-check, .foot-check-text { font-size: 15px; }
  .foot-main { padding: 40px 28px; }
  .foot-main-inner { grid-template-columns: 1fr; }
  .foot-legal { padding: 24px 28px; }
  .foot-legal-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
}

/* ── Blog post buttons (global: slot content not scoped) ── */
.post-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Stack Sans Text', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.post-btn-primary {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid rgba(33,156,162,1) !important;
  box-shadow: 0 0 6px rgba(33,156,162,0.55), 0 0 18px rgba(33,156,162,0.3), 0 0 38px rgba(33,156,162,0.13), inset 0 0 10px rgba(33,156,162,0.05);
}
.post-btn-primary:hover {
  box-shadow: 0 0 10px rgba(33,156,162,0.75), 0 0 28px rgba(33,156,162,0.45), 0 0 55px rgba(33,156,162,0.22), inset 0 0 14px rgba(33,156,162,0.08);
  opacity: 1;
}
.post-btn-outline {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid rgba(33,156,162,1) !important;
  box-shadow: 0 0 6px rgba(33,156,162,0.55), 0 0 18px rgba(33,156,162,0.3), 0 0 38px rgba(33,156,162,0.13), inset 0 0 10px rgba(33,156,162,0.05);
}
.post-btn-outline:hover {
  box-shadow: 0 0 10px rgba(33,156,162,0.75), 0 0 28px rgba(33,156,162,0.45), 0 0 55px rgba(33,156,162,0.22), inset 0 0 14px rgba(33,156,162,0.08);
  opacity: 1;
}
.post-btn-group { display: flex; gap: 12px; flex-wrap: wrap; margin: 36px 0; }
