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

.run-hero {
  position: relative;

  min-height: 100vh;

  display: flex;

  align-items: center;

  background-image:
    linear-gradient(rgba(20, 58, 90, 0.6), rgba(20, 58, 90, 0.6)),
    url("../img/run4fun/hero.webp");

  background-size: cover;

  background-position: center;

  color: #ffffff;
}

.run-hero .container {
  position: relative;

  z-index: 2;
}

.run-hero-content {
  max-width: 720px;
}

.run-hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 1;
  margin: 80px 0 25px;
  color: #fff;
}

.run-hero p {
  font-size: 1.25rem;

  line-height: 1.8;

  margin-bottom: 40px;

  color: rgba(255, 255, 255, 0.92);
}

/* Pulsanti magenta Run4Fun */
.run-hero .button-primary,
.run-hero .button.primary,
.run-cta .button-primary,
.run-cta .button.primary {
  background: #e6007e;
  border: 1px solid #e6007e;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(230, 0, 126, 0.28);
}

.run-hero .button-primary:hover,
.run-hero .button.primary:hover,
.run-cta .button-primary:hover,
.run-cta .button.primary:hover {
  background: #c7006d;
  border-color: #c7006d;
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;

  margin-top: 45px;
}

.hero-badges span {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 12px 22px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(10px);
}

/*==================================================
BENEFITS
==================================================*/

.run-benefits {
  padding: 120px 0;

  background: #f7f9fc;
}

.benefits-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 35px;

  margin-top: 70px;
}

.benefit-card {
  background: #ffffff;

  border-radius: 28px;

  padding: 45px;

  text-align: center;

  transition: 0.35s;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  width: 82px;

  height: 82px;

  margin: auto;

  border-radius: 24px;

  background: #143a5a;

  color: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 34px;

  margin-bottom: 28px;
}

.benefit-card h3 {
  color: #143a5a;

  margin-bottom: 18px;
}

.benefit-card p {
  color: #666;

  line-height: 1.8;
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

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

.run-training {
  padding: 120px 0;

  background: #ffffff;
}

.training-timeline {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 35px;

  margin-top: 70px;
}

.training-step {
  text-align: center;

  position: relative;
}

.step-number {
  width: 74px;

  height: 74px;

  border-radius: 50%;

  background: #d6007f;

  color: #fff;

  font-size: 1.6rem;

  font-weight: 700;

  display: flex;

  justify-content: center;

  align-items: center;

  margin: 0 auto 24px;

  box-shadow: 0 15px 35px rgba(214, 0, 127, 0.25);
}

.training-step h3 {
  color: #143a5a;

  margin-bottom: 16px;
}

.training-step p {
  color: #666;

  line-height: 1.8;
}

@media (max-width: 900px) {
  .training-timeline {
    grid-template-columns: 1fr;

    gap: 45px;
  }
}

/*==================================================
COMMUNITY
==================================================*/

.run-community {
  padding: 120px 0;

  background: #f7f9fc;
}

.community-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.community-image img {
  width: 100%;

  border-radius: 30px;

  display: block;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.community-list {
  list-style: none;

  margin-top: 35px;

  padding: 0;
}

.community-list li {
  display: flex;

  align-items: flex-start;

  gap: 16px;

  margin-bottom: 22px;

  font-size: 1.08rem;

  line-height: 1.7;
}

.community-list i {
  color: #d6007f;

  margin-top: 4px;
}

@media (max-width: 900px) {
  .community-grid {
    grid-template-columns: 1fr;
  }
}

/*==================================================
RUN STATS
==================================================*/

.run-stats {
  padding: 120px 0;

  background: #143a5a;

  color: #ffffff;
}

.run-stats .section-heading {
  text-align: center;
}

.run-stats .section-heading h2 {
  color: #ffffff;
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 35px;

  margin-top: 70px;
}

.stat-card {
  text-align: center;
}

.stat-number {
  display: block;

  font-size: 4rem;

  font-weight: 800;

  color: #d6007f;

  margin-bottom: 15px;
}

.stat-card h3 {
  color: #ffffff;

  margin-bottom: 12px;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/*==================================================
RUN CTA
==================================================*/

.run-cta {
  padding: 140px 0;

  background:
    linear-gradient(rgba(20, 58, 90, 0.78), rgba(20, 58, 90, 0.78)),
    url("../img/run4fun/cta.webp");

  background-size: cover;

  background-position: center;
}

.run-cta-box {
  max-width: 850px;

  margin: auto;

  text-align: center;
}

.run-cta h2 {
  color: #ffffff;

  font-size: 3.4rem;

  margin: 25px 0;
}

.run-cta p {
  color: rgba(255, 255, 255, 0.9);

  font-size: 1.2rem;

  line-height: 1.8;

  margin-bottom: 45px;
}

/*==================================================
GLASS BUTTON
==================================================*/

.button.glass {
  background: rgba(255, 255, 255, 0.12);

  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.3);

  backdrop-filter: blur(14px);

  -webkit-backdrop-filter: blur(14px);

  transition: 0.35s ease;
}

.button.glass:hover {
  background: rgba(255, 255, 255, 0.22);

  border-color: rgba(255, 255, 255, 0.55);

  color: #ffffff;

  transform: translateY(-3px);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

/*==================================================
SCHEDULE
==================================================*/

.run-schedule {
  padding: 120px 0;

  background: #ffffff;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.schedule-card {
  background: #f7f9fc;
  border: 2px solid #e6007e;
  border-radius: 28px;
  padding: 48px 36px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.schedule-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(230, 0, 126, 0.12);
  border-color: #c7006d;
}

.schedule-card h3 {
  color: #143a5a;

  margin-bottom: 15px;
}

.schedule-card p {
  color: #666;

  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

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

.run-faq {
  padding: 120px 0;

  background: #f7f9fc;
}

.faq-grid {
  display: grid;

  gap: 25px;

  margin-top: 60px;
}

.faq-item {
  background: #ffffff;

  border-radius: 20px;

  padding: 35px;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.faq-item h3 {
  color: #143a5a;

  margin-bottom: 15px;
}

.faq-item p {
  color: #666;

  line-height: 1.8;
}

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

@media (max-width: 768px) {
  .run-hero {
    padding-top: 140px;

    min-height: auto;
  }

  .run-hero-content {
    text-align: center;

    margin: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  z-index: 9999;
}
