/* =========================================
   Clienti Felici Dentisti — Landing styles
   Mobile-first, custom properties, no framework
   ========================================= */

/* ---------- Design tokens ---------- */
:root {
  --navy: #0F1E47;
  --navy-700: #1E2D5C;
  --navy-50: #EEF1F8;
  --teal: #14B8A6;
  --teal-600: #0D9488;
  --teal-50: #F0FDFA;
  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0F172A;
  --red-500: #EF4444;
  --red-50: #FEF2F2;
  --green-500: #10B981;
  --green-50: #F0FDF4;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 71, 0.05);
  --shadow: 0 6px 24px rgba(15, 30, 71, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 30, 71, 0.14);

  --container: 1200px;
  --container-narrow: 820px;
  --gutter: 20px;

  --header-h: 72px;

  --t-fast: 180ms ease;
  --t-base: 280ms ease;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--teal-600);
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.05rem; }

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding-left: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section--alt {
  background: var(--slate-50);
}

.section--cta {
  background: linear-gradient(180deg, var(--navy-50) 0%, var(--white) 100%);
}

.section-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head--center {
  text-align: center;
}

.section-head .lead {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 640px;
  margin-inline: auto;
}

.section-cta {
  margin-top: 48px;
  text-align: center;
}

.hl {
  color: var(--teal-600);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), color var(--t-base);
  text-align: center;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--navy-700);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--slate-200);
}

.btn-ghost:hover {
  background: var(--slate-50);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-nav {
  padding: 10px 18px;
  font-size: 0.9rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.site-header.is-scrolled {
  border-bottom-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.logo-mark {
  color: var(--teal-600);
  flex-shrink: 0;
}

.logo-text em {
  font-style: normal;
  color: var(--teal-600);
}

.nav-desktop {
  display: none;
  gap: 28px;
  align-items: center;
  margin-left: auto;
  margin-right: 24px;
}

.nav-desktop a {
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-desktop a:hover {
  color: var(--navy);
}

.btn-nav {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  padding: 10px;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--gutter) 24px;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 12px 0;
  font-size: 1rem;
  color: var(--slate-900);
  font-weight: 500;
  border-bottom: 1px solid var(--slate-100);
}

.nav-mobile a.btn {
  border-bottom: 0;
  margin-top: 8px;
  color: var(--white);
}

/* ---------- HERO ---------- */
.hero {
  padding-block: clamp(48px, 8vw, 96px);
  background:
    radial-gradient(ellipse at top right, rgba(20, 184, 166, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(15, 30, 71, 0.05), transparent 60%),
    var(--white);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--slate-600);
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 0.92rem;
  color: var(--slate-600);
  font-weight: 500;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--slate-100);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ---------- VALUE PROPOSITION ---------- */
.value-list {
  list-style: none;
  display: grid;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.1rem;
  color: var(--slate-900);
  font-weight: 500;
  background: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
}

.value-list .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- 4 CARD ---------- */
.cards-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.card {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- PRIMA / DOPO ---------- */
.compare {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.compare-col {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 2px solid;
}

.compare-col--bad {
  background: var(--red-50);
  border-color: #FECACA;
}

.compare-col--good {
  background: var(--green-50);
  border-color: #A7F3D0;
}

.compare-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.compare-pill--bad {
  background: var(--red-500);
  color: var(--white);
}

.compare-pill--good {
  background: var(--green-500);
  color: var(--white);
}

.compare-col h3 {
  margin-bottom: 18px;
}

.compare-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
}

.compare-col ul li {
  padding-left: 28px;
  position: relative;
  color: var(--slate-700);
  font-size: 0.97rem;
}

.compare-col--bad ul li::before {
  content: '✗';
  position: absolute;
  left: 4px;
  color: var(--red-500);
  font-weight: 700;
}

.compare-col--good ul li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  color: var(--green-500);
  font-weight: 700;
}

.compare-result {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
}

.compare-result--bad {
  background: rgba(239, 68, 68, 0.1);
  color: #7F1D1D;
}

.compare-result--good {
  background: rgba(16, 185, 129, 0.12);
  color: #064E3B;
}

/* ---------- COME FUNZIONA (3 STEP) ---------- */
.steps {
  list-style: none;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding: 0;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.step-num {
  position: absolute;
  top: -18px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

.step h3 {
  margin-top: 14px;
  margin-bottom: 8px;
}

.step p {
  color: var(--slate-600);
  font-size: 0.97rem;
  margin: 0;
}

/* ---------- BENEFIT ZIGZAG ---------- */
.benefit-blocks {
  display: grid;
  gap: 64px;
}

.benefit-row {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}

.benefit-copy h3 {
  margin-bottom: 14px;
}

.benefit-copy p {
  color: var(--slate-600);
  font-size: 1.02rem;
}

.benefit-img img {
  border-radius: var(--radius);
  background: var(--slate-100);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ---------- FEATURE DETAILED ---------- */
.feature-block {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
  padding: 56px 0;
  border-bottom: 1px solid var(--slate-200);
}

.feature-block:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  margin-bottom: 16px;
}

.feature-copy h3 {
  margin-bottom: 14px;
}

.feature-lead {
  font-size: 1.05rem;
  color: var(--slate-600);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 0.96rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal-50);
  border: 2px solid var(--teal);
}

.feature-list li strong {
  color: var(--navy);
}

.feature-list li code {
  background: var(--slate-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.feature-visual img {
  border-radius: var(--radius);
  background: var(--slate-100);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.faq-item[open] {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.02rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--t-fast);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-body {
  padding: 0 24px 24px;
  color: var(--slate-600);
  font-size: 0.98rem;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

.faq-body ul {
  padding-left: 22px;
  list-style: disc;
}

.faq-body li {
  margin-bottom: 6px;
}

/* ---------- AFAI form embed ---------- */
.form-embed-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.form-embed-wrap iframe {
  display: block;
  width: 100% !important;
  border: 0;
}

/* ---------- CONTACT FORM (legacy / fallback) ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field > span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field em {
  color: var(--red-500);
  font-style: normal;
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--slate-900);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

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

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--slate-600);
  cursor: pointer;
}

.form-consent input {
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--teal-600);
}

.form-consent a {
  color: var(--teal-600);
  text-decoration: underline;
}

.form-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--slate-500);
  margin: 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: var(--slate-300);
  padding-block: 56px 24px;
  margin-top: 0;
}

.site-footer .logo {
  color: var(--white);
}

.site-footer .logo-text em {
  color: var(--teal);
}

.site-footer .logo-mark {
  color: var(--teal);
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--slate-400);
  max-width: 360px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
}

.footer-col a {
  color: var(--slate-300);
  font-size: 0.94rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--slate-400);
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Responsive breakpoints ---------- */

/* Tablet portrait */
@media (min-width: 640px) {
  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

/* Tablet landscape / small desktop */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .btn-nav {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .step-num {
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
  }

  .step {
    text-align: center;
    padding-top: 44px;
  }

  .benefit-row {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .benefit-row--reverse .benefit-copy {
    order: 2;
  }

  .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .feature-block--reverse .feature-copy {
    order: 2;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --gutter: 24px;
  }

  .cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  h1 {
    line-height: 1.1;
  }
}

/* ============================================
   VARIANT B — sezioni extra (ROI, scenari, ecc.)
   ============================================ */

/* ---------- Hero B ---------- */
.eyebrow--urgent {
  background: linear-gradient(90deg, #FEF3C7, #FED7AA);
  color: #B45309;
}

.hl-teal { color: var(--teal-600); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 28px;
  max-width: 480px;
}

.hs-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-align: center;
}

.hs-num {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--teal-600);
  line-height: 1;
}

.hs-num small {
  font-size: 0.7em;
  color: var(--slate-400);
  font-weight: 700;
}

.hs-lbl {
  font-size: 0.78rem;
  color: var(--slate-600);
  margin-top: 6px;
  font-weight: 500;
}

/* ---------- ROI section ---------- */
.roi-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}

.roi-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.roi-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.roi-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-100);
}

.roi-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.roi-pill--red {
  background: var(--red-50);
  color: #B91C1C;
}

.roi-head h3 {
  font-size: 1.05rem;
  margin: 0;
}

.roi-body {
  display: grid;
  gap: 12px;
  align-items: center;
}

.roi-cost,
.roi-gain {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roi-label {
  font-size: 0.78rem;
  color: var(--slate-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.roi-amount {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
}

.roi-amount--red { color: #DC2626; }
.roi-amount--green { color: #047857; }

.roi-detail {
  font-size: 0.85rem;
  color: var(--slate-600);
}

.roi-arrow {
  text-align: center;
  font-size: 1.6rem;
  color: var(--teal);
  font-weight: 800;
  line-height: 1;
}

.roi-footer {
  text-align: center;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.roi-footer p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* ---------- Come parla l'AI ---------- */
.voice-compare {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.voice-card {
  border-radius: var(--radius);
  padding: 24px;
  border: 2px solid;
}

.voice-card--bad {
  background: var(--slate-50);
  border-color: var(--slate-200);
}

.voice-card--good {
  background: var(--teal-50);
  border-color: var(--teal);
}

.voice-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.voice-card header p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.92rem;
  font-weight: 500;
}

.voice-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}

.voice-pill--bad {
  background: var(--slate-400);
  color: var(--white);
}

.voice-pill--good {
  background: var(--teal-600);
  color: var(--white);
}

.voice-msg {
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(15, 30, 71, 0.06);
}

.voice-msg--bad {
  background: var(--white);
  color: var(--slate-700);
  border-bottom-left-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 0.92rem;
  border: 1px dashed var(--slate-300);
}

.voice-msg--good {
  background: var(--white);
  color: var(--slate-900);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--teal);
}

.voice-card footer {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin: 0;
  line-height: 1.5;
}

.voice-card footer strong {
  color: var(--navy);
  font-size: 1rem;
}

.voice-card--good footer strong {
  color: var(--teal-600);
}

/* ---------- Scenari reali ---------- */
.scen-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.scen-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
}

.scen-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.scen-when {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.scen-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.scen-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex-grow: 1;
}

.scen-card code {
  background: var(--slate-100);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--navy);
}

.scen-value {
  font-size: 0.95rem;
  color: var(--slate-700);
  padding-top: 12px;
  border-top: 1px solid var(--slate-100);
}

.scen-value strong {
  color: var(--teal-600);
  font-weight: 800;
}

.scen-card--callout {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  border-color: var(--navy);
  color: var(--white);
}

.scen-card--callout .scen-when {
  background: rgba(20, 184, 166, 0.2);
  color: var(--teal);
}

.scen-card--callout h3 {
  color: var(--white);
}

.scen-card--callout p {
  color: rgba(255, 255, 255, 0.85);
}

.scen-stats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.scen-stats li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.scen-stats strong {
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

/* ---------- Giornata tipo (timeline) ---------- */
.timeline {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  max-width: 900px;
  margin-inline: auto;
}

.timeline-head,
.tl-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  align-items: stretch;
}

.timeline-head {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 12px 16px;
}

.tl-col {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-600);
}

.tl-col-you {
  color: var(--navy);
  padding-left: 16px;
}

.tl-col-ai {
  color: var(--teal-600);
  padding-left: 16px;
  border-left: 1px dashed var(--slate-300);
}

.tl-row {
  padding: 14px 16px;
  border-bottom: 1px solid var(--slate-100);
}

.tl-row:last-child {
  border-bottom: 0;
}

.tl-time {
  font-weight: 800;
  color: var(--slate-400);
  font-size: 0.95rem;
  align-self: center;
}

.tl-you,
.tl-ai {
  padding-left: 16px;
  align-self: center;
}

.tl-ai {
  border-left: 1px dashed var(--slate-300);
}

.tl-task {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--slate-900);
  padding: 6px 12px;
  background: var(--slate-50);
  border-radius: 6px;
  font-weight: 500;
}

.tl-ai .tl-task {
  background: var(--teal-50);
  color: var(--teal-600);
  font-weight: 600;
}

.tl-task.tl-pause,
.tl-task.tl-end {
  background: transparent;
  color: var(--slate-400);
  font-style: italic;
  padding-left: 0;
}

.giornata-foot {
  text-align: center;
  font-size: 1.02rem;
  color: var(--slate-600);
  max-width: 700px;
  margin: 0 auto;
}

.giornata-foot strong {
  color: var(--navy);
}

/* ---------- Confronto table ---------- */
.cmp-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 720px;
}

.cmp-table th,
.cmp-table td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--slate-100);
}

.cmp-table thead th {
  background: var(--slate-50);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cmp-table thead .cmp-us {
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
}

.cmp-table tbody .cmp-us {
  background: rgba(20, 184, 166, 0.08);
  font-weight: 600;
}

.cmp-feat {
  text-align: left !important;
  font-weight: 600;
  color: var(--navy);
}

.cmp-v {
  display: inline-block;
  color: var(--green-500);
  font-weight: 800;
  font-size: 1.1rem;
}

.cmp-x {
  display: inline-block;
  color: var(--slate-400);
  font-weight: 700;
  font-size: 1.1rem;
}

.cmp-p {
  display: inline-block;
  font-size: 0.78rem;
  color: #92400E;
  background: #FEF3C7;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- Garanzia / Fondatori box ---------- */
.garanzia-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  border: 2px solid var(--teal);
  box-shadow: 0 24px 60px rgba(20, 184, 166, 0.18);
  position: relative;
  overflow: hidden;
}

.garanzia-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
}

.garanzia-pill {
  display: inline-block;
  background: linear-gradient(90deg, #FEF3C7, #FED7AA);
  color: #B45309;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.garanzia-box h2 {
  margin-bottom: 14px;
}

.garanzia-lead {
  font-size: 1.05rem;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.garanzia-list {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0 auto 28px;
  max-width: 540px;
  text-align: left;
}

.garanzia-list li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: var(--teal-50);
  border-radius: var(--radius-sm);
  color: var(--slate-700);
  font-size: 0.97rem;
}

.garanzia-list li::before {
  content: '✓';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--teal-600);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.garanzia-list li strong {
  color: var(--navy);
}

.garanzia-foot {
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--slate-500);
}

.garanzia-foot strong {
  color: var(--navy);
}

/* ---------- Responsive variant-B ---------- */
@media (min-width: 640px) {
  .roi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .voice-compare {
    grid-template-columns: 1fr 1fr;
  }

  .scen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roi-body {
    grid-template-columns: 1fr 24px 1fr;
  }

  .roi-arrow {
    transform: rotate(-90deg);
  }
}

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

  .scen-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .roi-body {
    grid-template-columns: 1fr;
  }

  .roi-arrow {
    transform: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
