/* 1 Euro per un sogno — landing */
:root {
  --bg: #0f1419;
  --bg-card: #1a222d;
  --surface: #242f3d;
  --text: #f0f4f8;
  --text-muted: #94a3b8;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.15);
  --success: #34d399;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 0.75rem 1rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.header-fc-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: linear-gradient(145deg, var(--bg-card), var(--surface));
  border: 2px solid rgba(245, 158, 11, 0.45);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header .inner > .nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}

.header-quiet-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.header-quiet-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.26rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle-bar {
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-backdrop {
  display: none;
}

@media (max-width: 720px) {
  .site-header {
    background: #1f2937;
    border-bottom-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: none;
  }

  body {
    font-size: 1.2rem;
    line-height: 1.76;
  }

  .site-header .inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 0.75rem 0;
    gap: 0.65rem;
  }

  .header-brand {
    justify-content: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    z-index: 121;
    color: #fff;
  }

  .header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    width: 100%;
    margin-left: 0;
    padding: 3.85rem 1.25rem 1.35rem;
    padding-top: calc(3.5rem + env(safe-area-inset-top, 0px));
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 0.75rem;
    background: #374151;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    transform: translateY(-115%);
    transition: transform 0.28s ease;
  }

  .header-nav.is-open {
    transform: translateY(0);
  }

  .header-nav .header-quiet-link,
  .header-nav .nav-cta,
  .header-nav .lang-switcher {
    width: auto;
  }

  .header-nav .header-quiet-link {
    color: #fff;
    font-size: 1.16rem;
    font-weight: 700;
    text-align: center;
  }

  .header-nav .lang-switcher {
    align-self: stretch;
    max-width: 18rem;
    margin: 0 auto 1.35rem;
    padding: 0 0 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .header-nav .lang-switcher .visually-hidden-lang {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
  }

  .header-nav .lang-select {
    width: 100%;
    max-width: 16rem;
    min-height: 2.75rem;
    padding: 0.45rem 0.75rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: #111827;
    background: #f3f4f6;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
  }

  .header-nav .header-quiet-link:hover {
    color: #fff;
    opacity: 0.95;
  }

  .header-nav .nav-cta {
    justify-content: center;
    margin-top: 0.45rem;
    font-size: 1.02rem;
    background: #f2a50f;
    color: #111827 !important;
    box-shadow: none;
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 110;
    border: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.nav-open .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header .inner > .nav-cta {
    margin-left: 0;
  }

  .section-title {
    font-size: clamp(2.1rem, 6.7vw, 2.6rem);
    line-height: 1.22;
  }

  .seo-intro-text {
    display: grid;
    gap: 0.95rem;
    margin-top: 0.7rem;
  }

  .seo-intro-text p {
    font-size: 1.2rem;
    line-height: 1.88;
    margin: 0;
    padding: 0.75rem 0.7rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
  }

  .seo-intro-text p + p {
    margin-top: 0.3rem;
  }

  .hero-lead,
  .section-intro,
  .step p,
  .spotlight-body p,
  .counter-note,
  .counter-real-lead,
  .testimonial-text,
  .form-hint {
    font-size: 1.14rem;
    line-height: 1.78;
  }
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--accent);
  color: #0f1419 !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
  text-decoration: none !important;
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-soft), transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  line-height:1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: var(--accent);
  color: #0f1419;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Counter */
.counter-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  max-width: 420px;
}

.counter-card-dual {
  max-width: min(520px, 100%);
  padding: clamp(1.25rem, 3vw, 1.85rem) clamp(1.35rem, 3vw, 2rem);
}

.counter-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.counter-label-visual {
  color: var(--accent);
}

.counter-sublabel {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  opacity: 0.9;
}

.counter-visual-block {
  position: relative;
  padding-bottom: 0.25rem;
}

.counter-visual-value {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 8vw, 4.15rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  margin: 0.15rem 0 0.35rem;
  letter-spacing: -0.03em;
  color: #fbbf24;
  text-shadow:
    0 0 32px rgba(245, 158, 11, 0.55),
    0 0 64px rgba(52, 211, 153, 0.2),
    0 2px 0 rgba(0, 0, 0, 0.2);
  animation: counter-glow 2.4s ease-in-out infinite;
  transform-origin: left center;
}

@keyframes counter-glow {
  0%,
  100% {
    text-shadow:
      0 0 28px rgba(245, 158, 11, 0.45),
      0 0 48px rgba(52, 211, 153, 0.15),
      0 2px 0 rgba(0, 0, 0, 0.2);
    filter: brightness(1);
  }
  50% {
    text-shadow:
      0 0 48px rgba(245, 158, 11, 0.75),
      0 0 90px rgba(52, 211, 153, 0.35),
      0 2px 0 rgba(0, 0, 0, 0.2);
    filter: brightness(1.08);
  }
}

.counter-note-compact {
  margin-top: 0.65rem;
  margin-bottom: 0;
}

.counter-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 1.35rem 0 1.25rem;
}

.counter-real-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.counter-label-real {
  margin-bottom: 0;
}

.counter-trust-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg);
  background: var(--success);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.counter-real-lead {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 0.65rem;
}

.counter-real-lead strong {
  color: var(--text);
}

.counter-real-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  color: var(--success);
  font-variant-numeric: tabular-nums;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.counter-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}

.counter-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Sections */
section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 0 2.5rem;
}

.bg-alt {
  background: linear-gradient(180deg, var(--bg) 0%, #121920 50%, var(--bg) 100%);
}

/* Blocco testuale SEO (paragrafi indicizzabili) */
.seo-intro-section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.seo-intro-text p {
  color: var(--text-muted);
  margin: 0 0 1.1rem;
  font-size: 0.98rem;
  line-height: 1.68;
  max-width: 48rem;
}

.seo-intro-text p:last-child {
  margin-bottom: 0;
}

.seo-intro-text strong {
  color: var(--text);
}

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.step-num {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Spotlight */
.spotlight-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .spotlight-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.spotlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spotlight-placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--surface), #1a222d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.spotlight-photo-img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.spotlight-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}

.spotlight-body {
  padding: 1.75rem;
}

.spotlight-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.spotlight-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

/* Transparency */
.transparency-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .transparency-list {
    grid-template-columns: 1fr 1fr;
  }
}

.transparency-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.transparency-list .icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 10px;
  font-size: 1.1rem;
}

.transparency-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.transparency-list span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 560px;
  margin-inline: auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 10px;
  color: var(--success);
  margin-top: 1rem;
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 8vw, 4.5rem) 1.5rem;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: 900px;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 32rem;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer .inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 640px) {
  .site-footer .inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 639px) {
  .site-footer .inner {
    align-items: center;
    text-align: center;
  }

  .site-footer nav {
    justify-content: center;
  }
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--text);
}

/* Pagine legali */
.page-legal {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(4rem, 10vw, 5rem);
}

.legal-back {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.legal-back:hover {
  color: var(--accent);
}

.legal-doc h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.65rem;
  color: var(--text);
}

.legal-doc p,
.legal-doc li {
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.legal-doc ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.legal-doc li {
  margin-bottom: 0.5rem;
}

.legal-doc strong {
  color: var(--text);
}

.legal-box {
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 1.25rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.counter-note.is-api {
  color: var(--success);
}

.counter-note.is-error {
  color: #f87171;
}

/* Creatore / volto del progetto */
.creator-section {
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, transparent 55%);
}

.creator-card {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .creator-card {
    grid-template-columns: min(240px, 34vw) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

/* Tablet / mobile largo: foto a sinistra, testo a destra */
@media (min-width: 380px) and (max-width: 719px) {
  .creator-card {
    grid-template-columns: min(104px, 28vw) minmax(0, 1fr);
    gap: 1rem 1.25rem;
    align-items: start;
  }

  .creator-photo-wrap {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
}

.creator-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.creator-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.creator-section .creator-lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.creator-section .creator-lead:last-of-type {
  margin-bottom: 0;
}

.creator-photo-wrap {
  position: relative;
  width: min(240px, 100%);
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  background: var(--surface);
}

/* Schermi stretti: foto centrata sopra, respiro laterale */
@media (max-width: 379px) {
  .creator-section .container {
    padding-inline: clamp(1rem, 4.5vw, 1.25rem);
  }

  .creator-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .creator-photo-wrap {
    width: min(200px, 72vw);
    margin-inline: auto;
  }

  .creator-badge {
    display: block;
    text-align: center;
    margin-bottom: 0.65rem;
  }

  .creator-section h2 {
    text-align: center;
  }

  .creator-section .creator-lead,
  .creator-section .creator-dreams {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .site-header.is-scrolled {
    background: #1f2937;
    border-bottom-color: rgba(255, 255, 255, 0.16);
  }

  .site-header.is-scrolled .header-quiet-link,
  .site-header.is-scrolled .logo,
  .site-header.is-scrolled .menu-toggle {
    color: #fff;
  }

  .site-header.is-scrolled .header-nav .header-quiet-link {
    color: #fff;
  }

  .site-header.is-scrolled .header-quiet-link:hover {
    color: #fff;
    opacity: 0.9;
  }

  body.nav-open {
    overflow: hidden;
  }

  main .container,
  section .container {
    text-align: center;
  }

  .section-intro,
  .seo-intro-text p,
  .spotlight-body p,
  .counter-real-lead,
  .counter-note,
  .counter-sublabel,
  .step p,
  .transparency-list span,
  .testimonial-text,
  .testimonials-api-hint,
  .form-hint {
    margin-inline: auto;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
    text-align: center;
  }

  .hero-actions,
  .counter-real-header,
  .testimonial-top,
  .spotlight-grid,
  .transparency-list li {
    justify-content: center;
  }

  .step-num,
  .transparency-list .icon {
    margin-inline: auto;
  }

  .form-group label {
    text-align: center;
  }

  .form-group input,
  .form-group textarea {
    text-align: center;
  }

  .help-details,
  .help-details summary,
  .help-details ol,
  .help-details li {
    text-align: center;
  }

  .help-details ol {
    padding-left: 0;
    list-style-position: inside;
  }

  .header-nav {
    align-items: center;
  }

  .header-nav .header-quiet-link {
    text-align: center;
  }

  .creator-section .container {
    width: 100%;
    padding-inline: 0;
  }

  .creator-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .creator-photo-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    border-radius: 0;
    border-width: 0;
    box-shadow: none;
  }

  .creator-card > div:last-child {
    padding-inline: 1rem;
    text-align: center;
  }

  .creator-badge,
  .creator-section h2,
  .creator-section .creator-lead,
  .creator-section .creator-dreams {
    text-align: center;
  }
}

.creator-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.creator-photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(145deg, var(--bg-card), var(--surface));
}

.creator-dreams {
  margin: 1rem 0 0;
  padding: 0.85rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.creator-dreams strong {
  color: var(--text);
}

/* Testimonianze */
.testimonials-section .section-intro a {
  font-weight: 600;
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-photo {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
  border: 2px solid var(--border);
}

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

.testimonial-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
  color: var(--text);
}

.testimonial-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.15rem 0 0;
}

.testimonial-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.85;
  margin: 0;
}

.testimonials-dynamic-wrap {
  margin-bottom: 2.5rem;
}

.testimonials-dynamic-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.testimonials-api-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.testimonials-api-hint code {
  font-size: 0.82em;
  color: var(--accent);
}

.form-card .form-group input[type="file"] {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.help-details {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.help-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent);
  list-style-position: outside;
}

.help-details[open] summary {
  margin-bottom: 0.65rem;
}

.help-details ol {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.help-details li {
  margin-bottom: 0.45rem;
  line-height: 1.45;
}

.help-details code {
  font-size: 0.85em;
  color: var(--accent);
  word-break: break-all;
}

.form-success.is-visible.testimonial-sent {
  display: block;
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.35);
}

.candidatura-cap-banner {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
  font-weight: 600;
  line-height: 1.45;
}
