:root {
  --ink: #101828;
  --muted: #475467;
  --soft: #f6f8f5;
  --line: #d9e2dd;
  --blue: #1a73e8;
  --red: #ea4335;
  --green: #07966f;
  --green-dark: #057255;
  --yellow: #fbbc04;
  --cta-yellow: #ffd400;
  --yellow-dark: #e6bd00;
  --dashboard-blue: #1e145d;
  --dashboard-blue-dark: #120a36;
  --panel: #ffffff;
  --shadow: 0 18px 42px rgba(16, 24, 40, 0.12);
}

/* REV 19.1.24: conversion proof section. */
.feedback-proof{
  background:#f8fafc;
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
}
.feedback-carousel{
  max-width:920px;
  margin:28px auto 0;
}
.feedback-proof-grid{
  display:flex;
  gap:16px;
  margin:0;
  padding:4px 4px 16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scrollbar-color:#94a3b8 transparent;
}
.feedback-proof-grid blockquote{
  flex:0 0 calc((100% - 16px)/2);
  margin:0;
  padding:24px;
  border:1px solid #dbe4ee;
  border-left:4px solid #059669;
  border-radius:8px;
  background:#fff;
  box-shadow:0 10px 28px rgba(17,24,39,.06);
  scroll-snap-align:start;
}
.feedback-proof-grid blockquote p{
  margin:0;
  color:#111827;
  font-size:18px;
  line-height:1.5;
  font-weight:700;
}
.feedback-proof-grid blockquote footer{
  margin-top:16px;
  color:#64748b;
  font-size:13px;
  line-height:1.45;
}
.feedback-carousel-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:6px;
}
.feedback-carousel-controls button{
  width:42px;
  height:42px;
  padding:0;
  border:1px solid #94a3b8;
  border-radius:50%;
  background:#fff;
  color:#111827;
  font-size:1.25rem;
  font-weight:900;
  cursor:pointer;
}
.feedback-carousel-controls button:hover,
.feedback-carousel-controls button:focus-visible{
  border-color:#07966f;
  color:#057255;
  outline:3px solid rgba(7,150,111,.2);
}
.feedback-status{
  min-width:74px;
  color:#526070;
  text-align:center;
  font-size:.88rem;
  font-weight:800;
}
@media(max-width:720px){
  .feedback-proof-grid blockquote{
    flex-basis:min(84vw,360px);
    padding:20px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-right: 2px;
}

.logo-dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: block;
}

.logo-dots .b { background: var(--blue); }
.logo-dots .r { background: var(--red); }
.logo-dots .y { background: var(--yellow); }
.logo-dots .g { background: var(--green); }

.logo-word {
  font-size: 36px;
  line-height: 1;
}

.logo-word .o1 { color: var(--blue); }
.logo-word .o2 { color: var(--red); }
.logo-word .o3 { color: var(--yellow); }
.logo-word .o4 { color: var(--green); }

.logo-word .o1,
.logo-word .o2,
.logo-word .o3,
.logo-word .o4 {
  font-weight: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
}

.nav-links .mobile-proof-link {
  display:none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.lang-switch:hover {
  text-decoration: none;
  border-color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta-yellow);
  color: #111827;
  border-color: var(--cta-yellow);
  box-shadow: 0 12px 28px rgba(255, 212, 0, 0.28);
}

.btn-primary:hover {
  background: var(--yellow-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-color: #b7c4ce;
}

.btn-dark {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-dark:hover {
  background: var(--green-dark);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 248, 245, 0.98) 0%, rgba(246, 248, 245, 0.91) 48%, rgba(246, 248, 245, 0.58) 100%),
    url("dashboard-work-sample-en-01.jpg") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  max-width: 720px;
  padding: 84px 0 98px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #111827;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
  font-weight: 800;
}

.price-pill s {
  color: #667085;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 900px;
}

.hero-lead {
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: #263445;
  max-width: 700px;
}

.definition {
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(7, 150, 111, 0.28);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.definition span {
  display: block;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  color: #243043;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #344054;
  font-size: 0.95rem;
  font-weight: 700;
}

.trust-row span::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 24px;
}

.metric-card {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(7, 150, 111, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  animation: metricRise 560ms ease both;
}

.metric-card:nth-child(2) {
  animation-delay: 90ms;
}

.metric-card:nth-child(3) {
  animation-delay: 180ms;
}

.metric-card strong {
  display: block;
  color: var(--green-dark);
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: 0;
}

.metric-card span {
  display: block;
  margin-top: 8px;
  color: #344054;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

@keyframes metricRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 82px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.section.dark {
  background: #111827;
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dark .kicker {
  color: #7dd3b6;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.dark .lead {
  color: #d0d5dd;
}

.origin-section {
  background:
    linear-gradient(180deg, #fff 0%, #f6f8f5 100%);
}

.origin-box {
  max-width: 920px;
}

.origin-box h2 {
  max-width: 860px;
}

.origin-line {
  max-width: 760px;
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--yellow);
  background: #fffbeb;
  color: #243043;
  font-size: 1.12rem;
  font-weight: 900;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #ecfdf3;
  color: var(--green-dark);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.story-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.script-lines {
  display: grid;
  gap: 12px;
}

.script-line {
  padding: 15px 16px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e4e7ec;
}

.script-line strong {
  color: var(--green-dark);
}

.story-moral {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  background: #fffbeb;
  color: #243043;
  font-weight: 700;
}

.story-moral strong {
  color: var(--ink);
}

.quote {
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--yellow);
  font-size: 1.2rem;
  font-weight: 900;
}

.proof-image {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #fff;
}

.proof-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.report-section {
  background:
    linear-gradient(90deg, var(--dashboard-blue-dark) 0 9%, transparent 9%),
    linear-gradient(135deg, #1e145d 0%, #151f38 48%, #edf3ef 48%, #edf3ef 100%);
  color: #fff;
  border-top: 1px solid rgba(30, 20, 93, 0.2);
  border-bottom: 1px solid rgba(30, 20, 93, 0.2);
}

.report-section .section-head h2 {
  color: #fff;
}

.report-section .section-head .lead {
  color: #dbe5f4;
}

.report-section .kicker {
  color: var(--cta-yellow);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.report-section .case-card {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(4, 8, 24, 0.35);
}

.case-preview {
  display: block;
  height: 360px;
  overflow-x: hidden;
  overflow-y: hidden;
  background: #f2f4f7;
  border-bottom: 1px solid var(--line);
}

.report-section .case-preview {
  background:
    linear-gradient(90deg, var(--dashboard-blue) 0 16%, #f1f5f9 16% 100%);
}

.case-preview-localized {
  padding: 14px;
  background:
    linear-gradient(90deg, var(--dashboard-blue) 0 18%, #eef3f7 18% 100%);
}

.mini-dashboard {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.14);
}

.mini-rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  padding: 14px 10px;
  background: var(--dashboard-blue);
  color: #ffffff;
}

.mini-rail span,
.mini-rail small {
  font-size: 0.75rem;
  line-height: 1.25;
  opacity: 0.9;
}

.mini-rail strong {
  font-size: 0.95rem;
  letter-spacing: 0;
}

.mini-rail b {
  margin-top: auto;
  font-size: 0.75rem;
  line-height: 1.3;
}

.mini-main {
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  color: var(--ink);
}

.mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mini-top h4 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.15;
}

.mini-top span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #ebe6ff;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 900;
}

.mini-main p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.mini-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mini-kpis span,
.mini-actions,
.mini-cols span {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.mini-kpis span {
  padding: 9px;
  color: #667085;
  font-size: 0.75rem;
  line-height: 1.2;
}

.mini-kpis strong {
  display: block;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
}

.mini-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
  padding: 10px;
}

.mini-actions b {
  grid-column: 1 / -1;
  font-size: 0.8rem;
}

.mini-actions span {
  overflow: hidden;
  padding: 7px;
  border-radius: 8px;
  background: #f5f7fb;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.mini-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.mini-cols span {
  padding: 10px;
}

.mini-cols b,
.mini-cols small {
  display: block;
}

.mini-cols b {
  font-size: 0.8rem;
}

.mini-cols small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.25;
}

.case-preview:focus {
  outline: 3px solid rgba(7, 150, 111, 0.22);
  outline-offset: -3px;
}

.case-card img {
  display: block;
  width: 100%;
  height: auto;
}

.case-open {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.case-open:hover {
  text-decoration: underline;
}

.report-section .report-actions .btn-dark {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.report-section .report-actions .btn-dark:hover {
  background: #eef2f7;
}

.report-section .report-actions .btn-secondary {
  background: var(--cta-yellow);
  color: var(--ink);
  border-color: var(--cta-yellow);
}

.report-section .report-actions .btn-secondary:hover {
  background: var(--yellow-dark);
}

.case-card figcaption {
  padding: 18px;
}

.case-card h3 {
  margin: 8px 0 8px;
  font-size: 1.15rem;
}

.case-card p {
  margin: 0;
  color: var(--muted);
}

.case-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  background: #ecfdf3;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.offer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.offer-price {
  min-width: 220px;
  padding: 22px;
  text-align: center;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.offer-price strong {
  display: block;
  font-size: 3rem;
  line-height: 1;
}

.offer-price span {
  color: var(--muted);
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer {
  padding: 34px 0 110px;
  background: #fff;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.mobile-cta {
  display: none;
}

@media (max-width: 900px) {
  .container {
    width: min(360px, calc(100vw - 32px));
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .nav-links a.lang-switch {
    display: inline-flex;
  }

  .nav-links a.mobile-proof-link {
    display:inline-flex;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(246, 248, 245, 0.98) 0%, rgba(246, 248, 245, 0.94) 62%, rgba(246, 248, 245, 0.82) 100%),
      url("dashboard-work-sample-en-01.jpg") top center / cover no-repeat;
  }

  .hero-content {
    padding: 54px 0 70px;
    max-width: 100%;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.06;
  }

  .origin-box h2,
  .section-head h2 {
    font-size: 1.8rem;
    line-height: 1.12;
  }

  .lead,
  .hero-lead {
    font-size: 1rem;
  }

  .definition,
  .proof-metrics,
  .case-grid,
  .grid.cols-3,
  .grid.cols-4,
  .split,
  .offer {
    grid-template-columns: 1fr;
  }

  .offer-price {
    min-width: 0;
  }
}

/* REV 19.2.0 - P1/P2 information architecture, proof and accessibility */
main {
  display: flex;
  flex-direction: column;
}

.hero { order: 1; }
.report-section { order: 2; }
#cosa-ricevi,
#what-you-get { order: 3; }
#difference { order: 4; }
.audience-section { order: 5; }
#problema-giardiniere,
#gardener-problem { order: 6; }
#come-funziona,
#how-it-works { order: 7; }
.case-study-section { order: 8; }
.feedback-proof { order: 9; }
.origin-section { order: 10; }
#pricing { order: 11; }
#faq { order: 12; }

.deliverables-line,
.value-note,
.feedback-context {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid #07966f;
  background: #f1f8f5;
  color: #263545;
  line-height: 1.65;
}

.comparison-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid #cbd5e1;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.comparison-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.comparison-table thead th {
  background: #111827;
  color: #fff;
  font-size: 0.9rem;
}

.comparison-table tbody th {
  min-width: 260px;
  color: #111827;
}

.comparison-table td:nth-child(2) {
  background: #e9f9f2;
  color: #057a59;
  font-weight: 800;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.audience-grid > div {
  padding-top: 18px;
  border-top: 4px solid #07966f;
}

.audience-grid > div:last-child {
  border-top-color: #ef4444;
}

.check-list,
.cross-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.cross-list li {
  position: relative;
  padding-left: 30px;
  color: #334155;
  line-height: 1.55;
}

.check-list li::before,
.cross-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}

.check-list li::before { content: "✓"; color: #07966f; }
.cross-list li::before { content: "×"; color: #dc2626; }

.case-preview-localized {
  min-height: 335px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  border-bottom: 1px solid #dbe4ea;
}

.case-preview-localized .mini-dashboard {
  display: none;
}

html[lang="it"] .case-card:nth-child(1) .case-preview-localized { background-image: url("case-uae-safety-it-thumb.jpg"); }
html[lang="it"] .case-card:nth-child(2) .case-preview-localized { background-image: url("case-uae-it-support-it-thumb.jpg"); }
html[lang="it"] .case-card:nth-child(3) .case-preview-localized { background-image: url("case-aerospace-it-thumb.jpg"); }
html[lang="en"] .case-card:nth-child(1) .case-preview-localized { background-image: url("case-uae-safety-en-thumb.jpg"); }
html[lang="en"] .case-card:nth-child(2) .case-preview-localized { background-image: url("case-uae-it-support-en-thumb.jpg"); }
html[lang="en"] .case-card:nth-child(3) .case-preview-localized { background-image: url("case-aerospace-en-thumb.jpg"); }

.report-outcomes,
.feedback-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.feedback-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.report-outcomes > div,
.feedback-metrics > div {
  min-height: 118px;
  padding: 18px;
  border-top: 3px solid #ffd400;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.report-outcomes strong,
.feedback-metrics strong {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 1.22rem;
}

.report-outcomes span,
.feedback-metrics span {
  color: #526070;
  font-size: 0.92rem;
  line-height: 1.45;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.case-study-grid article {
  padding: 24px;
  border: 1px solid #dbe4ea;
  border-top: 4px solid #07966f;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.07);
}

.case-study-grid article > span {
  color: #057a59;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-study-grid h3 {
  margin: 10px 0 16px;
  font-size: 1.25rem;
}

.case-study-grid p {
  margin: 10px 0 0;
  color: #526070;
  line-height: 1.55;
}

.feedback-metrics {
  margin-bottom: 24px;
}

.feedback-metrics > div {
  border-top-color: #07966f;
}

.feedback-metrics strong {
  font-size: 1.65rem;
}

.founder-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: #111827;
  color: #fff;
}

.founder-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  flex: 0 0 auto;
  border: 3px solid #ffd400;
  border-radius: 50%;
  color: #ffd400;
  font-size: 1.35rem;
  font-weight: 900;
}

img.founder-avatar {
  display: block;
  object-fit: cover;
  object-position: center 35%;
  background: #fff;
}

.founder-identity strong,
.founder-identity span {
  display: block;
}

.founder-identity span {
  margin-top: 5px;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: #067a5a;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.offer-price .btn {
  margin-top: 12px;
  width: 100%;
}

.offer-price small {
  display: block;
  max-width: 280px;
  margin-top: 10px;
  color: #475569;
  font-size: 0.76rem;
  line-height: 1.4;
}

.btn,
.case-open,
.nav a,
.faq summary,
.comparison-wrap {
  outline-offset: 4px;
}

.btn:focus-visible,
.case-open:focus-visible,
.nav a:focus-visible,
.faq summary:focus-visible,
.comparison-wrap:focus-visible {
  outline: 3px solid #2563eb;
}

.btn:active {
  transform: translateY(1px);
  filter: brightness(0.94);
}

.nav a.is-active,
.nav a[aria-current="true"] {
  color: #057a59;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.experiment-short .audience-section,
.experiment-short #problema-giardiniere,
.experiment-short #gardener-problem,
.experiment-short .case-study-section,
.experiment-short .origin-section {
  display: none;
}

html[data-experiment="founder-high"] #founder {
  order: 3;
}

html[data-experiment="founder-high"] #cosa-ricevi,
html[data-experiment="founder-high"] #what-you-get {
  order: 4;
}

@media (max-width: 900px) {
  .audience-grid,
  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .report-outcomes,
  .feedback-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .case-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    padding: 0 4px 14px;
  }

  .case-card {
    min-width: min(86vw, 360px);
    scroll-snap-align: center;
  }

  .case-preview-localized {
    min-height: 320px;
    background-size: cover;
  }

  .report-outcomes,
  .feedback-metrics {
    grid-template-columns: 1fr;
  }

  .report-outcomes > div,
  .feedback-metrics > div {
    min-height: auto;
  }

  .comparison-wrap::after {
    content: "Scorri orizzontalmente / Swipe horizontally";
    display: block;
    padding: 10px 14px;
    color: #526070;
    font-size: 0.78rem;
  }

  .founder-identity {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  [id] {
    scroll-margin-top: 82px;
  }

  body {
    padding-bottom: 92px;
    max-width: 100vw;
  }

  .container {
    width: calc(100vw - 28px);
    max-width: 1120px;
  }

  .nav,
  .hero,
  .section,
  .footer,
  .mobile-cta {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero-content,
  .section-head,
  .origin-box,
  .story-panel,
  .offer {
    min-width: 0;
    max-width: 100%;
  }

  .nav-inner {
    min-height: 64px;
  }

  .logo-word {
    font-size: 1.3rem;
  }

  .nav-links .btn {
    display: none;
  }

  .nav-links {
    gap: 8px;
  }

  .hero-content {
    padding: 30px 0 64px;
  }

  h1 {
    font-size: 1.95rem;
    line-height: 1.02;
  }

  .hero-lead {
    font-size: 1rem;
    margin-top: 18px;
  }

  .price-pill {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    max-width: 100%;
    white-space: normal;
  }

  .hero-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .definition span {
    padding: 10px 12px;
    min-height: auto;
  }

  .proof-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .metric-card {
    min-height: 100px;
    padding: 12px 10px;
  }

  .metric-card strong {
    font-size: 1.65rem;
  }

  .metric-card span {
    font-size: 0.76rem;
  }

  .section {
    padding: 56px 0;
  }

  .origin-line {
    padding: 16px;
    font-size: 1rem;
  }

  .card,
  .case-card figcaption,
  .story-panel,
  .offer {
    padding: 20px;
  }

  .case-preview {
    height: min(118vw, 500px);
    touch-action: pan-y;
  }

  .case-preview-localized {
    padding: 12px;
  }

  .mini-dashboard {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .mini-rail {
    padding: 12px 8px;
  }

  .mini-main {
    padding: 12px;
  }

  .mini-top h4 {
    font-size: 1rem;
  }

  .mini-kpis {
    gap: 6px;
  }

  .mini-kpis span,
  .mini-actions span,
  .mini-cols small {
    font-size: 0.75rem;
  }

  .mini-actions,
  .mini-cols {
    gap: 6px;
  }

  .report-section {
    background:
      linear-gradient(90deg, var(--dashboard-blue-dark) 0 26px, transparent 26px),
      linear-gradient(180deg, #1e145d 0%, #151f38 100%);
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: block;
    padding: 12px 14px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -14px 28px rgba(16, 24, 40, 0.12);
  }

  .mobile-cta .btn {
    width: 100%;
    min-height: 54px;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .metric-card {
    animation: none;
  }
}


@media (max-width: 900px) {
  .cookie-banner-visible .mobile-cta {
    transform: translateY(-150px);
  }
}

/* REV 19.2.0 - paid intent landing pages */
.intent-page main {
  display: block;
}

.intent-hero {
  padding: 72px 0 62px;
  background: #f7faf8;
  border-bottom: 1px solid #dbe4ea;
}

.intent-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 52px;
}

.intent-hero h1 {
  max-width: 830px;
  margin: 14px 0 20px;
  font-size: clamp(2.45rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.intent-lead {
  max-width: 760px;
  color: #3d4b5c;
  font-size: 1.16rem;
  line-height: 1.65;
}

.intent-proof {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.16);
}

.intent-proof img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
}

.intent-proof span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 11px 13px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.intent-band {
  padding: 30px 0;
  background: #111827;
  color: #fff;
}

.intent-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.intent-band-grid strong,
.intent-band-grid span {
  display: block;
}

.intent-band-grid strong {
  color: #ffd400;
  font-size: 1.05rem;
}

.intent-band-grid span {
  margin-top: 6px;
  color: #d8e0ea;
  font-size: 0.88rem;
  line-height: 1.45;
}

.intent-detail {
  padding: 68px 0;
}

.intent-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px;
}

.intent-detail h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.intent-price {
  padding: 60px 0;
  background: #eef7f3;
  text-align: center;
}

.intent-price p {
  max-width: 680px;
  margin: 14px auto 24px;
  color: #465568;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .intent-hero-grid,
  .intent-detail-grid {
    grid-template-columns: 1fr;
  }

  .intent-hero {
    padding: 42px 0 48px;
  }

  .intent-proof,
  .intent-proof img {
    min-height: 340px;
    height: 340px;
  }

  .intent-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
