/* ==========================================
   EXTRA | LE PERSONE AL CENTRO APS – STYLESHEET
   ========================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #E8622A;
  /* terracotta vibrante */
  --primary-dark: #C44E1A;
  --primary-light: #F5845A;
  --accent: #2D7D6F;
  /* teal profondo */
  --accent-light: #3DA897;
  --indigo: #2B2D6E;
  --amber: #F5A623;
  --bg: #FAFAF8;
  --bg-alt: #F2F0EB;
  --text: #1A1A1A;
  --text-muted: #666;
  --text-light: #999;
  --white: #FFFFFF;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --nav-h: 92px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.75);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.body-text {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
  overflow: visible;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  align-self: center;
  cursor: pointer;
  flex-shrink: 0;
  height: 100%;
}

.nav-logo-img {
  height: 110px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}

.nav-link:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 98, 42, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--border);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================
   HERO – HOME
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('img/hero_bg.jpg') center/cover no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(43, 45, 110, 0.82) 0%,
      rgba(232, 98, 42, 0.55) 60%,
      rgba(45, 125, 111, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: fadeUp 0.9s ease both;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title em {
  font-family: 'Lora', serif;
  font-style: italic;
  color: #ffb841;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeUp 1.2s 0.5s ease both;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollPulse 1.8s infinite;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.about-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin: 10px 0 6px;
  color: var(--text);
}

.about-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-icon {
  font-size: 2rem;
}

.card-1 {
  border-top: 3px solid var(--primary);
}

.card-2 {
  border-top: 3px solid var(--accent);
}

.card-3 {
  border-top: 3px solid var(--amber);
}

.card-4 {
  border-top: 3px solid var(--indigo);
}

/* ==========================================
   LOCATION / MAP SECTION
   ========================================== */
.location-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.location-info {
  display: flex;
  flex-direction: column;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 32px;
}

.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.location-detail-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.location-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 2px;
}

.location-detail-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.location-detail-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.location-detail-item a {
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition);
}

.location-detail-item a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.location-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
}

.location-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  height: 420px;
  position: relative;
  background: var(--white);
}

.location-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  background: var(--bg-alt);
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-deco {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.cta-deco::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================
   PAGE HERO (inner pages)
   ========================================== */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 24px 48px;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(43, 45, 110, 0.85) 0%, rgba(45, 125, 111, 0.75) 100%);
}

.page-hero--storia .page-hero-overlay {
  background: linear-gradient(160deg, rgba(45, 125, 111, 0.90) 0%, rgba(43, 45, 110, 0.82) 100%);
}

.page-hero--attivita .page-hero-overlay {
  background: linear-gradient(160deg, rgba(232, 98, 42, 0.85) 0%, rgba(43, 45, 110, 0.80) 100%);
}

.page-hero--sostienici .page-hero-overlay {
  background: linear-gradient(160deg, rgba(43, 45, 110, 0.88) 0%, rgba(232, 98, 42, 0.75) 100%);
}

.page-hero--storia,
.page-hero--attivita,
.page-hero--sostienici {
  background: var(--indigo) url('img/hero_bg.jpg') center/cover no-repeat;
  background-blend-mode: normal;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  color: var(--white);
}

.page-hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 560px;
}

/* ==========================================
   ACTIVITIES SECTION
   ========================================== */
.activities-section {
  background: var(--bg);
  padding-top: 48px;
}

/* Quick Navigation / Featured Logos */
.activities-quick-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 48px 0;
  width: 100%;
}

.activities-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.activity-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 24px 8px 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.activity-logo-link:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.activity-logo-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  border: 2px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition);
}

.activity-logo-link:hover .activity-logo-circle {
  transform: scale(1.06);
}

.activity-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-logo-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.activity-logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}

.activity-logo-action {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 3px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.activity-featured-card {
  scroll-margin-top: calc(var(--nav-h) + 24px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.activity-featured-card:hover {
  box-shadow: var(--shadow-lg);
}

.activity-featured-header {
  margin-bottom: 24px;
}

.activity-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.activity-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 100px;
  background: var(--bg-alt);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.activity-badge--primary {
  background: rgba(232, 98, 42, 0.12);
  color: var(--primary);
}

.activity-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.activity-body {
  margin-bottom: 36px;
}

.activity-lead {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.activity-services-wrapper {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 36px;
  border: 1px solid var(--border);
}

.activity-services-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.activity-service-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.activity-service-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.service-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.activity-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.activity-socials-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.activity-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.activity-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-xl);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.activity-social-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 98, 42, 0.25);
}

.activity-info-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-top: 24px;
}

.activity-info-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.upcoming-activities-box {
  background: linear-gradient(135deg, rgba(43, 45, 110, 0.04) 0%, rgba(45, 125, 111, 0.07) 100%);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.upcoming-content {
  max-width: 600px;
  margin: 0 auto;
}

.upcoming-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.upcoming-content p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ==========================================
   VOLUNTEER SECTION
   ========================================== */
.volunteer-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.volunteer-reasons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0 36px;
}

.reason-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.reason-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.reason-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.reason-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.volunteer-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vol-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  box-shadow: 0 12px 40px rgba(232, 98, 42, 0.35);
  z-index: 2;
}

.vol-badge {
  position: absolute;
  padding: 8px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: float 3s ease-in-out infinite;
}

.vol-badge:hover {
  transform: scale(1.08) !important;
  box-shadow: var(--shadow-md);
}

.vol-badge--1 {
  top: 20px;
  left: 20px;
  animation-delay: 0s;
}

.vol-badge--2 {
  top: 20px;
  right: 20px;
  animation-delay: 0.5s;
}

.vol-badge--3 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.vol-badge--4 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 1.5s;
}

.vol-badge--5 {
  bottom: 20px;
  left: 20px;
  animation-delay: 2s;
}

.vol-badge--6 {
  bottom: 20px;
  right: 20px;
  animation-delay: 0.8s;
}

/* ==========================================
   DONATION SECTION
   ========================================== */
.donation-section {
  background: linear-gradient(135deg, var(--indigo) 0%, #1e3a5f 100%);
  padding: 80px 0;
}

.donation-box {
  color: var(--white);
}

.donation-header {
  text-align: center;
  margin-bottom: 56px;
}

.donation-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.donation-header p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.donation-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: background var(--transition), transform var(--transition);
}

.donation-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.donation-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.donation-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.donation-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.donation-detail {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  gap: 4px;
}

.detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.detail-value {
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.placeholder-text {
  color: rgba(255, 255, 255, 0.4) !important;
  font-style: italic;
}

.donation-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.donation-note span {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.donation-note p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--text);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  opacity: 0.92;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
}

.footer-social:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.3);
  }
}

/* ==========================================
   LA NOSTRA STORIA – STYLES
   ========================================== */
.story-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.story-intro-text p {
  margin-bottom: 18px;
}

.story-quote-card {
  background: linear-gradient(145deg, #2B2D6E 0%, #1d1e4c 100%);
  color: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(43, 45, 110, 0.2);
  position: relative;
  overflow: hidden;
}

.story-quote-card::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 8rem;
  font-family: 'Lora', serif;
  color: rgba(232, 98, 42, 0.25);
  line-height: 1;
  pointer-events: none;
}

.story-quote-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
}

.story-quote-author {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  position: relative;
  z-index: 1;
}

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

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

.value-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: rgba(232, 98, 42, 0.12);
  color: var(--primary);
}

.value-card:nth-child(2) .value-icon {
  background: rgba(45, 125, 111, 0.12);
  color: var(--accent);
}

.value-card:nth-child(3) .value-icon {
  background: rgba(43, 45, 110, 0.12);
  color: var(--indigo);
}

.value-card:nth-child(4) .value-icon {
  background: rgba(245, 166, 35, 0.14);
  color: var(--amber);
}

.value-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Timeline */
.timeline-section {
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 860px;
  margin: 48px auto 0;
  padding: 20px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--indigo));
  border-radius: 2px;
}

.story-step {
  position: relative;
  padding-left: 76px;
  margin-bottom: 44px;
}

.story-step:last-child {
  margin-bottom: 0;
}

.story-step-badge {
  position: absolute;
  left: 10px;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 5px rgba(232, 98, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  z-index: 2;
}

.story-step:nth-child(2) .story-step-badge {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 5px rgba(45, 125, 111, 0.15);
}

.story-step:nth-child(3) .story-step-badge {
  border-color: var(--indigo);
  color: var(--indigo);
  box-shadow: 0 0 0 5px rgba(43, 45, 110, 0.15);
}

.story-step:nth-child(4) .story-step-badge {
  border-color: var(--amber);
  color: #c9820c;
  box-shadow: 0 0 0 5px rgba(245, 166, 35, 0.2);
}

.story-step-content {
  background: var(--white);
  padding: 28px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-step-content:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.story-step-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 6px;
}

.story-step:nth-child(2) .story-step-tag {
  color: var(--accent);
}

.story-step:nth-child(3) .story-step-tag {
  color: var(--indigo);
}

.story-step:nth-child(4) .story-step-tag {
  color: #c9820c;
}

.story-step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.story-step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Story Video Section */
.story-video-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.story-video-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.story-video-card:hover {
  box-shadow: var(--shadow-lg);
}

.story-video-header {
  padding: 32px 36px 20px;
}

.story-video-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.story-video-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.story-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1330 / 908;
  max-height: 560px;
  background: #000;
  overflow: hidden;
}

.story-video-cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
  background: #000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.story-video-cover-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.story-video-element {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.story-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(232, 98, 42, 0.95);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
  z-index: 6;
}

.story-video-cover-overlay:hover .story-video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary);
  box-shadow: 0 12px 35px rgba(232, 98, 42, 0.6);
}

.story-video-play-btn svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
}

.story-video-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.story-video-footer {
  padding: 20px 36px;
  background: #FAF8F5;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.story-video-footer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.story-video-footer-info svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Story Highlight / Closing Box */
.story-closing-box {
  background: linear-gradient(135deg, rgba(43, 45, 110, 0.05) 0%, rgba(232, 98, 42, 0.08) 100%);
  border: 1.5px solid rgba(232, 98, 42, 0.25);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  max-width: 860px;
  margin: 64px auto 0;
  box-shadow: var(--shadow-sm);
}

.story-closing-box h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.story-closing-box .story-closing-quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 20px;
}

.story-closing-box .story-closing-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto 32px;
}

.story-closing-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Story Photo Gallery (Archivio Fotografico) */
.story-gallery-section {
  padding: 80px 0;
}

.story-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.story-gallery-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.story-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(232, 98, 42, 0.12);
  border-color: rgba(232, 98, 42, 0.35);
}

.story-gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  background: #111;
  overflow: hidden;
}

.story-gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.story-gallery-card:hover .story-gallery-img-wrap img {
  transform: scale(1.05);
}

.story-gallery-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  z-index: 2;
}

.story-gallery-body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.story-gallery-phase {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 6px;
}

.story-gallery-body h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.35;
}

.story-gallery-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.story-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  transition: color 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

.story-gallery-link:hover {
  color: var(--primary-dark);
  transform: translateX(3px);
}

.story-gallery-link svg {
  transition: transform 0.2s ease;
}

.story-gallery-link:hover svg {
  transform: translate(2px, -2px);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {

  .about-grid,
  .volunteer-section,
  .story-intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-gallery-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .about-visual {
    order: -1;
  }

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

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

  .stats-grid {
    gap: 48px;
  }

  .cta-box {
    padding: 40px 32px;
  }

  .placeholder-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 95vh;
  }

  .hero-title {
    font-size: 2.4rem;
  }

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

  .story-step {
    padding-left: 56px;
  }

  .timeline-container::before {
    left: 18px;
  }

  .story-step-badge {
    left: 2px;
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .story-quote-card {
    padding: 28px 20px;
  }

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

  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .location-map-wrapper {
    height: 320px;
  }

  .about-visual {
    grid-template-columns: 1fr;
  }

  .volunteer-visual {
    height: 280px;
  }

  .vol-circle {
    width: 120px;
    height: 120px;
    font-size: 0.85rem;
  }

  .activities-section {
    padding-top: 32px;
  }

  .activities-quick-nav {
    margin-bottom: 32px;
  }

  .activities-logos-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .activity-logo-link {
    width: 100%;
  }

  .activity-featured-card {
    padding: 28px 20px;
  }

  .activity-services-wrapper {
    padding: 20px 16px;
  }

  .activity-info-box {
    padding: 20px 16px;
  }

  .activity-services-grid {
    grid-template-columns: 1fr;
  }

  .activity-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}