:root {
  --az-bg: #e8eef4;
  --az-surface: #ffffff;
  --az-text: #0e1726;
  --az-muted: #64748b;
  --az-navy: #0e1726;
  --az-blue: #1f5fa8;
  --az-accent: #2f80ed;
  --az-teal: var(--az-blue);
  --az-border: rgba(14, 23, 38, 0.1);
  --az-shadow: 0 18px 60px rgba(14, 23, 38, 0.1);
  --az-shadow-soft: 0 10px 28px rgba(14, 23, 38, 0.08);
  --az-radius-lg: 24px;
  --az-radius-md: 18px;
  --az-radius-xl: 32px;
  --az-max: var(--max-width);
  --az-anchor-offset: 120px;
  --az-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.azienda-page {
  --az-bg: var(--corp-bg);
  --az-surface: var(--corp-card);
  --az-text: var(--corp-navy);
  --az-muted: var(--corp-secondary);
  --az-navy: var(--corp-navy);
  --az-blue: var(--corp-blue);
  --az-accent: var(--corp-accent);
  --az-teal: var(--corp-accent);
  --az-border: var(--corp-border);
  --az-shadow: var(--corp-shadow);
  --brand-950: var(--corp-navy);
  --brand-900: var(--corp-navy);
  --brand-800: #102a4a;
  --brand-700: var(--corp-blue);
  --brand-500: var(--corp-accent);
  --bg: var(--corp-bg);
  --surface: var(--corp-card);
  --surface-2: var(--corp-soft);
  --text: var(--corp-navy);
  --muted: var(--corp-secondary);
  --border: var(--corp-border);
  --accent: var(--corp-accent);
  --accent-rgb: 37, 99, 235;
  --corp-bg: #fbfcfe;
  --corp-section: #ffffff;
  --corp-card: #ffffff;
  --corp-soft: #f3f6fa;
  --corp-navy: #0b1220;
  --corp-secondary: #475569;
  --corp-muted: #64748b;
  --corp-blue: #1e3a8a;
  --corp-accent: #2563eb;
  --corp-blue-soft: rgba(37, 99, 235, 0.08);
  --corp-border: rgba(15, 23, 42, 0.1);
  --corp-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  --corp-section-space: clamp(64px, 7.5vw, 104px);
  background: var(--az-bg);
  color: var(--az-text);
}

.azienda-page main {
  background: var(--az-bg);
  padding-top: 0;
}

.azienda-page main .container {
  max-width: var(--az-max);
}


.azi-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0e1726;
}

.azi-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.azi-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transform: translateZ(0);
}

.azi-hero__media.is-error img {
  opacity: 0;
}

.azi-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 27, 51, 0.85), rgba(7, 27, 51, 0.35)),
    radial-gradient(circle at 80% 20%, rgba(31, 95, 168, 0.25), transparent 55%);
  z-index: 1;
}

.azi-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  padding: var(--space-8) 0;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.hero-copy {
  max-width: 640px;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 5.6vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
  color: #fff;
}

.hero-copy h1 span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-sub {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-body);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 18px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-proof .chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 27, 51, 0.55);
  box-shadow: 0 10px 20px rgba(7, 27, 51, 0.25);
  font-size: var(--fs-eyebrow);
  color: rgba(255, 255, 255, 0.85);
}

.azienda-page #hero-azienda .hero__video img {
  object-fit: cover;
  object-position: center 35%;
  height: 100%;
}

.section-header {
  max-width: 62ch;
}

.azienda-page .section-header h2 {
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
}

.azienda-page .section-header p {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text);
  max-width: 56ch;
  margin: 0 0 18px;
}

.az-section {
  padding: clamp(72px, 8vw, 120px) 0;
  scroll-margin-top: var(--az-anchor-offset);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--az-ease), transform 0.7s var(--az-ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.azienda-page a:focus-visible,
.azienda-page button:focus-visible {
  outline: 2px solid var(--az-teal);
  outline-offset: 3px;
}

.az-hero {
  padding: clamp(72px, 10vw, 120px) 0 88px;
}

.az-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.az-hero__copy h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  line-height: 1.05;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

.az-hero__subtitle {
  font-size: var(--fs-body);
  color: var(--az-muted);
  max-width: 42ch;
}

.az-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 20px;
}

.az-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 600;
  color: var(--az-navy);
  font-size: var(--fs-caption);
}

.az-hero__proof span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 27, 51, 0.06);
}

.az-hero__media {
  position: relative;
  border-radius: var(--az-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--az-shadow);
  background: linear-gradient(135deg, rgba(7, 27, 51, 0.2), rgba(31, 95, 168, 0.08));
}

.az-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
  opacity: 0.55;
  transform: translateX(-60%);
  animation: az-hero-shimmer 2.6s var(--az-ease) infinite;
  pointer-events: none;
}

.az-hero__media.is-loaded::before,
.az-hero__media.is-error::before {
  opacity: 0;
  animation: none;
}

.az-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  opacity: 0;
  transition: opacity 0.5s var(--az-ease);
}

.az-hero__media.is-loaded img {
  opacity: 1;
}

.az-hero__media.is-error img {
  opacity: 0;
}

.az-hero__media--static::before {
  opacity: 0;
  animation: none;
}

.az-hero__media--static img {
  opacity: 1;
}

.az-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.2), transparent 55%),
    linear-gradient(160deg, rgba(7, 27, 51, 0.35), rgba(31, 95, 168, 0.08));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.az-nav-sentinel {
  height: 1px;
}

.az-localnav {
  position: sticky;
  top: calc(var(--header-h, 78px) + 8px - 50px);
  z-index: 999;
  height: 0;
  overflow: visible;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.24s var(--az-ease), transform 0.24s var(--az-ease);
}

.az-localnav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.az-localnav.is-method-focus .az-localnav__inner {
  height: 38px;
  padding: 4px 10px;
  background: linear-gradient(180deg, rgba(246, 248, 250, 0.78), rgba(246, 248, 250, 0.56));
  border-color: rgba(9, 26, 49, 0.08);
  box-shadow: 0 12px 26px -24px rgba(7, 27, 51, 0.28);
  backdrop-filter: blur(14px) saturate(1.06);
  -webkit-backdrop-filter: blur(14px) saturate(1.06);
}

.az-localnav.is-method-focus .az-localnav__indicator {
  background: rgba(9, 26, 49, 0.08);
  box-shadow: inset 0 0 0 1px rgba(9, 26, 49, 0.1);
}

.az-localnav.is-method-focus a {
  color: rgba(9, 26, 49, 0.74);
}

.az-localnav.is-method-focus a:hover {
  background: rgba(9, 26, 49, 0.04);
  box-shadow: inset 0 0 0 1px rgba(9, 26, 49, 0.06);
}

.az-localnav .container {
  display: flex;
  justify-content: center;
}

.az-localnav__inner {
  position: relative;
  display: flex;
  gap: 4px;
  align-items: center;
  height: 42px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68));
  border: 1px solid rgba(15, 23, 42, 0.11);
  box-shadow: 0 16px 44px -28px rgba(7, 27, 51, 0.34);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  overflow-x: auto;
  scrollbar-width: none;
  width: fit-content;
  max-width: calc(100vw - 28px);
  scroll-snap-type: x proximity;
}

.az-localnav__inner::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.03));
  opacity: 0.65;
  pointer-events: none;
}

.az-localnav__inner::-webkit-scrollbar {
  display: none;
}

.az-localnav__indicator {
  position: absolute;
  top: 5px;
  left: 0;
  height: 32px;
  width: 24px;
  border-radius: 11px;
  background: rgba(31, 95, 168, 0.18);
  box-shadow: inset 0 0 0 1px rgba(31, 95, 168, 0.26), 0 4px 10px rgba(31, 95, 168, 0.14);
  transform: translateX(0);
  transition: transform 0.28s var(--az-ease), width 0.28s var(--az-ease);
  pointer-events: none;
  z-index: 0;
}

.az-localnav a {
  min-height: 32px;
  font-size: var(--fs-eyebrow);
  font-weight: 610;
  padding: 6px 11px;
  border-radius: 999px;
  color: rgba(7, 27, 51, 0.85);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  scroll-snap-align: center;
  transition: color 0.2s var(--az-ease), background 0.2s var(--az-ease), box-shadow 0.2s var(--az-ease);
  position: relative;
  z-index: 1;
}

.az-localnav a:hover {
  background: rgba(7, 27, 51, 0.06);
  box-shadow: inset 0 0 0 1px rgba(7, 27, 51, 0.08);
}

.az-localnav a.is-active {
  color: #0e1726;
  font-weight: 680;
  background: transparent;
  box-shadow: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .az-localnav__inner {
    background: rgba(255, 255, 255, 0.98);
  }
}

.numbers {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(242, 245, 250, 0.98)),
    var(--bg);
  color: var(--text);
}

.numbers::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(8, 21, 37, 0.12), transparent);
}

.numbers__inner {
  position: relative;
  z-index: 1;
  width: min(100% - var(--space-4), var(--az-max));
  margin: 0 auto;
  padding: 0;
}

.numbers__kicker {
  width: fit-content;
  margin: 0;
  color: var(--brand-700);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--fs-micro);
  font-weight: 750;
}

.numbers__title {
  max-width: 18ch;
  margin: 10px 0 14px;
  color: var(--brand-950);
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.numbers__lead {
  max-width: 58ch;
  margin: 0;
  color: var(--text);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.numbers__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 60ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--fs-caption);
}

.numbers__note::before {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.kpiGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.kpiCard {
  position: relative;
  padding: 28px 30px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow:
    0 14px 32px rgba(8, 21, 37, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  overflow: hidden;
  transition: transform 0.2s var(--az-ease), box-shadow 0.2s var(--az-ease), border-color 0.2s var(--az-ease);
}

.kpiCard:hover,
.kpiCard:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(8, 21, 37, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
  border-color: rgba(31, 95, 168, 0.18);
}

.kpiCard:focus-visible {
  outline: none;
  box-shadow:
    0 18px 40px rgba(8, 21, 37, 0.12),
    0 0 0 2px rgba(31, 95, 168, 0.28);
}

.kpiTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-right: 56px;
  min-height: 24px;
}

.kpiLabel {
  font-size: clamp(9.5px, 0.85vw, 11.5px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0;
  white-space: nowrap;
}

.kpiIcon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}

.kpiIcon svg {
  width: 18px;
  height: 18px;
}

.kpiValue {
  margin-top: 16px;
  font-weight: 700;
  font-size: clamp(33px, 2.8vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #0e1726;
  font-variant-numeric: tabular-nums;
  max-width: 100%;
  min-width: 0;
}

.kpiValue--split {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  font-size: clamp(31px, 2.6vw, 44px);
  max-width: 100%;
  min-width: 0;
}

.kpiToken {
  display: inline-block;
}

.kpiDivider {
  color: rgba(15, 23, 42, 0.45);
  font-weight: 500;
  transform: translateY(-0.02em);
}

.kpiDesc {
  margin: 0;
  padding-top: 14px;
  margin-top: auto;
  font-size: var(--fs-caption);
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.68);
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94)),
    var(--surface);
  box-shadow: 0 24px 70px rgba(8, 21, 37, 0.08);
}

.metric-card {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 3vw, 34px);
  border: 0;
  border-radius: 0;
  border-right: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 248px;
  min-width: 0;
  overflow: hidden;
  transition: background 0.2s var(--az-ease), transform 0.2s var(--az-ease);
}

.metric-card:last-child {
  border-right: 0;
}

.metric-card::before {
  content: "";
  position: absolute;
  left: clamp(24px, 3vw, 34px);
  top: clamp(24px, 3vw, 34px);
  z-index: 0;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-700), var(--accent));
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-700), var(--accent));
  opacity: 0;
  transition: opacity 0.2s var(--az-ease);
}

.metric-card:hover,
.metric-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
}

.metric-card:hover::after,
.metric-card:focus-visible::after {
  opacity: 1;
}

.metric-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.26) inset;
}

.metric-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-right: 0;
  min-height: 24px;
}

.metric-label {
  margin: 0;
  color: var(--brand-700);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: normal;
}

.metric-icon {
  position: static;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: rgba(var(--accent-rgb), 0.08);
  backdrop-filter: blur(10px);
  color: var(--brand-700);
}

.metric-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.9;
}

.metric-value {
  margin-top: auto;
  color: var(--brand-950);
  font-weight: 780;
  font-size: clamp(42px, 4.1vw, 68px);
  line-height: 0.9;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.metric-value--split {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
  font-size: clamp(31px, 2.65vw, 46px);
  max-width: 100%;
}

.metric-value--split .token {
  font-weight: 700;
}

.metric-value--split .divider {
  width: 1px;
  height: 0.95em;
  background: rgba(var(--accent-rgb), 0.66);
  transform: translateY(0.08em);
}

.metric-desc {
  margin: 0;
  padding: 14px 0 28px;
  font-size: var(--fs-caption);
  line-height: 1.45;
  color: var(--muted);
  min-height: 44px;
}

/* --- Odometer --- */
.odometer {
  display: inline-flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
  font-size: inherit;
  line-height: inherit;
}

.odoDigit {
  position: relative;
  width: 0.62em;
  height: 1em;
  overflow: hidden;
  display: inline-block;
  font-size: inherit;
  line-height: inherit;
}

.odoStrip {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  font-size: inherit;
  line-height: inherit;
}

.odoStrip span {
  display: block;
  height: 1em;
  line-height: 1em;
  font-size: inherit;
}

.odoSuffix {
  margin-left: 0.12em;
  font-size: 0.7em;
  line-height: 1;
  position: relative;
  top: -0.2em;
}

@media (max-width: 1024px) {
  .kpiGrid,
  .numbers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card:nth-child(2n) {
    border-right: 0;
  }

  .metric-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  }
}

@media (max-width: 700px) {
  .numbers__inner {
    width: min(100% - 28px, var(--az-max));
  }

  .numbers__title {
    font-size: clamp(2.1rem, 12vw, 2.75rem);
  }

  .kpiGrid,
  .numbers__grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .metric-card {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    min-height: 214px;
  }

  .metric-card:last-child {
    border-bottom: 0;
  }
}

.az-identity {
  background: var(--az-bg);
}


.evidence-tour {
  --bg: #e8eef4;
  --card: #ffffff;
  --text: #0e1726;
  --muted: rgba(15, 23, 42, 0.7);
  --accent: var(--az-teal);
  padding: clamp(80px, 9vw, 110px) 0;
  background: var(--bg);
  scroll-margin-top: var(--az-anchor-offset);
  position: relative;
}

.evidence-anchor {
  position: absolute;
  top: 0;
  left: 0;
}

.evidence-wrap {
  width: min(100% - var(--space-4), var(--az-max));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.evidence-left {
  grid-column: span 5;
  display: grid;
  gap: 12px;
}

.evidence-right {
  grid-column: span 7;
  display: grid;
  gap: 18px;
}

.evidence-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  color: var(--muted);
}

.evidence-title {
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.05;
  margin: 0;
  color: var(--text);
}

.evidence-sub {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.evidence-micro {
  font-size: var(--fs-caption);
  color: rgba(15, 23, 42, 0.55);
  margin: 0;
}

.evidence-link {
  font-size: var(--fs-caption);
  color: var(--accent);
  text-decoration: none;
}

.evidence-link:hover {
  text-decoration: underline;
}

.evidence-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 14px;
}

.evidence-tile {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--card);
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.evidence-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.evidence-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 128, 237, 0.3);
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.12);
}

.evidence-tile.is-active {
  border-color: rgba(47, 128, 237, 0.45);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.16);
}

.tile-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.16));
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 20, 35, 0.45), rgba(7, 20, 35, 0) 60%);
}

.tile-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  color: rgba(15, 23, 42, 0.4);
  text-transform: uppercase;
  opacity: 0;
}

.evidence-tile.is-fallback img {
  opacity: 0;
}

.evidence-tile.is-fallback .tile-fallback {
  opacity: 1;
}

.evidence-tile.is-fallback .tile-overlay {
  color: #0e1726;
  text-shadow: none;
}

.tile-overlay {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  display: grid;
  gap: 6px;
  text-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.tile-label {
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}

.tile-title {
  font-size: var(--fs-lead);
  font-weight: 700;
}

.tile--lg-left {
  grid-column: 1 / span 2;
  grid-row: 1;
  min-height: 210px;
}

.tile--lg-right {
  grid-column: 2 / span 2;
  grid-row: 2;
  min-height: 210px;
}

.tile--layout {
  grid-column: 3;
  grid-row: 1;
}

.tile--bom {
  grid-column: 1;
  grid-row: 2;
}

.tile--hmi {
  grid-column: 2;
  grid-row: 3;
}

.tile--ul {
  grid-column: 3;
  grid-row: 3;
}

.tile--lg-left img {
  object-position: 50% 24%;
}

.tile--layout img {
  object-position: 68% 40%;
}

.tile--bom img {
  object-position: 32% 68%;
}

.tile--hmi img {
  object-position: 70% 32%;
}

.tile--lg-right img {
  object-position: 48% 76%;
}

.tile--ul img {
  object-position: 60% 20%;
}

.evidence-drawer {
  border-radius: 22px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.08);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.evidence-drawer.is-updating {
  opacity: 0;
  transform: translateY(6px);
}

.drawer-kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
  margin-bottom: 6px;
}

.drawer-title {
  font-size: var(--fs-lead);
  margin: 0 0 8px;
  color: var(--text);
}

.drawer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: 1.5;
}

.drawer-list li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 10px;
  align-items: start;
}

.drawer-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-top: 6px;
  background: rgba(47, 128, 237, 0.7);
}

.drawer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.drawer-badge {
  font-size: var(--fs-eyebrow);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.75);
}

.drawer-link {
  font-size: var(--fs-eyebrow);
  color: var(--accent);
  text-decoration: none;
}

.drawer-link:hover {
  text-decoration: underline;
}

.evidence-reveal {
  opacity: 1;
  transform: translateY(0);
}



@media (max-width: 1100px) {
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .evidence-left,
  .evidence-right {
    grid-column: span 12;
  }
}

@media (max-width: 820px) {
  .evidence-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }

  .tile--lg-left,
  .tile--lg-right,
  .tile--layout,
  .tile--bom,
  .tile--hmi,
  .tile--ul {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .evidence-tile,
  .evidence-drawer,
  .evidence-reveal {
    transition: none;
  }
}

.cf-method {
  --cf-bg: #e8eef4;
  --cf-surface: #ffffff;
  --cf-text: #0e1726;
  --cf-muted: rgba(15, 23, 42, 0.72);
  --cf-accent: var(--az-teal);
  padding: clamp(80px, 9vw, 120px) 0;
  background: var(--cf-bg);
  scroll-margin-top: var(--az-anchor-offset);
}

.cf-method__wrap {
  width: min(100% - var(--space-4), var(--az-max));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.cf-method__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.cf-method__left {
  grid-column: span 5;
  display: grid;
  gap: 12px;
}

.cf-method__right {
  grid-column: span 7;
}

.cf-method__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  color: var(--cf-muted);
}

.cf-method__title {
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.05;
  margin: 0;
  color: var(--cf-text);
  text-wrap: balance;
  max-width: 18ch;
}

.cf-method__sub {
  font-size: var(--fs-lead);
  line-height: 1.6;
  margin: 0;
  color: var(--cf-muted);
  max-width: 52ch;
}

.cf-method__list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.cf-step {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--cf-surface);
  padding: 22px 22px;
  text-align: left;
  display: grid;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.22s var(--az-ease), box-shadow 0.22s var(--az-ease), border-color 0.22s var(--az-ease);
  position: relative;
}

.cf-step__title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--cf-text);
}

.cf-step__desc {
  font-size: var(--fs-caption);
  color: var(--cf-muted);
}

.cf-step__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cf-step__chips span {
  font-size: var(--fs-eyebrow);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.72);
  white-space: nowrap;
}

.cf-step:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 128, 237, 0.25);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.08);
}

.cf-step.is-active {
  border-color: rgba(47, 128, 237, 0.35);
  background: rgba(47, 128, 237, 0.06);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.08);
}

.cf-step.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: rgba(47, 128, 237, 0.65);
}

.cf-step:focus-visible {
  outline: 2px solid rgba(47, 128, 237, 0.5);
  outline-offset: 3px;
}

.cf-viewer {
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--cf-surface);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.12);
  padding: 0 22px 18px;
  display: grid;
  gap: 14px;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.cf-viewer.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.cf-viewer__top {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 2px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.cf-viewer__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.7);
  background: rgba(15, 23, 42, 0.04);
}

.cf-viewer__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.cf-viewer__meta {
  display: grid;
  gap: 2px;
}

.cf-viewer__file {
  font-size: var(--fs-caption);
  font-weight: 700;
  color: var(--cf-text);
}

.cf-viewer__type {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
}

.cf-viewer__metaRight {
  margin-left: auto;
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.6);
}

.cf-viewer__preview {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 10;
  background: rgba(15, 23, 42, 0.04);
  position: relative;
}

.cf-viewer__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.24s ease, transform 0.24s ease, object-position 0.24s ease;
}

.cf-viewer__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 20, 35, 0) 55%, rgba(7, 20, 35, 0.18) 100%);
  pointer-events: none;
}

.cf-viewer__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cf-viewer__chips span {
  font-size: var(--fs-eyebrow);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.7);
}

.cf-viewer__caption {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.02em;
  color: rgba(15, 23, 42, 0.55);
  margin: 0;
}

@media (max-width: 1100px) {
  .cf-method__grid {
    grid-template-columns: 1fr;
  }

  .cf-method__left,
  .cf-method__right {
    grid-column: span 12;
  }

  .cf-method__list {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .cf-step {
    min-width: 240px;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cf-step,
  .cf-viewer {
    transition: none;
  }
}


.az-method {
  background: var(--az-surface);
}

.audit-section {
  --audit-bg: #e8eef4;
  --audit-surface: #ffffff;
  --audit-text: #0e1726;
  --audit-muted: rgba(15, 23, 42, 0.68);
  --audit-accent: var(--az-teal);
  padding: clamp(84px, 9vw, 120px) 0;
  background: var(--audit-bg);
  scroll-margin-top: var(--az-anchor-offset);
}

.audit-wrap {
  width: min(100% - var(--space-4), var(--az-max));
  max-width: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: clamp(20px, 4vw, 36px);
}

.audit-header {
  display: grid;
  gap: 10px;
}

.audit-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  color: var(--audit-muted);
}

.audit-title {
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.05;
  margin: 0;
  color: var(--audit-text);
  text-wrap: balance;
  max-width: 20ch;
}

.audit-sub {
  font-size: var(--fs-lead);
  line-height: 1.6;
  margin: 0;
  color: var(--audit-muted);
  max-width: 60ch;
}

.audit-link {
  font-size: var(--fs-caption);
  color: var(--audit-accent);
  text-decoration: none;
  font-weight: 600;
}

.audit-link:hover {
  text-decoration: underline;
}

.audit-grid {
  display: grid;
  grid-template-columns: minmax(420px, 520px) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.audit-steps {
  display: grid;
  gap: 16px;
  position: relative;
  padding-left: 26px;
  --rail-progress: 0%;
}

.audit-steps::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(15, 23, 42, 0.12);
}

.audit-steps::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  width: 2px;
  height: var(--rail-progress, 0%);
  background: rgba(47, 128, 237, 0.7);
  border-radius: 2px;
  transition: height 0.22s ease;
}

.audit-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 18px 16px 18px 4px;
  border-radius: 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  background: transparent;
}

.audit-step__rail {
  position: relative;
  display: grid;
  place-items: center;
}

.audit-step__num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  color: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.audit-step__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.2);
  transform: translate(-50%, -50%);
}

.audit-step__content {
  display: grid;
  gap: 6px;
}

.audit-step__title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--audit-text);
}

.audit-step__desc {
  font-size: var(--fs-caption);
  color: var(--audit-muted);
}

.audit-step__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.audit-step__tags span {
  font-size: var(--fs-eyebrow);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.7);
  white-space: nowrap;
}

.audit-step__meta {
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.6);
}

.audit-step.is-active {
  border-color: rgba(47, 128, 237, 0.25);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.06);
}

.audit-step.is-active .audit-step__dot {
  background: var(--audit-accent);
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.12);
}

.audit-step:focus-visible {
  outline: 2px solid rgba(47, 128, 237, 0.5);
  outline-offset: 3px;
}

.audit-viewer {
  position: sticky;
  top: calc(var(--az-anchor-offset) - 12px);
}

.viewer-card {
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--audit-surface);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.12);
  padding: 18px 22px 18px;
  display: grid;
  gap: 14px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.viewer-card.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.viewer-top {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
}

.viewer-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.7);
  background: rgba(15, 23, 42, 0.04);
}

.viewer-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.viewer-title {
  display: grid;
  gap: 4px;
}

.viewer-title__main {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--audit-text);
}

.viewer-title__file {
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.6);
}

.viewer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.6);
}

.viewer-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.viewer-action {
  font-size: var(--fs-eyebrow);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(15, 23, 42, 0.75);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.viewer-action:hover {
  border-color: rgba(47, 128, 237, 0.4);
  background: rgba(47, 128, 237, 0.08);
}

.viewer-preview {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 10;
  background: rgba(15, 23, 42, 0.04);
  position: relative;
  display: grid;
  gap: 0;
}

.viewer-preview__sheet {
  position: relative;
  width: 100%;
  height: 100%;
}

.viewer-preview__sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.22s ease, transform 0.22s ease, object-position 0.22s ease;
  filter: saturate(0.9) contrast(1.02);
}

.viewer-preview__sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 35, 0.05), rgba(7, 20, 35, 0.18));
  pointer-events: none;
}

.viewer-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 20, 35, 0) 55%, rgba(7, 20, 35, 0.18) 100%);
  pointer-events: none;
}

.viewer-preview__meta {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  font-size: var(--fs-micro);
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.viewer-focus {
  position: absolute;
  border: 1px solid rgba(47, 128, 237, 0.55);
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(47, 128, 237, 0.2);
  left: calc(var(--fx, 20) * 1%);
  top: calc(var(--fy, 20) * 1%);
  width: calc(var(--fw, 40) * 1%);
  height: calc(var(--fh, 30) * 1%);
  transition: all 0.22s ease;
}

.viewer-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(7, 27, 51, 0.35);
  text-transform: uppercase;
}

.viewer-caption {
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.55);
  margin: 0;
}

@media (max-width: 1100px) {
  .audit-grid {
    grid-template-columns: 1fr;
  }

  .audit-viewer {
    position: static;
  }
}

.trail {
  --trail-bg: #e8eef4;
  --trail-surface: #ffffff;
  --trail-text: #0e1726;
  --trail-muted: rgba(15, 23, 42, 0.68);
  --trail-accent: var(--az-teal);
  padding: clamp(84px, 9vw, 120px) 0;
  background: var(--trail-bg);
  scroll-margin-top: var(--az-anchor-offset);
}

.trail__wrap {
  width: min(100% - var(--space-4), var(--az-max));
  max-width: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: clamp(20px, 4vw, 36px);
}

.trail__head {
  display: grid;
  gap: 10px;
}

.trail__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  color: var(--trail-muted);
}

.trail__title {
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.05;
  margin: 0;
  color: var(--trail-text);
  text-wrap: balance;
  max-width: 20ch;
}

.trail__sub {
  font-size: var(--fs-lead);
  line-height: 1.6;
  margin: 0;
  color: var(--trail-muted);
  max-width: 60ch;
}

.trail__cta {
  font-size: var(--fs-caption);
  color: var(--trail-accent);
  text-decoration: none;
  font-weight: 600;
}

.trail__cta:hover {
  text-decoration: underline;
}

.trail__grid {
  display: grid;
  grid-template-columns: minmax(420px, 520px) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.trail__rail {
  display: grid;
  gap: 16px;
  position: relative;
  padding-left: 26px;
  --trail-progress: 0%;
}

.trail__line,
.trail__line-fill {
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  border-radius: 2px;
  pointer-events: none;
}

.trail__line {
  background: rgba(15, 23, 42, 0.12);
}

.trail__line-fill {
  background: rgba(47, 128, 237, 0.7);
  width: 2px;
  height: var(--trail-progress, 0%);
  bottom: auto;
  transition: height 0.22s ease;
}

.trail__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 18px 16px 18px 4px;
  border-radius: 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  background: transparent;
  position: relative;
  z-index: 1;
}

.trail.is-animated .trail__step {
  opacity: 1;
  transform: translateY(0);
}

.trail.is-animated .trail__step.is-visible {
  animation: trailFade 0.45s ease both;
}

.trail__rail-col {
  position: relative;
  width: 44px;
}

.trail__num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  color: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.trail__dot {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.2);
  transform: translate(-50%, -50%);
}

.trail__content {
  display: grid;
  gap: 6px;
}

.trail__title-step {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--trail-text);
}

.trail__desc {
  font-size: var(--fs-caption);
  color: var(--trail-muted);
}

.trail__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trail__tags span {
  font-size: var(--fs-eyebrow);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.7);
  white-space: nowrap;
}

.trail__meta {
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.6);
}

.trail__step.is-active {
  border-color: rgba(47, 128, 237, 0.25);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.06);
}

.trail__step.is-active .trail__dot {
  background: var(--trail-accent);
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.12);
  animation: trailPulse 2.4s ease-in-out infinite;
}

.trail__step:focus-visible {
  outline: 2px solid rgba(47, 128, 237, 0.5);
  outline-offset: 3px;
}

.trail__viewer {
  position: sticky;
  top: calc(var(--az-anchor-offset) - 12px);
}

.trail-card {
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--trail-surface);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.12);
  padding: 18px 22px 18px;
  display: grid;
  gap: 14px;
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

.trail-card.is-switching {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(2px);
}

.trail-card__top {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
}

.trail-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.7);
  background: rgba(15, 23, 42, 0.04);
}

.trail-card__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.trail-card__title {
  display: grid;
  gap: 4px;
}

.trail-card__title-main {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--trail-text);
}

.trail-card__title-file {
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.6);
}

.trail-card__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.trail-card__action {
  font-size: var(--fs-eyebrow);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(15, 23, 42, 0.75);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.trail-card__action:hover {
  border-color: rgba(47, 128, 237, 0.4);
  background: rgba(47, 128, 237, 0.08);
}

.trail-card__meta {
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.6);
}

.trail-card__owner {
  display: none;
}

.trail-card__preview {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  aspect-ratio: 16 / 10;
  background: rgba(15, 23, 42, 0.04);
  position: relative;
}

.trail-card__sheet {
  position: relative;
  width: 100%;
  height: 100%;
}

.trail-card__sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.22s ease, transform 0.22s ease, object-position 0.22s ease;
  filter: saturate(0.9) contrast(1.02);
}

.trail-card__sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 35, 0.05), rgba(7, 20, 35, 0.18));
  pointer-events: none;
}

.trail-card__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 20, 35, 0) 55%, rgba(7, 20, 35, 0.18) 100%);
  pointer-events: none;
}

.trail-card__focus {
  position: absolute;
  border: 1px solid rgba(47, 128, 237, 0.55);
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(47, 128, 237, 0.2);
  left: calc(var(--fx, 20) * 1%);
  top: calc(var(--fy, 20) * 1%);
  width: calc(var(--fw, 40) * 1%);
  height: calc(var(--fh, 30) * 1%);
  transition: all 0.22s ease;
}

.trail-card__stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(7, 27, 51, 0.35);
  text-transform: uppercase;
}

.trail-card__foot {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  font-size: var(--fs-micro);
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.trail-card__caption {
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.55);
  margin: 0;
}

@media (max-width: 1100px) {
  .trail__grid {
    grid-template-columns: 1fr;
  }

  .trail__viewer {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trail__step,
  .trail-card,
  .trail-card__sheet img {
    transition: none;
  }
  .trail__step.is-active .trail__dot {
    animation: none;
  }
}

@keyframes trailPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.12);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(47, 128, 237, 0.16);
  }
}

@keyframes trailFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .audit-step,
  .viewer-card,
  .viewer-preview img {
    transition: none;
  }
}

.az-method__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.4fr);
  gap: 28px;
  margin-top: 24px;
  align-items: start;
}

.az-method__list {
  margin: 0;
  padding-left: 18px;
  color: var(--az-muted);
  display: grid;
  gap: 10px;
}

.az-method__cta {
  margin-top: 16px;
}

.az-officina {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(232, 238, 244, 0.92)),
    var(--az-bg);
}

.az-zoom {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  margin-top: 32px;
}

.az-zoom__media {
  display: grid;
  gap: 12px;
}

.az-zoom__tabs {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(31, 95, 168, 0.16);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(14, 23, 38, 0.08);
  width: fit-content;
}

.az-zoom__tab {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  color: var(--az-muted);
  cursor: pointer;
  transition: background 0.2s var(--az-ease), color 0.2s var(--az-ease);
}

.az-zoom__tab[aria-selected="true"] {
  background: var(--az-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 23, 38, 0.18);
}

.zoom-stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(14, 23, 38, 0.18);
  background:
    linear-gradient(135deg, rgba(14, 23, 38, 0.96), rgba(23, 58, 106, 0.88)),
    #0e1726;
  border: 1px solid rgba(31, 95, 168, 0.2);
  aspect-ratio: 4 / 3;
}

.zoom-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 28%, rgba(14, 23, 38, 0.16));
  z-index: 2;
}

.zoom-stage__viewport {
  position: absolute;
  inset: 0;
  touch-action: manipulation;
  cursor: default;
}

.zoom-stage__layer {
  position: absolute;
  inset: 0;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: 0 0;
  transition: transform 650ms var(--az-ease);
  will-change: transform;
}

.zoom-stage__layer.is-dragging {
  transition: none;
}

.zoom-stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.3s var(--az-ease);
}

.zoom-stage__img.is-active {
  opacity: 1;
}

.zoom-stage__img--hmi {
  object-position: 50% 50%;
}

.zoom-stage__hotspots {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hotspot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--az-accent);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 7px rgba(47, 128, 237, 0.18),
    0 12px 24px rgba(14, 23, 38, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  animation: az-dot-pulse 3.2s var(--az-ease) infinite;
}

.hotspot.is-active {
  transform: translate(-50%, -50%) scale(1.2);
  background: #fff;
  border-color: var(--az-accent);
  box-shadow:
    0 0 0 10px rgba(47, 128, 237, 0.24),
    0 16px 30px rgba(14, 23, 38, 0.32);
}

.zoom-stage__reset {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  max-width: calc(100% - 28px);
  padding: 8px 12px;
  border: 1px solid rgba(31, 95, 168, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--az-navy);
  box-shadow: 0 14px 34px rgba(7, 27, 51, 0.22);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s var(--az-ease), background 0.2s var(--az-ease), box-shadow 0.2s var(--az-ease);
}

.zoom-stage__reset::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.zoom-stage__reset:hover {
  background: #fff;
  box-shadow: 0 18px 40px rgba(7, 27, 51, 0.28);
  transform: translateY(-1px);
}

.zoom-stage__reset:focus-visible {
  outline: 3px solid rgba(47, 128, 237, 0.4);
  outline-offset: 2px;
}

.zoom-stage__reset[hidden] {
  display: none;
}

.zoom-stage__card {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 16px;
  width: min(300px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(31, 95, 168, 0.16);
  box-shadow: 0 20px 48px rgba(7, 27, 51, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translate(24px, -50%);
  transition: opacity 0.25s var(--az-ease), transform 0.25s var(--az-ease);
  pointer-events: none;
}

.zoom-stage__card.is-visible {
  opacity: 1;
  transform: translate(0, -50%);
}

.zoom-stage__card h4 {
  margin: 0;
  font-size: var(--fs-body);
  color: var(--az-navy);
}

.zoom-stage__card p {
  margin: 7px 0 10px;
  color: var(--az-muted);
  font-size: var(--fs-caption);
  line-height: 1.45;
}

.zoom-stage__evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--az-teal);
  font-weight: 600;
}

.zoom-stage__evidence span {
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(31, 95, 168, 0.08);
  color: var(--az-blue);
}

.zoom-stage__outcome {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid rgba(31, 95, 168, 0.16);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1.25;
  color: var(--az-navy);
  background: rgba(232, 238, 244, 0.72);
}

.az-zoom__copy {
  padding: clamp(20px, 3vw, 30px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 95, 168, 0.12);
  box-shadow: 0 18px 46px rgba(14, 23, 38, 0.08);
}

.az-zoom__copy h3 {
  margin-top: 0;
  color: var(--az-navy);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.12;
}

.az-zoom__copy p {
  color: var(--az-muted);
  line-height: 1.6;
}

.az-zoom__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.az-zoom__badges span {
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(31, 95, 168, 0.08);
  border: 1px solid rgba(31, 95, 168, 0.12);
  color: var(--az-navy);
  font-size: var(--fs-eyebrow);
  font-weight: 650;
}

.az-world {
  padding-block: clamp(44px, 5vw, 72px);
  background:
    radial-gradient(ellipse at 50% 48%, #0e2547 0%, #0c2447 58%, #0c2446 100%);
  color: #f5f7fb;
}

.az-world .kicker {
  color: #8fc7ff;
}

.az-world .section-header h2 {
  color: #f8fbff;
  text-shadow: 0 14px 34px rgba(2, 12, 27, 0.28);
}

.azienda-page .az-world .section-header p {
  color: #d7e7f8;
}

.az-world p {
  color: #d7e7f8;
}

.az-world .az-zoom__copy {
  background: rgba(6, 22, 43, 0.58);
  border-color: rgba(143, 199, 255, 0.18);
  box-shadow: 0 18px 44px rgba(3, 12, 26, 0.22);
}

.az-world .az-zoom__copy h3 {
  color: #f8fbff;
}

.az-world .az-zoom__copy p {
  color: #d7e7f8;
}

.az-world .az-zoom__badges span {
  color: #eaf4ff;
  background: rgba(143, 199, 255, 0.1);
  border-color: rgba(143, 199, 255, 0.22);
}

.mapz__crosshair {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px dashed rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.is-debug-pins .mapz__crosshair {
  opacity: 1;
}

.is-debug-pins .hotspot {
  opacity: 0.5;
}

.zoom-stage--map {
  aspect-ratio: 1400 / 788;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.zoom-stage--map::after {
  content: none;
}

.zoom-stage--map .zoom-stage__img {
  object-fit: contain;
  filter: none;
  transform: none;
}

.az-history {
  background: var(--az-surface);
}

.az-history__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 0.7fr);
  gap: 32px;
  align-items: start;
}

.az-history__sticky {
  position: sticky;
  top: calc(var(--az-anchor-offset) + 12px);
  display: grid;
  gap: 10px;
}

.az-history__year {
  position: relative;
  font-size: clamp(3.2rem, 6vw, 4.6rem);
  font-weight: 600;
  height: 1.2em;
  overflow: hidden;
}

.az-history__year span {
  position: absolute;
  left: 0;
  top: 0;
  transition: transform 0.26s var(--az-ease), opacity 0.26s var(--az-ease);
}

.az-history__year .year-current {
  opacity: 1;
  transform: translateY(0);
}

.az-history__year .year-next {
  opacity: 0;
  transform: translateY(40%);
}

.az-history__year.is-animating .year-current {
  opacity: 0;
  transform: translateY(-40%);
}

.az-history__year.is-animating .year-next {
  opacity: 1;
  transform: translateY(0);
}

.az-history__content {
  display: grid;
  gap: 28px;
}

.az-history__frame {
  position: sticky;
  top: calc(var(--az-anchor-offset) + 12px);
  border-radius: var(--az-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 18px 36px rgba(7, 27, 51, 0.12);
  background: linear-gradient(135deg, rgba(7, 27, 51, 0.18), rgba(31, 95, 168, 0.08));
  color: transparent;
}

.az-history__frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.4s var(--az-ease), transform 0.6s var(--az-ease);
}

.az-history__frame-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.az-history__items {
  display: grid;
  gap: 32px;
}

.az-history__item {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--az-border);
  transition: transform 0.35s var(--az-ease);
}

.az-history__item:first-child {
  border-top: 0;
}

.az-history__item.is-active {
  transform: translateY(-4px);
}

.azienda-page .az-team {
  --team-navy: var(--corp-navy, #0b1220);
  --team-secondary: var(--corp-secondary, #475569);
  --team-muted: var(--corp-muted, #64748b);
  --team-blue: var(--corp-blue, #1e3a8a);
  --team-accent: var(--corp-accent, #2563eb);
  --team-soft: var(--corp-soft, #f3f6fa);
  --team-blue-soft: var(--corp-blue-soft, rgba(37, 99, 235, 0.08));
  --team-border: var(--corp-border, rgba(15, 23, 42, 0.1));
  --team-shadow: var(--corp-shadow, 0 24px 70px rgba(15, 23, 42, 0.08));
  background: linear-gradient(180deg, var(--corp-bg, #fbfcfe) 0%, var(--team-soft) 100%);
  color: var(--team-navy);
}

.az-team__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

/* START STORIA */
.history-v2 {
  background: radial-gradient(circle at 20% 0%, rgba(31, 95, 168, 0.06), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(7, 27, 51, 0.04), transparent 60%),
    var(--az-bg);
}

.history-v2__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 48px;
  align-items: start;
}

.history-v2__aside {
  position: sticky;
  top: calc(var(--az-anchor-offset) + 8px);
  display: grid;
  gap: 16px;
}

.history-v2__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  color: var(--az-muted);
}

.history-v2__title {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.history-v2__intro {
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--az-muted);
  margin: 0;
}

.history-v2__progress-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.history-v2__year-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 95, 168, 0.35);
  background: rgba(31, 95, 168, 0.12);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.history-v2__year-copy {
  font-size: var(--fs-eyebrow);
  color: var(--az-muted);
}

.history-v2__progress {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  position: relative;
}

.history-v2__progress::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(15, 23, 42, 0.12);
  z-index: 0;
}

.history-v2__dot {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: center;
  font-size: var(--fs-eyebrow);
  color: var(--az-muted);
  cursor: pointer;
}

.history-v2__dot:focus-visible {
  outline: 2px solid rgba(31, 95, 168, 0.5);
  outline-offset: 3px;
  border-radius: 8px;
}

.history-v2__dot-line {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #fff;
  position: relative;
  z-index: 1;
}

.history-v2__dot.is-active .history-v2__dot-line {
  background: var(--az-teal);
  border-color: var(--az-teal);
  box-shadow: 0 0 0 4px rgba(31, 95, 168, 0.15);
}

.history-v2__dot-label {
  font-weight: 600;
  white-space: nowrap;
}

.history-v2__dot.is-active {
  color: var(--az-text);
}

.history-v2__cards {
  display: grid;
  gap: 28px;
}

.history-v2__card {
  border-radius: var(--az-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 18px 40px rgba(7, 27, 51, 0.08);
  padding: 22px 24px 24px;
  display: grid;
  gap: 12px;
  transition: transform 0.25s var(--az-ease), box-shadow 0.25s var(--az-ease), border-color 0.25s var(--az-ease),
    opacity 0.25s var(--az-ease);
}

.history-v2__card:focus-visible {
  outline: 2px solid rgba(31, 95, 168, 0.4);
  outline-offset: 4px;
}

.history-v2.is-animated .history-v2__card {
  opacity: 0;
  transform: translateY(10px);
}

.history-v2__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.history-v2__card.is-active {
  border-color: rgba(31, 95, 168, 0.35);
  box-shadow: 0 22px 44px rgba(7, 27, 51, 0.14);
  transform: translateY(-2px);
}

.history-v2__card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.history-v2__step {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--az-muted);
}

.history-v2__card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.history-v2__lead {
  margin: 0;
  color: var(--az-muted);
  font-size: var(--fs-caption);
  line-height: 1.5;
}

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

.history-v2__list {
  margin: 0;
  padding-left: 18px;
  color: var(--az-muted);
  display: grid;
  gap: 6px;
  font-size: var(--fs-caption);
  line-height: 1.5;
}

.history-v2__badge {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--az-muted);
}

.history-v2__pill {
  font-size: var(--fs-eyebrow);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(7, 27, 51, 0.04);
  color: var(--az-text);
}

.history-v2__pill--future {
  border-style: dashed;
  background: rgba(7, 27, 51, 0.02);
}

.history-v2__media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--az-border);
  position: relative;
  aspect-ratio: 16/9;
}

.history-v2__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.history-v2__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 51, 0.04), rgba(7, 27, 51, 0.18));
  pointer-events: none;
}

.history-v2__caption {
  margin: 2px 0 0;
  font-size: var(--fs-eyebrow);
  color: var(--az-muted);
}

.history-v2__card--future {
  border-style: dashed;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
}

@media (max-width: 1024px) {
  .history-v2__grid {
    grid-template-columns: 1fr;
  }
  .history-v2__aside {
    position: relative;
    top: 0;
  }
  .history-v2__bullets {
    grid-template-columns: 1fr;
  }
  .history-v2__progress {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .history-v2__progress::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-v2__card {
    transition: none;
    transform: none;
  }
  .history-v2.is-animated .history-v2__card {
    opacity: 1;
    transform: none;
  }
}
/* END STORIA */

/* START STORIA APPLE FIX */
.storyChapter {
  --storyTop: 126px;
  --storyAccent: #2563eb;
  --storyBlue: #1e3a8a;
  --storyNavy: #0b1220;
  --storySecondary: #475569;
  --storyMuted: #64748b;
  --storyBorder: rgba(15, 23, 42, 0.1);
  --storyShadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  padding-block: clamp(80px, 10vw, 132px);
  background: transparent;
  scroll-margin-top: calc(var(--storyTop) + 20px);
}

.storyChapter__header {
  width: min(100% - var(--space-4), var(--max-width));
  max-width: none;
  margin: 0 auto clamp(28px, 4vw, 44px);
  padding: 0;
}

.storyChapter__eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: var(--fs-eyebrow);
  line-height: 1.2;
  font-weight: 800;
  color: var(--storyBlue);
}

.storyChapter__title {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 760;
  color: var(--storyNavy);
  max-width: 13ch;
}

.storyChapter__intro {
  margin: 16px 0 0;
  max-width: 650px;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.58;
  color: var(--storySecondary);
}

.storyChapter__layout {
  width: min(100% - var(--space-4), var(--max-width));
  max-width: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.68fr);
  gap: clamp(26px, 6vw, 86px);
  align-items: start;
}

.storyChapter__aside {
  position: relative;
  align-self: stretch;
}

.storyChapter__pin {
  position: sticky;
  top: var(--storyTop);
  max-width: 100%;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid var(--storyBorder);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  box-shadow: var(--storyShadow);
  min-height: clamp(430px, calc(100vh - var(--storyTop) - 16px), 560px);
  display: flex;
  flex-direction: column;
}

.storyChapter__kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: var(--fs-micro);
  font-weight: 800;
  color: var(--storyMuted);
}

.storyChapter__year {
  margin: 8px 0 10px;
  font-size: clamp(3.7rem, 7.3vw, 7rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  font-weight: 760;
  color: var(--storyBlue);
  transition: opacity 220ms var(--az-ease), transform 220ms var(--az-ease);
  min-height: 0.82em;
}

.storyChapter__year.is-shifting {
  opacity: 0.76;
  transform: translateY(-4px);
}

.storyChapter__chapterTitle {
  margin: 0 0 8px;
  font-size: clamp(1.18rem, 1.9vw, 1.62rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--storyNavy);
  text-wrap: balance;
  transition: opacity 220ms var(--az-ease), transform 220ms var(--az-ease);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.36em;
}

.storyChapter__meta {
  margin: 0 0 12px;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--storyMuted);
  transition: opacity 220ms var(--az-ease), transform 220ms var(--az-ease);
  min-height: 1.3em;
}

.storyChapter__lead {
  margin: 0 0 14px;
  max-width: 42ch;
  line-height: 1.52;
  color: var(--storySecondary);
  transition: opacity 220ms var(--az-ease), transform 220ms var(--az-ease);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.04em;
}

.storyChapter__bullets {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  max-width: 40ch;
  min-height: 1.42em;
}

.storyChapter__bullets li {
  position: relative;
  padding-left: 16px;
  line-height: 1.42;
  color: var(--storySecondary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.storyChapter__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--storyAccent);
}

.storyChapter__nav {
  position: relative;
  margin: auto 0 0;
  padding: 6px 0 6px 20px;
  display: grid;
  gap: 7px;
}

.storyChapter__navLine {
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.06));
}

.storyChapter__navItem {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px 8px 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--storySecondary);
  transition: background-color 180ms var(--az-ease), color 180ms var(--az-ease), transform 180ms var(--az-ease);
}

.storyChapter__navItem::after {
  content: "";
  position: absolute;
  left: -20px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: transparent;
}

.storyChapter__node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.28);
  background: #ffffff;
  justify-self: center;
  transition: background-color 220ms var(--az-ease), border-color 220ms var(--az-ease), box-shadow 220ms var(--az-ease);
}

.storyChapter__label {
  font-size: var(--fs-caption);
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 540;
}

.storyChapter__hint {
  display: none;
}

.storyChapter__navItem:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--storyBlue);
}

.storyChapter__navItem.is-active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--storyBlue);
}

.storyChapter__navItem.is-active::after {
  background: var(--storyAccent);
}

.storyChapter__navItem.is-active .storyChapter__node {
  border-color: var(--storyAccent);
  background: var(--storyAccent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.storyChapter__track {
  display: grid;
  gap: clamp(28px, 3.4vw, 42px);
  padding-bottom: 8px;
}

.storyChapter__chapter {
  min-height: clamp(520px, 82vh, 760px);
  scroll-margin-top: calc(var(--storyTop) + 20px);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  display: flex;
  align-items: center;
  opacity: 1;
  transform: none;
  transition: none;
}

.storyChapter__media {
  position: relative;
  width: 100%;
  min-height: clamp(360px, 62vh, 620px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--storyBorder);
  box-shadow: var(--storyShadow);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
}

.storyChapter__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 12, 20, 0.16), rgba(8, 12, 20, 0.02) 52%, rgba(8, 12, 20, 0));
  pointer-events: none;
  z-index: 1;
}

.storyChapter__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 62vh, 620px);
  object-fit: cover;
  object-position: center;
  display: block;
  transform: none;
  transition: none;
}

.storyChapter__media figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.84);
  color: var(--storyNavy);
  backdrop-filter: blur(8px);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.01em;
}

.storyChapter__captionPill {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--storyBorder);
  background: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}

.storyChapter__captionPill--future {
  border-style: dashed;
}

.storyChapter__chapter--future .storyChapter__media {
  border-style: dashed;
}

@media (max-width: 1180px) {
  .storyChapter__layout {
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 28px;
  }

  .storyChapter__chapter {
    min-height: clamp(500px, 78vh, 720px);
  }
}

@media (max-width: 1024px) {
  .storyChapter {
    padding: 52px 0 72px;
  }

  .storyChapter__layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .storyChapter__pin {
    position: relative;
    top: auto;
    max-width: none;
    min-height: 0;
    display: block;
  }

  .storyChapter__year {
    font-size: clamp(3.2rem, 14vw, 5.2rem);
  }

  .storyChapter__lead,
  .storyChapter__bullets {
    max-width: none;
    min-height: 0;
  }

  .storyChapter__nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    gap: 8px;
    padding: 0;
    margin: 16px 0 0;
    scrollbar-width: none;
  }

  .storyChapter__nav::-webkit-scrollbar {
    display: none;
  }

  .storyChapter__navLine,
  .storyChapter__hint,
  .storyChapter__node {
    display: none;
  }

  .storyChapter__navItem {
    grid-template-columns: 1fr;
    min-height: 40px;
    width: auto;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--storyBorder);
    background: rgba(255, 255, 255, 0.78);
  }

  .storyChapter__navItem::after {
    display: none;
  }

  .storyChapter__track {
    gap: 18px;
  }

  .storyChapter__chapter {
    min-height: auto;
    opacity: 1;
    transform: none;
  }

  .storyChapter__media,
  .storyChapter__media img {
    min-height: clamp(320px, 84vw, 560px);
  }

  .storyChapter__media figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
    font-size: var(--fs-micro);
  }
}

@media (max-width: 760px) {
  .storyChapter {
    padding-block: 56px 64px;
  }

  .storyChapter__header {
    width: min(100% - 40px, var(--max-width));
  }

  .storyChapter__layout {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
  }

  .storyChapter__title {
    max-width: none;
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .storyChapter__aside {
    order: 2;
    width: min(100% - 40px, var(--max-width));
    margin-inline: auto;
  }

  .storyChapter__pin {
    padding: 22px 24px 24px;
    border-radius: 22px;
  }

  .storyChapter__year {
    margin: 8px 0 8px;
    font-size: clamp(3.55rem, 17vw, 4.5rem);
  }

  .storyChapter__chapterTitle {
    font-size: clamp(1.06rem, 6vw, 1.35rem);
    min-height: 0;
  }

  .storyChapter__meta {
    letter-spacing: 0.09em;
  }

  .storyChapter__lead {
    margin-bottom: 0;
    min-height: 0;
    -webkit-line-clamp: 3;
  }

  .storyChapter__bullets {
    display: none;
  }

  .storyChapter__nav {
    margin-top: 18px;
  }

  .storyChapter__navItem {
    min-height: 40px;
    padding-inline: 16px;
  }

  .storyChapter__bullets li {
    padding-left: 14px;
    font-size: var(--fs-caption);
  }

  .storyChapter__track {
    order: 1;
    position: relative;
    display: flex;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 4px 68px 18px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .storyChapter__track::-webkit-scrollbar {
    display: none;
  }

  .storyChapter__chapter {
    flex: 0 0 min(82vw, 380px);
    min-height: 0;
    scroll-snap-align: center;
  }

  .storyChapter__media {
    border-radius: 22px;
    height: clamp(430px, 110vw, 500px);
    min-height: 0;
  }

  .storyChapter__media img {
    height: 100%;
    min-height: 0;
  }

  .storyChapter__media figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    width: auto;
    max-width: calc(100% - 24px);
    padding: 8px 10px;
    white-space: normal;
  }

  .storyChapter__captionPill {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storyChapter__year,
  .storyChapter__chapterTitle,
  .storyChapter__meta,
  .storyChapter__lead,
  .storyChapter__navItem,
  .storyChapter__node,
  .storyChapter__chapter,
  .storyChapter__media img {
    transition: none;
    transform: none;
  }
}
/* END STORIA APPLE FIX */

/* START EVIDENCE TOUR */
.evidenceTour {
  padding: clamp(72px, 8vw, 120px) 0;
  background: var(--az-bg);
  scroll-margin-top: var(--az-anchor-offset);
}

.evidenceTour__wrap {
  width: min(100% - var(--space-4), var(--az-max));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.evidenceTour__head {
  max-width: 64ch;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.evidenceTour__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  opacity: 0.72;
}

.evidenceTour__title {
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.evidenceTour__sub {
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--az-muted);
  margin: 0 0 16px;
}

.evidenceTour__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.evidenceTour__chips span {
  font-size: var(--fs-eyebrow);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--az-border);
  background: rgba(255, 255, 255, 0.8);
}

.evidenceTour__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  color: var(--az-text);
}

.evidenceTour__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}

.evidenceTour__rail {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 4px;
}

.evidenceTour__rail::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(120, 140, 160, 0.24), rgba(120, 140, 160, 0.08));
}

.evidenceTour__step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 10px 10px 10px 6px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 180ms var(--az-ease), background 180ms var(--az-ease), border-color 180ms var(--az-ease);
}

.evidenceTour__step:hover {
  background: rgba(255, 255, 255, 0.6);
}

.evidenceTour__step.is-active {
  border-color: rgba(31, 95, 168, 0.24);
  background: rgba(31, 95, 168, 0.08);
}

.evidenceTour__step-index {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: var(--fs-eyebrow);
  color: rgba(7, 27, 51, 0.7);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(120, 140, 160, 0.18);
}

.evidenceTour__step.is-active .evidenceTour__step-index {
  color: #fff;
  background: rgba(31, 95, 168, 0.92);
  border-color: rgba(31, 95, 168, 0.92);
  box-shadow: 0 0 0 4px rgba(31, 95, 168, 0.16);
}

.evidenceTour__step-body {
  display: grid;
  gap: 6px;
}

.evidenceTour__step-title {
  font-weight: 600;
  font-size: var(--fs-body);
}

.evidenceTour__step-desc {
  color: var(--az-muted);
  font-size: var(--fs-caption);
  line-height: 1.45;
}

.evidenceTour__viewer {
  position: sticky;
  top: calc(var(--az-anchor-offset) + 24px);
  align-self: start;
}

.evidenceViewer {
  border-radius: 28px;
  border: 1px solid rgba(120, 140, 160, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.12);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.evidenceViewer__top {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.evidenceViewer__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 140, 160, 0.2);
  background: rgba(255, 255, 255, 0.85);
}

.evidenceViewer__titles {
  display: grid;
  gap: 2px;
  flex: 1;
}

.evidenceViewer__title {
  font-weight: 600;
  font-size: var(--fs-body);
}

.evidenceViewer__file {
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.5);
}

.evidenceViewer__actions {
  display: flex;
  gap: 8px;
}

.evidenceViewer__action {
  font-size: var(--fs-eyebrow);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 95, 168, 0.35);
  text-decoration: none;
  color: #fff;
  background: rgba(31, 95, 168, 0.9);
}

.evidenceViewer__meta {
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.62);
}

.evidenceViewer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.evidenceViewer__tags span {
  font-size: var(--fs-micro);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(120, 140, 160, 0.16);
  background: rgba(255, 255, 255, 0.8);
}

.evidenceViewer__preview {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(120, 140, 160, 0.16);
  background: rgba(255, 255, 255, 0.8);
  height: clamp(280px, 28vw, 420px);
}

.evidenceViewer__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}

.evidenceViewer__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  transition: opacity 220ms var(--az-ease), transform 220ms var(--az-ease);
}

.evidenceTour.is-switching .evidenceViewer__preview img {
  opacity: 0.55;
  transform: scale(1.01);
}

.evidenceViewer__focus {
  position: absolute;
  left: var(--fx, 20%);
  top: var(--fy, 20%);
  width: var(--fw, 40%);
  height: var(--fh, 40%);
  border: 1px solid rgba(31, 95, 168, 0.55);
  border-radius: 10px;
  box-shadow: 0 0 0 4px rgba(31, 95, 168, 0.16);
  pointer-events: none;
}

.evidenceViewer__stamp {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 27, 51, 0.75);
  color: #fff;
}

.evidenceViewer__overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: var(--fs-eyebrow);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 27, 51, 0.65);
  color: #fff;
  opacity: 0;
  transition: opacity 180ms var(--az-ease);
}

.evidenceViewer__preview:hover .evidenceViewer__overlay {
  opacity: 1;
}

.evidenceViewer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-eyebrow);
  color: rgba(15, 23, 42, 0.62);
}

.evidenceTour__viewer.is-hidden {
  opacity: 0.8;
}

@media (max-width: 1100px) {
  .evidenceTour__grid {
    grid-template-columns: 1fr;
  }
  .evidenceTour__viewer {
    position: relative;
    top: auto;
  }
  .evidenceTour__rail::before {
    display: none;
  }
  .evidenceTour__rail {
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .evidenceTour__step {
    min-height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .evidenceTour__step,
  .evidenceTour__step:hover,
  .evidenceViewer__preview img {
    transition: none;
    transform: none;
  }
}
/* END EVIDENCE TOUR */


.method-proof {
  padding: clamp(48px, 6vw, 80px) 0;
  background:
    radial-gradient(860px 340px at 8% 6%, rgba(31, 95, 168, 0.028), transparent 72%),
    radial-gradient(720px 320px at 92% 4%, rgba(15, 23, 42, 0.024), transparent 74%),
    var(--az-bg);
  scroll-margin-top: calc(var(--az-anchor-offset) + 24px);
}

.method-proof__wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}

/* INTRO SECTION */
.method-proof__intro {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  max-width: 900px;
}

.method-proof__intro-top {
  display: grid;
  gap: 8px;
}

.method-proof__eyebrow {
  margin: 0;
  font-size: var(--fs-micro);
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.68);
}

.method-proof__headline {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #0e1726;
  font-weight: 700;
  max-width: 18ch;
}

.method-proof__subheading {
  margin: 0;
  font-size: clamp(1rem, 1.1vw, 1.14rem);
  line-height: 1.52;
  color: rgba(15, 23, 42, 0.75);
  max-width: 58ch;
  font-weight: 400;
}

.method-proof__microproof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.method-proof__proof-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(31, 95, 168, 0.82);
  border: 1px solid rgba(31, 95, 168, 0.24);
  border-radius: 999px;
  padding: 4px 12px;
  background: rgba(31, 95, 168, 0.05);
  display: inline-block;
}

/* GRID LAYOUT */
.method-proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 42%);
  gap: clamp(18px, 2vw, 30px);
  align-items: start;
}

/* LEFT COLUMN */
.method-proof__left {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  align-content: start;
}

/* PROCESS RAIL */
.method-proof__rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.4));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.method-proof__rail-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 10px;
  border: none;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: all 220ms var(--az-ease);
  color: rgba(15, 23, 42, 0.58);
}

.method-proof__rail-step:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.4);
  color: rgba(15, 23, 42, 0.72);
}

.method-proof__rail-step.is-active {
  background: rgba(31, 95, 168, 0.12);
  border: 1px solid rgba(31, 95, 168, 0.28);
  color: rgba(31, 95, 168, 0.92);
  box-shadow: 0 4px 16px rgba(31, 95, 168, 0.14);
}

.method-proof__rail-step:focus-visible {
  outline: 2px solid rgba(31, 95, 168, 0.48);
  outline-offset: 2px;
}

.method-proof__rail-num {
  font-size: 10.5px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.method-proof__rail-label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1.1;
}

/* PHASE CONTENT CONTAINER */
.method-proof__content-container {
  position: relative;
}

.method-proof__phase {
  display: grid;
  gap: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 280ms var(--az-ease), transform 280ms var(--az-ease);
}

.method-proof__phase:not(.is-active) {
  display: none;
}

.method-proof__phase-title {
  margin: 0;
  font-size: clamp(1.64rem, 2.8vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #0e1726;
  font-weight: 700;
}

.method-proof__phase-desc {
  margin: 0;
}

.method-proof__phase-next {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.28;
  color: rgba(11, 22, 45, 0.8);
  font-weight: 600;
  padding: 8px 10px;
  border-left: 3px solid rgba(31, 95, 168, 0.6);
  background: rgba(31, 95, 168, 0.04);
  border-radius: 8px;
}

.method-proof__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.method-proof__bullets li {
  position: relative;
  padding-left: 18px;
  font-size: var(--fs-body);
  line-height: 1.44;
  color: rgba(15, 23, 42, 0.82);
  font-weight: 500;
}

.method-proof__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: rgba(31, 95, 168, 0.72);
}

.method-proof__meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 32px);
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.method-proof__meta-item {
  display: grid;
  gap: 4px;
}

.method-proof__meta-label {
  font-size: 10.2px;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.56);
}

.method-proof__meta-value {
  font-size: var(--fs-body);
  font-weight: 600;
  color: rgba(11, 18, 32, 0.88);
  line-height: 1.32;
}

/* RIGHT COLUMN - DOCUMENT HERO */
.method-proof__right {
  display: grid;
  align-content: start;
  gap: 0;
}

.method-proof__document {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.03);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 251, 254, 0.9));
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.062);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 460px;
}

.method-proof__doc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.method-proof__doc-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.method-proof__doc-label {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  color: rgba(11, 18, 32, 0.92);
  letter-spacing: -0.01em;
}

.method-proof__doc-status {
  font-size: var(--fs-micro);
  font-weight: 600;
  color: rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 6px;
  padding: 4px 9px;
  background: rgba(15, 23, 42, 0.03);
}

.method-proof__doc-standard {
  font-size: 10.4px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: rgba(31, 95, 168, 0.8);
  text-transform: uppercase;
}

.method-proof__doc-canvas {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, rgba(248, 250, 253, 0.7), rgba(242, 247, 251, 0.72));
  padding: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 160px;
}

.method-proof__doc-image {
  border-radius: 12px;
  max-height: 160px;
  object-fit: cover;
}

.method-proof__doc-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: #fafbfc;
  box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: opacity 260ms var(--az-ease), transform 260ms var(--az-ease);
}

.method-proof__doc-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.method-proof__doc-meta {
  font-size: 10.8px;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.64);
  line-height: 1.32;
}

/* TRANSITION STATES */
.method-proof.is-transitioning .method-proof__phase-title,
.method-proof.is-transitioning .method-proof__phase-desc,
.method-proof.is-transitioning .method-proof__bullets,
.method-proof.is-transitioning .method-proof__meta-row,
.method-proof.is-transitioning .method-proof__doc-image {
  opacity: 0.6;
  transform: translateY(6px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1240px) {
  .method-proof__wrapper {
    gap: clamp(40px, 5vw, 72px);
  }

  .method-proof__grid {
    gap: clamp(28px, 3.5vw, 48px);
  }

  .method-proof__doc-canvas {
    min-height: 160px;
  }
}

@media (max-width: 1024px) {
  .method-proof__grid {
    grid-template-columns: 1fr;
  }

  .method-proof__rail {
    grid-template-columns: repeat(5, min-content);
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .method-proof__rail::-webkit-scrollbar {
    display: none;
  }

  .method-proof__doc-canvas {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .method-proof {
    padding: clamp(48px, 6vw, 72px) 0;
  }

  .method-proof__wrapper {
    padding: 0 18px;
    gap: clamp(32px, 5vw, 56px);
  }

  .method-proof__intro {
    gap: clamp(18px, 2.5vw, 32px);
  }

  .method-proof__headline {
    font-size: clamp(1.92rem, 6.5vw, 2.8rem);
  }

  .method-proof__subheading {
    font-size: var(--fs-body);
  }

  .method-proof__left {
    gap: clamp(28px, 3vw, 40px);
  }

  .method-proof__rail {
    padding: 4px;
    gap: 1px;
    grid-template-columns: repeat(5, min-content);
    justify-content: flex-start;
  }

  .method-proof__rail-step {
    padding: 12px 8px;
  }

  .method-proof__rail-num {
    font-size: 9.5px;
  }

  .method-proof__rail-label {
    font-size: var(--fs-micro);
  }

  .method-proof__phase-title {
    font-size: clamp(1.4rem, 4.5vw, 1.92rem);
  }

  .method-proof__phase-desc {
    font-size: var(--fs-caption);
  }

  .method-proof__bullets li {
    font-size: var(--fs-caption);
  }

  .method-proof__meta-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 6px;
    padding-top: 16px;
  }

  .method-proof__document {
    padding: 16px;
    gap: 14px;
  }

  .method-proof__doc-canvas {
    aspect-ratio: auto;
    min-height: 200px;
  }

  .method-proof__doc-label {
    font-size: var(--fs-eyebrow);
  }
}

@media (max-width: 480px) {
  .method-proof__wrapper {
    padding: 0 16px;
  }

  .method-proof__headline {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    max-width: 100%;
  }

  .method-proof__subheading {
    font-size: var(--fs-body);
    max-width: 100%;
  }

  .method-proof__microproof {
    gap: 8px;
  }

  .method-proof__proof-tag {
    font-size: 10px;
    padding: 5px 12px;
  }

  .method-proof__rail-step {
    padding: 10px 6px;
  }

  .method-proof__rail-num {
    font-size: 8.5px;
  }

  .method-proof__rail-label {
    font-size: 10px;
  }

  .method-proof__phase-title {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .method-proof__bullets li {
    font-size: var(--fs-caption);
    padding-left: 16px;
  }

  .method-proof__document {
    padding: 14px;
  }

  .method-proof__doc-canvas {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .method-proof__rail-step,
  .method-proof__phase,
  .method-proof__doc-image {
    transition: none;
    transform: none;
  }

  .method-proof.is-transitioning .method-proof__phase-title,
  .method-proof.is-transitioning .method-proof__phase-desc,
  .method-proof.is-transitioning .method-proof__bullets,
  .method-proof.is-transitioning .method-proof__meta-row,
  .method-proof.is-transitioning .method-proof__doc-image {
    opacity: 1;
    transform: none;
  }
}

/* END METHOD PROOF */

.azienda-page .az-team__media {
  position: relative;
  border-radius: var(--az-radius-lg);
  overflow: hidden;
  border: 1px solid var(--team-border);
  box-shadow: var(--team-shadow);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), var(--team-soft));
}

.azienda-page .az-team__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0), rgba(11, 18, 32, 0.08));
}

.az-team__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.azienda-page .az-team__copy {
  max-width: 620px;
}

.azienda-page .az-team__copy .kicker {
  color: var(--team-blue);
  font-weight: 800;
}

.azienda-page .az-team__copy h2 {
  margin: 10px 0 14px;
  color: var(--team-navy);
  font-size: 3.35rem;
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.azienda-page .az-team__copy > p {
  max-width: 52ch;
  margin: 0;
  color: var(--team-secondary);
  font-size: var(--fs-lead);
  line-height: 1.58;
}

.azienda-page .az-team__proof {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  color: var(--team-secondary);
  display: grid;
  gap: 10px;
}

.azienda-page .az-team__proof li {
  position: relative;
  padding-left: 24px;
}

.azienda-page .az-team__proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--team-accent);
  box-shadow: 0 0 0 5px var(--team-blue-soft);
}

.azienda-page .az-team__contacts {
  display: grid;
  gap: 0;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--team-border);
  border-radius: var(--az-radius-md);
  background: rgba(255, 255, 255, 0.86);
  color: var(--team-secondary);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.azienda-page .az-team__contacts p {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--team-border);
}

.azienda-page .az-team__contacts p:first-child {
  border-top: 0;
  padding-top: 0;
}

.azienda-page .az-team__contacts p:last-child {
  padding-bottom: 0;
}

.azienda-page .az-team__contacts strong {
  min-width: 52px;
  color: var(--team-navy);
}

.azienda-page .az-team__contacts a {
  color: var(--team-blue);
  font-weight: 600;
}

.azienda-page .az-team__contacts a:hover {
  color: var(--team-accent);
}

.azienda-page .az-team__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.azienda-page .az-team .button {
  min-height: 48px;
  padding: 0 20px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.azienda-page .az-team .button:hover {
  transform: translateY(-1px);
}

.azienda-page .az-team .button--primary {
  color: #ffffff;
  background: var(--team-blue);
  border-color: var(--team-blue);
  box-shadow: 0 14px 30px rgba(30, 58, 138, 0.18);
}

.azienda-page .az-team .button--primary:hover {
  color: #ffffff;
  background: var(--team-accent);
  border-color: var(--team-accent);
}

.azienda-page .az-team .button--secondary {
  color: var(--team-navy);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--team-border);
}

.azienda-page .az-team .button--secondary:hover {
  color: var(--team-blue);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.az-faq {
  --faq-navy: var(--corp-navy, #0b1220);
  --faq-text: var(--corp-navy, #0b1220);
  --faq-muted: var(--corp-secondary, #475569);
  --faq-surface: var(--corp-card, #ffffff);
  --faq-soft: var(--corp-soft, #f3f6fa);
  --faq-blue: var(--corp-blue, #1e3a8a);
  --faq-active: var(--corp-accent, #2563eb);
  --faq-blue-rgb: 30, 58, 138;
  --faq-active-rgb: 37, 99, 235;
  --faq-border: rgba(15, 23, 42, 0.12);
  --faq-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
  overflow-x: clip;
  background:
    linear-gradient(180deg, rgba(251, 252, 254, 0.96), rgba(238, 243, 248, 0.98));
}

.az-faq .kicker {
  color: var(--faq-blue);
}

.az-faq__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.az-faq__intro {
  position: sticky;
  top: calc(var(--header-h, 72px) + 72px);
  max-width: 560px;
}

.az-faq .section-header h2 {
  color: var(--faq-navy);
  letter-spacing: 0;
}

.az-faq__intro > p {
  color: var(--faq-muted);
}

.az-faq__support {
  position: relative;
  margin-top: clamp(24px, 3vw, 34px);
  padding: clamp(20px, 2.4vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--faq-shadow);
}

.az-faq__support::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--faq-active), var(--faq-blue));
}

.az-faq__support-label {
  display: block;
  margin-bottom: 12px;
  color: var(--faq-blue);
  font-size: var(--fs-micro);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.az-faq__support h3 {
  margin: 0 0 10px;
  color: var(--faq-navy);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.az-faq__support p {
  margin: 0;
  color: var(--faq-muted);
  line-height: 1.58;
}

.az-faq__support .button {
  margin-top: 20px;
}

.az-faq__list {
  counter-reset: faq;
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.az-faq__item {
  counter-increment: faq;
  overflow: hidden;
  border: 1px solid var(--faq-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
  transition:
    background 0.22s var(--az-ease),
    border-color 0.22s var(--az-ease),
    box-shadow 0.22s var(--az-ease),
    transform 0.22s var(--az-ease);
}

.az-faq__item:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--faq-active-rgb), 0.28);
  box-shadow: var(--faq-shadow);
}

.az-faq__item.is-open {
  background: var(--faq-surface);
  border-color: rgba(var(--faq-active-rgb), 0.34);
  box-shadow: var(--faq-shadow);
}

.az-faq__question {
  width: 100%;
  min-height: 88px;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--faq-text);
  cursor: pointer;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 36px;
  gap: 16px;
  align-items: center;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 700;
  line-height: 1.35;
  padding: 22px clamp(20px, 3vw, 28px);
  position: relative;
  transition:
    background 0.22s var(--az-ease),
    color 0.22s var(--az-ease);
}

.az-faq__question:hover {
  color: var(--faq-blue);
  background: rgba(var(--faq-blue-rgb), 0.05);
}

.az-faq__question::before {
  content: counter(faq, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(var(--faq-active-rgb), 0.08);
  color: var(--faq-blue);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
}

.az-faq__question::after {
  content: "";
  justify-self: end;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(var(--faq-active-rgb), 0.26);
  border-radius: 999px;
  background-color: rgba(var(--faq-active-rgb), 0.08);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 2px, 2px 12px;
  color: var(--faq-active);
  transition:
    background-color 0.22s var(--az-ease),
    border-color 0.22s var(--az-ease),
    color 0.22s var(--az-ease),
    transform 0.22s var(--az-ease);
}

.az-faq__item.is-open .az-faq__question {
  color: var(--faq-navy);
}

.az-faq__item.is-open .az-faq__question::after {
  border-color: var(--faq-active);
  background-color: var(--faq-active);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 12px 2px;
  color: #ffffff;
  transform: rotate(180deg);
}

.az-faq__answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.28s var(--az-ease),
    opacity 0.22s var(--az-ease);
}

.az-faq__item.is-open .az-faq__answer {
  opacity: 1;
}

.az-faq__answer p {
  margin: 0;
  padding: 10px 82px 30px 88px;
  color: var(--faq-muted);
  font-size: var(--fs-body);
  line-height: 1.68;
}

@media (max-width: 1024px) {
  .az-faq__grid {
    grid-template-columns: 1fr;
    gap: clamp(24px, 6vw, 42px);
  }

  .az-faq__intro {
    position: static;
    max-width: 720px;
  }

  .az-faq__support {
    max-width: 640px;
  }
}

@media (max-width: 720px) {
  .az-faq__question {
    grid-template-columns: 34px minmax(0, 1fr) 32px;
    gap: 12px;
    min-height: 78px;
    padding: 18px 16px;
    font-size: var(--fs-body);
  }

  .az-faq__question::before {
    width: 34px;
    height: 34px;
    font-size: var(--fs-micro);
  }

  .az-faq__question::after {
    width: 32px;
    height: 32px;
  }

  .az-faq__answer p {
    padding: 8px 16px 24px 62px;
    font-size: var(--fs-body);
  }

  .az-faq__support {
    padding: 20px;
  }

  .az-faq__support .button {
    width: 100%;
    justify-content: center;
  }
}

.az-qa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 260px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(7, 27, 51, 0.92);
  color: #fff;
  font-size: var(--fs-eyebrow);
  z-index: 2000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.az-qa h3 {
  margin: 0 0 8px;
  font-size: var(--fs-caption);
}

.az-qa ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.az-qa li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.az-qa li::before {
  content: "☐";
  font-size: var(--fs-eyebrow);
  color: rgba(255, 255, 255, 0.6);
}

.az-qa li.is-done::before {
  content: "☑";
  color: var(--az-teal);
}

.azienda-page.is-qa .az-section {
  outline: 1px dashed rgba(31, 95, 168, 0.4);
  outline-offset: -6px;
}

.azienda-page.is-qa .hotspot::after {
  content: attr(data-title);
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  background: rgba(7, 27, 51, 0.8);
  color: #fff;
  font-size: var(--fs-micro);
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

@keyframes az-dot-pulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes az-hero-shimmer {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}

@media (max-width: 1024px) {
  .az-hero__grid,
  .az-numbers__grid,
  .az-identity__grid,
  .az-method__grid,
  .az-zoom,
  .az-history__grid,
  .az-team__grid {
    grid-template-columns: 1fr;
  }

  .az-history__sticky,
  .az-history__frame {
    position: relative;
    top: 0;
  }
}

@media (max-width: 720px) {
  .zoom-stage__card {
    inset: auto 10px 10px;
    top: auto;
    width: auto;
    max-height: 52%;
    padding: 11px 13px;
    overflow-y: auto;
    transform: translateY(16px);
  }

  .zoom-stage__card.is-visible {
    transform: translateY(0);
  }

  .zoom-stage__card h4 {
    font-size: var(--fs-caption);
  }

  .zoom-stage__card p {
    margin: 3px 0 6px;
    font-size: var(--fs-eyebrow);
    line-height: 1.35;
  }

  .zoom-stage__evidence span {
    padding: 3px 7px;
    font-size: var(--fs-micro);
  }

  /* Su mobile lo stage è basso: togliamo la riga "esito" per una scheda compatta
     che non copra il punto messo a fuoco. */
  .zoom-stage__outcome {
    display: none;
  }

  .az-hero__actions,
  .az-team__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .azienda-page .az-team__copy h2 {
    font-size: 2.35rem;
  }

  .azienda-page .az-team__contacts {
    padding: 16px;
  }

  .azienda-page .az-team__contacts p {
    flex-direction: column;
    gap: 2px;
  }

  .azienda-page .az-team .button {
    width: 100%;
    justify-content: center;
  }

  .az-numbers__grid {
    grid-template-columns: 1fr;
  }

  .az-localnav__inner {
    height: 40px;
    padding: 4px 8px;
  }

  .az-localnav a {
    min-height: 30px;
    font-size: var(--fs-micro);
    padding: 5px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .zoom-stage__layer,
  .hotspot,
  .az-history__year span,
  .az-history__frame-img {
    transition: none;
    animation: none;
  }

  .az-hero__media::before {
    animation: none;
  }

  .kpiCard {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .odoStrip {
    transition: none;
  }
}

/* Azienda hero aligned to home */
.azienda-page .az-page-hero {
  min-height: min(720px, calc(100vh - var(--nav-height)));
  display: grid;
  align-items: center;
  padding: 0;
  background: #e8eef4;
  color: var(--corp-navy, #0e1726);
}

.azienda-page .az-page-hero .hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(0.92) contrast(1.08) brightness(0.82);
}

.azienda-page .az-page-hero .hero__overlay {
  background:
    linear-gradient(90deg, rgba(232, 238, 244, 0.68) 0%, rgba(232, 238, 244, 0.36) 34%, rgba(232, 238, 244, 0.10) 58%, rgba(232, 238, 244, 0) 100%),
    linear-gradient(180deg, rgba(14, 23, 38, 0.04), rgba(14, 23, 38, 0.18));
}

.azienda-page .az-page-hero__content {
  display: block;
  padding-block: clamp(82px, 9vw, 116px) clamp(46px, 6vw, 72px);
}

.azienda-page .az-page-hero__intro {
  max-width: 720px;
}

.azienda-page .az-page-hero__tagline {
  color: var(--corp-blue, #1f5fa8);
}

.azienda-page .az-page-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--corp-navy, #0e1726);
  font-size: clamp(3rem, 5.6vw, 5.55rem);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.azienda-page .az-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.azienda-page .az-page-hero .button--primary {
  color: #ffffff;
  background: var(--corp-blue, #1f5fa8);
  border-color: var(--corp-blue, #1f5fa8);
  box-shadow: 0 14px 30px rgba(30, 58, 138, 0.18);
}

.azienda-page .az-page-hero .button--primary:hover {
  background: var(--corp-accent, #2f80ed);
  border-color: var(--corp-accent, #2f80ed);
}

.azienda-page .az-page-hero .button--ghost {
  color: var(--corp-navy, #0e1726);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(15, 23, 42, 0.14);
}

.azienda-page .az-page-hero .button--ghost:hover {
  color: var(--corp-blue, #1f5fa8);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

@media (max-width: 760px) {
  .azienda-page .az-page-hero {
    min-height: auto;
  }

  .azienda-page .az-page-hero__content {
    padding-block: 82px 46px;
  }

  /* Su mobile il testo va a piena larghezza: velatura verticale su tutta la larghezza
     per garantire contrasto del titolo scuro sopra l'immagine chiara. */
  .azienda-page .az-page-hero .hero__overlay {
    background:
      linear-gradient(180deg, rgba(232, 238, 244, 0.88) 0%, rgba(232, 238, 244, 0.66) 52%, rgba(232, 238, 244, 0.42) 100%),
      rgba(232, 238, 244, 0.18);
  }
}

/* --- Storia aligned to home corporate system --- */
.azienda-page .storyChapter {
  --storyAccent: #2563eb;
  --storyBlue: #1e3a8a;
  --storyNavy: #0b1220;
  --storySecondary: #475569;
  --storyMuted: #64748b;
  --storyBorder: rgba(15, 23, 42, 0.1);
  --storyShadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  padding-block: clamp(80px, 10vw, 132px);
  background: transparent;
}

.azienda-page .storyChapter__header,
.azienda-page .storyChapter__layout {
  width: min(100% - var(--space-4), var(--max-width));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.azienda-page .storyChapter__header {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.azienda-page .storyChapter__eyebrow {
  margin: 0 0 12px;
  color: var(--storyBlue);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.azienda-page .storyChapter__title {
  max-width: 13ch;
  margin: 0;
  color: var(--storyNavy);
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.azienda-page .storyChapter__intro {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--storySecondary);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.58;
}

.azienda-page .storyChapter__layout {
  grid-template-columns: minmax(330px, 0.38fr) minmax(0, 0.72fr);
  gap: clamp(22px, 3.5vw, 54px);
}

.azienda-page .storyChapter__pin {
  max-width: 100%;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid var(--storyBorder);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  box-shadow: var(--storyShadow);
  color: var(--storyNavy);
}

.azienda-page .storyChapter__kicker,
.azienda-page .storyChapter__meta,
.azienda-page .storyChapter__hint {
  color: var(--storyMuted);
}

.azienda-page .storyChapter__year {
  color: var(--storyBlue);
  font-size: clamp(3.7rem, 7.3vw, 7rem);
  font-weight: 760;
  line-height: 0.82;
}

.azienda-page .storyChapter__chapterTitle {
  color: var(--storyNavy);
}

.azienda-page .storyChapter__lead,
.azienda-page .storyChapter__bullets li,
.azienda-page .storyChapter__navItem {
  color: var(--storySecondary);
}

.azienda-page .storyChapter__bullets li::before,
.azienda-page .storyChapter__navItem.is-active::after,
.azienda-page .storyChapter__navItem.is-active .storyChapter__node {
  background: var(--storyAccent);
}

.azienda-page .storyChapter__navLine {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.06));
}

.azienda-page .storyChapter__node {
  border-color: rgba(15, 23, 42, 0.28);
  background: #ffffff;
}

.azienda-page .storyChapter__navItem:hover,
.azienda-page .storyChapter__navItem.is-active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--storyBlue);
}

.azienda-page .storyChapter__navItem.is-active .storyChapter__node {
  border-color: var(--storyAccent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.azienda-page .storyChapter__media {
  border: 1px solid var(--storyBorder);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  box-shadow: var(--storyShadow);
}

.azienda-page .storyChapter__chapter {
  min-height: clamp(460px, 72vh, 680px);
}

.azienda-page .storyChapter__media,
.azienda-page .storyChapter__media img {
  min-height: clamp(330px, 56vh, 560px);
}

.azienda-page .storyChapter__media figcaption {
  background: rgba(255, 255, 255, 0.84);
  color: var(--storyNavy);
}

.azienda-page .storyChapter__captionPill {
  border-color: var(--storyBorder);
}

@media (max-width: 1024px) {
  .azienda-page .storyChapter__layout {
    grid-template-columns: 1fr;
  }

  .azienda-page .storyChapter__chapter {
    min-height: auto;
  }

  .azienda-page .storyChapter__pin {
    border-right: 1px solid var(--storyBorder);
    border-bottom: 1px solid var(--storyBorder);
  }
}

@media (max-width: 760px) {
  .azienda-page .storyChapter {
    padding-block: 56px 64px;
  }

  .azienda-page .storyChapter__header {
    width: min(100% - 40px, var(--max-width));
  }

  .azienda-page .storyChapter__layout {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .azienda-page .storyChapter__title {
    max-width: none;
  }

  .azienda-page .storyChapter__track {
    order: 1;
  }

  .azienda-page .storyChapter__aside {
    order: 2;
    width: min(100% - 40px, var(--max-width));
    margin-inline: auto;
  }

  .azienda-page .storyChapter__chapter {
    flex: 0 0 min(90vw, 440px);
    /* Blocco (non flex) così la figura riempie tutta la larghezza della card:
       da flex+align-items:center la foto veniva dimensionata dall'altezza e
       restava stretta/piccola. */
    display: block;
  }

  /* Foto Storia grande quanto la scheda descrittiva sottostante: riempie la
     larghezza della card e usa un formato ~quadrato per un'altezza simile. */
  .azienda-page .storyChapter__media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .azienda-page .storyChapter__media img {
    width: 100%;
    height: 100%;
    min-height: 0;
  }
}

/* --- Azienda: cards and pills aligned to home corporate system --- */
.azienda-page {
  --az-card-radius: 24px;
  --az-card-radius-sm: 20px;
  --az-pill-radius: 999px;
}

.azienda-page main {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--corp-bg) 38%, #ffffff 100%);
  overflow: visible;
}

.azienda-page .button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--az-pill-radius);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.azienda-page .button:hover {
  transform: translateY(-1px);
}

.azienda-page .button--primary {
  color: #ffffff;
  background: var(--corp-blue);
  border-color: var(--corp-blue);
  box-shadow: 0 14px 30px rgba(30, 58, 138, 0.18);
}

.azienda-page .button--primary:hover {
  color: #ffffff;
  background: var(--corp-accent);
  border-color: var(--corp-accent);
}

.azienda-page .button--secondary,
.azienda-page .button--ghost {
  color: var(--corp-navy);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--corp-border);
}

.azienda-page .button--secondary:hover,
.azienda-page .button--ghost:hover {
  color: var(--corp-blue);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.azienda-page .az-section {
  padding-block: var(--corp-section-space);
}

.azienda-page .az-section .container.section-header {
  width: min(100% - var(--space-4), var(--az-max));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.azienda-page .az-section .section-header h2,
.azienda-page .az-team__copy h2 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.02;
}

.azienda-page .az-section .section-header p,
.azienda-page .az-team__copy > p {
  max-width: 650px;
  color: var(--corp-secondary);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.58;
}

.azienda-page .numbers {
  background: transparent;
  color: var(--corp-navy);
}

.azienda-page .numbers::before {
  content: none;
}

.azienda-page .numbers__inner {
  width: min(100% - var(--space-4), var(--az-max));
}

.azienda-page .numbers__kicker,
.azienda-page .kicker {
  margin: 0 0 12px;
  color: var(--corp-blue);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.azienda-page .numbers__title {
  max-width: 14ch;
  margin: 0;
  color: var(--corp-navy);
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.02;
}

.azienda-page .numbers__lead {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--corp-secondary);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.58;
}

.azienda-page .numbers__note {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 0;
  padding: 8px 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--az-pill-radius);
  background: var(--corp-blue-soft);
  color: var(--corp-blue);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  line-height: 1.3;
}

.azienda-page .numbers__note::before {
  width: 6px;
  height: 6px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--corp-accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.azienda-page .numbers__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(34px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--corp-border);
  border-radius: var(--az-card-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  box-shadow: var(--corp-shadow);
}

.azienda-page .metric-card {
  min-height: 270px;
  padding: clamp(24px, 3.2vw, 36px);
  border: 0;
  border-right: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  gap: 0;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.azienda-page .metric-card:last-child {
  border-right: 0;
}

.azienda-page .metric-card::before {
  left: clamp(24px, 3.2vw, 36px);
  top: clamp(24px, 3.2vw, 36px);
  width: 56px;
  background: linear-gradient(90deg, var(--corp-blue), var(--corp-accent));
}

.azienda-page .metric-card::after {
  background: linear-gradient(90deg, var(--corp-blue), var(--corp-accent));
}

.azienda-page .metric-card:hover,
.azienda-page .metric-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.86);
}

.azienda-page .metric-top {
  min-height: 44px;
  align-items: flex-start;
  gap: 18px;
  margin-top: 30px;
}

.azienda-page .metric-label {
  max-width: 18ch;
  color: var(--corp-blue);
  font-size: var(--fs-eyebrow);
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.azienda-page .metric-icon {
  width: 44px;
  height: 44px;
  border-color: rgba(37, 99, 235, 0.16);
  border-radius: var(--az-pill-radius);
  background: var(--corp-blue-soft);
  color: var(--corp-blue);
}

.azienda-page .metric-value {
  margin-top: 26px;
  color: var(--corp-blue);
  font-size: clamp(2.45rem, 4.1vw, 4.2rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.92;
}

.azienda-page .metric-value--split {
  gap: 10px;
  align-items: center;
  font-size: clamp(1.45rem, 2.05vw, 2.45rem);
  line-height: 1;
}

.azienda-page .metric-value--split .divider {
  background: rgba(37, 99, 235, 0.46);
}

.azienda-page .metric-card--compliance .metric-value--split {
  gap: clamp(7px, 0.65vw, 10px);
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
  font-size: clamp(2.08rem, 2.55vw, 2.3rem);
  font-weight: 780;
  line-height: 0.96;
  letter-spacing: 0;
}

.azienda-page .metric-card--compliance .metric-value--split .token {
  flex: 0 0 auto;
  font-weight: 820;
}

.azienda-page .metric-card--compliance .metric-value--split .divider {
  flex: 0 0 auto;
  height: 0.82em;
  background: rgba(37, 99, 235, 0.38);
  transform: translateY(0.04em);
}

.azienda-page .metric-desc {
  max-width: 34ch;
  margin: auto 0 0;
  padding: 28px 0 0;
  color: var(--corp-muted);
  font-size: var(--fs-body);
  line-height: 1.58;
}

.azienda-page .az-officina {
  background: transparent;
}

.azienda-page .az-zoom {
  align-items: stretch;
  margin-top: 0;
}

.azienda-page .zoom-stage,
.azienda-page .az-zoom__copy,
.azienda-page .az-team__media,
.azienda-page .az-team__contacts,
.azienda-page .az-faq__support,
.azienda-page .az-faq__item {
  border-radius: var(--az-card-radius);
}

.azienda-page .zoom-stage {
  border: 1px solid var(--corp-border);
  box-shadow: var(--corp-shadow);
}

.azienda-page .zoom-stage--map {
  overflow: hidden;
  border: 1px solid var(--corp-border);
  border-radius: var(--az-card-radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--corp-shadow);
}

.azienda-page .az-zoom__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--corp-border);
  background: var(--corp-card);
  box-shadow: var(--corp-shadow);
}

.azienda-page .az-zoom__copy h3 {
  color: var(--corp-navy);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: 0;
  line-height: 1.15;
}

.azienda-page .az-zoom__copy p {
  color: var(--corp-secondary);
}

.azienda-page .az-zoom__tabs {
  gap: 6px;
  padding: 4px;
  border-color: var(--corp-border);
  border-radius: var(--az-pill-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.azienda-page .az-zoom__tab {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--az-pill-radius);
  color: var(--corp-secondary);
  font-weight: 800;
}

.azienda-page .az-zoom__tab[aria-selected="true"] {
  background: var(--corp-blue);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(30, 58, 138, 0.18);
}

.azienda-page .zoom-stage__reset {
  min-height: 40px;
  padding: 0 14px;
  border-color: rgba(37, 99, 235, 0.16);
  border-radius: var(--az-pill-radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--corp-blue);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  font-weight: 800;
}

.azienda-page .zoom-stage__reset::before {
  width: 7px;
  height: 7px;
}

.azienda-page .zoom-stage__reset:hover {
  border-color: rgba(37, 99, 235, 0.32);
  background: #ffffff;
  color: var(--corp-accent);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.azienda-page .az-zoom__badges span,
.azienda-page .zoom-stage__evidence span,
.azienda-page .zoom-stage__outcome,
.azienda-page .az-faq__support-label {
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--az-pill-radius);
  background: var(--corp-blue-soft);
  color: var(--corp-blue);
}

.azienda-page .az-zoom__badges span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  font-weight: 800;
}

.azienda-page .zoom-stage__evidence span {
  padding: 5px 9px;
}

.azienda-page .zoom-stage__outcome {
  padding: 7px 11px;
}

.azienda-page .zoom-stage__card {
  border-color: var(--corp-border);
  border-radius: var(--az-card-radius-sm);
}

.azienda-page .az-world {
  background:
    radial-gradient(ellipse at 50% 48%, #102a4a 0%, #0c1e36 58%, #081525 100%);
}

.azienda-page .az-world .kicker {
  color: #8fc7ff;
}

.azienda-page .az-world .section-header h2 {
  color: #f8fbff;
}

.azienda-page .az-world .section-header p,
.azienda-page .az-world p {
  color: #d7e7f8;
}

.azienda-page .az-world .az-zoom__copy {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(8, 21, 37, 0.72);
  box-shadow: 0 24px 70px rgba(2, 12, 27, 0.26);
}

.azienda-page .az-world .az-zoom__copy h3 {
  color: #ffffff;
}

.azienda-page .az-world .az-zoom__copy p {
  color: #d7e7f8;
}

.azienda-page .az-world .az-zoom__badges span {
  border-color: rgba(143, 199, 255, 0.22);
  background: rgba(143, 199, 255, 0.1);
  color: #eaf4ff;
}

.azienda-page .az-world .zoom-stage--map {
  border-color: rgba(143, 199, 255, 0.16);
  background: rgba(6, 22, 43, 0.34);
  box-shadow: 0 24px 70px rgba(2, 12, 27, 0.28);
}

.azienda-page .az-world .zoom-stage__card {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(143, 199, 255, 0.2);
}

.azienda-page .az-world .zoom-stage__card h4 {
  color: var(--corp-navy);
}

.azienda-page .az-world .zoom-stage__card p {
  color: #334155;
}

.azienda-page .az-world .zoom-stage__outcome {
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.1);
  color: var(--corp-blue);
}

/* Pallini paese ben leggibili sulla terraferma chiara della mappa: colore pieno
   accento + anello e alone, sia a riposo sia da attivo (niente pallino bianco che
   sparirebbe sui continenti chiari). */
.az-world .hotspot {
  width: 16px;
  height: 16px;
  background: var(--az-accent);
  border: 2px solid #fff;
  box-shadow:
    0 0 0 5px rgba(37, 99, 235, 0.22),
    0 6px 16px rgba(2, 12, 27, 0.45);
}

.az-world .hotspot.is-active {
  background: var(--az-accent);
  border-color: #fff;
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 9px rgba(37, 99, 235, 0.32),
    0 8px 22px rgba(2, 12, 27, 0.55);
}

/* La scheda del paese resta compatta come in "Officina": un pannello che non copre
   il pallino/continente sotto. Su mobile diventa una barra in basso (vedi media
   query), lasciando visibile la mappa e il punto selezionato in alto. */
@media (max-width: 720px) {
  .azienda-page .az-world .zoom-stage__card {
    inset: auto 12px 12px;
    top: auto;
    width: auto;
    max-width: none;
    max-height: 52%;
    padding: 11px 13px;
    overflow-y: auto;
    transform: translateY(16px);
  }

  .azienda-page .az-world .zoom-stage__card.is-visible {
    transform: translateY(0);
  }

  .azienda-page .az-world .zoom-stage__card h4 {
    font-size: var(--fs-caption);
  }

  .azienda-page .az-world .zoom-stage__card p {
    margin: 3px 0 6px;
    font-size: var(--fs-eyebrow);
    line-height: 1.35;
  }

  .azienda-page .az-world .zoom-stage__evidence span {
    padding: 3px 7px;
    font-size: var(--fs-micro);
  }

  .azienda-page .az-world .zoom-stage__outcome {
    display: none;
  }
}

.azienda-page .az-team {
  background: transparent;
}

.azienda-page .az-team__grid {
  align-items: center;
}

.azienda-page .az-team__contacts {
  border-color: var(--corp-border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--corp-shadow);
}

.azienda-page .az-faq {
  background: transparent;
}

.azienda-page .az-faq__support,
.azienda-page .az-faq__item {
  border-color: var(--corp-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.055);
}

.azienda-page .az-faq__support-label {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 10px;
  font-size: var(--fs-micro);
}

.azienda-page .az-faq__question::before {
  border-radius: var(--az-pill-radius);
}

@media (max-width: 1024px) {
  .azienda-page .numbers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .azienda-page .metric-card:nth-child(2n) {
    border-right: 0;
  }

  .azienda-page .metric-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  }
}

@media (max-width: 720px) {
  .azienda-page {
    --az-card-radius: 20px;
  }

  .azienda-page .az-section {
    padding-block: 56px;
  }

  .azienda-page .numbers__inner {
    width: min(100% - 36px, var(--az-max));
  }

  .azienda-page .numbers__title {
    max-width: none;
  }

  .azienda-page .numbers__grid {
    grid-template-columns: 1fr;
  }

  .azienda-page .metric-card,
  .azienda-page .metric-card:nth-child(2n),
  .azienda-page .metric-card:nth-child(-n + 2) {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  }

  .azienda-page .metric-card:last-child {
    border-bottom: 0;
  }

  .azienda-page .metric-value {
    font-size: clamp(2.35rem, 12vw, 3.9rem);
  }

  .azienda-page .metric-value--split {
    flex-wrap: wrap;
    font-size: clamp(1.45rem, 7vw, 2.35rem);
    white-space: normal;
  }

  .azienda-page .az-zoom__tabs {
    width: 100%;
    overflow-x: auto;
  }

  .azienda-page .az-zoom__tab {
    flex: 1 0 auto;
  }

  .azienda-page .az-faq__question::before {
    width: 34px;
    height: 34px;
  }
}

/* 2026-06 azienda cleanup */
.azienda-page {
  --az-radius-lg: 18px;
  --az-radius-md: 14px;
  --az-radius-xl: 22px;
  --az-page-hero-height: min(700px, calc(100svh - var(--nav-height, 58px)));
  --corp-section-space: clamp(54px, 6vw, 86px);
}

.azienda-page .az-page-hero,
.azienda-page .hero--video {
  height: var(--az-page-hero-height);
  min-height: var(--az-page-hero-height);
}

.azienda-page .az-page-hero h1,
.azienda-page .hero-copy h1 {
  max-width: 11.5ch;
  font-size: clamp(3.25rem, 5.8vw, 4.95rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.azienda-page .reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.azienda-page .reveal:not(.is-visible) {
  opacity: 0.94;
}

.storyChapter,
.numbers,
.az-section {
  padding-block: var(--corp-section-space);
}

.metric-card,
.storyChapter__pin,
.storyChapter__media,
.az-card,
.az-faq__item {
  border-radius: var(--az-radius-lg);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.metric-icon,
.storyChapter__node,
.az-marker,
.az-dot {
  box-shadow: none;
}

@media (max-width: 760px) {
  .azienda-page .az-page-hero,
  .azienda-page .hero--video {
    height: auto;
    /* Allineata alla hero della home su mobile (stessa altezza) */
    min-height: calc(100svh - var(--nav-height, 78px));
  }

  .azienda-page .az-page-hero h1,
  .azienda-page .hero-copy h1 {
    font-size: clamp(2.65rem, 12vw, 3.25rem);
    line-height: 1.02;
  }
}

/* ============================================================
   AZIENDA — Premium reveal system            (v: 20260717-anim)
   ------------------------------------------------------------
   Mirrors the home "Premium reveal system" (see style.css), scoped
   to `.azienda-page`. Elements carry `.reveal`; initReveals() in
   main.js adds `.is-visible` on viewport entry and `.reveal-done`
   on animationend. Every *hidden* state is gated behind
   `html.reveal-ready` — a class added pre-paint by an inline <head>
   script. If JS never runs the class is absent and everything stays
   visible (never stuck hidden).

   Motion on text / cards = opacity + translateY ONLY. NO scale() and
   NO filter:blur() on text or photo-cards (both re-rasterize on the
   GPU layer and flash at the end of the animation — a known past bug).
   NO persistent layer hints (will-change / backface-visibility /
   translateZ) on reveal elements. Reuses the home keyframes
   rvReveal / rvRise / rvGlide / rvHeroRise for a coherent motion
   language. Decorative-only elements that carry no text (timeline
   line + dots, KPI hairline, team photo clip) MAY scale/clip.
   ============================================================ */

/* Motion tokens — same feel as the home. */
.azienda-page {
  --rv-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --rv-ease-rise: cubic-bezier(0.33, 1.16, 0.68, 1);
  --rv-dur: 0.9s;
  --rv-step: 110ms;
}

/* Consistent grayscale AA on animated content — without this, text is
   drawn with grayscale AA while composited during the reveal, then
   snaps to subpixel AA when the layer drops (a faint "sharpening"
   flash on titles). Applied always, so there is no switch. */
.azienda-page .reveal,
.azienda-page .reveal * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Safety net: JS fully disabled (reveal-ready never set) → everything
   visible and static. Also overrides the older neutralized 0.94 state. */
html:not(.reveal-ready) .azienda-page .reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

/* --- Blocks: hidden until the observer reveals them ---------------- */
html.reveal-ready .azienda-page .reveal {
  opacity: 0;
}

/* Default entrance: rise + fade. No `opacity:1` on this rule on purpose
   — declaring the final value on the same rule that starts the
   animation makes some browsers paint one frame at the final state
   before the first keyframe applies (a whole-card flash). The `both`
   fill owns opacity 0→1 and holds 1 at the end. */
html.reveal-ready .azienda-page .reveal.is-visible {
  animation: rvReveal var(--rv-dur) var(--rv-ease) both;
}

/* Once the entrance finishes (JS adds .reveal-done) drop the animation
   so its fill stops locking `transform` — otherwise :hover lifts (e.g.
   metric cards) can't apply. */
html.reveal-ready .azienda-page .reveal.is-visible.reveal-done {
  opacity: 1;
  animation: none;
}

/* --- Variety by section type (only animation-name / easing change;
   the shared duration + fill come from the default rule). --------- */

/* Section headers lift straight up with a gentle overshoot settle. */
html.reveal-ready .azienda-page .section-header.reveal.is-visible {
  animation-name: rvRise;
  animation-timing-function: var(--rv-ease-rise);
}

/* Big media panels ease forward with a soft glide. */
html.reveal-ready .azienda-page .az-zoom__media.reveal.is-visible,
html.reveal-ready .azienda-page .zoom-stage--map.reveal.is-visible,
html.reveal-ready .azienda-page .az-team__media.reveal.is-visible,
html.reveal-ready .azienda-page .az-faq__list.reveal.is-visible {
  animation-name: rvGlide;
}

/* ------------------------------------------------------------------
   HERO — on-load intro sequence (independent of scroll).
   The intro frame stays put; its children rise in sequence. */
html.reveal-ready .azienda-page .az-page-hero__intro > * {
  animation: rvHeroRise 0.74s var(--rv-ease) both;
}
html.reveal-ready .azienda-page .az-page-hero__intro > *:nth-child(1) { animation-delay: 0.12s; }
html.reveal-ready .azienda-page .az-page-hero__intro > *:nth-child(2) { animation-delay: 0.26s; }
html.reveal-ready .azienda-page .az-page-hero__intro > *:nth-child(3) { animation-delay: 0.44s; }

/* ------------------------------------------------------------------
   NUMERI — header lines rise in sequence, then the KPI cards cascade
   up while their odometers count (azienda.js) and a hairline accent
   draws in. */
html.reveal-ready .azienda-page .numbers__inner > .reveal.is-visible {
  animation-name: rvGlide;
}
html.reveal-ready .azienda-page .numbers__inner > .reveal:nth-child(2).is-visible { animation-delay: calc(var(--rv-step) * 1); }
html.reveal-ready .azienda-page .numbers__inner > .reveal:nth-child(3).is-visible { animation-delay: calc(var(--rv-step) * 2); }
html.reveal-ready .azienda-page .numbers__inner > .reveal:nth-child(4).is-visible { animation-delay: calc(var(--rv-step) * 3); }

html.reveal-ready .azienda-page .numbers__grid > .reveal:nth-child(2).is-visible { animation-delay: calc(var(--rv-step) * 1); }
html.reveal-ready .azienda-page .numbers__grid > .reveal:nth-child(3).is-visible { animation-delay: calc(var(--rv-step) * 2); }
html.reveal-ready .azienda-page .numbers__grid > .reveal:nth-child(4).is-visible { animation-delay: calc(var(--rv-step) * 3); }

/* KPI accent hairline draws left→right as the card settles. The bar
   carries no text, so scaleX is safe. */
@keyframes azHairDraw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
html.reveal-ready .azienda-page .metric-card.reveal::before {
  transform: scaleX(0);
  transform-origin: left center;
}
html.reveal-ready .azienda-page .metric-card.reveal.is-visible::before {
  animation: azHairDraw 0.72s var(--rv-ease) 0.28s both;
}

/* ------------------------------------------------------------------
   OFFICINA + NEL MONDO — the board/map glides in, then the inspection
   points light up together, just after the panel settles. Fading the
   whole hotspots container (not each dot) keeps the per-dot pulse
   animation, which owns opacity+transform, fully intact. */
html.reveal-ready .azienda-page .az-zoom__media.reveal .zoom-stage__hotspots,
html.reveal-ready .azienda-page .zoom-stage--map.reveal .zoom-stage__hotspots {
  opacity: 0;
  transition: opacity 0.7s var(--rv-ease);
}
html.reveal-ready .azienda-page .az-zoom__media.reveal.is-visible .zoom-stage__hotspots,
html.reveal-ready .azienda-page .zoom-stage--map.reveal.is-visible .zoom-stage__hotspots {
  opacity: 1;
  transition-delay: 0.5s;
}

/* ------------------------------------------------------------------
   STORIA — as the chapter header enters, the timeline draws itself:
   the vertical rail wipes down, then the year nodes pop in sequence.
   Rail + dots carry no text, so scaleY / scale is safe. */
@keyframes azRailDraw {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
@keyframes azNodePop {
  0%   { transform: scale(0); opacity: 0; }
  62%  { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
html.reveal-ready .azienda-page .storyChapter__header.reveal ~ .storyChapter__layout .storyChapter__navLine {
  transform: scaleY(0);
  transform-origin: top center;
}
html.reveal-ready .azienda-page .storyChapter__header.reveal.is-visible ~ .storyChapter__layout .storyChapter__navLine {
  animation: azRailDraw 0.85s var(--rv-ease) 0.15s both;
}
html.reveal-ready .azienda-page .storyChapter__header.reveal ~ .storyChapter__layout .storyChapter__node {
  transform: scale(0);
}
html.reveal-ready .azienda-page .storyChapter__header.reveal.is-visible ~ .storyChapter__layout .storyChapter__navItem:nth-child(2) .storyChapter__node {
  animation: azNodePop 0.5s var(--rv-ease) 0.38s both;
}
html.reveal-ready .azienda-page .storyChapter__header.reveal.is-visible ~ .storyChapter__layout .storyChapter__navItem:nth-child(3) .storyChapter__node {
  animation: azNodePop 0.5s var(--rv-ease) 0.52s both;
}
html.reveal-ready .azienda-page .storyChapter__header.reveal.is-visible ~ .storyChapter__layout .storyChapter__navItem:nth-child(4) .storyChapter__node {
  animation: azNodePop 0.5s var(--rv-ease) 0.66s both;
}

/* ------------------------------------------------------------------
   TEAM — the frame glides in and the photo uncovers top→bottom (a
   clip-path wipe; clip-path on a photo does not rasterize-flash text). */
@keyframes azPhotoUncover {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0% 0); }
}
html.reveal-ready .azienda-page .az-team__media.reveal img {
  clip-path: inset(0 0 100% 0);
}
html.reveal-ready .azienda-page .az-team__media.reveal.is-visible img {
  animation: azPhotoUncover 1.05s var(--rv-ease) 0.12s both;
}

/* Team proof points cascade after the copy settles. */
html.reveal-ready .azienda-page .az-team__copy.reveal .az-team__proof li {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s var(--rv-ease),
    transform 0.55s var(--rv-ease);
}
html.reveal-ready .azienda-page .az-team__copy.reveal.is-visible .az-team__proof li {
  opacity: 1;
  transform: none;
}
html.reveal-ready .azienda-page .az-team__copy.reveal.is-visible .az-team__proof li:nth-child(1) { transition-delay: 0.28s; }
html.reveal-ready .azienda-page .az-team__copy.reveal.is-visible .az-team__proof li:nth-child(2) { transition-delay: 0.38s; }
html.reveal-ready .azienda-page .az-team__copy.reveal.is-visible .az-team__proof li:nth-child(3) { transition-delay: 0.48s; }

/* ------------------------------------------------------------------
   FAQ — the list glides in and its items fade up one after another.
   Opacity-only on the items (the list block owns the translate) so
   there is no double-movement. */
html.reveal-ready .azienda-page .az-faq__list.reveal .az-faq__item {
  opacity: 0;
  transition: opacity 0.6s var(--rv-ease);
}
html.reveal-ready .azienda-page .az-faq__list.reveal.is-visible .az-faq__item {
  opacity: 1;
}
html.reveal-ready .azienda-page .az-faq__list.reveal.is-visible .az-faq__item:nth-child(1) { transition-delay: 0.22s; }
html.reveal-ready .azienda-page .az-faq__list.reveal.is-visible .az-faq__item:nth-child(2) { transition-delay: 0.30s; }
html.reveal-ready .azienda-page .az-faq__list.reveal.is-visible .az-faq__item:nth-child(3) { transition-delay: 0.38s; }
html.reveal-ready .azienda-page .az-faq__list.reveal.is-visible .az-faq__item:nth-child(4) { transition-delay: 0.46s; }
html.reveal-ready .azienda-page .az-faq__list.reveal.is-visible .az-faq__item:nth-child(5) { transition-delay: 0.54s; }

/* ------------------------------------------------------------------
   Accessibility: no motion, nothing hidden. */
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .azienda-page .reveal,
  html.reveal-ready .azienda-page .reveal.is-visible,
  html.reveal-ready .azienda-page .az-page-hero__intro > *,
  html.reveal-ready .azienda-page .metric-card.reveal::before,
  html.reveal-ready .azienda-page .az-team__media.reveal img,
  html.reveal-ready .azienda-page .az-team__copy.reveal .az-team__proof li,
  html.reveal-ready .azienda-page .az-faq__list.reveal .az-faq__item,
  html.reveal-ready .azienda-page .zoom-stage__hotspots,
  html.reveal-ready .azienda-page .storyChapter__navLine,
  html.reveal-ready .azienda-page .storyChapter__node {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
    transition: none !important;
  }
}
