/* Sito Matrimonio – Marco & Gabriela. Armonia, sfumature, nessuna cella. Hero con due anelli. */
:root {
  --text: #1a1a1a;
  --text-soft: #4a4a4a;
  --text-muted: #6b6b6b;
  --violet: #4a3f6b;
  --violet-dark: #3a3055;
  --violet-light: #6b5b8a;
  --violet-fade: rgba(74, 63, 107, 0.12);
  --gold: #c9a227;
  --gold-light: #e4c04a;
  --gold-dark: #a67c1a;
  --gold-fade: rgba(201, 162, 39, 0.18);
  --gold-glow: rgba(201, 162, 39, 0.35);
  --gold-shine: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%);
  --white: #ffffff;
  --black: #0d0d0d;
  --cream: #fdfbf7;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Source Sans 3', -apple-system, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}
/* Focus accessibile con accento oro */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--gold);
}

/* Header – sfumato, senza bordi netti */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(253, 251, 247, 0.97) 0%, rgba(253, 251, 247, 0.85) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(74, 63, 107, 0.08), 0 2px 12px var(--gold-fade);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}
@media (max-width: 380px) {
  .header-inner { padding-left: 1rem; padding-right: 1rem; }
  .logo { font-size: 1.25rem; }
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--violet-dark);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}
.logo:hover { color: var(--gold); }
.logo::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: width 0.35s var(--ease);
}
.logo:hover::after { width: 100%; }
.lang-switch { font-size: 0.9rem; font-weight: 500; }
.lang-switch a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.lang-switch a:hover { color: var(--gold); }
.lang-switch a.active { color: var(--violet); font-weight: 600; }
.lang-switch .sep { color: var(--gold-fade); margin: 0 0.4rem; font-weight: 300; }

/* Main – sezioni a tutta larghezza (NON sulla home: la home ha layout proprio in home.css) */
body:not(.page-home) main { padding-top: 0; }
body:not(.page-home) section {
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  max-width: 920px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--violet-dark);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.6rem;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 3px;
  margin-left: -24px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

/* ========== HERO – Invito / pagine pubbliche (NON sulla home: la home usa home.css) ========== */
body:not(.page-home) .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 6rem 1.5rem;
  overflow: hidden;
}
body:not(.page-home) .hero-bg-img {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
body:not(.page-home) .hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58, 48, 85, 0.35) 0%,
    rgba(58, 48, 85, 0.5) 40%,
    rgba(58, 48, 85, 0.78) 100%
  );
  pointer-events: none;
}
body:not(.page-home) .hero-content {
  position: relative;
  z-index: 2;
  animation: heroFade 1.4s var(--ease-out) 0.3s forwards;
  opacity: 0;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
body:not(.page-home) .hero-names {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 8vw, 4.2rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem;
  text-shadow: 0 4px 40px rgba(0,0,0,0.25);
}
body:not(.page-home) .hero-greeting {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.4rem;
  letter-spacing: 0.06em;
}
body:not(.page-home) .hero-date {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--gold-light);
  margin: 0.5rem 0;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
body:not(.page-home) .hero-location { color: rgba(255,255,255,0.88); margin: 0.3rem 0; font-size: 1.05rem; }
body:not(.page-home) .hero-subtitle {
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ========== COUNTDOWN – Niente celle: numeri in una fascia sfumata ========== */
.countdown {
  text-align: center;
  background: linear-gradient(165deg, rgba(255,255,255,0.6) 0%, var(--gold-fade) 35%, var(--violet-fade) 70%, rgba(255,255,255,0.5) 100%);
  padding: 4rem 1.5rem;
}
.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem 2rem;
  flex-wrap: wrap;
  margin: 1.5rem auto;
  max-width: 560px;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0;
}
.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  color: var(--violet-dark);
  line-height: 1;
}
.countdown-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.countdown-fallback { font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; }

/* ========== STORY – Sfumature, immagine morbida ========== */
.story {
  background: linear-gradient(180deg, var(--cream) 0%, rgba(253, 251, 247, 0.5) 30%, var(--violet-fade) 60%, var(--cream) 100%);
  padding: 5rem 1.5rem;
}
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 700px) { .story-inner { grid-template-columns: 1fr; } }
.story-image {
  width: 100%;
  border-radius: 9999px 9999px 120px 120px;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(74, 63, 107, 0.15);
}
.story-content { padding: 0; }
.story-text {
  margin: 0 0 1.1rem;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.7;
}
.story-text:last-child { margin-bottom: 0; }

/* ========== PROGRAM – Timeline fluida, niente box ========== */
.program {
  background: linear-gradient(180deg, var(--cream) 0%, var(--gold-fade) 50%, var(--cream) 100%);
  padding: 5rem 1.5rem;
}
.program-content {
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
}
.program-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.program-list li {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: none;
  position: relative;
}
.program-list li::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--violet-fade) 0%, transparent 100%);
}
.program-list li:last-child::before { display: none; }
.program-time {
  font-weight: 600;
  color: var(--gold);
  min-width: 3.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.program-desc { color: var(--text-soft); margin: 0; font-size: 1.05rem; }
.program-content .story-text { margin-top: 1.5rem; text-align: center; }

/* ========== LOCATION – Immagine organica, sfumature ========== */
.location {
  background: linear-gradient(180deg, var(--cream) 0%, var(--violet-fade) 40%, var(--gold-fade) 70%, var(--cream) 100%);
  padding: 5rem 1.5rem;
}
.location-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.location-image-wrap {
  border-radius: 9999px 9999px 80px 80px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 25px 50px rgba(74, 63, 107, 0.12);
}
.location-image {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.location-description {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  padding: 0 0.5rem;
}
.location-description p {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}
.location-details { margin-bottom: 1.5rem; }
.location-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--violet-dark);
  margin: 0 0 0.4rem;
}
.location-address { color: var(--text-soft); margin: 0 0 0.25rem; }
.location-contact { margin: 0.3rem 0; }
.location-link {
  color: var(--violet);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.location-link:hover { color: var(--gold); text-decoration: underline; }
.location-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ========== BUTTONS – Forme morbide, gradienti ========== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
  letter-spacing: 0.02em;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(74, 63, 107, 0.2), 0 4px 12px var(--gold-fade);
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--gold-fade), 0 0 0 5px var(--gold);
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--violet) 50%, var(--violet-dark) 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover { filter: brightness(1.08); color: var(--white); box-shadow: 0 6px 20px rgba(201,162,39,0.2), inset 0 1px 0 rgba(255,255,255,0.2); }
.btn-secondary {
  background: linear-gradient(135deg, #2a2a2a 0%, var(--black) 100%);
  color: var(--white);
}
.btn-secondary:hover { filter: brightness(1.15); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--violet);
  border: 2px solid var(--violet);
}
.btn-outline:hover {
  background: var(--gold-fade);
  border-color: var(--gold);
  color: var(--violet-dark);
}

/* ========== FAQ – Accordion fluido, sfumature ========== */
.faq {
  background: linear-gradient(180deg, var(--cream) 0%, var(--violet-fade) 50%, var(--cream) 100%);
  padding: 5rem 1.5rem;
}
.accordion { max-width: 580px; margin: 0 auto; }
.accordion-item {
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.4) 100%);
  border-radius: 9999px 9999px 24px 24px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.accordion-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(74, 63, 107, 0.1);
}
.accordion-trigger {
  width: 100%;
  padding: 1.2rem 1.75rem;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--violet-dark);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s var(--ease);
}
.accordion-trigger:hover { color: var(--violet); }
.accordion-trigger::after {
  content: '+';
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 300;
}
.accordion-trigger[aria-expanded="true"]::after { content: '−'; }
.accordion-panel {
  padding: 0 1.75rem 1.35rem;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
}
.accordion-panel[hidden] { display: none; }

/* ========== CONTATTI – Blocco sfumato ========== */
.contacts {
  text-align: center;
  background: linear-gradient(165deg, var(--violet-dark) 0%, var(--violet) 50%, #5a4a7a 100%);
  color: var(--white);
  padding: 5rem 1.5rem;
}
.contacts .section-title { color: var(--white); }
.contacts-text { margin-bottom: 1.5rem; color: rgba(255,255,255,0.9); }
.contacts .btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--black);
}
.contacts .btn-primary:hover { filter: brightness(1.12); color: var(--black); }

/* ========== RSVP BOX (invito) – Forma morbida, sfumature ========== */
.rsvp-box {
  max-width: 480px;
  margin: 0 auto 3rem;
  padding: 2.5rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(253, 251, 247, 0.9) 100%);
  border-radius: 9999px 9999px 48px 48px;
  box-shadow: 0 25px 60px rgba(74, 63, 107, 0.12);
  backdrop-filter: blur(12px);
}
.rsvp-box .section-title { margin-bottom: 0.5rem; }
.rsvp-quick { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; text-align: center; }
.rsvp-form .form-group { margin-bottom: 1.25rem; }
.rsvp-form .radio-label,
.rsvp-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  color: var(--text);
}
.rsvp-form input[type="radio"],
.rsvp-form input[type="checkbox"] { margin: 0; accent-color: var(--violet); }
.rsvp-form .form-label,
.rsvp-form .form-hint { display: block; margin-bottom: 0.35rem; font-weight: 600; color: var(--violet-dark); }
.rsvp-form input[type="number"],
.rsvp-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(74, 63, 107, 0.2);
  border-radius: 9999px;
  font-family: inherit;
  background: rgba(255,255,255,0.6);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.rsvp-form textarea { border-radius: 24px; min-height: 90px; resize: vertical; }
.rsvp-form input:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--gold-fade);
}
.rsvp-form .btn-primary { width: 100%; margin-top: 0.5rem; padding: 0.95rem; border-radius: 9999px; }
.rsvp-success-msg { color: #0a6b0a; margin-top: 1rem; text-align: center; font-weight: 500; }
.rsvp-error-msg { color: #b52a2a; margin-top: 1rem; text-align: center; }
.rsvp-upload-hint { margin-top: 1.25rem; text-align: center; font-size: 0.95rem; color: var(--text-muted); }
.rsvp-upload-hint a { color: var(--gold); font-weight: 500; }
.rsvp-upload-hint a:hover { color: var(--violet); }

/* ==========================================================================
   EDITORIAL HOME (ispirata a Ilamalù, With Joy, SI Events, Zola)
   ========================================================================== */
.page-home-editorial main { padding-top: 0; }

/* Hero editoriale: due anelli, headline emozionale, onda in basso */
.hero-editorial {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 5rem 1.5rem 8rem;
  overflow: hidden;
}
.hero-editorial-bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  animation: heroZoom 24s ease-out forwards;
}
.hero-editorial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58,48,85,0.25) 0%, rgba(58,48,85,0.55) 50%, rgba(58,48,85,0.85) 100%);
  pointer-events: none;
}
.hero-editorial-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  animation: heroFade 1.2s var(--ease-out) 0.2s forwards;
  opacity: 0;
}
.hero-editorial-overline {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin: 0 0 0.75rem;
}
.hero-editorial-names {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 9vw, 4.5rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 40px rgba(0,0,0,0.25);
}
.hero-editorial-meta {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin: 0 0 1rem;
  letter-spacing: 0.03em;
}
.hero-editorial-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  margin: 0;
}
.hero-editorial-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  color: #faf8f5;
  pointer-events: none;
}
.hero-wave-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}

/* Intro band + countdown inline (stile With Joy) */
.intro-band {
  background: linear-gradient(180deg, #faf8f5 0%, #f5f2ed 50%, #faf8f5 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}
.intro-band-tagline {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--violet-dark);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.intro-band-countdown-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
.countdown-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  font-size: 1rem;
  color: var(--text-soft);
}
.countdown-inline-sep {
  color: var(--gold);
  font-weight: 300;
}
.countdown-inline-item .countdown-num {
  font-family: var(--font-serif);
  color: var(--violet-dark);
  font-weight: 600;
  margin-right: 0.2em;
}
.intro-band .countdown-fallback { margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); }

/* Storia editoriale: due colonne, molto spazio (stile SI Events) */
.story-editorial {
  padding: 6rem 1.5rem;
  background: #faf8f5;
}
.story-editorial-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 720px) {
  .story-editorial-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.story-editorial-media {
  border-radius: 0 80px 80px 0;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(74, 63, 107, 0.1);
}
.story-editorial-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.story-editorial-text .story-editorial-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--violet-dark);
  margin: 0 0 0.5rem;
}
.story-editorial-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.story-editorial-text p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}
.story-editorial-sign {
  margin-top: 1.5rem !important;
  color: var(--violet) !important;
  font-style: italic;
}

/* Programma editoriale: timeline pulita */
.program-editorial {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
}
.program-editorial-inner { max-width: 520px; margin: 0 auto; }
.section-title-editorial {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--violet-dark);
  text-align: center;
  margin: 0 0 0.35rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.section-title-editorial::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 2px;
  margin-left: -20px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 100%);
  border-radius: 1px;
}
.section-subtitle-editorial {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
}
.program-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.program-timeline li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(74, 63, 107, 0.08);
}
.program-timeline li:last-child { border-bottom: none; }
.program-timeline-time {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  min-width: 3.5rem;
}
.program-timeline-desc {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* Location editoriale: immagine + testo (stile SI Events) */
.location-editorial {
  padding: 6rem 1.5rem;
  background: #faf8f5;
}
.location-editorial-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 720px) {
  .location-editorial-inner { grid-template-columns: 1fr; }
}
.location-editorial-media {
  border-radius: 80px 0 0 80px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(74, 63, 107, 0.08);
}
.location-editorial-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}
@media (max-width: 720px) {
  .location-editorial-media { border-radius: 80px 80px 0 0; }
}
.location-editorial-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--violet-dark);
  margin: 0 0 0.35rem;
}
.location-editorial-address { color: var(--text-soft); margin: 0 0 1rem; font-size: 1rem; }
.location-editorial-desc {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.location-editorial-text .link-underline {
  color: var(--violet);
  text-decoration: none;
  border-bottom: 1px solid var(--violet);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.location-editorial-text .link-underline:hover { color: var(--gold); border-color: var(--gold); }
.location-editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* FAQ editoriale: details/summary nativo */
.faq-editorial {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
}
.faq-editorial-inner { max-width: 560px; margin: 0 auto; }
.faq-editorial-inner .section-title-editorial { margin-bottom: 2rem; }
.faq-list { margin: 0; padding: 0; }
.faq-details {
  border-bottom: 1px solid rgba(74, 63, 107, 0.1);
  padding: 1rem 0;
}
.faq-details summary {
  font-weight: 600;
  color: var(--violet-dark);
  cursor: pointer;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.faq-details summary::-webkit-details-marker { display: none; }
.faq-details summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold);
  font-size: 1.2rem;
}
.faq-details[open] summary::after { content: '−'; }
.faq-details-content {
  padding: 0.75rem 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

/* CTA finale (stile SI Events / Ilamalù) */
.cta-editorial {
  padding: 5rem 1.5rem;
  background: linear-gradient(165deg, var(--violet-dark) 0%, var(--violet) 50%, #5a4a7a 100%);
  text-align: center;
}
.cta-editorial-inner { max-width: 480px; margin: 0 auto; }
.cta-editorial-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.75rem;
}
.cta-editorial-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.btn-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2), 0 4px 16px var(--gold-glow);
  filter: brightness(1.08);
  color: var(--black);
}
.btn-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--gold-dark);
}

/* Invite invalid – hero senza immagine, solo sfumatura */
.invite-invalid .hero {
  background: linear-gradient(165deg, var(--violet-dark) 0%, var(--violet) 60%, #5a4a7a 100%);
}
.invite-invalid .hero-bg-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
}
.invite-invalid .hero-content { padding: 2rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* Animazioni */
.fade-in {
  animation: fadeIn 1s var(--ease-out) forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer – sfumatura verso nero, accento oro */
.site-footer {
  text-align: center;
  padding: 2.5rem 1rem;
  background: linear-gradient(180deg, #1a1a1a 0%, var(--black) 100%);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  border-top: 2px solid rgba(201, 162, 39, 0.5);
}
.footer-inner .names {
  font-family: var(--font-serif);
  color: var(--gold-light);
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px var(--gold-glow);
}
.footer-inner .year { margin: 0; color: rgba(255,255,255,0.4); }
.footer-powered {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  opacity: 0.7;
}
.footer-powered a {
  color: #fff;
  text-decoration: none;
}
.footer-powered a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Admin form (faq-row) */
.faq-row { margin-bottom: 1rem; }
.faq-row input,
.faq-row textarea { width: 100%; max-width: 100%; margin-bottom: 0.5rem; border-radius: 12px; }
