/* ============================================================
   BREAK THE CYCLE — Editorial Warm Design System
   Shared stylesheet (listicle + salespage)
   ============================================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- Variables ---- */
:root {
  --bg-primary: #FAF6F1;
  --bg-alt: #F2EBE2;
  --text-primary: #2A2620;
  --text-secondary: #6B5F52;
  --accent: #B85A3C;
  --accent-hover: #9E4830;
  --accent-secondary: #7A6952;
  --border: #E5DDD2;
  --highlight: #F5E6C8;

  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --col-reading: 680px;
  --col-wide: 920px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 60px;
  --space-xl: 80px;
  --space-2xl: 120px;
}

/* ---- Body ---- */
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) {
  body { font-size: 18px; }
}

/* ---- Layout containers ---- */
.container {
  width: 100%;
  max-width: var(--col-reading);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  width: 100%;
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: var(--space-xl) 0;
}
@media (min-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
}
.section--alt {
  background-color: var(--bg-alt);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.h1, h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}
.h2, h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  margin-top: var(--space-lg);
}
.h3, h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-sm);
  margin-top: var(--space-md);
}
@media (min-width: 768px) {
  .h1, h1 { font-size: 3.5rem; }
  .h2, h2 { font-size: 2.25rem; }
  .h3, h3 { font-size: 1.625rem; }
}
@media (min-width: 1024px) {
  .h1, h1 { font-size: 4rem; }
  .h2, h2 { font-size: 2.5rem; }
  .h3, h3 { font-size: 1.75rem; }
}

p {
  margin-bottom: 1.2em;
}
strong { font-weight: 600; color: var(--text-primary); }
em { font-style: italic; }

/* ---- Eyebrow (uppercase small label sopra le headline) ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  display: block;
}

/* ---- Byline / metadata ---- */
.byline {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
.byline strong { color: var(--text-primary); font-weight: 600; }

/* ---- Drop intro (primo paragrafo enfatizzato) ---- */
.intro {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
@media (min-width: 768px) {
  .intro { font-size: 1.5rem; }
}

/* ---- Pull quote ---- */
.pull-quote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  margin: var(--space-lg) 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.45;
  color: var(--text-primary);
}
@media (min-width: 768px) {
  .pull-quote { font-size: 1.625rem; padding-left: 32px; }
}

/* ---- Section break (divisore visivo) ---- */
.section-break {
  width: 80px;
  height: 1px;
  background-color: var(--border);
  border: none;
  margin: var(--space-lg) auto;
}

/* ---- Large numbered list item (listicle) ---- */
.list-item {
  margin: var(--space-xl) 0;
}
.list-item__number {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 0.9;
  margin-bottom: var(--space-sm);
  display: block;
}
.list-item__title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
@media (min-width: 768px) {
  .list-item__number { font-size: 6rem; }
  .list-item__title { font-size: 2rem; }
}

/* ---- Full-bleed editorial image ---- */
.figure-fullwidth {
  margin: var(--space-lg) 0;
}
.figure-fullwidth img {
  width: 100%;
  border-radius: 2px;
}
.figure-fullwidth figcaption {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: var(--space-sm);
  font-style: italic;
}
.figure-bleed {
  max-width: 820px;
  margin: var(--space-lg) auto;
  padding: 0 24px;
}
.figure-bleed img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
@media (min-width: 768px) {
  .figure-bleed {
    padding: 0 32px;
    margin: var(--space-xl) auto;
  }
}

/* ---- CTA button (primary) ---- */
.cta {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bg-primary);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 18px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  line-height: 1.3;
}
.cta:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(184, 90, 60, 0.18);
}
.cta:active { transform: translateY(1px); }
.cta--block { display: block; width: 100%; }
.cta--large {
  font-size: 18px;
  padding: 22px 40px;
}
@media (min-width: 768px) {
  .cta--block { display: inline-block; width: auto; min-width: 360px; }
}
.cta-wrap {
  margin: var(--space-lg) 0;
  text-align: center;
}
.cta-microcopy {
  font-family: var(--sans);
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  text-align: center;
}

/* ---- Sales page hero ---- */
.hero {
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: left;
}
.hero__headline {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}
.hero__subhead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: var(--space-lg);
}
@media (min-width: 768px) {
  .hero { padding: var(--space-2xl) 0 var(--space-xl); }
  .hero__headline { font-size: 3.5rem; }
  .hero__subhead { font-size: 1.5rem; }
}
@media (min-width: 1024px) {
  .hero__headline { font-size: 4.25rem; }
}

/* ---- Phase card (3 fasi del metodo) ---- */
.phase-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 24px;
  margin-bottom: var(--space-md);
}
.phase-card__number {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
  display: block;
}
.phase-card__label {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}
.phase-card__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
.phase-card__body p { margin-bottom: 1em; }
.phase-card__body p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .phase-card { padding: 48px 40px; }
  .phase-card__title { font-size: 1.75rem; }
}

/* ---- Offer stack (lista componenti prodotto) ---- */
.offer {
  margin: var(--space-lg) 0;
}
.offer-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.offer-card__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 4px;
}
.offer-card__content { flex: 1; }
.offer-card__title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}
.offer-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: var(--space-xs);
}
.offer-card__value {
  font-family: var(--sans);
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
}
@media (min-width: 768px) {
  .offer-card { padding: 32px; }
  .offer-card__title { font-size: 1.25rem; }
  .offer-card__desc { font-size: 1rem; }
}

/* ---- Pricing reveal ---- */
.pricing {
  text-align: center;
  margin: var(--space-xl) 0 var(--space-lg);
}
.pricing__total {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  margin-bottom: var(--space-sm);
}
.pricing__price {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}
.pricing__price strong {
  color: var(--accent);
  font-weight: 600;
}
@media (min-width: 768px) {
  .pricing__price { font-size: 4.5rem; }
  .pricing__total { font-size: 1.75rem; }
}

/* ---- Guarantee box ---- */
.guarantee {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 24px;
  margin: var(--space-lg) 0;
}
.guarantee__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}
.guarantee__body p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .guarantee { padding: 48px 40px; }
  .guarantee__title { font-size: 1.75rem; }
}

/* ---- Lists (a chi è / non è) ---- */
.checklist {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.checklist--yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
}
.checklist--no li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ---- FAQ accordion ---- */
.faq {
  margin: var(--space-lg) 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 40px 24px 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  line-height: 1.4;
}
.faq-question:hover { color: var(--accent); }
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-secondary);
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-question::after {
  content: "−";
  color: var(--accent);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.faq-answer__inner {
  padding: 0 0 24px 0;
}
.faq-answer p { margin-bottom: 0.8em; }
.faq-answer p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .faq-question { font-size: 1.25rem; padding: 28px 48px 28px 0; }
}

/* ---- Author bio ---- */
.author-bio {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ---- Footer ---- */
.site-footer {
  background-color: var(--bg-alt);
  padding: var(--space-md) 0;
  margin-top: var(--space-2xl);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.site-footer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}
.site-footer a:hover { color: var(--accent); }

/* ---- Spacing utilities ---- */
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ---- Print-friendly ---- */
@media print {
  .cta-wrap, .site-footer { display: none; }
  body { background: white; color: black; }
}


/* ============================================================
   SALESPAGE BRAND SCOPE
   Navy + Cream + Terracotta — product page identity
   Activated by body.salespage
   ============================================================ */

body.salespage {
  --text-primary: #1E2A3A;
  --text-secondary: #5B6470;
  --accent: #C26B4B;
  --accent-hover: #A85839;
  --accent-deep: #8A4628;
  --bg-primary: #FAF6F1;
  --bg-alt: #F2EBE2;
  --border: #E0D7CB;
  --navy-deep: #131B27;
  --serif-display: 'Playfair Display', 'Lora', Georgia, serif;
  color: var(--text-primary);
}

body.salespage h1,
body.salespage h2,
body.salespage h3,
body.salespage h4 {
  font-family: var(--serif-display);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--text-primary);
}

body.salespage h2 { font-weight: 500; }

/* ---- Brand hero (manifesto image as first impression) ---- */
.brand-hero {
  background: var(--bg-primary);
  padding: var(--space-md) 0 0;
}
.brand-hero__media {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.brand-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(30, 42, 58, 0.10);
}
@media (min-width: 768px) {
  .brand-hero { padding: var(--space-lg) 0 0; }
  .brand-hero__media { padding: 0 32px; }
}

/* ---- Trust strip (3 features sotto hero) ---- */
.trust-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  margin: var(--space-md) 0 0;
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.trust-item__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  color: var(--accent);
  display: block;
}
.trust-item__icon svg { width: 100%; height: 100%; }
.trust-item__label {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.trust-item__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 280px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .trust-strip { padding: 48px 0; margin: var(--space-lg) 0 0; }
  .trust-strip__grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

/* ---- Lead section (eyebrow + H1 + sub + CTA dopo hero) ---- */
.lead-section {
  padding: var(--space-xl) 0 var(--space-lg);
}
@media (min-width: 768px) {
  .lead-section { padding: var(--space-2xl) 0 var(--space-xl); }
}
body.salespage .hero__headline {
  font-family: var(--serif-display);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* ---- Phase card in salespage scope ---- */
body.salespage .phase-card {
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(30, 42, 58, 0.05);
  transition: box-shadow 0.3s ease;
}
body.salespage .phase-card:hover {
  box-shadow: 0 12px 32px rgba(30, 42, 58, 0.10);
}
body.salespage .phase-card__number {
  color: var(--accent);
  font-family: var(--serif-display);
}
body.salespage .phase-card__title {
  font-family: var(--serif-display);
}
body.salespage .phase-card__label {
  color: var(--accent);
}

/* ---- Product card (sostituisce le offer-card con emoji) ---- */
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(30, 42, 58, 0.05);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.product-card:hover {
  box-shadow: 0 16px 40px rgba(30, 42, 58, 0.12);
  transform: translateY(-3px);
}
.product-card__media {
  background: var(--bg-alt);
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card__media img {
  transform: scale(1.03);
}
.product-card__content {
  padding: 24px 24px 28px;
}
.product-card__label {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.product-card__title {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.25;
}
.product-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-card__value {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--text-secondary);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .product-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    margin-bottom: 28px;
  }
  .product-card__media { aspect-ratio: 1 / 1; height: 100%; }
  .product-card__content {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .product-card__title { font-size: 1.5rem; }
}

/* ---- Pricing card (buy box prominente) ---- */
.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 28px;
  text-align: center;
  margin: var(--space-xl) auto 0;
  max-width: 540px;
  box-shadow: 0 20px 56px rgba(30, 42, 58, 0.12);
  position: relative;
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: white;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card[data-badge]::before { content: attr(data-badge); }
.pricing-card__label {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 18px;
}
.pricing-card__total {
  font-family: var(--serif-display);
  font-size: 1.375rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  margin-bottom: 4px;
  font-style: italic;
}
.pricing-card__price {
  font-family: var(--serif-display);
  font-size: 4.5rem;
  color: var(--text-primary);
  line-height: 1;
  margin: 4px 0 6px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.pricing-card__price-currency {
  font-size: 2rem;
  vertical-align: top;
  margin-right: 4px;
  color: var(--accent);
  font-weight: 500;
  position: relative;
  top: 12px;
}
.pricing-card__suffix {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-style: italic;
}
.pricing-card .cta {
  width: 100%;
  font-size: 17px;
}
.pricing-card .cta-microcopy {
  margin-top: 14px;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .pricing-card { padding: 52px 44px; }
  .pricing-card__price { font-size: 5.5rem; }
  .pricing-card__price-currency { font-size: 2.5rem; }
}

/* ---- Brand ribbon (manifesto-style banner) ---- */
.brand-ribbon {
  background: var(--accent);
  color: var(--bg-primary);
  padding: 16px 24px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: var(--space-md) auto;
  border-radius: 4px;
  max-width: 720px;
}

/* ---- CTA salespage override ---- */
body.salespage .cta {
  background: var(--accent);
  color: white;
  font-weight: 600;
  letter-spacing: 0.015em;
  border-radius: 6px;
  transition: all 0.25s ease;
}
body.salespage .cta:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 28px rgba(194, 107, 75, 0.30);
}

/* ---- Pull quote salespage ---- */
body.salespage .pull-quote {
  border-left-color: var(--accent);
  color: var(--text-primary);
  font-family: var(--serif-display);
}

/* ---- FAQ salespage ---- */
body.salespage .faq-question {
  font-family: var(--serif-display);
  color: var(--text-primary);
}
body.salespage .faq-question:hover { color: var(--accent); }
body.salespage .faq-item.is-open .faq-question::after { color: var(--accent); }

/* ---- Guarantee salespage ---- */
body.salespage .guarantee {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
}
body.salespage .guarantee__title {
  font-family: var(--serif-display);
  color: var(--text-primary);
}

/* ---- GSAP initial states ---- */
.gsap-fade-up   { opacity: 0; transform: translateY(28px); will-change: transform, opacity; }
.gsap-fade-in   { opacity: 0; will-change: opacity; }
.gsap-scale-in  { opacity: 0; transform: scale(0.96); will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .gsap-fade-up, .gsap-fade-in, .gsap-scale-in {
    opacity: 1 !important;
    transform: none !important;
  }
  .product-card, .product-card:hover,
  .product-card__media img, .product-card:hover .product-card__media img {
    transform: none !important;
    transition: none !important;
  }
}


/* ============================================================
   SALESPAGE V2 — Componenti commerciali distintivi dal listicle
   ============================================================ */

/* ---- Sticky CTA bar (bottom, appears on scroll dopo pricing-box) ---- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  top: auto;
  left: 0;
  right: 0;
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 14px 20px;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sticky-cta__text {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}
.sticky-cta__text strong { color: var(--accent); }
.sticky-cta__btn {
  background: var(--accent);
  color: white;
  padding: 10px 22px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.sticky-cta__btn:hover { background: var(--accent-hover); }
@media (max-width: 640px) {
  .sticky-cta__text { font-size: 0.8rem; }
  .sticky-cta__btn { padding: 8px 14px; font-size: 0.8rem; }
}

/* ---- Trust strip salespage (3 badges con icone) ---- */
.trust-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin: 0;
}
.trust-bar__inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0 24px;
  text-align: center;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
}
.trust-bar__item svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .trust-bar__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ---- Stat box (big number + label) ---- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: var(--space-lg) auto;
  max-width: 720px;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.stat-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
}
.stat-box__number {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box__label {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ---- Testimonial card ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: var(--space-lg) 0;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(42, 38, 32, 0.05);
}
.testimonial-card__stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-card__quote {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-card__quote::before {
  content: "\201C";
  font-size: 2.5rem;
  line-height: 0.5;
  color: var(--accent);
  vertical-align: -0.4em;
  margin-right: 4px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}
.testimonial-card__name {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.testimonial-card__role {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.testimonial-card__verified {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.testimonial-card__verified::before {
  content: "\2713";
  font-size: 0.9rem;
}

/* ---- Video card (real video testimonials con caption sotto) ---- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: var(--space-lg) 0;
}
@media (min-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}
.video-card {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--text-primary);
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
  box-shadow: 0 8px 24px rgba(42, 38, 32, 0.10);
}
.video-card figcaption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.video-card figcaption strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* Legacy .video-testimonial (placeholder) — kept for retrocompatibility */
.video-testimonial {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 24px;
}
.video-testimonial video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* ---- Metodo loop video (sezione 3 fasi, autoplay muted loop) ---- */
.method-loop {
  max-width: 480px;
  margin: var(--space-lg) auto var(--space-md);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(42, 38, 32, 0.12);
  background: var(--text-primary);
}
.method-loop video {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 768px) {
  .method-loop {
    max-width: 560px;
  }
}

/* ---- GIF / animation placeholder con SVG neuroscienze ---- */
.brain-anim {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  margin: var(--space-lg) auto;
  max-width: 640px;
  text-align: center;
}
.brain-anim__caption {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 16px;
  font-style: italic;
  line-height: 1.5;
}
.brain-anim svg {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Reflex vs Prefrontal animation: two circuits firing at different speeds */
.neural-race {
  position: relative;
}
.neural-race__lane {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 0.875rem;
}
.neural-race__lane:last-child { margin-bottom: 0; }
.neural-race__label {
  width: 90px;
  text-align: right;
  color: var(--text-primary);
  font-weight: 600;
  flex-shrink: 0;
}
.neural-race__time {
  width: 70px;
  text-align: left;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
  font-family: 'Lora', serif;
}
.neural-race__track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.neural-race__pulse {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  width: 0;
  animation: race-fill 3.5s ease-in-out infinite;
}
.neural-race__pulse--slow {
  animation: race-fill-slow 3.5s ease-in-out infinite;
  background: var(--text-secondary);
}
@keyframes race-fill {
  0%       { width: 0; }
  8%, 100% { width: 100%; }
}
@keyframes race-fill-slow {
  0%        { width: 0; }
  70%, 100% { width: 100%; }
}

/* Pulse circle animation per il riflesso */
.pulse-circles {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}
.pulse-circles::before,
.pulse-circles::after,
.pulse-circles__core {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 2px solid var(--accent);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.pulse-circles::before {
  width: 40px;
  height: 40px;
  animation: pulse-out 2s ease-out infinite;
}
.pulse-circles::after {
  width: 40px;
  height: 40px;
  animation: pulse-out 2s ease-out 0.7s infinite;
}
.pulse-circles__core {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border: none;
  opacity: 1;
  animation: pulse-beat 2s ease-in-out infinite;
}
@keyframes pulse-out {
  0%   { width: 28px; height: 28px; opacity: 0.7; border-width: 3px; }
  100% { width: 120px; height: 120px; opacity: 0; border-width: 1px; }
}
@keyframes pulse-beat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.15); }
}

/* Rewiring animation per il reverse-engineering */
.rewire-anim {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.rewire-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  animation: rewire-glow 3s ease-in-out infinite;
}
.rewire-node:nth-child(2) { animation-delay: 0.3s; }
.rewire-node:nth-child(3) { animation-delay: 0.6s; }
.rewire-node:nth-child(4) { animation-delay: 0.9s; }
.rewire-node:nth-child(5) { animation-delay: 1.2s; }
.rewire-node:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 32px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
  opacity: 0.4;
}
@keyframes rewire-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 90, 60, 0.0); border-color: var(--border); }
  50%      { box-shadow: 0 0 0 8px rgba(184, 90, 60, 0.20); border-color: var(--accent); }
}

/* ---- Pricing box prominente ---- */
.pricing-box {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-primary) 100%);
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: 40px 28px;
  text-align: center;
  margin: var(--space-xl) auto;
  max-width: 560px;
  box-shadow: 0 20px 56px rgba(42, 38, 32, 0.12);
  position: relative;
}
.pricing-box[data-badge]::before {
  content: attr(data-badge);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: white;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(184, 90, 60, 0.30);
}
.pricing-box__label {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 14px;
  margin-top: 8px;
}
.pricing-box__old {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  margin-bottom: 4px;
  font-style: italic;
}
.pricing-box__price {
  font-family: 'Lora', Georgia, serif;
  font-size: 4.5rem;
  color: var(--text-primary);
  line-height: 1;
  margin: 4px 0 6px;
  font-weight: 600;
}
.pricing-box__currency {
  font-size: 2rem;
  vertical-align: top;
  margin-right: 4px;
  color: var(--accent);
  font-weight: 500;
  position: relative;
  top: 12px;
}
.pricing-box__suffix {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}
.pricing-box .cta {
  width: 100%;
  font-size: 17px;
  display: block;
}
.pricing-box__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.pricing-box__guarantee svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
@media (min-width: 768px) {
  .pricing-box { padding: 52px 44px; }
  .pricing-box__price { font-size: 5.5rem; }
  .pricing-box__currency { font-size: 2.5rem; }
}

/* ---- Guarantee badge inline ---- */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}
.guarantee-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* ---- Listicle/Salespage page differentiator: accent bar above H2 in salespage v2 ---- */
.section-accent {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 18px;
}


/* ============================================================
   SALESPAGE V3 — Visual character (highlights, tags, dark band)
   ============================================================ */

/* ---- Eyebrow box treatment (più carattere di un semplice uppercase) ---- */
.eyebrow-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.4;
  max-width: 100%;
}
.eyebrow-box__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

/* ---- Highlight markers (background colorato su parole chiave) ---- */
.mark-yellow {
  background: linear-gradient(transparent 55%, #F5E6C8 55%);
  padding: 0 4px;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.mark-terracotta {
  background: var(--accent);
  color: white;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.mark-underline {
  background-image: linear-gradient(120deg, var(--accent) 0%, var(--accent) 100%);
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 95%;
  padding-bottom: 2px;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.mark-box {
  border: 2px solid var(--accent);
  padding: 1px 8px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  color: var(--text-primary);
}

/* ---- Section tag (numero + label sopra le H2 principali) ---- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}
.section-tag__num {
  background: var(--accent);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* ---- Dark band section (for max-impact moments: pricing, big reveals) ---- */
body.salespage .section--dark,
.section--dark {
  background: #1E2A3A;
  color: #F5E6C8;
  padding: var(--space-xl) 0;
}
@media (min-width: 768px) {
  body.salespage .section--dark,
  .section--dark {
    padding: var(--space-2xl) 0;
  }
}
body.salespage .section--dark h2,
body.salespage .section--dark h3,
body.salespage .section--dark h4,
body.salespage .section--dark p,
body.salespage .section--dark li,
body.salespage .section--dark strong,
body.salespage .section--dark em {
  color: #F5E6C8;
}
body.salespage .section--dark .mark-yellow {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  padding: 0;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
body.salespage .section--dark .mark-underline {
  background-image: linear-gradient(120deg, var(--accent) 0%, var(--accent) 100%);
  color: #F5E6C8;
}
body.salespage .section--dark .pull-quote {
  border-left-color: var(--accent);
  color: white;
  font-style: italic;
}
body.salespage .section--dark .section-tag {
  color: rgba(245, 230, 200, 0.65);
}
body.salespage .section--dark .section-tag__num {
  background: var(--accent);
  color: white;
}

/* ---- Big number callout (per i 200-300ms etc) ---- */
.big-number {
  text-align: center;
  padding: 32px 24px;
  margin: var(--space-lg) auto;
  max-width: 560px;
}
.big-number__value {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  font-size: 5rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.big-number__label {
  font-family: var(--sans);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 12px;
}
@media (min-width: 768px) {
  .big-number__value { font-size: 7rem; }
}

/* ---- Inline tag (small text label inline) ---- */
.inline-tag {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 6px;
}

/* ---- H1 stylized for salespage v3 (mixed weight + character) ---- */
body.salespage .hero__headline {
  font-family: var(--serif-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
body.salespage .hero__headline strong,
body.salespage h1 strong {
  font-weight: 700;
}

/* ---- Video carousel mobile (horizontal scroll snap) ---- */
@media (max-width: 1023px) {
  .video-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 24px 20px;
    margin: var(--space-lg) -24px 0;
    grid-template-columns: none;
    scrollbar-width: none;
  }
  .video-grid::-webkit-scrollbar { display: none; }
  .video-grid > .video-card,
  .video-grid > .video-testimonial {
    flex: 0 0 78%;
    scroll-snap-align: center;
    max-width: 320px;
  }
}
@media (max-width: 640px) {
  .video-grid {
    padding: 4px 20px 20px;
    margin: var(--space-lg) -20px 0;
  }
  .video-grid > .video-card,
  .video-grid > .video-testimonial {
    flex: 0 0 80%;
    max-width: 280px;
  }
}

/* Carousel hint per mobile */
.carousel-hint {
  display: none;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 8px;
}
@media (max-width: 1023px) {
  .carousel-hint { display: block; }
  .carousel-hint::before { content: "← "; }
  .carousel-hint::after { content: " →"; }
}

/* ---- Testimonial grid mobile carousel anche per le card testo ---- */
@media (max-width: 640px) {
  .testimonials-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 20px 20px;
    margin: var(--space-lg) -20px 0;
    grid-template-columns: none;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid > .testimonial-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    max-width: 320px;
  }
}

/* ---- Salespage page background pattern (subtle) ---- */
body.salespage {
  background-image:
    radial-gradient(circle at 15% 20%, rgba(194, 107, 75, 0.04) 0%, transparent 30%),
    radial-gradient(circle at 85% 60%, rgba(30, 42, 58, 0.03) 0%, transparent 30%);
  background-attachment: fixed;
}

/* ---- Fix padding: section.container ha bisogno di padding verticale
   per evitare che il contenuto tocchi il bordo del color band precedente ---- */
body.salespage article > section.container {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}
@media (min-width: 768px) {
  body.salespage article > section.container {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
}

/* ---- Mobile-only spacing compatto: evita accumulo di padding
   tra section--dark/--alt/--container che creava 150-200px di vuoto ---- */
@media (max-width: 767px) {
  /* Sezione dark compatta */
  body.salespage .section--dark,
  .section--dark {
    padding: var(--space-lg) 0;
  }

  /* .section in generale (alt, normal) compatta */
  body.salespage article > .section,
  body.salespage article > section.section {
    padding: var(--space-lg) 0;
  }

  /* Figure margin ridotti */
  body.salespage .figure-bleed {
    margin: var(--space-md) auto;
  }

  /* Intro paragrafo margin-bottom ridotto */
  body.salespage .intro {
    margin-bottom: var(--space-md);
  }

  /* Pull-quote margin ridotti */
  body.salespage .pull-quote {
    margin: var(--space-md) 0;
  }

  /* Ultimo elemento delle sezioni: rimuovi margin-bottom per evitare
     che si sommi al padding-bottom del contenitore */
  body.salespage section > *:last-child,
  body.salespage section .container > *:last-child,
  body.salespage section.container > *:last-child {
    margin-bottom: 0;
  }

  /* Stesso per first-child: rimuovi margin-top */
  body.salespage section > *:first-child,
  body.salespage section .container > *:first-child,
  body.salespage section.container > *:first-child {
    margin-top: 0;
  }

  /* H2 dopo section-tag non deve avere margin-top eccessivo */
  body.salespage .section-tag + h2,
  body.salespage .section-tag + h3 {
    margin-top: 8px;
  }

  /* CTA-wrap dentro container deve essere compatta */
  body.salespage section.container > .cta-wrap {
    margin: 0;
  }
}

/* ---- H1 hero markers: trattamento più pulito per evitare chunk visivi
   quando il testo va a capo su mobile ---- */
body.salespage .hero__headline {
  line-height: 1.18;
  letter-spacing: -0.015em;
}
@media (max-width: 767px) {
  body.salespage .hero__headline {
    font-size: 2rem;
    line-height: 1.2;
  }
}
body.salespage .hero__headline .mark-yellow {
  background: #F5E6C8;
  padding: 0 6px;
  border-radius: 2px;
}
body.salespage .hero__headline .mark-underline {
  background-size: 100% 2px;
  background-position: 0 96%;
  padding-bottom: 1px;
}
body.salespage .hero__headline .mark-terracotta {
  padding: 0 8px;
  font-size: 0.92em;
  border-radius: 3px;
  vertical-align: baseline;
}


/* ============================================================
   LISTICLE V2 — Blog/Advertorial style (Legends/Mengoto inspired)
   White bg, sans-serif bold, image-left layout, designed callouts
   Activated by body.listicle
   ============================================================ */

body.listicle {
  background: #FFFFFF;
  color: #1A1A1A;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.listicle h1,
body.listicle h2,
body.listicle h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1A1A1A;
}
body.listicle h1 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  body.listicle h1 { font-size: 2.75rem; }
}
body.listicle h2 {
  font-size: 1.5rem;
  margin-top: var(--space-lg);
  margin-bottom: 18px;
  line-height: 1.2;
}
@media (min-width: 768px) {
  body.listicle h2 { font-size: 1.875rem; }
}
body.listicle p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #2A2A2A;
  margin-bottom: 1em;
}
body.listicle strong { font-weight: 700; color: #1A1A1A; }
body.listicle em { font-style: italic; }
body.listicle .container { max-width: 720px; }
body.listicle .section--alt { background: #FAFAFA; }

/* ---- Claimer red banner (top, Legends-style) ---- */
body.listicle .claimer-bar {
  background: #DC2626;
  color: white;
  padding: 8px 16px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

/* ---- Breadcrumb (sotto claimer) ---- */
body.listicle .breadcrumb {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 0 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #6B6B6B;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Article header ---- */
body.listicle .article-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px 0;
}
body.listicle .article-intro-quote {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.125rem;
  font-style: italic;
  color: #4A4A4A;
  line-height: 1.5;
  margin: 16px 0 0;
}
@media (min-width: 768px) {
  body.listicle .article-intro-quote { font-size: 1.25rem; }
}

body.listicle .byline-blog {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 0;
  padding: 16px 0;
  border-top: 1px solid #E8E8E8;
  border-bottom: 1px solid #E8E8E8;
}
body.listicle .byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #C26B4B;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}
body.listicle .byline-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.3;
}
body.listicle .byline-meta {
  font-size: 0.8125rem;
  color: #6B6B6B;
  margin-top: 2px;
}

/* ---- Hero image full-width-ish ---- */
body.listicle .hero-figure {
  max-width: 720px;
  margin: 24px auto;
  padding: 0 24px;
}
body.listicle .hero-figure img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* ---- Figure-bleed override per listicle ---- */
body.listicle .figure-bleed {
  max-width: 720px;
  margin: var(--space-lg) auto;
  padding: 0 24px;
}
body.listicle .figure-bleed img {
  border-radius: 4px;
  border: 1px solid #E8E8E8;
}

/* ---- Phrase block: image + text side-by-side (1col mobile, 2col desktop) ---- */
body.listicle .phrases {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
body.listicle .phrase-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: var(--space-xl) 0;
  align-items: start;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid #F0F0F0;
}
body.listicle .phrase-block:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  body.listicle .phrase-block {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
body.listicle .phrase-block__media img {
  width: 100%;
  display: block;
  border-radius: 4px;
  border: 1px solid #E8E8E8;
}
body.listicle .phrase-block__copy h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.25;
}
body.listicle .phrase-block__copy p {
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.6;
}
body.listicle .phrase-block__copy p:last-child { margin-bottom: 0; }

/* ---- Stat callout (numero gigante con highlight) ---- */
body.listicle .stat-callout {
  background: #FEF3C7;
  border-left: 4px solid #C26B4B;
  padding: 28px 24px;
  margin: var(--space-lg) auto;
  text-align: center;
  max-width: 600px;
  border-radius: 4px;
}
body.listicle .stat-callout__number {
  font-family: 'Lora', Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  color: #C26B4B;
  line-height: 1;
  letter-spacing: -0.03em;
}
body.listicle .stat-callout__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-top: 10px;
  line-height: 1.4;
}

/* ---- Quote card (designed testimonial) ---- */
body.listicle .quote-card {
  background: #FAFAFA;
  border: 1px solid #E8E8E8;
  border-left: 4px solid #C26B4B;
  padding: 28px 24px;
  margin: var(--space-lg) auto;
  max-width: 680px;
  border-radius: 4px;
}
body.listicle .quote-card__stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
body.listicle .quote-card__text {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.55;
  color: #1A1A1A;
  margin-bottom: 18px;
}
body.listicle .quote-card__text::before {
  content: "\201C";
  font-size: 2rem;
  color: #C26B4B;
  vertical-align: -0.3em;
  margin-right: 4px;
}
body.listicle .quote-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #E8E8E8;
}
body.listicle .quote-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #C26B4B;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 600;
  flex-shrink: 0;
}
body.listicle .quote-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.3;
}
body.listicle .quote-card__role {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #6B6B6B;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
body.listicle .quote-card__verified {
  color: #C26B4B;
  font-weight: 600;
}
body.listicle .quote-card__verified::before {
  content: "\2713 ";
}

/* ---- CTA inline (Legends-style red button) ---- */
body.listicle .cta-inline {
  text-align: center;
  margin: var(--space-lg) auto;
  max-width: 720px;
  padding: 0 24px;
}
body.listicle .cta-inline a {
  display: inline-block;
  background: #DC2626;
  color: white;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.2s ease;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}
body.listicle .cta-inline a:hover {
  background: #B91C1C;
}
body.listicle .cta-inline a.cta-inline--large {
  font-size: 1.125rem;
  padding: 20px 40px;
}
body.listicle .cta-inline__sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: #6B6B6B;
  margin-top: 10px;
  font-style: italic;
}

/* ---- Customer section (social proof finale) ---- */
body.listicle .customer-section {
  background: #FAFAFA;
  padding: var(--space-xl) 24px;
  margin: var(--space-xl) 0;
  text-align: center;
}
body.listicle .customer-section__stars {
  color: #F59E0B;
  font-size: 1.5rem;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
body.listicle .customer-section__count {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1;
  letter-spacing: -0.02em;
}
body.listicle .customer-section__label {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #4A4A4A;
  margin-top: 8px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
body.listicle .customer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 460px;
  margin: 28px auto 0;
}
@media (max-width: 480px) {
  body.listicle .customer-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 320px;
  }
}
body.listicle .customer-avatar {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: linear-gradient(135deg, #FEC89A, #C26B4B);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
body.listicle .customer-avatar.is-plus {
  background: #1A1A1A;
  font-size: 0.85rem;
}

/* ---- Infographic figure ---- */
body.listicle .infographic {
  max-width: 540px;
  margin: var(--space-lg) auto;
  padding: 0 24px;
  text-align: center;
}
body.listicle .infographic img {
  width: 100%;
  display: block;
}
body.listicle .infographic figcaption {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 0.8125rem;
  color: #6B6B6B;
  margin-top: 10px;
}

/* ---- Pull quote on white bg ---- */
body.listicle .pull-quote {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.45;
  color: #1A1A1A;
  border-left: 4px solid #C26B4B;
  padding: 8px 0 8px 24px;
  margin: var(--space-lg) 0;
}
@media (min-width: 768px) {
  body.listicle .pull-quote { font-size: 1.625rem; }
}

/* ---- Author bio ---- */
body.listicle .author-bio {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 0.9375rem;
  color: #6B6B6B;
  line-height: 1.55;
  border-top: 1px solid #E8E8E8;
  padding-top: 20px;
  margin-top: var(--space-lg);
}

/* ---- Section break ---- */
body.listicle .section-break {
  width: 60px;
  height: 1px;
  background: #C26B4B;
  margin: var(--space-lg) auto;
  border: 0;
}

/* ---- Reset old list-item: hidden, replaced by phrase-block ---- */
body.listicle .list-item { display: none; }

/* ---- Footer override per listicle ---- */
body.listicle .site-footer {
  background: #FAFAFA;
  border-top: 1px solid #E8E8E8;
  margin-top: var(--space-xl);
}


/* ============================================================
   THANK YOU PAGE — Squeeze minimal post-checkout
   ============================================================ */

body.thankyou {
  background: var(--bg-primary);
  color: #1E2A3A;
  font-family: 'Inter', -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(194, 107, 75, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(30, 42, 58, 0.04) 0%, transparent 35%);
}

.ty-wrap {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.ty-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #C26B4B;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 12px 32px rgba(194, 107, 75, 0.30);
  animation: ty-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.ty-badge svg {
  width: 36px;
  height: 36px;
}
@keyframes ty-pop {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.ty-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #C26B4B;
  margin: 0 0 16px;
}

.ty-headline {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1E2A3A;
  margin: 0 0 20px;
}
.ty-mark {
  background: linear-gradient(transparent 55%, #F5E6C8 55%);
  padding: 0 6px;
  font-weight: 600;
}
@media (min-width: 768px) {
  .ty-headline { font-size: 2.75rem; }
}

.ty-sub {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #5B6470;
  margin: 0 0 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.ty-sub strong {
  color: #1E2A3A;
  font-weight: 600;
}

.ty-steps {
  background: white;
  border: 1px solid #E0D7CB;
  border-radius: 12px;
  padding: 28px 24px;
  margin: 0 0 32px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(30, 42, 58, 0.06);
}
.ty-steps__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #C26B4B;
  margin: 0 0 16px;
}
.ty-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ty-step;
}
.ty-steps li {
  counter-increment: ty-step;
  position: relative;
  padding: 10px 0 10px 40px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1E2A3A;
}
.ty-steps li::before {
  content: counter(ty-step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: #C26B4B;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ty-steps li + li {
  border-top: 1px solid #F0EBE3;
}
.ty-steps li strong {
  color: #1E2A3A;
  font-weight: 600;
}
@media (min-width: 768px) {
  .ty-steps { padding: 36px 32px; }
}

.ty-help {
  font-size: 0.875rem;
  color: #5B6470;
  line-height: 1.55;
}
.ty-help a {
  color: #C26B4B;
  text-decoration: underline;
  text-decoration-color: rgba(194, 107, 75, 0.4);
  text-underline-offset: 3px;
}
.ty-help a:hover {
  text-decoration-color: #C26B4B;
}

/* ---- Section container padding per gap consistente tra sezioni ---- */
body.listicle article > section.container {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}
body.listicle .phrases {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}
@media (min-width: 768px) {
  body.listicle article > section.container {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }
  body.listicle .phrases {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }
}

/* ---- Mobile spacing compatto: stesso pattern della salespage
   Evita accumulo di padding/margin tra sezioni (60+60 = 120px → 32+32 = 64px) ---- */
@media (max-width: 767px) {

  /* H2 mobile: meno margin-top */
  body.listicle h2 {
    margin-top: var(--space-md);
    margin-bottom: 14px;
  }

  /* Figure-bleed e hero-figure margin ridotti */
  body.listicle .figure-bleed,
  body.listicle .hero-figure {
    margin: var(--space-md) auto;
  }

  /* Phrase block compact */
  body.listicle .phrase-block {
    margin: var(--space-md) 0;
    gap: 16px;
    padding-bottom: var(--space-md);
  }

  /* Quote card margin ridotto */
  body.listicle .quote-card {
    margin: var(--space-md) auto;
    padding: 22px 20px;
  }

  /* CTA inline margin ridotto */
  body.listicle .cta-inline {
    margin: var(--space-md) auto;
  }

  /* Infographic margin ridotto */
  body.listicle .infographic {
    margin: var(--space-md) auto;
  }

  /* Customer section padding ridotto */
  body.listicle .customer-section {
    padding: var(--space-lg) 24px;
    margin: var(--space-lg) 0 0;
  }

  /* Pull quote margin ridotto */
  body.listicle .pull-quote {
    margin: var(--space-md) 0;
  }

  /* Article header padding ridotto */
  body.listicle .article-header {
    padding-top: var(--space-md);
  }

  /* Article intro quote margin ridotto */
  body.listicle .article-intro-quote {
    margin-top: 12px;
  }

  /* Byline blog spacing ridotto */
  body.listicle .byline-blog {
    margin: 18px 0 0;
    padding: 12px 0;
  }

  /* Author bio padding ridotto */
  body.listicle .author-bio {
    padding-top: 16px;
    margin-top: var(--space-md);
  }

  /* Section break ridotto */
  body.listicle .section-break {
    margin: var(--space-md) auto;
  }

  /* Ultimo elemento delle sezioni: rimuovi margin-bottom
     Il padding-bottom del parent assorbe lo spazio */
  body.listicle section > *:last-child,
  body.listicle section.container > *:last-child,
  body.listicle article > section:last-child > *:last-child {
    margin-bottom: 0;
  }

  /* Primo elemento delle sezioni: rimuovi margin-top */
  body.listicle section > *:first-child,
  body.listicle section.container > *:first-child {
    margin-top: 0;
  }

  /* H2 dopo p o figure non deve avere margin-top eccessivo se sono in section adiacenti */
  body.listicle section.container h2:first-child,
  body.listicle section.container h2:nth-child(2) {
    margin-top: 0;
  }

  /* Paragrafi consecutivi compattati */
  body.listicle p {
    margin-bottom: 0.85em;
  }
}
