/* ── HOMEPAGE HERO ─────────────────────────── */
.hero {
  padding: clamp(72px, 10vw, 140px) 0 clamp(72px, 9vw, 130px);
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.hero-art-empty {
  background: transparent !important;
  box-shadow: none !important;
  border: 1px dashed rgba(184,149,42,0.18);
  position: relative;
}
.hero-art-empty::before,
.hero-art-empty::after {
  content: ''; position: absolute;
  width: 22px; height: 22px;
  border: 1px solid rgba(184,149,42,0.35);
}
.hero-art-empty::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.hero-art-empty::after  { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 5.8vw, 5.1rem);
  line-height: 1.0; letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero p.lead { margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 28px; border-top: 0.5px solid var(--gray-mid);
}
.hero-meta .mt {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray);
}
.hero-meta strong {
  display: block; font-family: var(--serif);
  font-size: 1.35rem; font-weight: 400; color: var(--ink);
  margin-top: 4px; letter-spacing: -0.01em;
}

.hero-art {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 18px;
  overflow: hidden;
  background: #f3ede0;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 30px 80px -30px rgba(80,60,10,0.35);
}
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
}
.hero-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.18));
  pointer-events: none;
}

@media (max-width: 880px) {
  .hero-grid { 
    display: grid; /* Assicuriamoci che sia grid */
    grid-template-columns: 1fr; 
  }

  /* Mandiamo il testo (hero-copy) sotto */
  .hero-copy {
    order: 2;
  }

  /* Portiamo il carosello (hero-art) sopra */
  .hero-art {
    order: 1;
    height: 420px;
    max-width: 520px;
    margin: 0 auto 40px; /* Aggiunto un po' di margine sotto per non farlo attaccare al testo */
  }
}
/* ── TICKER ───────────────────────────── */
.ticker {
  overflow: hidden; padding: 22px 0;
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  background: var(--bg);
}
.ticker-track {
  display: flex; gap: 60px;
  animation: tickerscroll 40s linear infinite;
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; color: var(--ink);
  align-items: center;
}
.ticker-track span { color: var(--gold); font-style: normal; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; }
.ticker-name {
  color: var(--ink) !important;
  font-style: italic !important;
  font-size: 1.15rem !important;
  font-family: var(--serif) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
@keyframes tickerscroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── PROMISE BAR ─────────────────────────── */
.section-promise { padding: clamp(56px,8vw,100px) 0; }
.promise {
  background: var(--ink); color: #fff;
  padding: 56px 0;
  border-radius: 16px;
  margin: 0 28px;
}
.promise-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 48px; align-items: center; padding: 0 36px;
}
.promise-num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.85; letter-spacing: -0.04em;
  color: var(--gold-soft);
}
.promise-num sup { font-size: 0.32em; vertical-align: top; color: #fff; opacity: 0.7; margin-left: 6px; }
.promise-text p { color: #D4D1C9; font-size: 1.05rem; line-height: 1.6; max-width: 420px; }
.promise-text h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: #fff; margin-bottom: 12px; letter-spacing: -0.01em;
}
@media (max-width: 760px) {
  .promise-inner { grid-template-columns: 1fr; }
}

/* ── STORY STRIP ─────────────────────────── */
.section-story { padding: 0 0 clamp(48px,7vw,96px); }
.storystrip {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 64px); align-items: start;
}
.storystrip-art {
  aspect-ratio: 4/5;
  border-radius: 14px;
  background: linear-gradient(180deg, #efe8d3 0%, #d9cfae 100%);
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
}
.storystrip-art::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: 1;

  background: linear-gradient(
    to top,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.65) 45%,
    rgba(255,255,255,0) 100%
  );
}
.storystrip-art .plate {
  position: relative;
  z-index: 2;

  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;

  color: var(--ink);

  text-shadow: 0 1px 2px rgba(0,0,0,0.25);

}

.storystrip-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storystrip-art .plate strong {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--gold);

  -webkit-text-stroke: 0.2px rgba(0,0,0,0.65);
}
.storystrip-copy .h-section { margin: 18px 0 24px; }
.storystrip-copy p { color: #3a3a38; margin-bottom: 18px; line-height: 1.7; }
@media (max-width: 760px) {
  .storystrip { grid-template-columns: 1fr; }
}

/* ── PATHS (the 3 entry points) ─────────── */
.section-paths { padding-bottom: clamp(56px,8vw,100px); }
.paths {
  background: linear-gradient(180deg, var(--bg) 0%, #f3ede0 100%);
  border-radius: 22px;
  padding: clamp(40px, 7vw, 80px) clamp(24px, 4vw, 56px);
  margin: 0 28px;
}
.paths-head { max-width: 640px; margin-bottom: 48px; }
.paths-head h2 { margin-top: 14px; margin-bottom: 16px; }
.paths-head p { color: var(--gray); }
.paths-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.path-card {
  background: #fff; border-radius: 16px; padding: 32px 28px;
  border: 1px solid var(--gray-mid);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
  position: relative; min-height: 320px;
}
.path-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px -20px rgba(184,149,42,0.25);
}
.path-card.featured {
  background: var(--ink); color: #fff;
  border-color: var(--ink);
}
.path-card.featured .path-num { color: var(--gold-soft); }
.path-card.featured .path-title { color: #fff; }
.path-card.featured .path-desc { color: #C9C6BE; }
.path-card.featured .path-go { color: var(--gold-soft); border-top-color: rgba(255,255,255,0.1); }
.path-num {
  font-family: var(--serif); font-style: italic;
  font-size: 1.5rem; color: var(--gold);
  font-weight: 400;
}
.path-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
}
.path-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.7rem; line-height: 1.1; letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 4px;
}
.path-desc { font-size: 14.5px; color: var(--gray); line-height: 1.6; flex: 1; }
.path-go {
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--gray-mid);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 500;
  color: var(--ink);
}
.path-go span { font-family: ui-monospace, monospace; color: var(--gray); font-weight: 400; font-size: 12px;}
@media (max-width: 820px) { .paths-grid { grid-template-columns: 1fr; } }

/* ── SIGNATORIES STRIP ──────────────────── */
.signers { padding: clamp(60px, 8vw, 100px) 0; }
.signers-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px; gap: 28px; flex-wrap: wrap;
}
.signers-head h2 { max-width: 560px; }
.signers-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-mid);
}
.signer-row {
  padding: 32px 0; border-bottom: 1px solid var(--gray-mid);
  border-right: 1px solid var(--gray-mid);
  padding-right: 28px; padding-left: 28px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .18s;
}
.signer-row:nth-child(3n) { border-right: 0; }
.signer-row:hover { background: rgba(184,149,42,0.04); }
.signer-n {
  font-family: var(--serif); font-style: italic; color: var(--gold);
  font-size: 0.95rem;
}
.signer-name {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.8rem; letter-spacing: -0.015em; line-height: 1.1;
}
.signer-role { color: var(--gray); font-size: 14px; }
.signer-chip {
  display: inline-flex; align-self: flex-start;
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(184,149,42,0.1); color: var(--gold-mid);
  font-weight: 500; margin-top: 4px;
}
.signers-teaser {
  padding: 28px; background: var(--gray-light);
  border-radius: 14px; margin-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.signers-teaser strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.signers-teaser p { color: var(--gray); font-size: 14px; margin-top: 4px; }
@media (max-width: 760px) {
  .signers-list { grid-template-columns: 1fr; }
  .signer-row { border-right: 0; }
}

/* ── COUNTDOWN + NEWSLETTER ─────────────── */
.cta-band {
  background: var(--ink);
  padding: clamp(56px, 8vw, 100px) 0;
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(184,149,42,0.12), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(184,149,42,0.08), transparent 55%);
  pointer-events: none;
}
.cta-band-inner { position: relative; }
.cta-band-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.countdown-head .eyebrow { color: var(--gold-soft); }
.countdown-head .eyebrow::before { background: var(--gold-soft); }
.countdown-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 4.5vw, 3.2rem); line-height: 1.05;
  color: #fff; margin: 18px 0 20px; letter-spacing: -0.02em;
}
.countdown-head h2 em { font-style: italic; color: var(--gold-soft); }
.countdown-head p { color: #C9C6BE; max-width: 460px; }

.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: rgba(255,255,255,0.08);
  border-radius: 14px; overflow: hidden;
  margin: 28px 0;
}
.cd-cell {
  background: rgba(255,255,255,0.03); padding: 18px 10px;
  text-align: center;
}
.cd-num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1;
  color: var(--gold-soft);
  letter-spacing: -0.02em;
}
.cd-lbl { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #A9A69E; margin-top: 8px; }

.signup-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 36px; border-radius: 18px;
}
.signup-card h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.5rem;
  color: #fff; margin-bottom: 8px; letter-spacing: -0.01em;
}
.signup-card p { color: #A9A69E; font-size: 14px; margin-bottom: 22px; }
.signup-form { display: flex; flex-direction: column; gap: 14px; }
.signup-form .row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.signup-form input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff; padding: 13px 16px; border-radius: 10px;
  font-family: inherit; font-size: 14.5px;
}
.signup-form input::placeholder { color: #8A8782; }
.signup-form input:focus { outline: none; border-color: var(--gold-soft); }
.signup-form button { background: var(--gold); color: #fff; border: 0; padding: 14px; border-radius: 10px; font-weight: 500; font-size: 14.5px; cursor: pointer; font-family: inherit; }
.signup-form .form-msg { font-size: 12.5px; color: var(--gold-soft); min-height: 16px; }
.signup-foot { display: flex; justify-content: space-between; font-size: 11.5px; color: #7F7C76; margin-top: 14px; }
.foot-link { color: #A9A69E; text-decoration: none; }
.foot-mini-text { font-size: 13px; color: #A9A69E; }
.hero-art {
  position: relative;
  overflow: hidden;
  border-radius: 20px; /* Per ammorbidire gli angoli delle foto */
  aspect-ratio: 2/3;   /* Mantiene la stessa proporzione che avevi prima */
}

.hero-carousel, .carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fondamentale: riempie lo spazio senza deformarsi */
}

/* Stilizzazione dei pallini in basso */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--gold, #B8952A); /* Colore oro se definito, altrimenti giallo */
  width: 20px; /* Effetto pillola per il pallino attivo */
  border-radius: 4px;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;

  padding: 24px 20px;
  background: var(--bg);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
}

/* IMPORTANTISSIMO: qui si vince tutto */
.logo-strip img {
  height: 92px;        /* 👈 controlla la dimensione */
  width: auto;         /* mantiene proporzioni */
  max-width: 140px;    /* evita loghi enormi */
  object-fit: contain; /* sicurezza */
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* hover elegante (facoltativo) */
.logo-strip img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.logo-slider {
  overflow: hidden;
  padding: 20px 0;
  background: white;
  
  /* --- MODIFICHE PER RESTRINGERE --- */
  max-width: 1100px;      /* Imposta la larghezza che preferisci (es. 800px o 60%) */
  margin: 0 auto;        /* Centra lo slider nella pagina */
  /* --------------------------------- */
  
  position: relative;    /* Necessario se vuoi le sfumature ai lati */
  border-radius: 20px;

}

.logo-track {
  display: flex;
  width: max-content; 
  animation: scroll 20s linear infinite;
}

.logo-track img {
  height: 50px;      
  margin: 0 40px;    
  flex-shrink: 0;    
}

.hero-carousel {
  position: relative; /* Necessario per posizionare i tasti */
}

.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3); /* Sfondo semitrasparente */
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.carousel-prev:hover, .carousel-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-prev { left: 15px; }
.carousel-next { right: 15px; }

/* Nascondi i tasti su mobile se preferisci lo swipe, o lasciali per accessibilità */

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* responsive */
@media (max-width: 768px) {
  .logo-strip {
    gap: 28px;
  }

  .logo-strip img {
    height: 72px;
    max-width: 10px;
  }
}

@media (max-width: 820px) {
  .cta-band-grid { grid-template-columns: 1fr; }
  .signup-form .row { grid-template-columns: 1fr; }
}

/* ── ENDORSEMENT SECTION ────────────────── */

.endorsement-section {
  padding-top: 10px;
  padding-bottom: 110px;

}

.endorsement-card {
  position: relative;

  margin: 0 28px;
  padding: clamp(70px, 7vw, 110px) clamp(40px, 6vw, 90px);

  background: #111111;
  border-radius: 24px;

  overflow: hidden;
}

/* virgolette decorative */

.quote-mark {
  position: absolute;

  top: -40px;
  left: 40px;

  font-family: Georgia, serif;
  font-size: clamp(14rem, 24vw, 24rem);
  line-height: 1;

  color: rgba(255,255,255,0.08);

  z-index: 1;
  pointer-events: none;
}

/* contenuto */

.endorsement-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1400px; /* più largo */

  margin: 0 auto;

  text-align: center;
}

/* testo citazione */

.endorsement-quote {
  margin: 0;

  font-family: var(--serif);
  font-weight: 400;

  font-size: clamp(1.2rem, 1.8vw, 2.1rem);
  line-height: 1.45;
  letter-spacing: -0.025em;

  color: #ffffff;

  max-width: 1200px; /* testo più spalmato */
  margin-inline: auto;
}

/* autore */

.endorsement-author {
  margin-top: 34px;

  color: #d2d2d2;

  font-size: 0.95rem;
  line-height: 1.7;
}

.endorsement-author span {
  opacity: 0.75;
}

/* bottone */

.endorsement-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 42px;
  padding: 16px 34px;

  background: #f5c451;
  color: #111111;

  border-radius: 999px;

  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.endorsement-btn:hover {
  background: #ffd36b;
  transform: translateY(-2px);
}

/* mobile */

@media (max-width: 768px) {

  .endorsement-card {
    margin: 0 18px;
    padding: 56px 24px;
    border-radius: 20px;
  }

  .quote-mark {
    top: -10px;
    left: 0;
    font-size: 10rem;

    color: rgba(255,255,255,0.06);
  }

  .endorsement-quote {
    font-size: 1.35rem;
    line-height: 1.5;
  }

}