/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --ink:        #1A1614;
  --orange:     #D93C08;   /* bianco su di esso: 4.56:1 ✓ */
  --orange-h:   #BE3407;   /* hover */
  --body:       #3a3633;
  --muted:      #55504c;
  --label:      #5B616A;   /* era #8C9196 — 3.18:1 su bianco, ora 6.2:1 */
  --label2:     #6E6862;   /* era #A7A29A — 2.54:1 su bianco, ora 5.5:1 */
  --label3:     #9b9692;
  --on-dark:    #e9e7e4;
  --on-dark2:   #bdbcba;
  --on-dark3:   #cfccc8;
  --panel:      #F4F1EC;
  --img-bg:     #E7E3DC;
  --zebra:      #FBFAF8;
  --cta-bg:     #FFF4F0;
  --cta-border: #F6D9CE;
  --border:     #E7E3DC;
  --border2:    #E0DBD2;
  --hairline:   #2a2421;
  --white:      #ffffff;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--orange); color: var(--white); }

img { display: block; max-width: 100%; }
a { transition: color .15s ease; }
button { font-family: inherit; }

/* ============================================================
   ACCESSIBILITÀ — SKIP LINK / FOCUS / VISUALLY HIDDEN
   ============================================================ */

/* Salta al contenuto */
.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  background: var(--orange);
  color: var(--white);
  padding: 10px 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 6px 0;
  transition: top .12s ease;
}
.skip-link:focus { top: 0; }

/* Focus visibile per navigazione tastiera */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Testo accessibile ma visivamente nascosto */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mono { font-family: 'Roboto', sans-serif; }

.eyebrow {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 7px;
  padding: 16px 28px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  box-shadow: 0 2px 0 rgba(26,22,20,.12);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217,60,8,.32);
}
/* Tutti i btn-primary hanno testo bianco — bianco su #BA3306 = 5.90:1 ✓ */

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid #4a4542;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
}
.btn-ghost-light:hover {
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

.btn-pill {
  border-radius: 999px;
  padding: 17px 30px;
}

.btn-sm {
  font-size: 12.5px;
  padding: 11px 18px;
  border-radius: 6px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.site-header__logo img { height: 38px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.site-nav a:hover {
  color: var(--white);
  text-decoration-color: currentColor;
}
.site-nav a.btn-primary {
  color: var(--white);
  text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
  padding-top: 62px;
  padding-bottom: 56px;
}

.hero__eyebrow {
  font-size: 12.5px;
  letter-spacing: 2.5px;
  color: #FA5014;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: .98;
  letter-spacing: -1.6px;
  margin-bottom: 24px;
}
.hero__title span { color: var(--orange); }

.hero__desc {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--on-dark2);
  max-width: 440px;
  margin-bottom: 34px;
}

.hero__btns {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.hero__img-col {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  width: 118%; height: 118%;
  background: radial-gradient(circle at 50% 44%, rgba(217,60,8,.24), rgba(217,60,8,.07) 42%, transparent 66%);
  filter: blur(8px);
  z-index: 0;
}

.hero__ring {
  position: absolute;
  top: 52%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(140,145,150,.22);
  z-index: 0;
}
.hero__ring--lg { width: 82%; padding-bottom: 82%; height: 0; }
.hero__ring--sm { width: 57%; padding-bottom: 57%; height: 0; border-color: rgba(140,145,150,.13); }

.hero__shadow {
  position: absolute;
  left: 6%; right: 6%;
  bottom: 30px;
  height: 48px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 72%);
  filter: blur(12px);
  z-index: 0;
}

.hero__img {
  position: relative;
  width: 115%;
  max-width: none;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 88% 85% at 50% 52%, black 48%, transparent 78%);
  mask-image: radial-gradient(ellipse 88% 85% at 50% 52%, black 48%, transparent 78%);
  z-index: 1;
}

/* ============================================================
   STRENGTHS BAND
   ============================================================ */
.strengths {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.strengths__glow {
  position: absolute;
  left: 50%; top: 8%;
  transform: translateX(-50%);
  width: 820px;
  max-width: 90%;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(217,60,8,.26), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.strengths__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 30px;
  padding-bottom: 128px;
}

.strength-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255,255,255,.11), rgba(255,255,255,.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 24px 22px 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 16px 36px rgba(0,0,0,.30);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.strength-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217,60,8,.65);
  background: linear-gradient(155deg, rgba(255,255,255,.17), rgba(255,255,255,.055));
}

.strength-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--orange);
  margin-bottom: 18px;
}

.strength-card__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.12;
  color: var(--white);
}

/* Wave divider */
.wave-divider {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 54px;
  display: block;
  z-index: 2;
}

/* ============================================================
   INTRO
   ============================================================ */
.intro {
  padding-top: 92px;
  padding-bottom: 20px;
}

.intro__inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.intro__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.intro__desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 1040px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ============================================================
   MODELS
   ============================================================ */
.models {
  display: flex;
  flex-direction: column;
  gap: 88px;
  padding-top: 40px;
  padding-bottom: 20px;
}

.model-article {
  display: grid;
  align-items: center;
}
.model-article--left  { grid-template-columns: 1.18fr 0.82fr; gap: 48px; }
.model-article--right { grid-template-columns: 0.82fr 1.18fr; gap: 48px; }
.model-article--left2 { grid-template-columns: 1.08fr 0.92fr; gap: 54px; }

.model-article--right .model-carousel { order: 2; }
.model-article--right .model-text    { order: 1; }

/* Carousel */
.model-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.carousel-track img {
  width: 100%;
  flex: 0 0 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(26,22,20,.55);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  z-index: 3;
  transition: background .15s ease;
}
.carousel-btn:hover { background: var(--orange); }
.carousel-btn--prev { left: 14px; }
.carousel-btn--next { right: 14px; }

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 3;
}

.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all .25s ease;
}
.carousel-dot.is-active {
  background: var(--orange);
  width: 22px;
  border-radius: 5px;
}

.model-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--orange);
  color: var(--white);   /* era var(--ink) — su #CE3D07 era 3.69:1 ❌, bianco è 4.89:1 ✓ */
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 5px;
  z-index: 4;
}

/* Model text */
.model-text { position: relative; }

.model-eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--label);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.model-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: .95;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.model-code {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--label2);
  margin-bottom: 18px;
}

.model-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 26px;
  max-width: 420px;
}

.model-specs {
  display: flex;
  background: var(--panel);
  border-radius: 12px;
  padding: 16px 0;
  margin-bottom: 28px;
}

.model-spec {
  flex: 1;
  padding: 0 18px;
}
.model-spec + .model-spec { border-left: 1px solid var(--border2); }

.model-spec__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--label);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 4px;
}

.model-spec__val {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.model-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.model-price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--ink);
}
.model-price__pre {
  font-size: 12px;
  font-weight: 500;
  color: var(--label);
  letter-spacing: .5px;
}
.model-price__iva {
  font-size: 13px;
  color: var(--label);
  font-weight: 500;
}

.btn-model {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 9px;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare { padding-top: 90px; padding-bottom: 20px; }

.compare__eyebrow { font-size: 12px; letter-spacing: 2.5px; }

.compare__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -.8px;
  margin-bottom: 34px;
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  table-layout: fixed;
}

.compare-table thead tr {
  background: var(--ink);
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
}

.compare-table thead th {
  text-align: left;
  padding: 26px 22px;
  vertical-align: bottom;
}
.compare-table thead th:first-child { padding-left: 28px; }

.compare-table thead .th-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8C9196; /* su sfondo dark #1A1614 = 5.67:1 ✓ — non usare --label che è calibrato per sfondi chiari */
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
}

.compare-table thead .th-model { font-weight: 800; font-size: 21px; letter-spacing: -.3px; }
.compare-table thead .th-code  { font-size: 12px; color: var(--label3); font-weight: 400; margin-top: 5px; font-family: 'Roboto', sans-serif; }

.compare-table tbody tr:nth-child(even) { background: var(--zebra); }

.compare-table tbody td {
  padding: 16px 22px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
}
.compare-table tbody td:first-child,
.compare-table tbody th[scope="row"] {
  padding-left: 28px;
  color: var(--label);
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  text-align: left;
}

.compare-table .price-row { border-top: 2px solid var(--ink); }
.compare-table .price-row td { padding: 22px 22px; font-family: 'Bricolage Grotesque', sans-serif; }
.compare-table .price-row td:first-child,
.compare-table .price-row th[scope="row"] { font-weight: 700; color: var(--ink); font-family: 'Bricolage Grotesque', sans-serif; text-align: left; }
.compare-table .price-row td:not(:first-child) { font-weight: 800; font-size: 19px; color: var(--ink); }

.compare-note {
  font-size: 12.5px;
  color: var(--label);
  margin-top: 14px;
}

.upsell-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 54px;
  padding: 38px 44px;
  background: var(--cta-bg);
  border: 1px solid var(--cta-border);
  border-radius: 20px;
}

.upsell-box__eyebrow { font-size: 11.5px; letter-spacing: 2.5px; margin-bottom: 12px; color: #D1380A; }

.upsell-box__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -.5px;
  color: var(--ink);
  margin-bottom: 8px;
}

.upsell-box__desc { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ============================================================
   WHY MARINA
   ============================================================ */
.why {
  background: var(--ink);
  color: var(--white);
  margin-top: 44px;
  position: relative;
  overflow: hidden;
  --orange: #FA5014;   /* su sfondo scuro #1A1614: 5.36:1 ✓ — l'arancione globale #CE3D07 dà solo 3.69:1 */
}

.why__bg-img {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  background: url('../design_handoff_landing_trattorini/assets/cta-garden.png') right center / cover;
  opacity: .55;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  z-index: 0;
  pointer-events: none;
}

.why__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 42%, rgba(26,22,20,.6) 68%, rgba(26,22,20,.35) 100%);
  z-index: 0;
  pointer-events: none;
}

.why__wave-line {
  position: absolute;
  top: 30px; left: 0;
  width: 120%; height: 130px;
  opacity: .07;
  z-index: 0;
  pointer-events: none;
}

.why__inner {
  position: relative;
  z-index: 1;
  padding-top: 74px;
  padding-bottom: 74px;
}

.why__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -1px;
  max-width: 740px;
  margin-bottom: 48px;
}

.why__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.stat__num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 56px;
  color: var(--orange);
  line-height: 1;
}

.stat__label {
  font-weight: 700;
  font-size: 16px;
  margin: 8px 0 7px;
}

.stat__desc { font-size: 13.5px; color: var(--label3); line-height: 1.55; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 920px;
  margin: 0 auto;
  padding-top: 88px;
  padding-bottom: 20px;
  padding-left: 32px;
  padding-right: 32px;
}

.faq__header { text-align: center; }

.faq__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -.8px;
  margin-bottom: 38px;
}

.faq__list { display: flex; flex-direction: column; }

.faq__item { border-top: 1px solid var(--border); }

.faq__btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  text-align: left;
}

.faq__question {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
}

.faq__sign {
  font-size: 24px;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 1;
}

.faq__answer {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  padding: 0 4px 0;
  max-width: 680px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .52s cubic-bezier(.22,1,.36,1),
              opacity .42s ease,
              padding .42s ease;
}
.faq__answer.is-open {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 26px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--ink);
  color: var(--white);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.final-cta__wave {
  position: absolute;
  left: 0; top: -1px;
  width: 100%; height: 56px;
  display: block;
  z-index: 3;
  transform: scaleY(-1);
}

.final-cta__inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 88px 48px 80px;
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
}

.final-cta__img-col {
  flex: 1 1 440px;
  min-width: 320px;
  display: flex;
  justify-content: center;
}

.final-cta__img-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.final-cta__glow {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 48%, rgba(217,60,8,.34), rgba(217,60,8,.08) 48%, transparent 68%);
  z-index: 0;
}

.final-cta__img {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}

.final-cta__text {
  flex: 1 1 560px;
  min-width: 300px;
  max-width: 640px;
}

.final-cta__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: .98;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
  color: #FA5014;
}

.final-cta__desc {
  font-size: 17px;
  line-height: 1.55;
  max-width: 440px;
  margin-bottom: 30px;
}

.final-cta__btns {
  display: flex;
  gap: 13px;
  flex-wrap: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--label3);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr;
  gap: 44px;
  padding-top: 58px;
  padding-bottom: 42px;
}

.site-footer__logo { height: 42px; width: auto; margin-bottom: 18px; }

.site-footer__blurb {
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 320px;
  color: #bdb8b2;
}

.site-footer__social {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}

.site-footer__social a {
  font-size: 12px;
  color: var(--label3);
  text-decoration: none;
  letter-spacing: .5px;
}
.site-footer__social a:hover { color: var(--white); }

.site-footer__col-title {
  font-size: 11px;
  letter-spacing: 2px;
  color: #FA5014;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.site-footer__links a {
  font-size: 14px;
  color: var(--on-dark3);
  text-decoration: none;
}
.site-footer__links a:hover { color: var(--white); }

.site-footer__contact {
  font-size: 13px;
  line-height: 1.85;
  color: var(--on-dark3);
}
.site-footer__contact a { color: var(--white); text-decoration: none; }

.site-footer__bottom {
  border-top: 1px solid var(--hairline);
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__bottom span,
.site-footer__bottom a,
.site-footer__bottom button.footer-link {
  font-size: 11px;
  color: #9E9890;   /* su #1A1614: ~6.8:1 ✓ WCAG AA */
  letter-spacing: .5px;
}
.site-footer__bottom a,
.site-footer__bottom button.footer-link {
  text-decoration: none;
  font-family: inherit;
  font-weight: inherit;
  text-transform: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.site-footer__bottom a:hover,
.site-footer__bottom button.footer-link:hover { color: var(--white); }

.site-footer__legal {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* ============================================================
   MODAL ACCESSIBILITÀ
   ============================================================ */
.a11y-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.68);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.a11y-overlay.is-open { display: flex; }

.a11y-dialog {
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px 40px;
  position: relative;
}

.a11y-dialog__close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 6px;
}
.a11y-dialog__close:hover { background: rgba(0,0,0,.08); }

.a11y-dialog h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-right: 32px;
  line-height: 1.35;
}
.a11y-dialog h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin: 20px 0 6px;
  color: var(--label);
}
.a11y-dialog p, .a11y-dialog li {
  font-size: 13px;
  line-height: 1.7;
  color: #3a3632;
}
.a11y-dialog ol { padding-left: 18px; margin: 4px 0; }
.a11y-dialog a { color: var(--orange); }

@media (max-width: 600px) {
  .a11y-dialog { padding: 28px 20px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 42px; }
  .hero__img-col { min-height: 360px; }
  .site-nav { gap: 20px; }
  .strengths__grid { grid-template-columns: repeat(2, 1fr); }
  .why__stats { grid-template-columns: repeat(2, 1fr); gap: 34px 30px; }
  .model-article--left,
  .model-article--right,
  .model-article--left2 { grid-template-columns: 1fr; gap: 26px; }
  .model-article .model-carousel { order: -1; }
  .model-article .model-text    { order: 0; }
  .models { gap: 64px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .compare-table td,
  .compare-table th { padding-top: 12px !important; padding-bottom: 12px !important; padding-left: 15px !important; padding-right: 15px !important; font-size: 13.5px !important; }
  .compare-table .th-model { font-size: 17px !important; }
}

@media (max-width: 768px) {
  .site-nav a:not(.btn) { display: none; }
  .strengths__grid { padding-bottom: 96px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table { min-width: 600px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .faq__question { font-size: 17px; }
  .faq__sign { font-size: 21px; }
  .faq__answer { font-size: 14.5px; line-height: 1.6; }
  .final-cta__inner { padding-top: 54px; padding-bottom: 34px; min-height: 0; gap: 48px; }
  .site-footer__grid { padding-top: 34px; }
}

@media (max-width: 480px) {
  .strengths__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .strength-card { padding: 18px 15px; }
  .strength-card__icon { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 13px; }
  .strength-card__title { font-size: 15px; line-height: 1.18; }
  .why__stats { grid-template-columns: 1fr 1fr; }
  .hero__btns a,
  .final-cta__btns a { flex: 1 1 100%; text-align: center; }
  .final-cta__btns   { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .final-cta__btns { flex-wrap: wrap; }
  .final-cta__btns a { flex: 1 1 100%; text-align: center; }
}

/* ============================================================
   ANIMAZIONI & SCROLL REVEAL
   ============================================================ */

/* --- Keyframes --- */
@keyframes ms-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ms-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ms-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-13px); }
}
@keyframes ms-spin-slow {
  to { transform: rotate(360deg); }
}

/* --- Hero: animazione d'ingresso (si avvia al caricamento) --- */
.hero__eyebrow {
  animation: ms-fade-up .78s cubic-bezier(.22,1,.36,1) .08s both;
}
.hero__title {
  animation: ms-fade-up .9s  cubic-bezier(.22,1,.36,1) .18s both;
}
.hero__desc {
  animation: ms-fade-up .82s cubic-bezier(.22,1,.36,1) .32s both;
}
.hero__btns {
  animation: ms-fade-up .78s cubic-bezier(.22,1,.36,1) .46s both;
}
.hero__img-col {
  animation: ms-fade-in 1.2s ease .12s both;
}

/* --- Scroll reveal: stato iniziale applicato via JS --- */
.sr {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .78s cubic-bezier(.22,1,.36,1),
              transform .78s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.sr--left  { transform: translateX(-36px); }
.sr--right { transform: translateX(36px);  }
.sr--scale { transform: scale(.95) translateY(16px); }

/* stato visibile — aggiunto da JS quando l'elemento entra nel viewport */
.sr.sr-in {
  opacity: 1;
  transform: none;
}

/* ritardi scalati per elementi in sequenza */
.sr--d1 { transition-delay: .07s; }
.sr--d2 { transition-delay: .15s; }
.sr--d3 { transition-delay: .23s; }
.sr--d4 { transition-delay: .31s; }

/* su schermi stretti le slide direzionali diventano fade-up semplice */
@media (max-width: 1023px) {
  .sr--left,
  .sr--right { transform: translateY(26px); }
}

/* --- Rispetta prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow,
  .hero__title,
  .hero__desc,
  .hero__btns,
  .hero__img-col { animation: none; opacity: 1; }
  .hero__img,
  .hero__ring--lg,
  .hero__ring--sm { animation: none; }
  .sr {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .faq__answer { transition: none; }
}
