/*
 * ============================================================
 *  STYLE.CSS - Stili principali FENYRA (4854 righe)
 *  Indice sezioni:
 * ------------------------------------------------------------
 *  Riga    1   Variabili CSS & Reset (body, *, main)
 *  Riga   39   SPLASH SCREEN (splash, video, audio btn)
 *  Riga  121   HEADER (nav-container, brand, nav-links)
 *  Riga  198   LINK SEZIONI NAVBAR
 *  Riga  238   DROPDOWN MENU (hamburger)
 *  Riga  328   SELETTORE LINGUA
 *  Riga  483   BANNER EVENTI CAROUSEL (728x90)
 *  Riga  592   HERO (video sfondo, intro)
 *  Riga  744   MODALE LOGIN
 *  Riga  949   SECTIONS GENERIC
 *  Riga  986   ABOUT
 *  Riga 1004   PILLARS
 *  Riga 1037   PROJECTS
 *  Riga 1089   POPUP SCELTA ADESIONE/RINNOVO
 *  Riga 1211   ADESIONE / MEMBERSHIP
 *  Riga 1476   SEZIONE CHI PAGA
 *  Riga 1542   RINNOVO / RENEWAL
 *  Riga 1623   CTA & CONTACT
 *  Riga 1770   RESPONSIVE (tablet, mobile, smartphone)
 *  Riga 2043   FENYRA INTRO
 *  Riga 2080   5 PRINCIPI (layout dado)
 *  Riga 2155   MISSIONE E VALORI
 *  Riga 2379   COSA FACCIAMO (3 box vetro)
 *  Riga 2525   FORMAZIONE DEFI
 *  Riga 2755   CONNESSIONI
 *  Riga 2952   BOTTONE DONA
 *  Riga 2995   POPUP PUBBLICITÀ + SOCIAL
 *  Riga 3146   MODAL DONAZIONI
 *  Riga 3453   MODAL ISCRIZIONE SOSPESA
 *  Riga 3667   BOOKING MODAL
 *  Riga 4140   STILI OVERLAY COMUNI
 *  Riga 4175   MODAL OTP
 *  Riga 4332   MODAL LOADING
 *  Riga 4359   MODAL SUCCESSO
 *  Riga 4449   MODAL SCELTA PAGAMENTO
 *  Riga 4533   BLOG
 *  Riga 4743   PAGA PER UN ALTRO
 *  Riga 4811   RESPONSIVE MODAL
 * ============================================================
 */

:root {
  --fenyra-green: #00C983;
  --fenyra-blue: #003A75; /* base */
  --fenyra-gold: #FFD26F;

  --fenyra-black: #050608;
  --fenyra-bg: #050608;

  --fenyra-text-main: #E4E0D4;
  --fenyra-text-muted: #A4A3B5;
}

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

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: url('sfondofenyra.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--fenyra-text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

main {
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #05070d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
  overflow: hidden;
}

.splash-logo {
  width: 60vw;
  max-width: 260px;
  height: auto;
}

.splash-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.splash-audio-btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fenyra-gold);
  background: rgba(5, 8, 17, 0.8);
  border: 2px solid var(--fenyra-gold);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1000;
}

.splash-audio-btn:hover {
  background: rgba(5, 8, 17, 0.95);
  box-shadow: 0 0 12px rgba(255, 210, 111, 0.4);
}

.splash-audio-btn.is-hidden {
  display: none;
}

.splash-skip-hint {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  pointer-events: none;
  animation: pulse-hint 2s ease-in-out infinite;
}

@keyframes pulse-hint {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.splash.splash--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
a {
  color: var(--fenyra-green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 17, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 201, 131, 0.3);
}

.nav-container {
  width: 100%;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  margin-left: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.brand {
  margin-right: auto;
}

.brand.is-intro-hidden-brand {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  color: var(--fenyra-gold);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

nav a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: #d3ddf6;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========== LINK SEZIONI NAVBAR ========== */
.nav-section-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

.nav-section-links a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--fenyra-text-main);
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-section-links a:hover {
  color: var(--fenyra-gold);
  text-decoration: none;
}

.nav-section-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fenyra-green), var(--fenyra-gold));
  transition: width 0.2s ease-out;
}

.nav-section-links a:hover::after {
  width: 100%;
}

/* ========== DROPDOWN MENU (hamburger) ========== */
.nav-more {
  position: relative;
}

.nav-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(10, 53, 64, 0.9) 0%, rgba(13, 69, 82, 0.9) 100%);
  border: 2px solid rgba(255, 210, 111, 0.6);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--fenyra-gold);
  font-family: inherit;
}

.nav-more-btn:hover {
  border-color: var(--fenyra-gold);
  box-shadow: 0 0 12px rgba(255, 210, 111, 0.3);
}

.nav-more-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.nav-more-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: rgba(10, 53, 64, 0.98);
  border: 1px solid rgba(255, 210, 111, 0.4);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 200;
  overflow: hidden;
}

.nav-more.is-open .nav-more-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-more-item {
  display: block;
  width: 100%;
  padding: 0.75rem 1.2rem;
  background: transparent;
  border: none;
  color: var(--fenyra-text-main);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  font-family: inherit;
}

.nav-more-item:hover {
  background: rgba(255, 210, 111, 0.15);
  color: var(--fenyra-gold);
}

.nav-more-item--dona {
  color: var(--fenyra-green);
  font-weight: 600;
}

.nav-more-item--dona:hover {
  background: rgba(0, 201, 131, 0.15);
  color: var(--fenyra-green);
}

.nav-more-item--primary {
  color: var(--fenyra-gold);
  font-weight: 600;
}

/* ========== SELETTORE LINGUA ========== */
.lang-selector {
  position: relative;
  margin-right: 0.5rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  background: linear-gradient(135deg, rgba(10, 53, 64, 0.9) 0%, rgba(13, 69, 82, 0.9) 100%);
  border: 2px solid rgba(255, 210, 111, 0.6);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--fenyra-gold);
  font-family: inherit;
}

.lang-btn:hover {
  border-color: var(--fenyra-gold);
  box-shadow: 0 0 12px rgba(255, 210, 111, 0.3);
}

.lang-icon {
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--fenyra-gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lang-current {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.lang-arrow {
  font-size: 0.55rem;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.lang-selector.is-open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 140px;
  background: rgba(10, 53, 64, 0.98);
  border: 1px solid rgba(255, 210, 111, 0.4);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 200;
  overflow: hidden;
}

.lang-selector.is-open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: transparent;
  border: none;
  color: var(--fenyra-text-main);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  font-family: inherit;
}

.lang-option:hover {
  background: rgba(255, 210, 111, 0.15);
  color: var(--fenyra-gold);
}

.lang-option.is-active {
  background: rgba(0, 201, 131, 0.2);
  color: var(--fenyra-green);
}

.lang-flag {
  font-size: 1.1rem;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .lang-btn {
    padding: 0.4rem 0.6rem;
  }
  
  .lang-current {
    display: none;
  }
  
  .lang-icon {
    font-size: 1rem;
  }
}

.btn-nav-primary,
.btn-nav-secondary {
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid var(--fenyra-gold);
  background: linear-gradient(135deg, #0a3540 0%, #0d4552 50%, #0a3540 100%);
  color: var(--fenyra-gold);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-nav-primary:hover,
.btn-nav-secondary:hover {
  background: linear-gradient(135deg, #0d4552 0%, #106070 50%, #0d4552 100%);
  box-shadow: 0 0 12px rgba(255, 210, 111, 0.3);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fenyra-green), var(--fenyra-gold));
  transition: width 0.2s ease-out;
}

nav a:hover::after {
  width: 100%;
}

/* BANNER EVENTI CAROUSEL 728x90 */
.events-banner-section {
  width: 100%;
  padding: 1rem 2rem 0;
  margin-bottom: 3rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.events-banner-header {
  max-width: 1120px;
  margin: 0 auto 1rem;
  text-align: center;
}

.events-banner-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--fenyra-green);
  display: block;
  margin-bottom: 0.3rem;
}

.events-banner-title {
  font-size: 1.2rem;
  color: var(--fenyra-gold);
  margin: 0;
}

.events-banner-carousel {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.events-banner-container {
  width: 100%;
  max-width: 928px;
  height: 210px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 210, 111, 0.5);
  background: #05070d;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.events-banner-arrow {
  background: rgba(10, 53, 64, 0.9);
  border: 2px solid var(--fenyra-gold);
  color: var(--fenyra-gold);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 10;
}

.events-banner-arrow:hover {
  background: rgba(0, 201, 131, 0.9);
  border-color: var(--fenyra-green);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 201, 131, 0.6);
}

.events-banner-arrow:active {
  transform: scale(0.95);
}

.events-banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  cursor: pointer;
  z-index: 1;
}

.events-banner-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.events-banner-slide:hover {
  opacity: 0.9;
}

.events-dots {
  max-width: 1120px;
  margin: 0.3rem auto 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

/* HERO con video di sfondo */
.hero {
  position: relative;
  max-width: 100%;
  margin: 0 auto 3.5rem;
  padding: 0.5rem 1.5rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  display: none; /* temporaneamente nascosto per evitare il logo gigante sullo sfondo */
}

.hero-video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05) brightness(0.9);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0a3540;
  z-index: -1;
}

.hero-content {
  max-width: 1120px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
  text-align: left;
}

/* Stato intro: solo logo centrato, senza bordo */
.hero.is-intro {
  align-items: center;
  justify-content: center;
  padding: 0; /* niente padding, centro preciso */
}

/* In fase di intro il contenuto della hero viene centrato a schermo */
.hero.is-intro .hero-content {
  align-items: center;
  text-align: center;
}

/* Logo grande durante l'intro: centrato ma leggermente compensato a destra
   per bilanciare eventuale spazio vuoto nell'immagine */
.hero.is-intro .hero-visual {
  background: transparent;
  border: none;
  box-shadow: none;
  /* posizione di default: buona quando la finestra occupa metà schermo */
  transform: translate(30vw, 5vh);
}

/* Su schermi molto larghi (es. 24" a schermo pieno) sposto il logo 20vw a sinistra rispetto al default (quindi resta solo 10vw a destra) */
@media (min-width: 1440px) {
  .hero.is-intro .hero-visual {
    transform: translate(10vw, 5vh);
  }
}

/* Tablet: riduce lo spostamento del logo */
@media (max-width: 1024px) {
  .hero.is-intro .hero-visual {
    transform: translate(15vw, 3vh);
  }
}

/* Mobile: centra il logo */
@media (max-width: 768px) {
  .hero.is-intro .hero-visual {
    transform: translate(0, 0);
  }
}

.hero.is-intro .hero-visual::before {
  display: none;
}

.hero.is-intro .hero-visual img {
  /* stessa dimensione del logo normale nella hero (ora 1px) */
  width: 1px;
  max-width: none;
}

.hero.is-intro .hero-badge,
.hero.is-intro .hero-quote,
.hero.is-intro .hero-metric {
  opacity: 0;
  pointer-events: none;
}

.hero-text {
  display: none; /* nasconde titolo, sottotitolo, paragrafi e pulsanti della hero */
}

.hero-text.is-intro-hidden {
  display: none;
}

.hero-title-main {
  font-size: clamp(2.8rem, 5vw + 1rem, 4rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title-sub {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--fenyra-text-main);
}

@media (min-width: 880px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-visual {
    flex: 0 0 auto;
  }

  .hero-text {
    flex: 1 1 auto;
  }
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--fenyra-gold);
}

.hero-text h1 span {
  color: var(--fenyra-green);
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 34rem;
  color: var(--fenyra-text-muted);
  margin-bottom: 1.5rem;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* MODALE LOGIN */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-overlay.is-open {
  display: flex;
}

.login-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 53, 64, 0.95);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.login-dialog {
  position: relative;
  z-index: 1;
  width: min(360px, 90vw);
  padding: 2rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #05070d 0%, #0a1520 100%);
  border: 2px solid rgba(255, 210, 111, 0.8);
  box-shadow:
    0 0 0 1px rgba(255, 210, 111, 0.28),
    0 18px 40px rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: var(--fenyra-text-main);
}

.login-title {
  font-size: 1.2rem;
  color: var(--fenyra-gold);
  margin: 0 0 0.5rem;
}

.login-label {
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.login-input {
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 111, 0.7);
  padding: 0.5rem 0.9rem;
  background: #05070d;
  color: var(--fenyra-text-main);
  font-size: 0.9rem;
}

.login-input:focus {
  outline: none;
  border-color: var(--fenyra-green);
  box-shadow: 0 0 0 1px rgba(0, 201, 131, 0.6);
}

.login-forgot {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: var(--fenyra-gold);
  text-decoration: none;
  margin-top: 0.5rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.login-forgot:hover {
  opacity: 1;
  text-decoration: underline;
}

.login-subtitle {
  font-size: 0.8rem;
  color: var(--fenyra-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.login-submit {
  margin-top: 0.75rem;
  border-radius: 999px;
  border: none;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--fenyra-green), var(--fenyra-gold));
  color: #04101e;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.login-close {
  position: absolute;
  top: 0.4rem;
  right: 0.7rem;
  border: none;
  background: transparent;
  color: var(--fenyra-gold);
  font-size: 1.4rem;
  cursor: pointer;
}

.pill-tag {
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 111, 0.7);
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fenyra-gold);
  background: rgba(5, 8, 17, 0.95);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary {
  border-radius: 999px;
  border: none;
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(135deg, var(--fenyra-green), var(--fenyra-gold));
  color: #04101e;
  box-shadow: 0 0 18px rgba(0, 201, 131, 0.35);
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(0, 201, 131, 0.55);
}

.btn-secondary {
  border-radius: 999px;
  border: 1px solid rgba(0, 201, 131, 0.7);
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: var(--fenyra-text-main);
}

.hero-visual {
  position: relative;
  padding: 0;
  transition: transform 0.9s ease-out;
}

.hero-visual::before {
  display: none;
}

.hero-visual-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-visual img {
  width: 220px; /* logo hero visibile al centro della pagina */
  margin-bottom: 1rem;
  transition: width 0.9s ease-out, transform 0.9s ease-out;
}

/* stato intro del logo: nessuno zoom aggiuntivo, solo posizione animata */
.hero.is-intro .hero-visual img {
  transform: none;
}

/* Nascondi testi hero: badge, frase e metriche */
.hero-badge,
.hero-quote,
.hero-metric {
  display: none;
}

@keyframes gridGlow {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(40px, 40px, 0); }
}

/* SECTIONS GENERIC */
section {
  max-width: 1120px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
}

/* Per ora mostriamo solo hero ed eventi, nascondiamo le altre sezioni testuali */
#about,
#pillars,
#projects,
#join,
#contact {
  display: none;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--fenyra-green);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--fenyra-gold);
}

.section-description {
  max-width: 40rem;
  color: var(--fenyra-text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ABOUT */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.about-highlight {
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: #05070d;
  border: 1px solid rgba(255, 210, 111, 0.45);
  font-size: 0.9rem;
  color: var(--fenyra-text-main);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

/* PILLARS */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.pillar-card {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #05070d;
  border: 1px solid rgba(255, 210, 111, 0.45);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--fenyra-green);
  box-shadow: 0 0 26px rgba(0, 201, 131, 0.4);
}

.pillar-title {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--fenyra-gold);
}

.pillar-text {
  font-size: 0.85rem;
  color: var(--fenyra-text-muted);
}

/* PROJECTS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.project-card {
  padding: 0;
  border-radius: 1rem;
  background: #05070d;
  border: 1px solid rgba(255, 210, 111, 0.45);
  font-size: 0.9rem;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.project-card > :not(.project-image) {
  padding: 0 1rem;
}

.project-card > div:first-of-type:not(.project-image),
.project-card > .project-meta {
  padding-top: 1rem;
}

.project-card > p:last-child {
  padding-bottom: 1rem;
}

.project-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--fenyra-text-main);
  padding: 0 1rem;
}

.project-meta {
  font-size: 0.75rem;
  color: var(--fenyra-text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* POPUP SCELTA ADESIONE/RINNOVO */
.membership-choice-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
}

.membership-choice-overlay.is-open {
  display: block;
}

.membership-choice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 53, 64, 0.9);
  backdrop-filter: blur(12px);
}

.membership-choice-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.membership-choice-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--fenyra-gold, #FFD26F);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.membership-choice-close:hover {
  background: rgba(10, 53, 64, 0.1);
}

.membership-choice-title {
  font-size: 1.5rem;
  color: var(--fenyra-gold, #FFD26F);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.membership-choice-description {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.membership-choice-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.membership-choice-buttons-center {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.membership-choice-buttons-center .membership-choice-btn {
  min-width: 280px;
  max-width: 350px;
}

.membership-choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.membership-choice-btn:hover {
  border-color: var(--fenyra-gold);
  background: rgba(255, 210, 111, 0.15);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 210, 111, 0.3);
}

.choice-icon {
  font-size: 2.5rem;
}

.choice-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.choice-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* ADESIONE / MEMBERSHIP */
.membership-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
}

.membership-overlay.is-open {
  display: block;
}

.membership-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 53, 64, 0.85);
  backdrop-filter: blur(10px);
}

.membership-section {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 900px;
  max-height: 90vh;
  padding: 1.8rem 2rem 2rem;
  overflow-y: auto;
}

.membership-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr);
  gap: 1.5rem;
}

.membership-box {
  padding: 1.5rem 1.75rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.membership-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #0a3540;
  font-weight: 600;
}

.membership-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.form-row--3 {
  display: grid;
  grid-template-columns: 3fr 0.7fr 1.5fr;
  gap: 0.75rem 1rem;
}

.form-row--3.row-via {
  grid-template-columns: 3fr 0.7fr 1fr;
}

.form-row--3.row-comune {
  grid-template-columns: 2fr 0.7fr 2fr;
}

.membership-form label {
  font-size: 0.85rem;
  color: #1a1a1a;
  font-weight: 500;
}

.field-note {
  display: block;
  font-size: 0.75rem;
  color: #666;
  font-weight: 400;
  margin-top: 0.25rem;
  font-style: italic;
}

.membership-form input[type="text"],
.membership-form input[type="email"],
.membership-form input[type="tel"],
.membership-form input[type="date"],
.membership-form input[type="password"],
.membership-form select,
.membership-form input[type="file"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(10, 53, 64, 0.3);
  background: rgba(255, 255, 255, 0.7);
  color: #1a1a1a;
  font-size: 0.9rem;
}

.membership-form select {
  cursor: pointer;
}

.membership-form input[type="file"] {
  padding: 0.4rem 0.5rem;
  cursor: pointer;
}

.membership-form input[type="file"]::file-selector-button {
  padding: 0.3rem 0.7rem;
  border-radius: 0.4rem;
  border: 1px solid #0a3540;
  background: rgba(10, 53, 64, 0.1);
  color: #0a3540;
  font-size: 0.8rem;
  cursor: pointer;
  margin-right: 0.5rem;
}

.membership-form input[type="file"]::file-selector-button:hover {
  background: rgba(10, 53, 64, 0.2);
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  padding-right: 2.5rem;
}

.toggle-password {
  position: absolute;
  right: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.toggle-password:hover {
  opacity: 1;
}

.phone-input-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.phone-prefix {
  flex-shrink: 0;
  width: auto;
  max-width: 90px;
  padding: 0.5rem 0.4rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(10, 53, 64, 0.3);
  background: rgba(255, 255, 255, 0.7);
  color: #1a1a1a;
  font-size: 0.85rem;
  cursor: pointer;
}

.phone-number {
  flex-grow: 1;
  width: 100%;
}

.membership-form input:focus {
  outline: none;
  border-color: #0a3540;
  box-shadow: 0 0 0 2px rgba(10, 53, 64, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.membership-form input[readonly] {
  background: rgba(200, 200, 200, 0.5);
  cursor: not-allowed;
  opacity: 0.7;
  color: #666;
}

.membership-text-block {
  font-size: 0.85rem;
  color: #333;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(10, 53, 64, 0.2);
}

.check-label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.check-label input {
  margin-top: 0.2rem;
}

.membership-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.membership-close {
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  border: none;
  background: transparent;
  color: var(--fenyra-gold);
  font-size: 1.5rem;
  cursor: pointer;
}

.membership-pay-btn {
  text-align: center;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fenyra-green), #00d99f);
  color: #04101e !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.membership-pay-btn:hover {
  background: linear-gradient(135deg, #00d99f, var(--fenyra-green));
  box-shadow: 0 0 18px rgba(0, 201, 131, 0.4);
  transform: translateY(-1px);
  text-decoration: none;
}

.membership-note {
  font-size: 0.8rem;
  color: var(--fenyra-text-muted);
}

/* SEZIONE CHI PAGA */
.payer-selection {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.payer-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payer-option:hover {
  background: rgba(255, 255, 255, 0.7);
}

.payer-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--fenyra-green);
}

.payer-option:has(input:checked) {
  border-color: var(--fenyra-green);
  background: rgba(0, 201, 131, 0.1);
}

.payer-option-label {
  font-size: 1rem;
  color: #000;
  font-weight: 600;
}

.payer-other-fields {
  margin-top: 0.5rem;
  padding: 1rem;
  background: rgba(255, 210, 111, 0.15);
  border: 1px solid rgba(255, 210, 111, 0.4);
  border-radius: 0.75rem;
  animation: slideDown 0.3s ease;
}

.payer-other-fields label {
  color: #000;
  font-weight: 600;
}

.payer-other-fields input::placeholder {
  color: #555;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.payer-info {
  font-size: 0.9rem;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* RINNOVO / RENEWAL */
.renewal-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
}

.renewal-overlay.is-open {
  display: block;
}

.renewal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 53, 64, 0.85);
  backdrop-filter: blur(10px);
}

.renewal-section {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 700px;
  max-height: 90vh;
  padding: 1.8rem 2rem 2rem;
  overflow-y: auto;
}

.renewal-close {
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  border: none;
  background: transparent;
  color: var(--fenyra-gold);
  font-size: 1.5rem;
  cursor: pointer;
}

.renewal-payment-info {
  background: rgba(255, 210, 111, 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 210, 111, 0.3);
}

.transaction-input-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.transaction-input-wrapper input {
  flex: 1;
}

.btn-paste-transaction {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(10, 53, 64, 0.4);
  background: rgba(255, 210, 111, 0.2);
  color: #0a3540;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-paste-transaction:hover {
  background: rgba(255, 210, 111, 0.35);
  border-color: rgba(10, 53, 64, 0.6);
  transform: translateY(-1px);
}

.btn-paste-transaction:active {
  transform: translateY(0);
}

/* CTA & CONTACT */
.cta-block {
  padding: 1.5rem 1.75rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(0, 201, 131, 0.18), rgba(0, 58, 117, 0.75));
  border: 1px solid rgba(0, 201, 131, 0.5);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.cta-block form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-block input[type="email"] {
  flex: 1 1 180px;
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 111, 0.6);
  outline: none;
  font-size: 0.9rem;
  background: #05070d;
  color: var(--fenyra-text-main);
}

.cta-block input[type="email"]::placeholder {
  color: var(--fenyra-text-muted);
}

footer {
  background: rgba(5, 30, 20, 0.9);
  border-top: 2px solid rgba(0, 201, 131, 0.5);
  box-shadow: 0 0 30px rgba(0, 201, 131, 0.15);
  padding: 3rem 2.5rem 2rem;
  font-size: 1rem;
  color: var(--fenyra-text-muted);
  margin: 0;
  width: 100%;
}

.footer-container {
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--fenyra-gold);
}

.footer-info {
  text-align: left;
  line-height: 1.8;
  color: var(--fenyra-text-muted);
  font-size: 1.15rem;
}

.footer-info p {
  margin: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-email {
  color: var(--fenyra-green);
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--fenyra-gold);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-disclaimer {
  text-align: left;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-style: italic;
  border-top: 1px solid rgba(0, 201, 131, 0.2);
  padding-top: 1rem;
}

.footer-disclaimer p {
  margin: 0;
}

.footer-social-link {
  color: var(--fenyra-green);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social-link:hover {
  color: var(--fenyra-gold);
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(0, 201, 131, 0.3);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: rgba(164, 163, 181, 0.7);
}

.footer-links a {
  color: rgba(164, 163, 181, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--fenyra-gold);
}

@media (max-width: 768px) {
  .cta-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer {
    padding: 2rem 1rem 1rem;
  }
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* RESPONSIVE */

/* Tablet e laptop piccoli */
@media (max-width: 1280px) {
  .events-strip-inner {
    height: 400px;
  }
  
  .events-strip {
    max-height: 480px;
  }
}

/* Tablet piccolo e mobile landscape */
@media (max-width: 1024px) {
  .events-strip-inner {
    height: 350px;
  }
  
  .events-strip {
    max-height: 420px;
  }
}

/* Mobile */
@media (max-width: 880px) {
  main {
    padding: 0;
  }
  
  .fenyra-intro {
    padding: 2rem 1rem;
  }
  
  .fenyra-intro-content {
    padding: 2rem 1.5rem;
  }
  
  .fenyra-title {
    font-size: 2.5rem;
  }
  
  .fenyra-subtitle {
    font-size: 1.1rem;
  }
  
  .fenyra-description {
    font-size: 1rem;
  }
  
  .principi-section {
    padding: 2rem 0.75rem;
  }
  
  .principi-main-title {
    font-size: 2.2rem;
  }

  .principi-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .mission-valori-section {
    padding: 2rem 1rem;
  }
  
  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .events-strip-inner {
    height: 280px; /* dimensione media per mobile */
  }
  
  .events-strip {
    max-height: 350px;
    padding: 0.75rem 0 0;
  }

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

  .form-row--2 {
    grid-template-columns: 1fr;
  }

  .form-row--3 {
    grid-template-columns: 1fr;
  }

  .form-row--3.row-via {
    grid-template-columns: 1fr;
  }

  .form-row--3.row-comune {
    grid-template-columns: 1fr;
  }

  .membership-section {
    width: 100%;
    max-width: 100%;
    padding: 1.2rem 1.2rem 1.5rem;
  }

  .events-caption {
    left: 1rem;
    bottom: 1rem;
    right: 1rem;
    padding: 1.8rem 2rem;
    min-height: 140px;
  }
  
  .events-caption-title {
    font-size: 1.6rem !important;
  }
  
  .events-caption-text {
    font-size: 1.3rem !important;
  }

  .hero,
  .about-layout,
  .cta-block {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 1.5rem;
  }

  /* MOBILE: nasconde i link sezioni dalla navbar - vanno nell'hamburger */
  .nav-section-links {
    display: none !important;
  }

  .nav-links {
    display: none;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .brand {
    margin-right: auto;
    flex-shrink: 0;
  }
  
  nav {
    flex: 0 0 auto;
    overflow: visible;
    margin-left: auto;
  }

  .nav-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
  }
  
  .lang-selector {
    flex-shrink: 0;
  }

  /* Hamburger: touch target minimo 44x44px */
  .nav-more-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-more-icon {
    font-size: 1.4rem;
  }

  /* Dropdown hamburger: posizionamento sicuro su mobile */
  .nav-more-dropdown {
    position: fixed;
    top: 60px;
    right: 0.75rem;
    left: 0.75rem;
    min-width: auto;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 9999;
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
  }

  /* Voci del menu mobile: tocco confortevole */
  .nav-more-item {
    padding: 1rem 1.2rem;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Separatore tra link sezioni e azioni nel dropdown */
  .nav-more-item.mobile-nav-link + .nav-more-item:not(.mobile-nav-link) {
    border-top: 1px solid rgba(255, 210, 111, 0.3);
  }

  .hero-visual {
    order: -1;
  }
}

/* Smartphone portrait (piccoli) */
@media (max-width: 480px) {
  html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
  body {
    text-align: center;
    display: block;
  }
  
  header {
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  main {
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  section {
    width: 100% !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box;
  }

  .form-row--3,
  .form-row--3.row-via,
  .form-row--3.row-comune {
    grid-template-columns: 1fr;
  }

  .membership-section {
    padding: 0.75rem;
  }

  .renewal-section {
    padding: 0.75rem;
  }

  .membership-box {
    padding: 1rem;
  }
  
  .fenyra-intro {
    padding: 1.5rem 0.5rem;
    margin: 0 auto;
  }
  
  .fenyra-intro-content {
    padding: 1.5rem 1rem;
  }
  
  .fenyra-title {
    font-size: 2rem;
  }
  
  .principi-section {
    padding: 1.5rem 0.25rem;
  }

  .principi-main-title {
    font-size: 1.8rem;
  }
  
  .mission-valori-section {
    padding: 1.5rem 0.5rem;
    margin: 1rem 0;
  }
  
  .events-strip-inner {
    height: 220px; /* più compatto su smartphone piccoli */
  }
  
  .events-strip {
    max-height: 290px;
    padding: 0.5rem 0 0;
  }
  
  .events-caption {
    left: 0.75rem;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 1.5rem 1.6rem;
    min-height: 120px;
  }
  
  .events-caption-title {
    font-size: 1.4rem !important;
  }
  
  .events-caption-text {
    font-size: 1.1rem !important;
  }
}

/* NUOVA SEZIONE FENYRA INTRO */
.fenyra-intro {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.fenyra-intro-content {
  background: rgba(5, 30, 20, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 201, 131, 0.5);
  box-shadow: 0 0 30px rgba(0, 201, 131, 0.15);
}

.fenyra-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--fenyra-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.fenyra-subtitle {
  font-size: 1.4rem;
  color: var(--fenyra-text-main);
  font-style: italic;
  margin-bottom: 2rem;
}

.fenyra-description {
  font-size: 1.3rem;
  color: var(--fenyra-text-muted);
  line-height: 1.8;
}

.fenyra-disclaimer {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-style: italic;
}

/* SEZIONE 5 PRINCIPI - PREMIUM ANIMATED */
.principi-section {
  position: relative;
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.principi-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 140, 0, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.principi-container {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

/* Titolo */
.principi-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.principi-main-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #ffb347;
  text-shadow: 0 0 20px rgba(255, 140, 0, 0.6);
  margin: 0 0 0.5rem;
}

.principi-main-subtitle {
  font-size: 1.15rem;
  color: #b8c8d8;
  margin: 0;
}

/* Layout righe */
.principi-featured {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.principi-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.principi-row--center {
  justify-content: center;
}

/* Card glassmorphism */
.principio-card {
  position: relative;
  width: 280px;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.2);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.principio-card:hover {
  transform: scale(1.06);
  box-shadow: 0 0 40px rgba(255, 140, 0, 0.45);
}

/* Glow overlay on hover */
.principio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 1.25rem;
}

.principio-card:hover::after {
  opacity: 1;
}

/* Featured card (più grande, più glow) */
.principio-card--featured {
  width: 380px;
  box-shadow: 0 0 60px rgba(255, 140, 0, 0.45);
}

.principio-card--featured:hover {
  box-shadow: 0 0 80px rgba(255, 140, 0, 0.65);
}

.principio-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.principio-card--featured .principio-img {
  height: 240px;
}

.principio-content {
  padding: 1.25rem 1.25rem 1.5rem;
}

.principio-title {
  font-size: 1.3rem;
  color: #ffb347;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.principio-card--featured .principio-title {
  font-size: 1.5rem;
}

.principio-text {
  font-size: 0.95rem;
  color: #c8d4e0;
  line-height: 1.6;
  margin: 0;
}

/* CTA Button con glow */
.principi-cta {
  text-align: center;
  margin: 1rem 0 2.5rem;
}

.btn-principi-cta {
  display: inline-block;
  padding: 1rem 3rem;
  border: none;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff8c00, #ffb347);
  box-shadow: 0 0 40px rgba(255, 140, 0, 0.6);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-principi-cta:hover {
  transform: scale(1.08);
  box-shadow: 0 0 60px rgba(255, 140, 0, 0.9);
}

/* Scroll animation: fade-in-up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay per le card in riga */
.principi-row .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.principi-row .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.principi-row .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.fenyra-closing {
  text-align: center;
  font-size: 1.1rem;
  color: #ffffff;
  padding: 1.5rem 0 0;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 1rem;
}

/* ========== MISSIONE E VALORI - REDESIGN ========== */
.mission-valori-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 3rem auto 2rem;
  background: rgba(5, 30, 20, 0.92);
  border: 1px solid rgba(0, 201, 131, 0.35);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 201, 131, 0.12);
}

/* Glow radiale verde in cima */
.mv-glow-top {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(0, 201, 131, 0.25), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Tocco dorato angolo basso destra */
.mv-glow-gold {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 210, 111, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.mission-valori-dynamic {
  position: relative;
  z-index: 1;
}

/* Intestazione */
.mv-header {
  text-align: center;
  margin-bottom: 3rem;
}

.mission-valori-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--fenyra-gold, #FFD26F) 0%, #7FFFD4 50%, #20B2AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.mission-valori-subtitle {
  font-size: 1.2rem;
  color: #b0bec5;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.mv-separator {
  width: 120px;
  height: 3px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--fenyra-gold, #FFD26F), #00C983);
  border-radius: 3px;
}

/* Griglia 2×2 */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Card */
.mv-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 201, 131, 0.2);
  border-radius: 1.25rem;
  padding: 2.25rem 1.75rem 1.75rem;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.mv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 201, 131, 0.55);
  box-shadow: 0 12px 40px rgba(0, 201, 131, 0.18);
}

/* Linea gradiente in cima alla card */
.mv-card-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fenyra-gold, #FFD26F), #20B2AA);
}

/* Numero grande quasi invisibile */
.mv-card-number {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
  transition: color 0.35s ease;
}

.mv-card:hover .mv-card-number {
  color: rgba(255, 255, 255, 0.1);
}

/* Icona emoji in cerchio teal */
.mv-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 201, 131, 0.15);
  border: 1px solid rgba(0, 201, 131, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.mv-card:hover .mv-card-icon {
  background: rgba(0, 201, 131, 0.22);
  box-shadow: 0 0 20px rgba(0, 201, 131, 0.35);
}

/* Titolo card */
.mv-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fenyra-gold, #FFD26F);
  margin-bottom: 0.6rem;
}

/* Testo card */
.mv-card-text {
  font-size: 0.95rem;
  color: #cfd8dc;
  line-height: 1.7;
}

/* CTA in fondo */
.mv-cta-wrapper {
  text-align: center;
  margin-top: 2.5rem;
}

.mv-cta-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #00C983, var(--fenyra-gold, #FFD26F));
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0, 201, 131, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-cta-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 36px rgba(0, 201, 131, 0.45);
}

/* Responsive — tablet */
@media (max-width: 768px) {
  .mission-valori-section {
    padding: 3rem 1.25rem;
  }

  .mission-valori-title {
    font-size: 2.2rem;
  }

  .mv-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Responsive — mobile */
@media (max-width: 480px) {
  .mission-valori-section {
    padding: 2rem 1rem;
    border-radius: 1rem;
  }

  .mission-valori-title {
    font-size: 1.8rem;
  }

  .mission-valori-subtitle {
    font-size: 1rem;
  }

  .mv-card {
    padding: 1.75rem 1.25rem 1.25rem;
  }
}

/* ========== SEZIONE COSA FACCIAMO - 3 BOX VETRO ========== */
.cosa-facciamo-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 2rem auto 3rem;
}

.cosa-facciamo-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.cosa-facciamo-headline {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--fenyra-gold);
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(255, 210, 111, 0.25);
}

.cosa-facciamo-subheadline {
  font-size: 1.2rem;
  font-weight: 700;
  color: #E8E4D9;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.cosa-facciamo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Glass box */
.glass-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.glass-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 210, 111, 0.3);
}

.glass-box-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fenyra-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 10px rgba(255, 210, 111, 0.3);
}

.glass-box-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #E8E4D9;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.glass-box-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #E8E4D9;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.glass-box-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.glass-box-list li {
  font-size: 0.95rem;
  font-weight: 700;
  color: #E8E4D9;
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  line-height: 1.5;
}

.glass-box-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--fenyra-gold);
  font-size: 1rem;
}

.glass-box-closing {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fenyra-green);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Responsive cosa facciamo */
@media (max-width: 1000px) {
  .cosa-facciamo-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .cosa-facciamo-headline {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .cosa-facciamo-section {
    padding: 2rem 1rem;
  }

  .cosa-facciamo-headline {
    font-size: 1.5rem;
  }

  .cosa-facciamo-subheadline {
    font-size: 1rem;
  }

  .glass-box {
    padding: 1.5rem 1.25rem;
  }

  .glass-box-title {
    font-size: 1.3rem;
  }
}

/* ========== SEZIONE FORMAZIONE DEFI ========== */
.defi-section {
  padding: 2rem 2rem;
  max-width: 1400px;
  margin: 1rem auto 2rem;
  background: rgba(5, 30, 20, 0.9);
  border: 1px solid rgba(0, 201, 131, 0.5);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 201, 131, 0.15);
}

.defi-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Intro centrato */
.defi-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.defi-intro-desc {
  text-align: center;
}

.defi-intro-img {
  width: 100%;
  max-width: 900px;
  margin: 0.75rem auto 0;
  border-radius: 1rem;
  display: block;
}

/* Blocco impilato: testo sopra, immagine sotto */
.defi-stacked {
  max-width: 900px;
  margin: 0 auto;
}

.defi-stacked h3,
.defi-stacked h4,
.defi-stacked p {
  margin-top: 0;
}

.defi-stacked-img {
  width: 100%;
  min-width: 100%;
  margin: 0.5rem auto 0;
  border-radius: 1rem;
  display: block;
  object-fit: cover;
}

.defi-stacked-img[src=""] {
  display: none;
}

/* Valore sociale - sezione separata */
.defi-valore-section {
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 2rem auto;
}

.defi-valore-sociale {
  max-width: 1000px;
  margin: 0 auto;
}

.defi-glass-box--header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.defi-glass-box--header .defi-main-title {
  margin-bottom: 0;
}

.defi-glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.defi-glass-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.defi-glass-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fenyra-gold);
  margin: 0 0 0.5rem;
  text-shadow: 0 1px 10px rgba(255, 210, 111, 0.25);
}

.defi-glass-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: #00d99f;
  margin: 0 0 0.75rem;
  font-style: italic;
}

.defi-glass-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.7;
  margin: 0;
}

.defi-glass-img {
  width: 100%;
  margin-top: 1rem;
  border-radius: 0.75rem;
  display: block;
}

.defi-glass-img[src=""] {
  display: none;
}

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

/* Testo */
.defi-main-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fenyra-gold);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(255, 210, 111, 0.3);
}

.defi-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fenyra-gold);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 16px rgba(255, 210, 111, 0.3);
  text-align: center;
  text-transform: uppercase;
}

.defi-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #00d99f;
  margin-bottom: 0.75rem;
  font-style: italic;
  text-align: center;
}

.defi-desc {
  font-size: 1.15rem;
  font-weight: 600;
  color: #E8E4D9;
  line-height: 1.7;
  text-align: center;
}

.defi-cta {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fenyra-gold);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.defi-btn {
  margin-top: 0.5rem;
}


/* Responsive defi */
@media (max-width: 900px) {
  .defi-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .defi-block--text-right .defi-img-wrap {
    order: -1;
  }

  .defi-main-title,
  .defi-title {
    font-size: 1.6rem;
  }

  .defi-section {
    padding: 2.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .defi-section {
    padding: 2rem 1rem;
    border-radius: 1rem;
  }

  .defi-main-title,
  .defi-title {
    font-size: 1.4rem;
  }

  .defi-inner {
    gap: 2.5rem;
  }
}

/* ========== SEZIONE CONNESSIONI ========== */
.connessioni-section {
  padding: 0 2rem 4rem;
  max-width: 1400px;
  margin: 0 auto 2rem;
}

/* Hero */
.connessioni-hero {
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg,
    rgba(0, 201, 131, 0.12) 0%,
    rgba(0, 58, 117, 0.25) 50%,
    rgba(255, 210, 111, 0.1) 100%);
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 201, 131, 0.2);
  position: relative;
  overflow: hidden;
}

.connessioni-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 201, 131, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(255, 210, 111, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.connessioni-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--fenyra-gold);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(255, 210, 111, 0.3);
  position: relative;
}

.hero-wip-note {
  display: block;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  margin-top: 0.5rem;
  text-shadow: none;
  letter-spacing: 0.03em;
  animation: heroNoteBlink 2s ease-in-out infinite;
}

@keyframes heroNoteBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.connessioni-hero-sub {
  font-size: 1.2rem;
  font-weight: 600;
  color: #E8E4D9;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

/* Griglia 2x3 */
.connessioni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Card singola */
.connessioni-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.connessioni-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 210, 111, 0.35);
}

.connessioni-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 8px rgba(255, 210, 111, 0.3));
}

.connessioni-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fenyra-gold);
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 8px rgba(255, 210, 111, 0.2);
}

.connessioni-card-text {
  font-size: 1rem;
  font-weight: 600;
  color: #E8E4D9;
  line-height: 1.7;
}

/* Scroll reveal animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Stagger delay per le card */
.connessioni-card:nth-child(1) { transition-delay: 0s; }
.connessioni-card:nth-child(2) { transition-delay: 0.12s; }
.connessioni-card:nth-child(3) { transition-delay: 0.24s; }
.connessioni-card:nth-child(4) { transition-delay: 0.36s; }
.connessioni-card:nth-child(5) { transition-delay: 0.48s; }
.connessioni-card:nth-child(6) { transition-delay: 0.6s; }

/* Responsive connessioni */
@media (max-width: 900px) {
  .connessioni-hero-title {
    font-size: 2rem;
  }

  .connessioni-hero-sub {
    font-size: 1.05rem;
  }

  .connessioni-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .connessioni-section {
    padding: 0 1rem 2rem;
  }

  .connessioni-hero {
    padding: 2.5rem 1.25rem;
    margin-bottom: 2rem;
  }

  .connessioni-hero-title {
    font-size: 1.6rem;
  }

  .connessioni-card {
    padding: 1.75rem 1.25rem;
  }

  .connessioni-icon {
    font-size: 2.2rem;
  }

  .connessioni-card-title {
    font-size: 1.2rem;
  }
}

/* Responsive per nuove sezioni */
@media (max-width: 900px) {
  .fenyra-title {
    font-size: 2.5rem;
  }
  
  .fenyra-subtitle {
    font-size: 1.1rem;
  }
  
  .principi-container {
    padding: 1.5rem;
  }
  
  .principi-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .principio-card:nth-child(1),
  .principio-card:nth-child(2),
  .principio-card:nth-child(3),
  .principio-card:nth-child(4),
  .principio-card:nth-child(5) {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }
  
  .principio-img {
    width: 150px;
    height: 150px;
  }
}

/* BOTTONE DONA IN NAVBAR */
.btn-nav-dona {
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid var(--fenyra-green);
  background: linear-gradient(135deg, var(--fenyra-green), #00d99f);
  color: #04101e;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-nav-dona:hover {
  background: linear-gradient(135deg, #00d99f, var(--fenyra-green));
  box-shadow: 0 0 18px rgba(0, 201, 131, 0.5);
  transform: translateY(-1px);
}

/* CARD CLICCABILE */
.project-card-clickable {
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-card-clickable:hover {
  transform: translateY(-3px);
  border-color: var(--fenyra-green);
  box-shadow: 0 0 28px rgba(0, 201, 131, 0.4);
}

.card-action-hint {
  display: block;
  margin-top: 0.75rem;
  color: var(--fenyra-green);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

/* POPUP PUBBLICITÀ + SOCIAL */
.promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.promo-overlay[aria-hidden="false"] {
  display: flex;
}

.promo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 30, 0.9);
  backdrop-filter: blur(6px);
}

.promo-dialog {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #05070d 0%, #0a1520 100%);
  border: 2px solid rgba(255, 210, 111, 0.5);
  border-radius: 1.25rem;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}

.promo-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--fenyra-gold);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.promo-close:hover {
  color: var(--fenyra-green);
}

.promo-title {
  font-size: 1.5rem;
  color: var(--fenyra-gold);
  margin-bottom: 1.25rem;
  text-align: center;
}

.promo-content {
  margin-bottom: 1.5rem;
}

.promo-ad {
  margin-bottom: 1.5rem;
}

.promo-ad-text {
  color: var(--fenyra-text-muted);
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.promo-ad-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 0.5rem;
}

.promo-social-title {
  font-size: 1rem;
  color: var(--fenyra-green);
  margin-bottom: 0.75rem;
  text-align: center;
}

.promo-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.promo-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 210, 111, 0.4);
  background: rgba(5, 7, 13, 0.8);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.promo-social-link:hover {
  border-color: var(--fenyra-green);
  transform: translateY(-2px);
}

.promo-social-tiktok:hover { background: rgba(0, 0, 0, 0.4); }
.promo-social-instagram:hover { background: rgba(225, 48, 108, 0.2); border-color: #e1306c; }
.promo-social-facebook:hover { background: rgba(24, 119, 242, 0.2); border-color: #1877f2; }

.promo-social-icon {
  font-size: 1.1rem;
}

.promo-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 210, 111, 0.2);
}

.promo-dont-show {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--fenyra-text-muted);
  cursor: pointer;
}

.promo-dont-show input {
  width: auto;
}

.promo-close-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* MODAL DONAZIONI */
.donations-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.donations-overlay[aria-hidden="false"] {
  display: flex;
}

.donations-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 30, 0.92);
  backdrop-filter: blur(8px);
}

.donations-dialog {
  position: relative;
  z-index: 1;
  background: url('sfondofenyra.jpg') no-repeat center center;
  background-size: cover;
  border: 2px solid rgba(0, 201, 131, 0.6);
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.8);
}

.donations-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--fenyra-gold);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s ease;
}

.donations-close:hover {
  color: var(--fenyra-green);
}

.donations-title {
  font-size: 2rem;
  color: var(--fenyra-gold);
  margin-bottom: 0.5rem;
  text-align: center;
}

.donations-subtitle {
  font-size: 1rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
}

.donations-projects-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.donation-project-card {
  background: rgba(5, 7, 13, 0.8);
  border: 1px solid rgba(255, 210, 111, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.donation-project-card:hover {
  transform: translateY(-2px);
  border-color: var(--fenyra-green);
}

.donation-project-general {
  background: linear-gradient(135deg, rgba(0, 201, 131, 0.1), rgba(255, 210, 111, 0.1));
  border: 2px solid var(--fenyra-green);
}

.donation-project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.donation-project-title {
  font-size: 1.2rem;
  color: var(--fenyra-gold);
  margin: 0;
}

.donation-project-goal {
  font-size: 0.85rem;
  color: var(--fenyra-green);
  font-weight: 600;
  white-space: nowrap;
}

.donation-project-description {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.donation-progress {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  height: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.donation-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--fenyra-green), var(--fenyra-gold));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.donation-progress-text {
  font-size: 0.8rem;
  color: var(--fenyra-text-muted);
  margin-bottom: 1rem;
}

.btn-donate {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fenyra-green), #00d99f);
  color: #04101e;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-donate:hover {
  background: linear-gradient(135deg, #00d99f, var(--fenyra-green));
  box-shadow: 0 0 18px rgba(0, 201, 131, 0.4);
  transform: translateY(-1px);
}

.btn-donate-general {
  background: linear-gradient(135deg, var(--fenyra-gold), #ffd966);
}

.btn-donate-general:hover {
  background: linear-gradient(135deg, #ffd966, var(--fenyra-gold));
  box-shadow: 0 0 18px rgba(255, 210, 111, 0.4);
}

/* Form donatore (Nome, Cognome, Email, Telefono) prima del collegamento Nexi */
.donation-form-panel {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(5, 7, 13, 0.9);
  border: 1px solid rgba(0, 201, 131, 0.4);
  border-radius: 1rem;
}

.donations-form-title {
  font-size: 1.15rem;
  color: var(--fenyra-gold);
  margin-bottom: 0.5rem;
  text-align: center;
}

.donations-form-subtitle {
  font-size: 0.9rem;
  color: var(--fenyra-text-muted);
  text-align: center;
  margin-bottom: 1.25rem;
}

.donation-donor-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--fenyra-text-muted);
  margin-bottom: 0.25rem;
}

.donation-donor-form input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 210, 111, 0.4);
  border-radius: 8px;
  background: #0a1520;
  color: var(--fenyra-text-main);
  font-size: 0.95rem;
}

.donation-donor-form input:focus {
  outline: none;
  border-color: var(--fenyra-green);
}

.donation-form-row {
  margin-bottom: 1rem;
}

.donation-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.btn-donation-back {
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255, 210, 111, 0.6);
  border-radius: 999px;
  background: transparent;
  color: var(--fenyra-gold);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-donation-back:hover {
  background: rgba(255, 210, 111, 0.15);
}

.btn-donate-submit {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fenyra-green), var(--fenyra-gold));
  color: #04101e;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-donate-submit:hover {
  box-shadow: 0 0 18px rgba(0, 201, 131, 0.4);
  transform: translateY(-1px);
}

.donations-payment-info {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 210, 111, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.donations-payment-info h3 {
  font-size: 1.2rem;
  color: var(--fenyra-gold);
  margin-bottom: 0.75rem;
}

.payment-info-text {
  font-size: 0.95rem;
  color: var(--fenyra-text-main);
  line-height: 1.7;
}

/* Stile speciale per card Quota Sospesa */
.donation-project-suspended {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(192, 132, 252, 0.1));
  border: 2px solid rgba(147, 51, 234, 0.6);
}

.donation-project-suspended:hover {
  border-color: #a855f7;
}

.donation-project-suspended .donation-project-title {
  color: #c084fc;
}

.btn-donate-suspended {
  background: linear-gradient(135deg, #9333ea, #a855f7);
  color: #fff;
}

.btn-donate-suspended:hover {
  background: linear-gradient(135deg, #a855f7, #9333ea);
  box-shadow: 0 0 18px rgba(147, 51, 234, 0.4);
}

/* MODAL ISCRIZIONE SOSPESA */
.suspended-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.suspended-overlay.is-open,
.suspended-overlay[aria-hidden="false"] {
  display: flex;
}

.suspended-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 30, 0.95);
  backdrop-filter: blur(8px);
}

.suspended-dialog {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #05070d 0%, #0a1520 100%);
  border: 2px solid rgba(147, 51, 234, 0.6);
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.8);
}

.suspended-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #c084fc;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s ease;
}

.suspended-close:hover {
  color: #a855f7;
}

.suspended-title {
  font-size: 1.8rem;
  color: #c084fc;
  margin-bottom: 0.5rem;
  text-align: center;
}

.suspended-subtitle {
  font-size: 1rem;
  color: var(--fenyra-text-muted);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.suspended-form label {
  display: block;
  font-size: 0.9rem;
  color: var(--fenyra-text-main);
  margin-bottom: 0.4rem;
}

.suspended-form input,
.suspended-form textarea,
.suspended-form select {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 8px;
  color: var(--fenyra-text-main);
  font-size: 1rem;
}

.suspended-form input:focus,
.suspended-form textarea:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.2);
}

.suspended-form textarea {
  resize: vertical;
  min-height: 100px;
}

.suspended-info-box {
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.suspended-info-box p {
  font-size: 0.9rem;
  color: var(--fenyra-text-muted);
  line-height: 1.6;
  margin: 0;
}

.suspended-actions {
  margin-top: 1.5rem;
  text-align: center;
}

.btn-suspended-submit {
  background: linear-gradient(135deg, #9333ea, #a855f7);
  border: none;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-suspended-submit:hover {
  background: linear-gradient(135deg, #a855f7, #9333ea);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
  transform: translateY(-2px);
}

/* Responsive donazioni */
@media (max-width: 768px) {
  .donations-dialog {
    padding: 1.5rem;
  }
  
  .donations-title {
    font-size: 1.5rem;
  }
  
  .donations-projects-list {
    grid-template-columns: 1fr;
  }
  
  .btn-nav-dona {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  
  .suspended-dialog {
    padding: 1.5rem;
  }
  
  .suspended-title {
    font-size: 1.4rem;
  }
}

/* OVERLAY ISCRIZIONE QUOTA SOSPESA */
.suspended-membership-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}

.suspended-membership-overlay[aria-hidden="false"],
.suspended-membership-overlay.is-open {
  display: flex;
}

.suspended-membership-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 16, 30, 0.95);
  backdrop-filter: blur(8px);
}

.suspended-membership-section {
  border: 2px solid rgba(147, 51, 234, 0.5) !important;
}

/* Bottone Quota Sospesa nel popup scelta */
.membership-choice-btn-suspended {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(192, 132, 252, 0.15)) !important;
  border: 2px solid rgba(147, 51, 234, 0.5) !important;
}

.membership-choice-btn-suspended:hover {
  border-color: #a855f7 !important;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(192, 132, 252, 0.25)) !important;
}

.membership-choice-btn-suspended .choice-icon {
  color: #c084fc;
}

.membership-choice-btn-suspended .choice-label {
  color: #c084fc;
}

/* ========== BOOKING MODAL ========== */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.booking-overlay.is-open {
  display: flex;
}

.booking-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 16, 30, 0.95);
  backdrop-filter: blur(8px);
}

.booking-dialog {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.booking-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #0a3540;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.booking-close:hover {
  background: rgba(10, 53, 64, 0.1);
}

.booking-header {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.booking-image {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.booking-info {
  flex: 1;
}

.booking-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.booking-type.event {
  background: linear-gradient(135deg, #00C983, #00a86b);
  color: #fff;
}

.booking-type.activity {
  background: linear-gradient(135deg, #0a3540, #0d4552);
  color: #FFD26F;
}

.booking-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0a3540;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.booking-date,
.booking-location {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.booking-date::before {
  content: "📅 ";
}

.booking-location::before {
  content: "📍 ";
}

.booking-description {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.booking-availability {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 201, 131, 0.1);
  border: 1px solid rgba(0, 201, 131, 0.3);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.booking-seats {
  font-size: 0.95rem;
  color: #0a3540;
}

.booking-seats strong {
  color: #00C983;
  font-size: 1.1rem;
}

.booking-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a3540;
}

.booking-price.free {
  color: #00C983;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.booking-form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.booking-form label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0a3540;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(10, 53, 64, 0.2);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #0a3540;
  transition: border-color 0.2s;
}

.booking-form input:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: #00C983;
  box-shadow: 0 0 0 2px rgba(0, 201, 131, 0.2);
}

.booking-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 210, 111, 0.2);
  border: 1px solid rgba(255, 210, 111, 0.5);
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.booking-total span {
  font-size: 0.85rem;
  color: #666;
}

.booking-total strong {
  font-size: 1.25rem;
  color: #0a3540;
}

.booking-actions {
  margin-top: 1rem;
}

.booking-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #00C983, #00a86b);
  border: none;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.booking-submit:hover {
  background: linear-gradient(135deg, #00a86b, #008a5a);
  box-shadow: 0 4px 16px rgba(0, 201, 131, 0.4);
  transform: translateY(-2px);
}

.booking-disabled {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 100, 100, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.3);
  border-radius: 0.75rem;
  color: #c00;
}

/* Events strip clickable */
.events-slide {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.events-slide:hover {
  transform: scale(1.02);
}

/* Responsive booking */
@media (max-width: 600px) {
  .booking-header {
    flex-direction: column;
  }
  
  .booking-image {
    width: 100%;
    height: 150px;
  }
  
  .booking-form-row--2 {
    grid-template-columns: 1fr;
  }
  
  .booking-availability {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* Barra prenotazione sotto eventi strip */
.events-booking-bar {
  max-width: 1080px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(10, 53, 64, 0.98), rgba(5, 7, 13, 0.98));
  border: 2px solid rgba(255, 210, 111, 0.6);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.events-booking-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.events-booking-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fenyra-gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.events-booking-date {
  font-size: 1rem;
  color: #E4E0D4;
  font-weight: 500;
}

.btn-book-event {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #00C983, #00a86b);
  border: none;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-book-event:hover {
  background: linear-gradient(135deg, #00a86b, #008a5a);
  box-shadow: 0 4px 16px rgba(0, 201, 131, 0.4);
  transform: translateY(-2px);
}

/* Contenitore pulsanti eventi */
.events-booking-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Pulsante Partecipa su Zoom/Meet/Teams */
.btn-join-event {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #2D8CFF, #0055FF);
  border: none;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-join-event:hover {
  background: linear-gradient(135deg, #0055FF, #003ACC);
  box-shadow: 0 4px 16px rgba(45, 140, 255, 0.5);
  transform: translateY(-2px);
  color: #fff;
}

/* Mobile responsive per banner eventi */
@media (max-width: 1024px) {
  .events-banner-carousel {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .events-banner-container {
    width: 100%;
    max-width: 728px;
    height: auto;
    aspect-ratio: 928 / 210;
  }
  
  .events-banner-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .events-banner-section {
    padding: 1rem 0.5rem 0;
    margin-bottom: 2rem;
  }
  
  .events-banner-header {
    padding: 0 1rem;
  }
  
  .events-banner-title {
    font-size: 1rem;
  }
  
  .events-banner-carousel {
    gap: 0.5rem;
  }
  
  .events-banner-container {
    max-width: 600px;
  }
  
  .events-banner-arrow {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
  
  .events-booking-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin: 1rem 1rem 0;
    padding: 1.2rem 1.5rem;
  }
  
  .events-booking-title {
    font-size: 1.1rem;
  }
  
  .events-booking-date {
    font-size: 0.9rem;
  }
  
  .events-booking-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .events-banner-carousel {
    gap: 0.3rem;
  }
  
  .events-banner-container {
    max-width: 100%;
    border-radius: 6px;
  }
  
  .events-banner-arrow {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }
  
  .events-booking-bar {
    margin: 1rem 0.5rem 0;
    padding: 1rem;
  }
  
  .events-booking-title {
    font-size: 1rem;
  }
  
  .btn-book-event {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}

/* ============================================
   MODAL LOADING, SUCCESSO
   ============================================ */

/* --- STILI COMUNI OVERLAY --- */
.loading-modal-overlay,
.success-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-modal-overlay.is-open,
.success-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.loading-modal-backdrop,
.success-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 53, 64, 0.85);
  backdrop-filter: blur(8px);
}

/* --- MODAL LOADING --- */
.loading-modal-dialog {
  position: relative;
  text-align: center;
  padding: 3rem;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #00c983;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
}

/* --- MODAL SUCCESSO --- */
.success-modal-dialog {
  position: relative;
  background: linear-gradient(145deg, #0c3a48, #0a3540);
  border-radius: 24px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(0, 201, 131, 0.3);
  animation: successPop 0.5s ease;
}

@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.success-modal-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: bounce 0.6s ease 0.3s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.success-modal-title {
  color: #00c983;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.success-modal-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.success-modal-text p {
  margin: 0.5rem 0;
}

.success-welcome {
  color: #00c983 !important;
  font-weight: 600;
  font-size: 1.2rem !important;
  margin-top: 1rem !important;
}

.btn-success-close {
  background: linear-gradient(135deg, #00c983, #00a86b);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1.1rem 3rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-success-close:hover {
  background: linear-gradient(135deg, #00d992, #00b877);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 201, 131, 0.5);
}

.success-note {
  color: #ffc107 !important;
  font-weight: 600;
  padding: 0.5rem;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 8px;
  margin-top: 0.5rem;
}

/* --- MODAL SCELTA PAGAMENTO POST-FIRMA --- */
.payment-choice-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.payment-choice-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.payment-choice-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 53, 64, 0.9);
  backdrop-filter: blur(10px);
}

.payment-choice-modal-dialog {
  position: relative;
  background: linear-gradient(145deg, #0c3a48, #0a3540);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(0, 201, 131, 0.3);
  animation: modalSlideIn 0.4s ease;
}

.payment-choice-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.payment-choice-title {
  color: #00c983;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.payment-choice-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.payment-choice-text p {
  margin: 0.5rem 0;
}

.payment-choice-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-payment-ok {
  background: linear-gradient(135deg, #00c983, #00a86b);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1.1rem 3rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-payment-ok:hover {
  background: linear-gradient(135deg, #00d992, #00b877);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 201, 131, 0.5);
}

/* --- BLOG: OGGI PARLIAMO DI... --- */
.blog-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
  background: rgba(5, 30, 20, 0.9);
  border: 1px solid rgba(0, 201, 131, 0.5);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 30px rgba(0, 201, 131, 0.15);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.blog-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00c983;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.blog-subtitle {
  color: #ffffff;
  font-size: 1.25rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 53, 64, 0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(10, 53, 64, 0.15);
}

.blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a3540;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card-summary {
  font-size: 0.92rem;
  color: rgba(10, 53, 64, 0.7);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: rgba(10, 53, 64, 0.45);
}

.blog-card-read {
  display: inline-block;
  margin-top: 0.75rem;
  color: #00c983;
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-empty {
  text-align: center;
  color: rgba(10, 53, 64, 0.5);
  font-size: 1rem;
  padding: 2rem 0;
}

/* Blog overlay (lettura post completo) */
.blog-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.blog-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.blog-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 53, 64, 0.85);
  backdrop-filter: blur(8px);
}

.blog-overlay-dialog {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 3rem;
  max-width: 720px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn 0.4s ease;
  -webkit-overflow-scrolling: touch;
}

.blog-overlay-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #0a3540;
  cursor: pointer;
  line-height: 1;
}

.blog-overlay-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.blog-overlay-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0a3540;
  margin-bottom: 0.5rem;
}

.blog-overlay-meta {
  font-size: 0.85rem;
  color: rgba(10, 53, 64, 0.5);
  margin-bottom: 1.5rem;
}

.blog-overlay-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  white-space: pre-wrap;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .blog-title {
    font-size: 1.7rem;
  }
  .blog-overlay-dialog {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
}

/* PAGA PER UN ALTRO */
.payment-for-other-section {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 210, 111, 0.1);
  border: 1px solid rgba(255, 210, 111, 0.3);
  border-radius: 12px;
}

.payment-for-other-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: #FFD26F;
  font-weight: 500;
}

.payment-for-other-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #FFD26F;
}

.payment-for-other-fields {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 210, 111, 0.2);
}

.payment-for-other-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.payment-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.payment-field span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.payment-field input {
  padding: 0.75rem 1rem;
  background: rgba(10, 53, 64, 0.8);
  border: 1px solid rgba(255, 210, 111, 0.4);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
}

.payment-field input:focus {
  outline: none;
  border-color: #FFD26F;
  box-shadow: 0 0 0 2px rgba(255, 210, 111, 0.2);
}

.payment-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* --- RESPONSIVE MODAL --- */
@media (max-width: 768px) {
  .membership-choice-dialog {
    padding: 1.5rem;
  }

  .membership-choice-buttons {
    grid-template-columns: 1fr;
  }

  .membership-choice-buttons-center .membership-choice-btn {
    min-width: 0;
    max-width: 100%;
  }

  .donation-form-row .phone-input-wrapper {
    flex-direction: column;
  }

  .donation-form-row .phone-input-wrapper .phone-prefix,
  .donation-form-row .phone-input-wrapper .phone-number {
    width: 100%;
    max-width: 100%;
  }

  .promo-dialog {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .success-modal-dialog,
  .payment-choice-modal-dialog {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .success-modal-icon {
    font-size: 4rem;
  }
  
  .success-modal-title {
    font-size: 1.6rem;
  }
  
  .btn-success-close {
    width: 100%;
    padding: 1rem 2rem;
  }
  
  .payment-choice-title {
    font-size: 1.5rem;
  }
  
  .btn-payment-ok {
    width: 100%;
  }

  .membership-choice-title {
    font-size: 1.2rem;
  }

  .membership-choice-btn {
    padding: 1.25rem 1rem;
  }

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

  .donations-dialog {
    padding: 1.25rem;
  }

  .donations-title {
    font-size: 1.3rem;
  }

  .transaction-input-wrapper {
    flex-direction: column;
  }

  .phone-input-wrapper {
    flex-direction: column;
  }

  .phone-prefix {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================================
 * TESTIMONIANZE SECTION - Homepage (Glass Effect)
 * ============================================================ */
.testimonials-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.testimonials-title {
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--fenyra-green, #00C983), var(--fenyra-gold, #FFD26F));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.testimonials-subtitle {
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 400;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* Card testimonianza — glass effect */
.testimonial-card {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  /* Animazione ingresso — stagger via JS */
  opacity: 0;
  transform: translateY(30px);
  animation: testimonialFadeIn 0.6s ease forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.25s; }
.testimonial-card:nth-child(3) { animation-delay: 0.4s; }
.testimonial-card:nth-child(4) { animation-delay: 0.55s; }
.testimonial-card:nth-child(5) { animation-delay: 0.7s; }
.testimonial-card:nth-child(6) { animation-delay: 0.85s; }

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

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 210, 111, 0.4);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 210, 111, 0.15);
}

/* Virgoletta decorativa */
.testimonial-quote {
  font-size: 3.5rem;
  color: rgba(255, 210, 111, 0.35);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-family: Georgia, 'Times New Roman', serif;
  user-select: none;
}

/* Testo testimonianza */
.testimonial-text {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  white-space: pre-wrap;
  flex: 1;
}

/* Pulsante Leggi tutto / Leggi meno */
.testimonial-toggle-btn {
  background: none;
  border: none;
  color: var(--fenyra-gold, #FFD26F);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.75rem;
  transition: opacity 0.2s ease;
}

.testimonial-toggle-btn:hover {
  opacity: 0.75;
}

/* Autore + data */
.testimonial-footer {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.testimonial-author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fenyra-gold, #FFD26F);
}

.testimonial-date {
  font-size: 0.8rem;
  color: rgba(164, 163, 181, 0.8);
}

/* Empty state */
.testimonials-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(164, 163, 181, 0.6);
  font-size: 1rem;
  padding: 3rem 1rem;
}

/* Responsive — tablet: 2 colonne */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-title {
    font-size: 2.2rem;
  }
}

/* Responsive — mobile: 1 colonna */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 3.5rem 1.25rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .testimonials-title {
    font-size: 1.8rem;
  }
  .testimonials-subtitle {
    font-size: 1rem;
  }
  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ============================================================
 * FAQ SECTION - Gold Marble Glass Effect
 * ============================================================ */
.faq-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header FAQ - sfondo bianco sporco vetro (come blog) */
.faq-header {
  text-align: center;
  margin-bottom: 3rem;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,0.45) 0%,
      rgba(220,225,230,0.30) 25%,
      rgba(255,255,255,0.50) 50%,
      rgba(200,210,220,0.28) 75%,
      rgba(255,255,255,0.42) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow:
    0 8px 32px rgba(10,53,64,0.10),
    inset 0 1px 0 rgba(255,255,255,0.6);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.faq-section .section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #003A75;
  margin-bottom: 0.5rem;
}

.faq-section .section-title {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
}

.faq-section .section-description {
  margin-bottom: 0;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background:
    linear-gradient(135deg,
      rgba(255, 210, 111, 0.20) 0%,
      rgba(180, 150, 80, 0.15) 25%,
      rgba(255, 220, 130, 0.22) 50%,
      rgba(160, 130, 70, 0.14) 75%,
      rgba(255, 210, 111, 0.18) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 210, 111, 0.4);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 20px rgba(255, 210, 111, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.faq-item:hover {
  border-color: rgba(255, 210, 111, 0.6);
  background:
    linear-gradient(135deg,
      rgba(255, 210, 111, 0.28) 0%,
      rgba(180, 150, 80, 0.22) 25%,
      rgba(255, 220, 130, 0.30) 50%,
      rgba(160, 130, 70, 0.20) 75%,
      rgba(255, 210, 111, 0.25) 100%);
  box-shadow:
    0 8px 32px rgba(255, 210, 111, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--fenyra-text-main);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-question:hover {
  color: var(--fenyra-gold);
}

.faq-question[aria-expanded="true"] {
  color: var(--fenyra-gold);
  background: rgba(255, 210, 111, 0.05);
}

.faq-icon {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--fenyra-gold);
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-question:hover .faq-icon {
  color: #FFE08C;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: #FFE08C;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-answer:not([hidden]) {
  max-height: 800px;
  padding: 0 2rem 2rem 2rem;
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 1.05rem;
  border-top: 1px solid rgba(255, 210, 111, 0.2);
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 1rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }

  .faq-icon {
    font-size: 1.25rem;
  }

  .faq-answer:not([hidden]) {
    padding: 0 1rem 1rem 1rem;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 30, 20, 0.97);
  border-top: 2px solid rgba(0, 201, 131, 0.5);
  box-shadow: 0 -4px 30px rgba(0, 201, 131, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner-content {
  max-width: 1000px;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  font-size: 0.95rem;
  color: #E8E4D9;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner-text a {
  color: #00c983;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #00c983, #00a86b);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: linear-gradient(135deg, #00d992, #00b877);
  box-shadow: 0 4px 15px rgba(0, 201, 131, 0.4);
}

.cookie-btn-reject {
  background: transparent;
  color: #E8E4D9;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* ========== 5 PILASTRI - MOBILE FIX (deve stare DOPO gli stili base per sovrascriverli) ========== */
@media (max-width: 768px) {
  .principi-section {
    padding: 2rem 0.5rem;
  }

  .principi-featured {
    margin-bottom: 1.5rem;
  }

  .principio-card,
  .principio-card--featured {
    width: 100%;
    max-width: 100%;
  }

  .principio-img,
  .principio-card--featured .principio-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
  }

  .principio-content {
    padding: 1rem;
  }

  .principio-title {
    font-size: 1.2rem;
  }

  .principio-card--featured .principio-title {
    font-size: 1.3rem;
  }

  .principio-text {
    font-size: 0.9rem;
  }

  .principi-cta {
    margin: 1rem 0 1.5rem;
  }

  .btn-principi-cta {
    font-size: 1rem;
    padding: 0.85rem 2rem;
  }
}

@media (max-width: 480px) {
  .principi-section {
    padding: 1.5rem 0.25rem;
  }

  .principi-main-title {
    font-size: 1.6rem;
  }

  .principio-card,
  .principio-card--featured {
    width: 100%;
    max-width: 100%;
    border-radius: 1rem;
  }

  .principio-img,
  .principio-card--featured .principio-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem 1rem 0 0;
  }
}
