/**
 * Crescita Studio — Homepage v2 (Prototype 02, founder-approved 2026-08-19)
 * Loaded only on the front page (functions.php: is_front_page()).
 * Built on tokens.css / components.css / layout.css — does not duplicate
 * global rules (buttons, eyebrows, sections already ported here use the
 * `crescita-home-` prefix because this page's type scale and radius policy
 * are locally overridden per DESIGN.md's "Shape & Visual Language").
 * Source: .scratch/experience-redesign/prototype-v2-approved.html
 */

/* ── Homepage type-scale override (DESIGN.md "Shape & Visual Language") ──
   The prototype's own clamp() values, kept under the theme's --text-* token
   names but scoped to this page's own wrapper classes so they override the
   sitewide flat --text-* scale only inside the homepage, never globally. */
.crescita-home-hero,
.crescita-home-section {
  --text-h1: clamp(2.625rem, 5.6vw, 4.25rem);
  --text-h2: clamp(2.125rem, 4.2vw, 3rem);
  --text-h3: clamp(1.5rem, 2.4vw, 1.875rem);
  --text-lede: clamp(1.0625rem, 1.6vw, 1.25rem);
  --text-body: 1.125rem;
  --text-small: 0.875rem;
  --text-eyebrow: 0.75rem;

  /* New homepage-only easing token — does not collide with any global name. */
  --crescita-home-reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tighter vertical rhythm on mobile — the desktop spacing scale reads as
   dead air once sections stack single-column on a phone. */
@media (max-width: 640px) {
  .crescita-home-hero,
  .crescita-home-section {
    --space-xl: 2.75rem;
    --space-2xl: 3.5rem;
    --space-section: clamp(2.75rem, 9vw, 4.5rem);
  }
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Scoped to the homepage's own wrapper classes (matching the type-scale
   override above) rather than a bare `body` selector — a bare `body` rule
   here would (a) leak these styles onto every other page rendered by this
   theme, which is out of scope for this file, and (b) never receive the
   locally-overridden --text-body value above, since `body` is not a
   descendant of `.crescita-home-hero`/`.crescita-home-section` and would
   silently fall back to the sitewide flat --text-body from tokens.css. */
.crescita-home-hero,
.crescita-home-section {
  font-family: var(--font-primary);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--crescita-midnight);
  background: var(--crescita-sand);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--crescita-ocean); }
:focus-visible { outline: 2px solid var(--crescita-ocean); outline-offset: 2px; }
.crescita-home-s-dark :focus-visible { outline-color: var(--crescita-sand); }
ul[role="list"], ol[role="list"] { list-style: none; }

.crescita-container { max-width: var(--width-content); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* Load-bearing, not defensive tidying. GeneratePress's global typography
   sets `ul { margin: 0 0 1.5em 3em }`, and an element selector beats this
   file's `*` reset on specificity — so every list here inherited a 54px
   left margin and 27px bottom margin it never asked for. Measured on
   staging: the marquee lists, .crescita-home-spine, .partner-list (also
   picking up the UA's 40px padding-inline-start) and .commitments were all
   pushed 54px off their container's left edge, which read as the section
   contents being off-centre. Same failure mode as the marquee's leaked
   margin-bottom fixed in 2026-08-24's hardening pass, and as the Diagnosi
   grid indent — this scoped rule closes the whole class of it for the
   homepage rather than patching each list as it is noticed. */
.crescita-home-hero ul, .crescita-home-hero ol,
.crescita-home-section ul, .crescita-home-section ol {
  margin: 0;
  padding: 0;
}

h1, h2, h3 { font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: var(--text-h1); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: var(--text-h2); font-weight: 600; }
h3 { font-size: var(--text-h3); }

.crescita-home-lede { font-size: var(--text-lede); color: var(--color-text-secondary); max-width: 42em; }
.crescita-home-s-dark .crescita-home-lede { color: var(--color-text-on-dark-secondary); }

.crescita-home-eyebrow {
  display: block;
  font-family: var(--font-secondary);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crescita-ocean);
  margin-bottom: var(--space-sm);
}
.crescita-home-s-dark .crescita-home-eyebrow { color: var(--color-text-on-dark-secondary); }

/* ── Buttons — rounded, welcoming (founder direction) ─────── */
.crescita-home-btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-family: var(--font-primary);
  font-size: 1.0625rem; font-weight: 500;
  line-height: 1.2;
  padding: 1.05rem 2rem;
  border-radius: var(--radius-cta);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base),
              transform var(--transition-base), box-shadow var(--transition-base);
}
.crescita-home-btn:active { transform: scale(0.98); }
.crescita-home-btn-primary {
  background: var(--crescita-midnight); color: var(--crescita-sand);
  box-shadow: 0 10px 28px rgba(15, 23, 34, 0.16);
}
.crescita-home-btn-primary:hover,
.crescita-home-btn-primary:focus-visible { background: var(--crescita-ocean-bright); transform: translateY(-1px); color: #fff; box-shadow: var(--cta-lit); }
.crescita-home-btn-secondary { background: transparent; color: var(--crescita-midnight); border-color: rgba(15, 23, 34, 0.28); }
.crescita-home-btn-secondary:hover,
.crescita-home-btn-secondary:focus-visible { color: var(--crescita-ocean-bright); border-color: var(--crescita-ocean-bright); background: rgba(46, 90, 143, 0.07); box-shadow: 0 0 0 3px rgba(46, 90, 143, 0.12); }
.crescita-home-s-dark .crescita-home-btn-primary { background: var(--crescita-sand); color: var(--crescita-midnight); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3); }
.crescita-home-s-dark .crescita-home-btn-primary:hover,
.crescita-home-s-dark .crescita-home-btn-primary:focus-visible { background: #fff; box-shadow: var(--cta-lit-on-dark); }

/* CTA gloss — a slim blue highlight drifting across the button, echoing the hero sweep */
.crescita-home-btn-primary::after, .crescita-home-sticky-cta .crescita-home-btn::after {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg,
    transparent 0%, rgba(159, 193, 232, 0) 20%,
    rgba(159, 193, 232, 0.5) 50%,
    rgba(159, 193, 232, 0) 80%, transparent 100%);
  transform: skewX(-18deg);
  animation: crescita-home-btn-gloss-sweep 6s linear infinite;
  animation-play-state: paused;
  pointer-events: none;
}
/* Sequenced with the hero H1 — see the sweep-sequencer script — so the
   two glows hand off to each other and never run at the same time. */
body.crescita-home-seq-btn .crescita-home-btn-primary::after, body.crescita-home-seq-btn .crescita-home-sticky-cta .crescita-home-btn::after { animation-play-state: running; }
@keyframes crescita-home-btn-gloss-sweep {
  from { left: -60%; }
  to   { left: 140%; }
}
.crescita-home-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }

.crescita-home-cta-note { font-size: var(--text-small); color: var(--color-text-secondary); margin-top: var(--space-sm); }
.crescita-home-s-dark .crescita-home-cta-note { color: var(--color-text-on-dark-secondary); }

/* ── Glass surfaces ───────────────────────────────────────── */
.crescita-home-glass {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-card);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 40px rgba(15, 23, 34, 0.07);
}
.crescita-home-s-dark .crescita-home-glass {
  background: rgba(247, 245, 240, 0.05);
  border-color: rgba(247, 245, 240, 0.13);
  box-shadow: inset 0 1px 0 rgba(247, 245, 240, 0.1), 0 14px 40px rgba(0, 0, 0, 0.25);
}
@media (prefers-reduced-transparency: reduce) {
  .crescita-home-glass { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .crescita-home-s-dark .crescita-home-glass { background: rgba(247, 245, 240, 0.08); }
}

/* ── Sections & rotation ──────────────────────────────────── */
.crescita-home-section { padding-block: var(--space-section); }
.crescita-home-s-dark { background: var(--crescita-midnight); color: var(--color-text-on-dark); position: relative; overflow: hidden; }
.crescita-home-s-dark h1, .crescita-home-s-dark h2, .crescita-home-s-dark h3 { color: var(--color-text-on-dark); }
.crescita-home-s-dark::before {
  content: ""; position: absolute; pointer-events: none;
  width: min(820px, 110vw); height: min(820px, 110vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 90, 143, 0.22) 0%, transparent 66%);
  top: -22%; right: -14%;
}
.crescita-home-s-dark:nth-of-type(even)::before { right: auto; left: -14%; top: auto; bottom: -25%; }
.crescita-home-section-head { max-width: var(--width-text); margin-bottom: var(--space-2xl); }
.crescita-home-section-head.crescita-home-text-center { margin-inline: auto; }
.crescita-home-section-head .crescita-home-lede { margin-top: var(--space-md); }

@media (max-width: 640px) {
  .crescita-home-h2-compact { font-size: clamp(1.3rem, 6.8vw, 1.75rem); }
  .crescita-home-lede-compact { font-size: clamp(0.8125rem, 4.5vw, 1rem); }
}
.crescita-home-h2-fit-2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
@media (max-width: 640px) {
  .crescita-home-lede-tight { font-size: clamp(0.75rem, 3.6vw, 0.875rem); }
}

/* Pulsing rule under section headings — same blue as the sistema pillars' thread */
.crescita-home-h2-rule {
  display: block;
  width: 155px; height: 2px;
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #9FC1E8, transparent);
  animation: crescita-home-h2-rule-pulse 2.6s ease-in-out infinite;
}
/* Left-aligned headings (FAQ) — rule stays flush left, no fade-in on the left edge */
.crescita-home-h2-rule-left {
  margin-left: 0; margin-right: auto;
  background: linear-gradient(90deg, #9FC1E8, transparent);
}
/* Partnership heading — centered at every width, including once the grid goes 2-up at 1024px */
@keyframes crescita-home-h2-rule-pulse {
  0%, 100% { opacity: 0.3; transform: scaleX(0.7); }
  50%      { opacity: 1;   transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .crescita-home-h2-rule { animation: none; opacity: 0.75; }
}

/* ── Reveal system ────────────────────────────────────────── */
.crescita-home-reveal { opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--crescita-home-reveal-ease), transform 0.7s var(--crescita-home-reveal-ease); }
.crescita-home-reveal.visible { opacity: 1; transform: translateY(0); }
.crescita-home-rd1 { transition-delay: 0.08s } .crescita-home-rd2 { transition-delay: 0.16s }
.crescita-home-rd3 { transition-delay: 0.24s } .crescita-home-rd4 { transition-delay: 0.32s }

/* ── 1 · Hero (Dentology anatomy, centered column) ────────── */
.crescita-home-hero { position: relative; overflow: hidden; padding-block: clamp(1.75rem, 3vw, 2.75rem) 0; text-align: center; }
.crescita-home-hero-glow {
  position: absolute; left: 50%; top: 58%;
  width: min(720px, 100vw); height: min(720px, 100vw);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.14) 0%, transparent 68%);
  transform: translate(-50%, -50%);
  animation: crescita-home-pulse-glow 7s ease-in-out infinite;
}
@keyframes crescita-home-pulse-glow {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
.crescita-home-hero .crescita-container { position: relative; max-width: 880px; }
.crescita-home-hero h1 {
  margin-inline: auto; max-width: 17em; font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  background-image: var(--h1-sweep);
  background-size: 200% 100%;
  background-position: 143% 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: crescita-home-gloss-sweep 6s linear infinite;
  animation-play-state: paused;
}
body.crescita-home-seq-h1 .crescita-home-hero.in-view h1 { animation-play-state: running; }
@keyframes crescita-home-gloss-sweep {
  from { background-position: 143% 0; }
  to   { background-position: -57% 0; }
}
.crescita-home-hero h1 .accent { color: var(--crescita-ocean); font-weight: 600; -webkit-text-fill-color: var(--crescita-ocean); }
.crescita-home-hero .crescita-home-lede { margin: var(--space-md) auto var(--space-lg); max-width: 36em; }
.crescita-home-hero .crescita-home-actions { justify-content: center; }
.crescita-home-hero .crescita-home-cta-note { max-width: 34em; margin-inline: auto; }

/* Product panel — draggable booking-dashboard preview (prima/dopo in one card) */
.crescita-home-score-panel { margin: var(--space-xl) auto 0; max-width: 420px; }
.crescita-home-dash-illustrative {
  font-size: var(--text-small); color: var(--color-text-secondary);
  text-align: center; margin-bottom: var(--space-sm);
}

.crescita-home-dash-card {
  position: relative;
  height: clamp(420px, 108vw, 460px);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 34, 0.14);
  border: 1px solid var(--color-border);
  touch-action: pan-y;
  user-select: none;
  cursor: ew-resize;
  text-align: left;

  /* Calendar event category colors — scoped locally to the hero's dashboard
     demo (not global tokens.css). Matches the source prototype's --cat-*
     values 1:1 against theme tokens: igiene=ocean-bright, controllo=fog,
     visita=ocean, impianto=midnight. */
  --cat-igiene: var(--crescita-ocean-bright);
  --cat-controllo: var(--crescita-fog);
  --cat-visita: var(--crescita-ocean);
  --cat-impianto: var(--crescita-midnight);
}
.crescita-home-dash-layer {
  position: absolute; inset: 0;
  background: var(--crescita-sand);
  display: flex; flex-direction: column;
}
.crescita-home-dash-layer.after { z-index: 2; clip-path: inset(0 calc(100% - var(--reveal, 0%)) 0 0); }
.crescita-home-dash-layer.before { z-index: 1; }

.crescita-home-dash-app-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.crescita-home-dash-icon {
  width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--crescita-ocean), var(--crescita-ocean-bright));
  display: flex; align-items: center; justify-content: center;
}
.crescita-home-dash-icon svg { width: 12px; height: 12px; stroke: var(--crescita-sand); fill: none; stroke-width: 2; }
.crescita-home-dash-title { font-family: var(--font-secondary); font-weight: 700; font-size: 0.75rem; color: var(--crescita-midnight); }
.crescita-home-dash-app-bar .crescita-home-dash-spacer, .crescita-home-dash-toolbar .crescita-home-dash-spacer { flex: 1; }
.crescita-home-dash-today-pill {
  font-family: var(--font-secondary); font-size: 0.625rem; font-weight: 600;
  padding: 0.25rem 0.55rem; border-radius: var(--radius-chip); border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.crescita-home-dash-toolbar { display: flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0.85rem; flex-shrink: 0; }
.crescita-home-dash-nav-arrow { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; color: var(--crescita-fog); flex-shrink: 0; }
.crescita-home-dash-nav-arrow svg { width: 9px; height: 9px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.crescita-home-dash-date-range { font-family: var(--font-secondary); font-size: 0.6875rem; font-weight: 700; color: var(--crescita-midnight); }
.crescita-home-dash-view-chip {
  font-family: var(--font-secondary); font-size: 0.5625rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.22rem 0.5rem; border-radius: 6px;
  background: var(--crescita-stone); color: var(--color-text-secondary);
}

/* Time grid — a 9:00–15:00 lane system so appointments can start off the hour */
.crescita-home-cal-wrap { flex: 1; min-height: 0; padding: 0 0.6rem; display: flex; flex-direction: column; }
.crescita-home-cal-head-row { display: grid; grid-template-columns: 22px repeat(6, 1fr); flex-shrink: 0; height: 20px; }
.crescita-home-cal-day-header {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-secondary); font-size: 0.5rem; font-weight: 700;
  text-transform: uppercase; color: var(--color-text-secondary); line-height: 1.2; gap: 1px;
}
.crescita-home-cal-day-header .num { font-size: 0.625rem; font-weight: 700; color: var(--crescita-midnight); }
.crescita-home-cal-day-header.today, .crescita-home-cal-day-header.today .num { color: var(--crescita-ocean-bright); }

.crescita-home-cal-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 22px repeat(6, 1fr); }
.crescita-home-cal-hour-axis { position: relative; }
.crescita-home-cal-hour-label {
  position: absolute; right: 3px; transform: translateY(-50%);
  font-family: var(--font-secondary); font-size: 0.4375rem; font-weight: 600; color: var(--color-text-secondary);
}
.crescita-home-cal-lanes { position: relative; grid-column: 2 / 8; display: grid; grid-template-columns: repeat(6, 1fr); }
.crescita-home-cal-lanes::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom, var(--color-border) 0, var(--color-border) 1px,
    transparent 1px, transparent calc(100% / 6)
  );
}
.crescita-home-cal-lane { position: relative; border-left: 1px solid var(--color-border); }
.crescita-home-cal-lane.today { background: rgba(30, 58, 95, 0.055); }

.crescita-home-cal-event {
  position: absolute; left: 2px; right: 2px; z-index: 2;
  border-radius: 3px; border-left: 3px solid var(--cat-color, var(--crescita-fog));
  background: color-mix(in srgb, var(--cat-color, var(--crescita-fog)) 16%, var(--crescita-sand));
  padding: 2px 4px; font-family: var(--font-secondary); color: var(--crescita-midnight);
  overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 1px;
}
.crescita-home-cal-event .who {
  font-size: 0.4375rem; font-weight: 700; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.crescita-home-cal-event .what {
  font-size: 0.375rem; font-weight: 600; line-height: 1.1; color: var(--color-text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.crescita-home-cal-event.compact .what { display: none; }

.crescita-home-now-line {
  position: absolute; left: 0; right: 0; z-index: 3;
  height: 0; border-top: 1.5px solid var(--crescita-ocean-bright);
  pointer-events: none;
}
.crescita-home-now-line::before {
  content: ""; position: absolute; left: -3px; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--crescita-ocean-bright);
}

/* Stat widgets — nuovi pazienti (medium weight), recensioni (lighter weight) */
.crescita-home-dash-stat-tiles { display: flex; gap: 0.5rem; padding: 0.65rem 0.85rem 0.85rem; flex-shrink: 0; }
.crescita-home-dash-stat-tile {
  flex: 1; border: 1px solid var(--color-border); border-radius: 10px;
  padding: 0.5rem 0.6rem; display: flex; flex-direction: column; gap: 0.2rem; min-width: 0;
}
.crescita-home-dash-stat-tile.reviews { flex: 0.82; }
.crescita-home-dash-tile-label {
  display: flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-secondary); font-size: 0.5625rem; font-weight: 700;
  color: var(--color-text-secondary); white-space: nowrap;
}
.crescita-home-dash-tile-label svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.crescita-home-dash-stat-tile.patients .crescita-home-dash-tile-value {
  font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; color: var(--crescita-fog);
}
.crescita-home-dash-layer.after .crescita-home-dash-stat-tile.patients .crescita-home-dash-tile-value { color: var(--crescita-ocean-bright); }
.crescita-home-dash-tile-value sup { font-size: 0.5625rem; font-weight: 600; margin-left: 0.15rem; color: var(--color-text-secondary); }
.crescita-home-dash-stat-tile.reviews .crescita-home-dash-stars { display: flex; gap: 1px; margin-top: 1px; }
.crescita-home-dash-stat-tile.reviews .crescita-home-dash-stars svg { width: 10px; height: 10px; fill: none; stroke: rgba(15, 23, 34, 0.18); stroke-width: 1; }
.crescita-home-dash-stat-tile.reviews .crescita-home-dash-stars svg.on { fill: var(--crescita-fog); stroke: var(--crescita-fog); }
.crescita-home-dash-layer.after .crescita-home-dash-stat-tile.reviews .crescita-home-dash-stars svg.on { fill: var(--crescita-ocean-bright); stroke: var(--crescita-ocean-bright); }
.crescita-home-dash-stat-tile.reviews .crescita-home-dash-tile-count { font-size: 0.625rem; color: var(--color-text-secondary); margin-top: 1px; }

.crescita-home-dash-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--reveal, 0%);
  transform: translateX(-50%);
  width: 3px; background: var(--crescita-midnight);
  z-index: 3; cursor: ew-resize;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}
.crescita-home-dash-handle::before {
  content: "";
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--crescita-midnight);
  box-shadow: 0 18px 44px rgba(15, 23, 34, 0.14);
}
.crescita-home-dash-handle::after {
  content: "\2194";
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%);
  color: var(--crescita-sand); font-size: 15px; font-weight: 700;
}
.crescita-home-dash-handle:focus-visible::before { outline: 2px solid var(--crescita-ocean-bright); outline-offset: 3px; }

.crescita-home-dash-hint { font-size: var(--text-small); color: var(--color-text-secondary); margin-top: var(--space-sm); text-align: center; }

.crescita-home-score-caption { font-size: var(--text-small); color: var(--color-text-secondary); margin-top: var(--space-sm); text-align: center; }

/* Value strip — split cards, true frosted glass, tied to the hero's
   gloss language: same traveling highlight as the H1 (gloss-sweep),
   same connecting pulse as the sistema pillars (thread-pulse). */
.crescita-home-value-strip {
  display: grid;
  gap: 0.85rem;
  margin-block: var(--space-xl) var(--space-2xl);
}

@media (min-width: 560px) {
  .crescita-home-value-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.crescita-home-value-strip > div {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  display: grid; gap: 0.6rem; align-items: start; justify-items: center; text-align: center;
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.16) 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 4px 16px rgba(15, 23, 34, 0.05),
    0 20px 40px rgba(15, 23, 34, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

/* Traveling gloss — same streak/keyframes as the CTA buttons, staggered per card */
.crescita-home-value-strip > div::after {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(115deg,
    transparent 0%, rgba(159, 193, 232, 0) 20%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(159, 193, 232, 0) 80%, transparent 100%);
  transform: skewX(-18deg);
  animation: crescita-home-btn-gloss-sweep 6s linear infinite;
  animation-play-state: paused;
}
.crescita-home-hero.in-view .crescita-home-value-strip > div::after { animation-play-state: running; }
.crescita-home-value-strip > div:nth-child(2)::after { animation-delay: 0.6s; }
.crescita-home-value-strip > div:nth-child(3)::after { animation-delay: 1.2s; }

/* Connecting thread — the pillars' motif, reused to link the three cards */
@media (max-width: 559.98px) {
  .crescita-home-value-strip > div:not(:last-child) { margin-bottom: 0; }
  .crescita-home-value-strip > div:not(:last-child)::before {
    content: "";
    position: absolute; left: 50%; bottom: calc(0.85rem * -1);
    width: 1px; height: 0.85rem; z-index: 1;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
      rgba(46, 90, 143, 0) 0%, rgba(46, 90, 143, 0.15) 40%,
      var(--crescita-ocean-bright) 50%, rgba(46, 90, 143, 0.15) 60%, rgba(46, 90, 143, 0) 100%);
    background-size: 100% 260%;
    animation: crescita-home-thread-pulse 3.2s ease-in-out infinite;
    animation-play-state: paused;
  }
}
@media (min-width: 560px) {
  .crescita-home-value-strip > div:not(:last-child)::before {
    content: "";
    position: absolute; top: 50%; right: calc(0.85rem * -1);
    height: 1px; width: 0.85rem; z-index: 1;
    transform: translateY(-50%);
    background: linear-gradient(90deg,
      rgba(46, 90, 143, 0) 0%, rgba(46, 90, 143, 0.15) 40%,
      var(--crescita-ocean-bright) 50%, rgba(46, 90, 143, 0.15) 60%, rgba(46, 90, 143, 0) 100%);
    background-size: 260% 100%;
    animation: crescita-home-thread-pulse-h 3.2s ease-in-out infinite;
    animation-play-state: paused;
  }
}
.crescita-home-hero.in-view .crescita-home-value-strip > div::before { animation-play-state: running; }

.crescita-home-value-strip > div:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 90, 143, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 20px rgba(15, 23, 34, 0.08),
    0 24px 48px rgba(15, 23, 34, 0.1);
}

@media (prefers-reduced-transparency: reduce) {
  .crescita-home-value-strip > div { background: rgba(255, 255, 255, 0.86); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.crescita-home-value-strip-icon {
  position: relative;
  width: 48px; height: 48px;
  display: grid; place-content: center;
  background: rgba(46, 90, 143, 0.12);
  border: 1px solid rgba(46, 90, 143, 0.3);
  border-radius: 12px;
  box-shadow: 0 0 0 4px rgba(46, 90, 143, 0.06);
}

.crescita-home-value-strip-icon svg {
  width: 24px; height: 24px;
  stroke: var(--crescita-ocean); stroke-width: 1.5;
}

.crescita-home-value-strip b {
  display: block;
  font-family: var(--font-secondary); font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.1;
  color: var(--crescita-midnight);
  letter-spacing: -0.02em;
}

.crescita-home-value-strip span {
  display: block;
  font-size: 0.9375rem;
  color: var(--crescita-midnight);
  line-height: 1.5;
  font-weight: 500;
}

/* ── 2 · Value marquee (their logo marquee slot) ──────────── */
.crescita-home-marquee-band { padding-block: 1.35rem; }
.crescita-home-hero-marquee { padding-block: var(--space-xs); margin-top: var(--space-lg); }
.crescita-home-marquee { overflow: hidden; position: relative; }
.crescita-home-marquee-track {
  display: flex; align-items: center; gap: 0;
  width: max-content;
  animation: crescita-home-marquee-scroll 34s linear infinite;
}
@keyframes crescita-home-marquee-scroll { to { transform: translate3d(-50%, 0, 0); } }
.crescita-home-marquee-track ul { display: flex; align-items: center; margin: 0; }
.crescita-home-marquee-track li {
  display: flex; align-items: center; gap: 2.25rem;
  padding-right: 2.25rem;
  font-size: 0.9375rem; font-weight: 600; color: var(--color-text-on-dark-secondary);
  white-space: nowrap;
}
.crescita-home-marquee-track li::after {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--crescita-ocean-bright); flex-shrink: 0;
}

/* ── 3 · Cosa ricevete (their "on the call" cards) ────────── */
.crescita-home-get-grid { display: grid; gap: var(--space-md); }
@media (min-width: 900px) { .crescita-home-get-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); } }
.crescita-home-get-card { position: relative; padding: var(--space-lg); }

/* Connecting thread between cards — same pulsing motif as the sistema pillars */
@media (max-width: 899.98px) {
  .crescita-home-get-card:not(:last-child)::after {
    content: "";
    position: absolute; left: 50%; bottom: calc(var(--space-md) * -1);
    width: 2px; height: var(--space-md);
    transform: translateX(-50%);
    background: linear-gradient(180deg,
      rgba(46, 90, 143, 0) 0%, rgba(46, 90, 143, 0.15) 40%,
      #9FC1E8 50%, rgba(46, 90, 143, 0.15) 60%, rgba(46, 90, 143, 0) 100%);
    background-size: 100% 260%;
    animation: crescita-home-thread-pulse 3.2s ease-in-out infinite;
  }
}
@media (min-width: 900px) {
  .crescita-home-get-card:not(:last-child)::after {
    content: "";
    position: absolute; top: 50%; right: calc(var(--space-lg) * -1);
    height: 2px; width: var(--space-lg);
    transform: translateY(-50%);
    background: linear-gradient(90deg,
      rgba(46, 90, 143, 0) 0%, rgba(46, 90, 143, 0.15) 40%,
      #9FC1E8 50%, rgba(46, 90, 143, 0.15) 60%, rgba(46, 90, 143, 0) 100%);
    background-size: 260% 100%;
    animation: crescita-home-thread-pulse-h 3.2s ease-in-out infinite;
  }
}
.crescita-home-get-card h3 { font-size: 1.3125rem; margin-bottom: 0.6rem; text-align: center; }
.crescita-home-get-card p { font-size: 1rem; color: var(--color-text-secondary); text-align: center; }
.crescita-home-get-cta { margin-top: var(--space-2xl); text-align: center; }
.crescita-home-get-cta .crescita-home-actions { justify-content: center; }

/* ── 4 · Per chi è (dark) ─────────────────────────────────── */
.crescita-home-fit-grid { display: grid; gap: var(--space-lg); position: relative; }
@media (min-width: 900px) { .crescita-home-fit-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); } }
.crescita-home-fit-col { padding: var(--space-lg); }
.crescita-home-fit-col h3 { font-size: 1.375rem; margin-bottom: var(--space-md); text-align: center; }
.crescita-home-fit-col li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.8rem;
  padding-block: 0.75rem; font-size: 1.0625rem;
  color: var(--color-text-on-dark-secondary);
}
.crescita-home-fit-col li + li { border-top: 1px solid var(--color-border-dark); }
.crescita-home-fit-col li svg { width: 20px; height: 20px; margin-top: 0.25em; stroke-width: 1.7; }
.crescita-home-fit-yes svg { stroke: #9FC1E8; }
.crescita-home-fit-no svg { stroke: var(--crescita-fog); }
.crescita-home-fit-note { margin-top: var(--space-lg); font-size: var(--text-small); color: var(--color-text-on-dark-secondary); }
.crescita-home-fit-note a { color: var(--color-text-on-dark); }

.crescita-home-text-center { text-align: center; margin-inline: auto; }

/* ── 5 · Contrast: 3 dimensions (their own-vs-rent) ───────── */
.crescita-home-dim + .crescita-home-dim { margin-top: var(--space-2xl); }
.crescita-home-dim-label { font-size: 1.0625rem; font-weight: 600; color: var(--crescita-ocean); margin-bottom: var(--space-md); }
.crescita-home-dim-pair { display: grid; gap: var(--space-md); }
@media (min-width: 768px) { .crescita-home-dim-pair { grid-template-columns: 1fr 1fr; gap: var(--space-lg); } }
.crescita-home-dim-a, .crescita-home-dim-b { border-radius: var(--radius-card); padding: var(--space-lg); }
.crescita-home-dim-a { position: relative; background: var(--crescita-stone); color: var(--color-text-secondary); }
.crescita-home-dim-b { position: relative; }
.crescita-home-dim-a::before {
  content: ""; position: absolute; left: 0; top: var(--radius-card); bottom: var(--radius-card);
  width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, #C25B52, transparent);
  transform-origin: center; animation: crescita-home-dim-bar-pulse 2.6s ease-in-out infinite;
}
.crescita-home-dim-a b, .crescita-home-dim-b b {
  display: block;
  font-family: var(--font-secondary); font-size: var(--text-eyebrow); font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 0.7rem;
  text-align: center;
}
.crescita-home-dim-a b { color: var(--crescita-fog); }
.crescita-home-dim-b b { color: var(--crescita-ocean); }
.crescita-home-dim-b::before {
  content: ""; position: absolute; left: 0; top: var(--radius-card); bottom: var(--radius-card);
  width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, #9FC1E8, transparent);
  transform-origin: center; animation: crescita-home-dim-bar-pulse 2.6s ease-in-out infinite;
}
@keyframes crescita-home-dim-bar-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* ── 6 · Sistema 01/02/03 (dark) ──────────────────────────── */
.crescita-home-sys-rows { display: grid; gap: var(--space-lg); position: relative; }
.crescita-home-sys-row { padding: clamp(1.75rem, 3.5vw, 2.75rem); display: grid; gap: var(--space-md); }
@media (min-width: 900px) { .crescita-home-sys-row { grid-template-columns: auto 1fr; gap: var(--space-xl); align-items: start; } }
.crescita-home-sys-num {
  font-family: var(--font-secondary); font-weight: 700;
  font-size: clamp(2.75rem, 5vw, 4rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(159, 193, 232, 0.65);
}
.crescita-home-sys-row h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.crescita-home-sys-row .crescita-home-tag { color: #9FC1E8; font-weight: 500; display: block; margin: 0.35rem 0 0.75rem; font-size: 1.0625rem; }
.crescita-home-sys-row p:not(.crescita-home-tag) { color: var(--color-text-on-dark-secondary); max-width: 46em; font-size: 1.0625rem; }
.crescita-home-sys-cta { margin-top: var(--space-2xl); }
.crescita-home-sys-cta .crescita-home-actions { justify-content: center; }

.crescita-home-pillars { display: grid; gap: var(--space-lg); }
@media (min-width: 900px) { .crescita-home-pillars { grid-template-columns: repeat(3, 1fr); } }
.crescita-home-pillar { padding: var(--space-lg); }
.crescita-home-pillar-num {
  font-family: var(--font-secondary); font-weight: 700;
  font-size: clamp(2.25rem, 3.6vw, 2.75rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(159, 193, 232, 0.65);
  text-align: center; display: block; margin-bottom: 0.5rem;
}
.crescita-home-pillar h3 { font-size: 1.25rem; margin-bottom: 0.35rem; text-align: center; }
.crescita-home-pillar .crescita-home-tag { color: #9FC1E8; font-weight: 500; display: block; margin: 0.35rem 0 0.75rem; font-size: 1.0625rem; text-align: center; }
.crescita-home-pillar p:not(.crescita-home-tag) { color: var(--color-text-on-dark-secondary); font-size: 1rem; text-align: center; }

/* Pulsing thread — connects the pillars into one system: vertical when
   stacked single-column, horizontal once the grid goes 3-up at 900px+. */
@media (max-width: 899.98px) {
  .crescita-home-pillar:not(:last-child) { position: relative; }
  .crescita-home-pillar:not(:last-child)::after {
    content: "";
    position: absolute; left: 50%; bottom: calc(var(--space-lg) * -1);
    width: 1px; height: var(--space-lg);
    transform: translateX(-50%);
    background: linear-gradient(180deg,
      rgba(159, 193, 232, 0) 0%,
      rgba(159, 193, 232, 0.15) 40%,
      #9FC1E8 50%,
      rgba(159, 193, 232, 0.15) 60%,
      rgba(159, 193, 232, 0) 100%);
    background-size: 100% 260%;
    animation: crescita-home-thread-pulse 3.2s ease-in-out infinite;
  }
}
@keyframes crescita-home-thread-pulse {
  0%   { background-position: 0 -160%; }
  50%  { background-position: 0 60%; }
  100% { background-position: 0 -160%; }
}
@media (min-width: 900px) {
  .crescita-home-pillar:not(:last-child) { position: relative; }
  .crescita-home-pillar:not(:last-child)::after {
    content: "";
    position: absolute; top: 50%; right: calc(var(--space-lg) * -1);
    height: 1px; width: var(--space-lg);
    transform: translateY(-50%);
    background: linear-gradient(90deg,
      rgba(159, 193, 232, 0) 0%,
      rgba(159, 193, 232, 0.15) 40%,
      #9FC1E8 50%,
      rgba(159, 193, 232, 0.15) 60%,
      rgba(159, 193, 232, 0) 100%);
    background-size: 260% 100%;
    animation: crescita-home-thread-pulse-h 3.2s ease-in-out infinite;
  }
}
@keyframes crescita-home-thread-pulse-h {
  0%   { background-position: -160% 0; }
  50%  { background-position: 60% 0; }
  100% { background-position: -160% 0; }
}

/* ── 7 · Percorso — four glass cards, connected by the same pulsing thread
   used for the value strip, "cosa ricevete" and commitment cards ────── */
.crescita-home-spine { display: grid; gap: var(--space-md); }
@media (min-width: 640px) { .crescita-home-spine { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .crescita-home-spine { grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); } }
.crescita-home-stage { position: relative; padding: var(--space-lg); text-align: center; }

@media (max-width: 1023.98px) {
  .crescita-home-stage:not(:last-child)::after {
    content: "";
    position: absolute; left: 50%; bottom: calc(var(--space-md) * -1);
    width: 2px; height: var(--space-md);
    transform: translateX(-50%);
    background: linear-gradient(180deg,
      rgba(46, 90, 143, 0) 0%, rgba(46, 90, 143, 0.15) 40%,
      #9FC1E8 50%, rgba(46, 90, 143, 0.15) 60%, rgba(46, 90, 143, 0) 100%);
    background-size: 100% 260%;
    animation: crescita-home-thread-pulse 3.2s ease-in-out infinite;
  }
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  /* 2-up grid: 1→3 and 2→4 connect down their own column; 3 has nothing below it */
  .crescita-home-stage:nth-child(3)::after { display: none; }
}
@media (min-width: 1024px) {
  .crescita-home-stage:not(:last-child)::after {
    content: "";
    position: absolute; top: 50%; right: calc(var(--space-lg) * -1);
    height: 2px; width: var(--space-lg);
    transform: translateY(-50%);
    background: linear-gradient(90deg,
      rgba(46, 90, 143, 0) 0%, rgba(46, 90, 143, 0.15) 40%,
      #9FC1E8 50%, rgba(46, 90, 143, 0.15) 60%, rgba(46, 90, 143, 0) 100%);
    background-size: 260% 100%;
    animation: crescita-home-thread-pulse-h 3.2s ease-in-out infinite;
  }
}

.crescita-home-stage h3 { font-size: 1.375rem; }
.crescita-home-stage h3 a { color: inherit; text-decoration: none; }
.crescita-home-stage h3 a:hover { color: var(--crescita-ocean); }
.crescita-home-stage-meta {
  font-family: var(--font-secondary); font-weight: 700;
  font-size: 1.0625rem; color: var(--crescita-ocean); margin: 0.4rem 0 0.6rem;
}
.crescita-home-stage p:last-child { font-size: 1rem; color: var(--color-text-secondary); }

/* ── 8 · Partnership (dark) ───────────────────────────────── */
.crescita-home-partner-grid { display: grid; gap: var(--space-2xl); }
@media (min-width: 1024px) { .crescita-home-partner-grid { grid-template-columns: 6fr 5fr; align-items: center; } }
@media (max-width: 1023.98px) { .crescita-home-partner-grid h2 { text-align: center; } }
.crescita-home-partner-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem;
  padding: 1rem 0; font-size: 1.0625rem; color: var(--color-text-on-dark-secondary);
}
.crescita-home-partner-list li + li { border-top: 1px solid var(--color-border-dark); }
.crescita-home-partner-list svg { width: 20px; height: 20px; margin-top: 0.25em; stroke: #9FC1E8; stroke-width: 1.7; }
.crescita-home-partner-list b { color: var(--color-text-on-dark); font-weight: 500; }

/* ── 9 · Impegni ──────────────────────────────────────────── */
.crescita-home-commitments { display: grid; gap: var(--space-md); }
@media (min-width: 768px) { .crescita-home-commitments { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); } }
.crescita-home-commitment { position: relative; padding: var(--space-lg); text-align: center; }

/* Connecting thread between cards — same pulsing motif as the sistema pillars */
@media (max-width: 767.98px) {
  .crescita-home-commitment:not(:last-child)::after {
    content: "";
    position: absolute; left: 50%; bottom: calc(var(--space-md) * -1);
    width: 2px; height: var(--space-md);
    transform: translateX(-50%);
    background: linear-gradient(180deg,
      rgba(46, 90, 143, 0) 0%, rgba(46, 90, 143, 0.15) 40%,
      #9FC1E8 50%, rgba(46, 90, 143, 0.15) 60%, rgba(46, 90, 143, 0) 100%);
    background-size: 100% 260%;
    animation: crescita-home-thread-pulse 3.2s ease-in-out infinite;
  }
}
@media (min-width: 768px) {
  .crescita-home-commitment:not(:last-child)::after {
    content: "";
    position: absolute; top: 50%; right: calc(var(--space-lg) * -1);
    height: 2px; width: var(--space-lg);
    transform: translateY(-50%);
    background: linear-gradient(90deg,
      rgba(46, 90, 143, 0) 0%, rgba(46, 90, 143, 0.15) 40%,
      #9FC1E8 50%, rgba(46, 90, 143, 0.15) 60%, rgba(46, 90, 143, 0) 100%);
    background-size: 260% 100%;
    animation: crescita-home-thread-pulse-h 3.2s ease-in-out infinite;
  }
}
.crescita-home-commitment__big {
  font-family: var(--font-secondary); font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.15; color: var(--crescita-ocean);
  display: block; margin-bottom: 0.5rem;
}
.crescita-home-commitment h3 { font-size: 1.25rem; margin-bottom: 0.55rem; }
.crescita-home-commitment p { font-size: 1rem; color: var(--color-text-secondary); }

/* ── 10 · FAQ (dark) ──────────────────────────────────────── */
.crescita-home-faq { max-width: var(--width-text); margin-inline: auto; }
.crescita-home-faq details { border-top: 1px solid var(--color-border-dark); }
.crescita-home-faq details:last-child { border-bottom: 1px solid var(--color-border-dark); }
/* Centred to match the section's own centred h2 and rule (founder request,
   2026-08-26). Previously the questions were left-aligned with the "+"
   pushed right by space-between, under a centred heading — that mismatch
   is what read as "not centred". Same treatment as the Diagnosi page's
   FAQ: the "+" leaves the flex flow and is pinned right absolutely, so
   centring the question text is not thrown off by the marker's width. */
.crescita-home-faq { text-align: center; }
.crescita-home-faq summary {
  cursor: pointer; list-style: none; position: relative;
  display: flex; justify-content: center; align-items: center; gap: 1rem;
  padding: 1.3rem 2.25rem; font-size: 1.1875rem; font-weight: 500;
  color: var(--color-text-on-dark);
  transition: color var(--transition-base);
}
.crescita-home-faq summary:hover { color: #9FC1E8; }
.crescita-home-faq summary::-webkit-details-marker { display: none; }
.crescita-home-faq summary::after {
  content: "+"; font-family: var(--font-secondary); font-weight: 500;
  font-size: 1.5rem; line-height: 1; color: var(--color-text-on-dark-secondary);
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  transition: transform var(--transition-base); flex-shrink: 0;
}
.crescita-home-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.crescita-home-faq details p { padding: 0 0 1.5rem; color: var(--color-text-on-dark-secondary); max-width: 38em; margin-inline: auto; }

/* ── 11 · Final CTA (dark, continuous close) ──────────────── */
.crescita-home-final { text-align: center; border-top: 1px solid var(--color-border-dark); }
.crescita-home-final .crescita-home-lede { margin: var(--space-md) auto var(--space-lg); }
.crescita-home-final .crescita-home-actions { justify-content: center; }

/* ── Sticky mobile CTA ────────────────────────────────────── */
.crescita-home-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 23, 34, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border-dark);
  transform: translateY(130%);
  /* Literal value (not var(--crescita-home-reveal-ease)) — that token is
     scoped to .crescita-home-hero/.crescita-home-section, and this element
     is not a descendant of either, so the var() would silently fail. */
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.crescita-home-sticky-cta.show { transform: translateY(0); }
.crescita-home-sticky-cta .crescita-home-btn { display: block; text-align: center; background: var(--crescita-sand); color: var(--crescita-midnight); }
/* The sticky bar sits on Midnight and its button is already light, so the
   primary hover (Midnight → Ocean) would DARKEN it. Lit means white here. */
.crescita-home-sticky-cta .crescita-home-btn:hover,
.crescita-home-sticky-cta .crescita-home-btn:focus-visible { background: #fff; color: var(--crescita-midnight); box-shadow: var(--cta-lit-on-dark); }
@media (min-width: 768px) { .crescita-home-sticky-cta { display: none; } }

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .crescita-home-reveal { opacity: 1; transform: none; transition: none; }
  .crescita-home-hero-glow { animation: none; opacity: 0.6; }
  .crescita-home-marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .crescita-home-marquee-track ul[aria-hidden] { display: none; }
  .crescita-home-spine::before { animation: none; opacity: 0.2; }
  .crescita-home-pillar:not(:last-child)::after { animation: none; }
  .crescita-home-sticky-cta, .crescita-home-btn { transition: none; }
  .crescita-home-btn-primary:hover { transform: none; }
  .crescita-home-hero h1 { animation: none; background: none; color: var(--crescita-midnight); -webkit-text-fill-color: var(--crescita-midnight); }
  .crescita-home-btn-primary::after, .crescita-home-sticky-cta .crescita-home-btn::after { animation: none; content: none; }
  .crescita-home-value-strip > div::after { animation: none; content: none; }
  .crescita-home-value-strip > div::before { animation: none; }
  .crescita-home-get-card:not(:last-child)::after { animation: none; }
  .crescita-home-commitment:not(:last-child)::after { animation: none; }
  .crescita-home-stage:not(:last-child)::after { animation: none; }
  .crescita-home-dim-b::before { animation: none; opacity: 0.85; }
  .crescita-home-dim-a::before { animation: none; opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 899.98px) {
  .crescita-home-pillar:not(:last-child)::after { background-position: 0 60%; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 900px) {
  .crescita-home-pillar:not(:last-child)::after { background-position: 60% 0; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 559.98px) {
  .crescita-home-value-strip > div::before { background-position: 0 60%; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 560px) {
  .crescita-home-value-strip > div::before { background-position: 60% 0; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 899.98px) {
  .crescita-home-get-card:not(:last-child)::after { background-position: 0 60%; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 900px) {
  .crescita-home-get-card:not(:last-child)::after { background-position: 60% 0; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767.98px) {
  .crescita-home-commitment:not(:last-child)::after { background-position: 0 60%; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 768px) {
  .crescita-home-commitment:not(:last-child)::after { background-position: 60% 0; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1023.98px) {
  .crescita-home-stage:not(:last-child)::after { background-position: 0 60%; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1024px) {
  .crescita-home-stage:not(:last-child)::after { background-position: 60% 0; }
}
