/* ========================================================
   STILE PELAGOS ISPIRATO A SOSTIENI.WWF.IT
   ======================================================== */

:root {
  --wwf-dark: #0f172a;       /* Sfondo scuro e testo principale */
  --wwf-orange: #ff6600;     /* Colore d'azione primario (tipo WWF donate) */
  --wwf-orange-hover: #e05a00;
  --wwf-green: #10b981;      /* Verde natura e conferme */
  --wwf-bg-soft: #f8fafc;    /* Grigio chiarissimo di sfondo */
  --wwf-border: #e2e8f0;     /* Bordi discreti */
  --wwf-muted: #64748b;      /* Testo secondario */
}

/* Base Wrapper */
.wwf-layout {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--wwf-dark);
  background: #ffffff;
  line-height: 1.6;
}

.wwf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 1. HERO SECTION */
.wwf-hero {
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.82)),
              url('/wp-content/uploads/hero-sea-pelagos.webp') center/cover no-repeat;
  color: #ffffff;
  padding: 100px 0 90px;
  text-align: center;
}

.hero-badge-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wwf-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.hero-highlight {
  color: var(--wwf-orange);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  max-width: 800px;
  margin: 0 auto 36px;
}

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

/* Pulsanti WWF Style */
.btn-wwf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
}

.btn-wwf-primary {
  background-color: var(--wwf-orange);
  color: #ffffff;
}
.btn-wwf-primary:hover {
  background-color: var(--wwf-orange-hover);
  transform: translateY(-2px);
}

.btn-wwf-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}
.btn-wwf-outline:hover {
  background: #ffffff;
  color: var(--wwf-dark);
}

.btn-wwf-dark {
  background-color: var(--wwf-dark);
  color: #ffffff;
}
.btn-wwf-dark:hover {
  background-color: #1e293b;
}

.btn-wwf-light {
  background: #ffffff;
  color: var(--wwf-dark);
}
.btn-wwf-light:hover {
  background: #f1f5f9;
}

.full-width {
  width: 100%;
}

/* 2. METRICHE D'IMPATTO */
.wwf-impact-bar {
  background: var(--wwf-bg-soft);
  border-bottom: 1px solid var(--wwf-border);
  padding: 40px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.impact-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--wwf-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.impact-desc {
  font-size: 0.9rem;
  color: var(--wwf-muted);
  line-height: 1.4;
  display: block;
}

/* 3. CARD ACTION SECTION */
.wwf-cards-section {
  padding: 80px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-sub-title {
  text-transform: uppercase;
  color: var(--wwf-orange);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.section-title-wrap h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 8px 0 12px;
}

.wwf-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: stretch;
}

/* Card Style */
.action-card {
  background: #ffffff;
  border: 1px solid var(--wwf-border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
}

.action-card.is-featured {
  border: 2px solid var(--wwf-orange);
}

.card-top-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--wwf-muted);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.action-card.is-featured .card-top-tag {
  color: var(--wwf-orange);
}

.card-header-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

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

.visual-tag-secondary {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--wwf-bg-soft);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--wwf-dark);
}

.action-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.action-card p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 20px;
}

.check-list-wwf {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.check-list-wwf li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--wwf-dark);
  margin-bottom: 8px;
}

.check-list-wwf li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--wwf-green);
  font-weight: 900;
}

.card-bottom {
  margin-top: auto;
}

/* 4. BANNER SOS / CONTATTO FINALE */
.wwf-urgent-banner {
  padding-bottom: 80px;
}

.urgent-box {
  background: var(--wwf-dark);
  color: #ffffff;
  border-radius: 16px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.urgent-info {
  max-width: 650px;
}

.urgent-kicker {
  color: var(--wwf-orange);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.urgent-box h3 {
  font-size: 1.8rem;
  margin: 8px 0 10px;
}

.urgent-box p {
  color: #94a3b8;
  margin: 0;
}

.urgent-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Ottimizzazione Mobile */
@media (max-width: 768px) {
  .wwf-hero { padding: 60px 0; }
  .urgent-box { padding: 30px; }
  .urgent-cta { width: 100%; flex-direction: column; }
  .urgent-cta .btn-wwf { width: 100%; }
}



/* ========================================================
   STILE PELAGOS ISPIRATO A SOSTIENI.WWF.IT
   ======================================================== */

:root {
  --wwf-dark: #0f172a;       /* Sfondo scuro e testo principale */
  --wwf-orange: #ff6600;     /* Colore d'azione primario (tipo WWF donate) */
  --wwf-orange-hover: #e05a00;
  --wwf-green: #10b981;      /* Verde natura e conferme */
  --wwf-bg-soft: #f8fafc;    /* Grigio chiarissimo di sfondo */
  --wwf-border: #e2e8f0;     /* Bordi discreti */
  --wwf-muted: #64748b;      /* Testo secondario */
}

/* Base Wrapper */
.wwf-layout {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--wwf-dark);
  background: #ffffff;
  line-height: 1.6;
}

.wwf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 1. HERO SECTION */
.wwf-hero {
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.82)),
              url('/wp-content/uploads/hero-sea-pelagos.webp') center/cover no-repeat;
  color: #ffffff;
  padding: 100px 0 90px;
  text-align: center;
}

.hero-badge-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wwf-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.hero-highlight {
  color: var(--wwf-orange);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  max-width: 800px;
  margin: 0 auto 36px;
}

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

/* Pulsanti WWF Style */
.btn-wwf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
}

.btn-wwf-primary {
  background-color: var(--wwf-orange);
  color: #ffffff;
}
.btn-wwf-primary:hover {
  background-color: var(--wwf-orange-hover);
  transform: translateY(-2px);
}

.btn-wwf-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}
.btn-wwf-outline:hover {
  background: #ffffff;
  color: var(--wwf-dark);
}

.btn-wwf-dark {
  background-color: var(--wwf-dark);
  color: #ffffff;
}
.btn-wwf-dark:hover {
  background-color: #1e293b;
}

.btn-wwf-light {
  background: #ffffff;
  color: var(--wwf-dark);
}
.btn-wwf-light:hover {
  background: #f1f5f9;
}

.full-width {
  width: 100%;
}

/* 2. METRICHE D'IMPATTO */
.wwf-impact-bar {
  background: var(--wwf-bg-soft);
  border-bottom: 1px solid var(--wwf-border);
  padding: 40px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.impact-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--wwf-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.impact-desc {
  font-size: 0.9rem;
  color: var(--wwf-muted);
  line-height: 1.4;
  display: block;
}

/* 3. CARD ACTION SECTION */
.wwf-cards-section {
  padding: 80px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-sub-title {
  text-transform: uppercase;
  color: var(--wwf-orange);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.section-title-wrap h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 8px 0 12px;
}

.wwf-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: stretch;
}

/* Card Style */
.action-card {
  background: #ffffff;
  border: 1px solid var(--wwf-border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
}

.action-card.is-featured {
  border: 2px solid var(--wwf-orange);
}

.card-top-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--wwf-muted);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.action-card.is-featured .card-top-tag {
  color: var(--wwf-orange);
}

.card-header-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

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

.visual-tag-secondary {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--wwf-bg-soft);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--wwf-dark);
}

.action-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.action-card p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 20px;
}

.check-list-wwf {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.check-list-wwf li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--wwf-dark);
  margin-bottom: 8px;
}

.check-list-wwf li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--wwf-green);
  font-weight: 900;
}

.card-bottom {
  margin-top: auto;
}

/* 4. BANNER SOS / CONTATTO FINALE */
.wwf-urgent-banner {
  padding-bottom: 80px;
}

.urgent-box {
  background: var(--wwf-dark);
  color: #ffffff;
  border-radius: 16px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.urgent-info {
  max-width: 650px;
}

.urgent-kicker {
  color: var(--wwf-orange);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.urgent-box h3 {
  font-size: 1.8rem;
  margin: 8px 0 10px;
}

.urgent-box p {
  color: #94a3b8;
  margin: 0;
}

.urgent-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Ottimizzazione Mobile */
@media (max-width: 768px) {
  .wwf-hero { padding: 60px 0; }
  .urgent-box { padding: 30px; }
  .urgent-cta { width: 100%; flex-direction: column; }
  .urgent-cta .btn-wwf { width: 100%; }
}