/* ======================================================
   PARTNERSHIP.CSS - ALA Atletica Leggera Abbiategrasso
====================================================== */

:root {
  --primary: #e6007e;
  --primary-dark: #c4006a;
  --secondary: #123a67;
  --text: #0f172a;
  --text-light: #475569;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* ======================================================
   PAGINA
====================================================== */

.page-partnership {
  background: #fff;
  color: var(--text);
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

section {
  padding: 100px 0;
}

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

.partnership-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(rgba(18, 58, 103, 0.45), rgba(18, 58, 103, 0.58)),
    url("../img/partnership/hero.webp") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partnership-hero h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.95;
  margin: 22px 0;
}

.partnership-hero p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* ======================================================
   TITOLI
====================================================== */

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(230, 0, 126, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: var(--secondary);
  margin: 18px 0;
}

.section-heading p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-light);
}

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

.partnership-stats {
  background: var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-card {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-card p {
  margin: 0;
  color: var(--secondary);
  font-weight: 600;
}

/* ======================================================
   PARTNER TECNICI
====================================================== */

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

.partner-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230, 0, 126, 0.28);
}

.partner-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 24px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.partner-logo img {
  max-width: 80%;
  max-height: 80%;
}

.partner-card h3 {
  color: var(--secondary);
  margin-bottom: 12px;
}

.partner-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}

.partner-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

/* ======================================================
   BENESSERE
====================================================== */

.wellness-section {
  background: var(--bg);
}

.wellness-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.wellness-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.wellness-card:hover {
  transform: translateY(-6px);
}

.wellness-card i {
  font-size: 2.3rem;
  color: var(--primary);
  margin-bottom: 18px;
}

.wellness-card h3 {
  color: var(--secondary);
  margin-bottom: 12px;
}

.wellness-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.role {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.wellness-contact {
  margin-top: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.wellness-contact a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

.wellness-contact a:hover {
  color: var(--primary);
}
/* ======================================================
   AREA MEDICA
====================================================== */

.medical-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.medical-content {
  padding: 50px;
}

.medical-content h2 {
  color: var(--secondary);
  margin: 18px 0 24px;
}

.medical-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.medical-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-light);
}

.medical-list i {
  color: var(--primary);
}

.medical-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.medical-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ======================================================
   VANTAGGI
====================================================== */

.advantages-section {
  background: var(--bg);
}

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

.advantage-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
}

.advantage-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 18px;
}

.advantage-card h3 {
  color: var(--secondary);
  margin-bottom: 14px;
}

.advantage-card p {
  color: var(--text-light);
  line-height: 1.75;
}

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

.partnership-cta {
  position: relative;
  background:
    linear-gradient(rgba(18, 58, 103, 0.92), rgba(10, 24, 48, 0.94)),
    url("../img/partnership/cta.webp") center/cover no-repeat;
  color: #fff;
}

.cta-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.cta-box h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin: 20px 0;
}

.cta-box p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

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

.button.button-primary {
  background: var(--primary);
  border: none;
  color: #fff;
}

.button.button-primary:hover {
  background: var(--primary-dark);
}

.button.button-secondary {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.button.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ======================================================
   WHATSAPP
====================================================== */

.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;
}

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

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

  .wellness-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .medical-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 76px 0;
  }

  .partnership-hero {
    min-height: auto;
    padding: 120px 0 90px;
  }

  .hero-content {
    text-align: center;
    margin-inline: auto;
  }

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

  .stats-grid,
  .partners-grid,
  .wellness-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .medical-content {
    padding: 34px;
  }
}

@media (max-width: 480px) {
  .partnership-hero h1 {
    font-size: 2.6rem;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .hero-buttons .button,
  .cta-buttons .button {
    width: 100%;
    justify-content: center;
  }

  .partner-card,
  .wellness-card,
  .advantage-card,
  .stat-card {
    padding: 28px 22px;
  }
}

.partnership-hero {
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    background-size: 100%;
  }
  to {
    background-size: 108%;
  }
}

/* Header blu durante lo scroll nella pagina Partnership */
.page-partnership header.scrolled {
  background: rgba(18, 58, 103, 0.96) !important;
}

.page-partnership header.scrolled .navbar {
  background: transparent !important;
}
