/* =========================================================
   RESET & BASE
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   PALETTE ROSSO BRILLANTE
========================================================= */

:root {
  --red-main: #ff2d20;
  --red-dark: #d42319;
  --red-light: #ffe5e3;
  --red-soft: #fff5f4;
}

/* =========================================================
   TEXT
========================================================= */

h1, h2, h3, h4 {
  font-weight: 700;
  color: #111;
}

h1 span, h2 span {
  color: var(--red-main);
}

.subtitle {
  color: #666;
  font-size: 1rem;
}

.center {
  text-align: center;
}

/* =========================================================
   BUTTONS — PREMIUM
========================================================= */

.btn-primary {
  background: var(--red-main);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-primary.small {
  padding: 10px 18px;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 26px rgba(255, 45, 32, 0.32);
}

.btn-outline {
  border: 2px solid var(--red-main);
  padding: 12px 24px;
  border-radius: 999px;
  color: var(--red-main);
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-outline:hover {
  background: var(--red-main);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(255, 45, 32, 0.28);
}

.btn-link {
  color: var(--red-main);
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.btn-link:hover {
  text-decoration: underline;
}

/* =========================================================
   BADGE
========================================================= */

.badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red-main);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 110px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--red-main);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  padding: 90px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-top: 10px;
}

.hero-text p {
  margin: 20px 0;
  font-size: 1.1rem;
}

.hero-features {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  font-size: 0.95rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.hero-img img {
  border-radius: 24px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =========================================================
   BENEFICI
========================================================= */

.benefici {
  padding: 90px 0;
  background: #fafafa;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.benefit-card {
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #eee;
  transition: 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(255, 45, 32, 0.15);
}

/* =========================================================
   PROCESS
========================================================= */

.process {
  padding: 90px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.process-img {
  position: relative;
}

.process-img img {
  border-radius: 24px;
}

.stat-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--red-main);
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
}

/* =========================================================
   PER CHI È
========================================================= */

.targets {
  padding: 90px 0;
  background: #fafafa;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 40px 0;
}

.target-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #eee;
  text-align: center;
  font-weight: 600;
  transition: 0.25s ease;
}

.target-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(255, 45, 32, 0.14);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
}

/* =========================================================
   TRAINING
========================================================= */

.training {
  padding: 90px 0;
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.training-img {
  position: relative;
}

.training-img img {
  border-radius: 24px;
}

.training-card {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--red-main);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.95rem;
}

/* =========================================================
   FAQ
========================================================= */

.faq {
  padding: 90px 0;
}

.faq-list {
  margin-top: 30px;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eee;
  margin-bottom: 14px;
  overflow: hidden;
  transition: 0.25s ease;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: none;
  text-align: left;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  color: var(--red-main);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.95rem;
}

.faq-item.open {
  background: var(--red-soft);
  border-color: var(--red-main);
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA FINALE */

.faq-cta {
  background: linear-gradient(135deg, var(--red-main), var(--red-dark));
  text-align: center;
  color: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  margin-top: 60px;
}

.faq-cta .btn-primary {
  background: #fff;
  color: var(--red-main);
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  background: #111;
  color: #fff;
  padding: 60px 0 20px;
}

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

.footer-logo {
  width: 140px;
}

.footer a {
  color: #ddd;
  text-decoration: none;
}

.footer a:hover {
  color: var(--red-main);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  opacity: 0.7;
}

/* =========================================================
   ANIMAZIONI: FADE, SLIDE, GROW (Scroll Reveal)
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   PARALLAX
========================================================= */

.parallax {
  transform: translateY(0px);
  transition: transform 0.15s linear;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 960px) {

  .hero-grid,
  .process-grid,
  .training-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .benefit-grid,
  .target-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {

  .benefit-grid,
  .target-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid #eee;
  }

  .logo-img {
    height: 75px;
  }
}

/* ============================================================
   PALETTE UFFICIALE ROSSA (#E81E22)
============================================================ */

:root {
    --red-main: #E81E22;
    --red-dark: #C1181B;
    --red-light: #FFE6E6;
    --red-soft: #FFF3F3;
}

/* ============================================================
   BOTTONI
============================================================ */

.btn-primary {
    background: var(--red-main) !important;
    border: none !important;
    color: #fff !important;
    transition: 0.25s ease !important;
}
.btn-primary:hover {
    background: var(--red-dark) !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 26px rgba(232, 30, 34, 0.32);
}

.btn-outline {
    border: 2px solid var(--red-main) !important;
    color: var(--red-main) !important;
    transition: 0.25s ease;
}
.btn-outline:hover {
    background: var(--red-main) !important;
    color: #fff !important;
}

/* link rosso */
.btn-link {
    color: var(--red-main) !important;
}

/* ============================================================
   BADGE / ICON / NUMBERS
============================================================ */

.badge {
    background: var(--red-light) !important;
    color: var(--red-main) !important;
}

.icon {
    background: rgba(232, 30, 34, 0.22) !important;
}

.num {
    background: var(--red-main) !important;
    color: #fff !important;
}

/* ============================================================
   TESTI H1 span, H2 span
============================================================ */

h1 span, h2 span {
    color: var(--red-main) !important;
}

/* ============================================================
   PROCESS — STAT BOX
============================================================ */

.stat-box {
    background: var(--red-main) !important;
    color: #fff !important;
    box-shadow: 0 14px 32px rgba(232, 30, 34, 0.36) !important;
}

/* ============================================================
   BENEFICI / CARD HOVER
============================================================ */

.benefit-card:hover,
.target-card:hover,
.training-card:hover {
    box-shadow: 0 16px 32px rgba(232, 30, 34, 0.18) !important;
}

/* ============================================================
   FAQ
============================================================ */

.faq-item.open {
    background: var(--red-soft) !important;
    border-color: var(--red-main) !important;
}

.faq-icon {
    color: var(--red-main) !important;
}

.faq-cta {
    background: linear-gradient(135deg, var(--red-main), var(--red-dark)) !important;
}
.faq-cta .btn-primary {
    background: #fff !important;
    color: var(--red-main) !important;
}

/* ============================================================
   FOOTER
============================================================ */

.footer a:hover {
    color: var(--red-main) !important;
}

.training-card {
    background: var(--red-main) !important;
}