/* Lower-page layouts: one consistent, responsive visual system. */
.numeri-section {
  background: var(--paper);
}

.numeri-header,
.cases-section .sec-header,
.test-header {
  display: block;
  margin: 0 auto 52px;
  text-align: center;
}

.numeri-header h2,
.chi-inner h2,
.cases-section .sec-header h2,
.test-header h2,
.contatti-left h2 {
  font-family: inherit;
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.numeri-header h2,
.cases-section .sec-header h2,
.test-header h2 {
  max-width: 850px;
  margin: 0 auto;
}

.numeri-eyebrow,
.chi-eyebrow {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.numero-box {
  min-width: 0;
  min-height: 240px;
  padding: 44px 22px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 23px;
  background: var(--blue);
  border-radius: var(--radius);
  color: var(--ink);
  text-align: center;
}

.numero-box:nth-child(2) { background: var(--peach); }
.numero-box:nth-child(3) { background: var(--navy); color: var(--paper); }
.numero-box:nth-child(4) { background: #e8ebda; }

.numero-big {
  font-family: inherit;
  font-size: clamp(58px, 6.2vw, 88px);
  line-height: 1;
  letter-spacing: -.075em;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.numero-label {
  max-width: 180px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.chi-section { background: var(--blue); }

.chi-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.chi-inner > div { min-width: 0; }
.chi-inner h2 { margin-bottom: 30px; }
.chi-text { max-width: 550px; }
.chi-text p { margin-bottom: 20px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.chi-text p:last-child { margin-bottom: 0; }
.chi-text strong { font-weight: 600; color: var(--ink); }

.chi-img-wrap {
  position: relative;
  max-width: 480px;
  margin-left: auto;
  padding: 0;
  background: var(--paper);
  border-radius: 38px;
}

.chi-inner h2 > .title-accent:not(.is-enhanced) { color: var(--orange-ink); }
.chi-numeri { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; max-width: 410px; margin-top: 36px; }
.chi-numeri .method-visual { container-type: inline-size; }
.chi-numeri .numero-big { font-size: clamp(52px,44cqw,88px); color: var(--ink); }
.chi-numeri .method-card--convert .numero-big { font-size: clamp(36px,32cqw,64px); }
.chi-numeri .method-card--amplify .numero-big { color: var(--paper); }
.chi-numeri .numero-label { max-width: none; margin-top: 16px; font-size: 14px; font-weight: 550; line-height: 1.35; text-align: center; }

.chi-avatar {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 28px;
}

.chi-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 12px 14px;
  color: var(--ink);
}

.chi-badge > div { min-width: 0; }
.chi-badge-name { font-size: 18px; font-weight: 700; letter-spacing: -.035em; }
.chi-badge-role { margin-top: 5px; max-width: 235px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.chi-badge-role span { display: block; }
.chi-badge-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
}

.cases-section { background: var(--peach); }
.case-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: case; }
.cases-section #cases-heading { font-size: clamp(40px,5.5vw,76px); line-height: 1; letter-spacing: -.06em; }
.cases-section #cases-heading > .title-accent:not(.is-enhanced) { color: var(--orange-ink); }

.case-card {
  transform: translateY(var(--card-shift,0px));
  counter-increment: case;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.case-card::before {
  content: '0' counter(case);
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 28px;
  background: var(--blue);
  color: var(--ink);
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 600;
  border-radius: 50%;
}

.case-card:nth-child(2)::before { background: var(--orange); color: var(--paper); transform: rotate(8deg); }
.case-card:nth-child(3)::before { background: var(--navy); color: var(--paper); transform: rotate(-8deg); }
.case-brand { margin-bottom: 14px; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .055em; text-transform: uppercase; }
.case-title { margin-bottom: 20px; font-size: clamp(27px, 2.6vw, 36px); font-weight: 600; line-height: 1.03; letter-spacing: -.055em; text-wrap: balance; }
.case-desc { margin-bottom: 28px; font-size: 16px; color: var(--muted); line-height: 1.65; }
.case-results { width: 100%; display: flex; flex-direction: column; gap: 13px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.case-result-item { font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.case-result-item strong { font-weight: 700; }

.test-section { background: var(--paper); }
.test-grid { min-width: 0; }
.test-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.test-track .test-card-clone { display: none; }
.test-card { min-width: 0; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: #efede7; }
.test-card:nth-child(2) { background: var(--blue); }
.test-card:nth-child(3) { background: var(--peach); }
.test-stars { margin-bottom: 25px; color: var(--ink); font-size: 17px; letter-spacing: 2px; }
.test-quote { flex: 1; margin: 0 0 34px; font-size: 17px; line-height: 1.6; font-weight: 400; letter-spacing: -.02em; }
.test-author { display: flex; flex-direction: column; gap: 7px; }
.test-role { order: 2; font-size: 12px; line-height: 1.5; letter-spacing: .045em; text-transform: uppercase; color: var(--muted); }
.test-name { order: 1; font-size: 17px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }

.contatti-section { background: var(--navy); color: var(--paper); }
.contatti-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 7vw, 100px); }
.contatti-form-col { min-width: 0; padding: 36px; border-radius: 32px; background: var(--paper); color: var(--ink); }
.contatti-form-col form { width: 100%; }
.contatti-left { min-width: 0; }
.contatti-left h2 { margin-bottom: 26px; }
.contatti-left h2 span { color: #ff9972; }
.contatti-left > p { max-width: 440px; margin-bottom: 36px; font-size: 17px; line-height: 1.65; color: #d8e0ed; }
.fg { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; min-width: 0; }
.flb { font-size: 14px; line-height: 1.4; font-weight: 600; }
.fi, .fta {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #c8ccd0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}
.fi::placeholder, .fta::placeholder { color: #667180; opacity: 1; }
.fi:focus-visible, .fta:focus-visible { outline: 3px solid #9eb8d8; outline-offset: 2px; border-color: var(--navy); }
.fta { min-height: 125px; resize: vertical; }
.fsubmit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 18px;
  min-height: 56px;
  margin-top: 8px;
  padding: 16px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--orange-ink);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.fsubmit:hover { background: #c84112; }
.form-note { margin-top: 17px; font-size: 13px; line-height: 1.5; text-align: center; color: var(--muted); }
.contact-links { display: flex; flex-direction: column; gap: 0; }
.contact-link { display: flex; justify-content: space-between; align-items: center; min-height: 84px; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(250,247,241,.25); }
.contact-link:last-child { border-bottom: 1px solid rgba(250,247,241,.25); }
.contact-link-left { min-width: 0; display: flex; align-items: center; gap: 16px; }
.contact-link-icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; color: var(--paper); background: rgba(255,255,255,.09); }
.contact-link-icon svg { display: block; width: 19px; height: 19px; fill: currentColor; }
.contact-link-label-wrap { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.contact-link-platform { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #bdcbe0; }
.contact-link-handle { font-size: 16px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.contact-link-arrow { flex-shrink: 0; font-size: 25px; }

footer {
  display: grid;
  grid-template-columns: minmax(130px, .7fr) minmax(0, 1.7fr) auto;
  align-items: center;
  gap: 40px;
  padding: 44px max(32px, calc((100vw - 1200px) / 2));
  border-top: 1px solid rgba(250,247,241,.2);
  background: var(--navy);
  color: var(--paper);
}
.footer-logo-wrap { width: 100%; max-width: 210px; }
.footer-logo { display: block; width: 100%; height: auto; }
.footer-logo-wrap svg { display: block; width: 100%; height: auto; }
.footer-center { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; font-size: 13px; line-height: 1.5; color: #d8e0ed; }
.footer-legal { font-size: 12px; color: #bdcbe0; }
.footer-privacy { text-decoration: underline; text-underline-offset: 3px; }
footer button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; text-align: left; cursor: pointer; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; }
.footer-links a { min-height: 32px; display: inline-flex; align-items: center; }

@media (max-width: 960px) {
  .numeri-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numero-box { min-height: 210px; }
  .numero-big { font-size: 76px; }
  .chi-inner { gap: 40px; }
  .chi-badge { flex-wrap: wrap; padding: 20px 8px 10px; }
  .chi-badge-cta { padding: 11px 16px; }
  .case-grid, .test-track { gap: 16px; }
  .case-card, .test-card { padding: 23px; }
  .case-title { font-size: 29px; }
  .contatti-inner { gap: 36px; }
  .contatti-form-col { padding: 26px; }
  footer { grid-template-columns: minmax(120px, .7fr) minmax(0, 1.5fr); gap: 30px; }
  .footer-links { grid-column: 2; flex-direction: row; gap: 24px; }
}

@media (max-width: 640px) {
  .numeri-header, .cases-section .sec-header, .test-header { margin-bottom: 34px; }
  .numeri-header h2, .chi-inner h2, .cases-section .sec-header h2, .test-header h2, .contatti-left h2 { font-size: clamp(36px, 9vw, 50px); }
  .numeri-grid { gap: 12px; }
  .numero-box { min-height: 182px; padding: 28px 14px; border-radius: 22px; gap: 18px; }
  .numero-big { font-size: clamp(46px, 11vw, 64px); }
  .numero-label { max-width: 135px; font-size: 14px; line-height: 1.4; }
  .chi-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .chi-text p { font-size: 16px; }
  .chi-img-wrap { width: 100%; max-width: none; margin: 0; padding: 0; border-radius: 26px; overflow: hidden; }
  .chi-avatar { height: clamp(190px,52vw,250px); aspect-ratio: auto; object-position: center 25%; border-radius: 26px 26px 18px 18px; }
  .chi-badge { flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px 4px 8px; gap: 14px; }
  .chi-badge .chi-badge-role { max-width: none; line-height: 1.5; }
  .chi-badge .chi-badge-role span { white-space: nowrap; }
  .chi-badge .chi-badge-cta { align-self: center; }
  .chi-numeri { max-width: none; gap: 26px 14px; margin-top: 30px; }
  .chi-numeri .numero-label { font-size: 13px; margin-top: 13px; }
  .chi-badge-name { font-size: 17px; }
  .chi-badge-role { font-size: 12px; }
  .case-grid, .test-track { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .case-card, .test-card { padding: 28px; }
  .case-card::before { width: 72px; height: 72px; margin-bottom: 24px; font-size: 27px; }
  .case-title { font-size: 33px; }
  .case-desc { margin-bottom: 25px; }
  .case-results { gap: 11px; }
  .test-quote { font-size: 17px; margin-bottom: 26px; }
  .test-stars { margin-bottom: 20px; }
  .contatti-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .contatti-form-col { padding: 26px; border-radius: 26px; }
  .contatti-left > p { font-size: 16px; }
  .contatti-left h2 { max-width: 420px; }
  footer { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px 24px; }
  .footer-logo-wrap { max-width: 160px; }
  .footer-links { grid-column: auto; }
  .footer-privacy, footer button { min-height: 36px; display: inline-flex; align-items: center; }
}

@media (max-width: 400px) {
  .numero-box { min-height: 165px; padding: 24px 10px; }
  .numero-big { font-size: 44px; }
  .numero-label { font-size: 13px; }
  .chi-badge { flex-wrap: wrap; gap: 14px; }
  .chi-badge-role { max-width: 230px; }
  .case-card, .test-card { padding: 24px; }
  .contatti-form-col { padding: 22px 18px; }
  .contact-link-left { gap: 12px; }
  .contact-link-handle { font-size: 15px; }
  .fsubmit { padding: 15px 17px; }
}

/* The same swipe and sticky side controls used by the mobile reasons slider. */
@media (max-width: 760px) {
  .cases-section #cases-heading { font-size: clamp(36px,8.4vw,60px); }
  .case-grid { display: flex; align-items: stretch; gap: 16px; width: calc(100% + 40px); margin: 0 -20px; padding: 3px 20px 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: thin; scrollbar-color: var(--orange-ink) transparent; }
  .case-grid::after { content: ''; flex: 0 0 0; }
  .case-grid .case-card { flex: 0 0 calc(100% - 16px); padding: 28px 28px 28px 34px; scroll-snap-align: start; scroll-snap-stop: always; transform: none; }
  .case-slider .problem-slider-arrows { margin-top: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .case-card { transform: none !important; }
}
