:root {
  --navy-950: #061528;
  --navy-900: #071c35;
  --navy-800: #0b2b4d;
  --blue-700: #075ca8;
  --blue-600: #0876c9;
  --cyan-500: #00aab5;
  --cyan-400: #18c5c1;
  --ink: #142235;
  --muted: #5f6f80;
  --line: #dbe4eb;
  --soft: #f2f7fa;
  --white: #fff;
  --orange: #f08b2f;
  --green: #0b8f72;
  --shadow: 0 24px 70px rgba(5, 34, 63, .13);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --shell: min(1180px, calc(100% - 40px));
  --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy-950); font-weight: 760; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.45rem, 5vw, 4.85rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3.4vw, 3.35rem); margin-bottom: 22px; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.42rem); margin-bottom: 12px; }
p { margin-bottom: 20px; }
ul, ol { margin-top: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow-shell { width: min(820px, 100%); }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 10px 16px; color: var(--white); background: var(--navy-950); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: inline-block; margin-bottom: 18px; color: var(--blue-700); font-size: .76rem; font-weight: 800; letter-spacing: .16em; line-height: 1.35; text-transform: uppercase; }
.section-dark .eyebrow, .final-cta .eyebrow { color: var(--cyan-400); }
.section { padding: clamp(82px, 9vw, 142px) 0; content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section-soft { background: var(--soft); }
.section-dark { color: #cbd8e3; background: var(--navy-950); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading > p { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading > p { color: #a9bbc9; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered > p { margin-inline: auto; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 70px; align-items: end; margin-bottom: 58px; }
.split-heading h2 { margin-bottom: 0; }
.section-intro { border-left: 1px solid var(--line); padding-left: 34px; color: var(--muted); font-size: 1.08rem; }
.section-intro p:last-child { margin-bottom: 0; }

.site-header { position: sticky; z-index: 1000; top: 0; height: var(--header-height); background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(219,228,235,.85); }
.header-shell { width: min(1320px, calc(100% - 40px)); height: 100%; margin-inline: auto; display: grid; grid-template-columns: 216px minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.brand { display: block; width: 202px; text-decoration: none; }
.brand img { width: 202px; height: auto; }
.primary-nav { justify-self: end; }
.primary-nav ul { display: flex; gap: 4px; align-items: center; margin: 0; padding: 0; list-style: none; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 13px 12px; color: #24364a; border-radius: 10px; font-size: .94rem; font-weight: 680; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a[aria-current="page"] { color: var(--blue-700); background: #eef7fb; }
.has-submenu > a { padding-right: 30px; }
.has-submenu > a::after { position: absolute; right: 12px; content: "⌄"; font-size: .9rem; }
.submenu-toggle { display: none; }
.primary-nav .submenu { position: absolute; z-index: 1100; top: 100%; left: 0; display: none; width: 286px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 0 0 16px 16px; box-shadow: 0 18px 42px rgba(5,34,63,.13); }
.primary-nav .submenu li { width: 100%; }
.primary-nav .submenu a { white-space: normal; }
.primary-nav .submenu-align-right { right: 0; left: auto; }
.has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu { display: block; }
.has-mega-menu::before { position: absolute; z-index: 1099; top: 100%; left: 0; width: 100%; height: calc((var(--header-height) - 44px) / 2 + 3px); content: ""; }
.primary-nav .mega-menu { position: fixed; top: calc(var(--header-height) - 1px); right: auto; left: 50%; width: min(1180px, calc(100vw - 48px)); max-height: calc(100vh - var(--header-height) - 24px); padding: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; overflow-y: auto; transform: translateX(-50%); border-radius: 0 0 20px 20px; }
.has-submenu:hover > .mega-menu, .has-submenu:focus-within > .mega-menu { display: grid; }
.primary-nav .mega-menu li { position: static; width: auto; }
.primary-nav .mega-menu .mega-menu-top { grid-column: 1 / -1; display: flex; gap: 28px; align-items: center; justify-content: space-between; padding: 4px 6px 16px; border-bottom: 1px solid var(--line); }
.mega-menu-top div { display: grid; gap: 3px; }
.mega-menu-top span { color: var(--blue-700); font-size: .72rem; font-weight: 820; letter-spacing: .11em; text-transform: uppercase; }
.mega-menu-top strong { color: var(--navy-950); font-size: 1.08rem; }
.primary-nav .mega-menu .mega-menu-top > a { padding: 10px 13px; color: var(--blue-700); background: #eef7fb; font-size: .82rem; }
.primary-nav .mega-menu .mega-menu-column { padding: 4px 4px 6px; }
.primary-nav .mega-menu .mega-menu-heading { min-height: 40px; padding: 10px 8px 8px; color: var(--navy-950); border-radius: 0; border-bottom: 2px solid #cce8ef; font-size: .78rem; font-weight: 840; letter-spacing: .04em; text-transform: uppercase; }
.primary-nav .mega-menu .mega-menu-list { display: grid; gap: 1px; align-items: stretch; padding-top: 7px; }
.primary-nav .mega-menu .mega-menu-list a { padding: 7px 8px; border-radius: 8px; font-size: .82rem; font-weight: 620; line-height: 1.24; white-space: normal; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.search-trigger { display: flex; gap: 7px; align-items: center; color: var(--navy-800); font-size: .9rem; font-weight: 700; text-decoration: none; }
.search-trigger span { font-size: 1.3rem; }
.nav-toggle { display: none; }

.button { display: inline-flex; min-height: 50px; padding: 14px 22px; align-items: center; justify-content: center; color: var(--white); background: linear-gradient(135deg, var(--blue-700), var(--cyan-500)); border: 0; border-radius: 12px; box-shadow: 0 12px 28px rgba(7,92,168,.2); font-weight: 780; line-height: 1.15; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(7,92,168,.28); }
.button-small { min-height: 44px; padding: 12px 17px; font-size: .9rem; }
.button-light { color: var(--navy-950); background: var(--white); box-shadow: none; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--blue-700); font-weight: 780; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 16%, rgba(24,197,193,.13), transparent 31%), linear-gradient(132deg, #eaf4f8 0%, #fbfdfe 47%, #dff1f2 100%); box-shadow: inset 0 -1px 0 rgba(7,92,168,.1); }
.hero::before { position: absolute; top: -220px; right: -140px; width: 650px; height: 650px; background: radial-gradient(circle, rgba(24,197,193,.24), rgba(8,118,201,.075) 42%, transparent 68%); border-radius: 50%; content: ""; pointer-events: none; }
.hero::after { position: absolute; bottom: -230px; left: -180px; width: 520px; height: 420px; background: radial-gradient(circle, rgba(7,92,168,.105), transparent 69%); border-radius: 50%; content: ""; pointer-events: none; }
.hero > .shell { position: relative; z-index: 1; }
.home-hero { min-height: min(590px, calc(74svh - var(--header-height))); display: grid; align-items: center; padding: clamp(24px, 3.4vh, 42px) 0; }
.inner-hero { padding: clamp(24px, 3vw, 38px) 0; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: clamp(50px, 7vw, 94px); align-items: center; }
.hero-copy { max-width: 690px; }
.hero h1 { margin-bottom: 18px; font-size: clamp(2.35rem, 4.4vw, 4.25rem); }
.hero-lead { max-width: 650px; color: #52677a; font-size: clamp(1.08rem, 1.4vw, 1.26rem); }
.hero-actions { display: flex; gap: 24px; align-items: center; margin: 24px 0 22px; }
.inner-hero h1 { margin-bottom: 14px; font-size: clamp(2.05rem, 3.55vw, 3.45rem); }
.inner-hero .hero-lead { font-size: clamp(1.02rem, 1.18vw, 1.15rem); }
.inner-hero .hero-actions { margin: 18px 0 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 0; color: #455a6d; font-size: .91rem; font-weight: 650; list-style: none; }
.check { display: inline-grid; width: 22px; height: 22px; margin-right: 7px; place-items: center; color: var(--green); background: #dff5ef; border-radius: 50%; font-size: .78rem; font-weight: 900; }

.erp-preview { position: relative; min-height: 400px; padding: 20px; color: #ccdae5; background: linear-gradient(155deg, #07192d, #0b3153); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-3deg); }
.erp-preview::after { position: absolute; right: -22px; bottom: -22px; width: 110px; height: 110px; background: linear-gradient(145deg, var(--cyan-400), var(--blue-600)); border-radius: 28px; content: ""; opacity: .23; filter: blur(2px); }
.preview-top, .preview-note { display: flex; justify-content: space-between; align-items: center; }
.preview-logo { color: var(--white); font-size: .88rem; font-weight: 850; letter-spacing: .08em; }
.preview-period { color: #8ca5b8; font-size: .75rem; }
.preview-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.preview-kpis > div { padding: 11px 13px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); border-radius: 13px; }
.preview-kpis span, .preview-kpis small { display: block; color: #8da7ba; font-size: .66rem; }
.preview-kpis strong { display: block; margin: 5px 0; color: var(--white); font-size: 1rem; }
.preview-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 12px; }
.preview-chart, .preview-list { min-height: 185px; padding: 15px; background: rgba(1,11,22,.36); border: 1px solid rgba(255,255,255,.07); border-radius: 15px; }
.chart-title span, .preview-list > span { display: block; color: #8da7ba; font-size: .7rem; }
.chart-title b { display: block; margin-top: 4px; color: var(--white); font-size: .86rem; }
.bars { height: 112px; display: flex; gap: 9px; align-items: flex-end; margin-top: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.bars i { width: 100%; height: var(--h); background: linear-gradient(180deg, var(--cyan-400), var(--blue-600)); border-radius: 5px 5px 0 0; opacity: .9; }
.preview-list b { display: block; margin-top: 10px; padding-bottom: 7px; color: #d9e5ed; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .72rem; }
.preview-note { margin-top: 12px; justify-content: flex-start; gap: 8px; color: #8fa9bb; font-size: .7rem; }
.status-dot { width: 7px; height: 7px; background: var(--cyan-400); border-radius: 50%; box-shadow: 0 0 0 5px rgba(24,197,193,.1); }

.value-strip { padding: 30px 0; background: var(--navy-900); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-grid > div { padding: 4px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.value-grid > div:first-child { padding-left: 0; }
.value-grid > div:last-child { border-right: 0; }
.value-grid strong, .value-grid span { display: block; }
.value-grid strong { color: var(--white); font-size: .96rem; }
.value-grid span { margin-top: 4px; color: #99afc0; font-size: .78rem; line-height: 1.45; }

.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain-grid article { min-height: 260px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.pain-grid article:hover { transform: translateY(-4px); border-color: #a9dfe2; box-shadow: 0 18px 40px rgba(7,28,53,.08); }
.pain-grid p { color: var(--muted); font-size: .94rem; }
.card-number { display: block; margin-bottom: 46px; color: var(--cyan-500); font-size: .75rem; font-weight: 850; letter-spacing: .12em; }

.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 58px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.flow-grid > div { min-height: 270px; padding: 32px; background: var(--navy-950); }
.flow-grid span { display: grid; width: 44px; height: 44px; margin-bottom: 60px; place-items: center; color: var(--cyan-400); border: 1px solid rgba(24,197,193,.35); border-radius: 50%; font-size: .72rem; font-weight: 850; }
.flow-grid p { color: #9db2c2; font-size: .92rem; }

.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 44px rgba(7,28,53,.05); }
.data-table { width: 100%; min-width: 780px; border-collapse: collapse; background: var(--white); }
.data-table caption { padding: 18px 22px; color: var(--muted); background: var(--soft); border-bottom: 1px solid var(--line); font-size: .82rem; text-align: left; }
.data-table th, .data-table td { padding: 20px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { color: var(--blue-700); background: #f7fafc; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.data-table tbody th { width: 20%; color: var(--navy-900); font-size: .92rem; }
.data-table tbody td { color: var(--muted); font-size: .9rem; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.acquisition-practical { background: linear-gradient(180deg, #f7fafc 0%, #fff 100%); }
.acquisition-table tbody th { width: 24%; }
.acquisition-takeaway { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 24px; padding: 26px 28px; color: var(--white); background: var(--navy-900); border-radius: var(--radius); }
.acquisition-takeaway > span { color: #8ee8ea; font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.acquisition-takeaway h3 { margin: 0 0 8px; color: var(--white); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.acquisition-takeaway p { margin: 0; color: #d7e3ed; }
.section-note { max-width: 900px; margin: 22px 0 0; color: var(--muted); font-size: .82rem; }

.feature-layout, .faq-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(60px, 9vw, 130px); align-items: start; }
.sticky-heading { position: sticky; top: 130px; }
.sticky-heading p { color: var(--muted); }
.feature-list article { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 36px 0; border-top: 1px solid var(--line); }
.feature-list article:last-child { border-bottom: 1px solid var(--line); }
.feature-list article > span { color: var(--cyan-500); font-size: .78rem; font-weight: 850; }
.feature-list p { color: var(--muted); }

.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module-grid article { padding: 30px; background: var(--white); border: 1px solid #e3ebf0; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(7,28,53,.035); }
.module-tag, .card-kicker { display: inline-block; margin-bottom: 26px; color: var(--blue-700); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.module-grid p, .module-grid li { color: var(--muted); font-size: .9rem; }
.module-grid ul { padding-left: 18px; }
.module-grid li + li { margin-top: 6px; }
.module-grid .text-link { margin-top: 22px; font-size: .82rem; }

.compare-layout { display: grid; grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr); gap: 80px; align-items: start; }
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.compare-grid article { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-grid article.featured { color: #d2dfe8; background: var(--navy-900); border-color: var(--navy-900); box-shadow: var(--shadow); }
.compare-grid article.featured h3 { color: var(--white); }
.compare-label { display: inline-block; margin-bottom: 46px; color: var(--cyan-500); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.compare-grid p, .compare-grid li { color: var(--muted); font-size: .91rem; }
.compare-grid .featured p, .compare-grid .featured li { color: #b2c4d1; }
.compare-grid ul { margin: 26px 0 0; padding: 0; list-style: none; }
.compare-grid li + li { margin-top: 12px; }

.report-section { background: linear-gradient(145deg, #fff, #f2faf9); }
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(410px, .9fr); gap: 86px; align-items: center; }
.report-copy > p { max-width: 650px; color: var(--muted); font-size: 1.05rem; }
.report-questions { margin-top: 34px; border-top: 1px solid var(--line); }
.report-questions p { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--navy-800); font-weight: 700; }
.report-questions p::before { margin-right: 12px; color: var(--cyan-500); content: "↗"; }
.report-panel { padding: 30px; background: var(--white); border: 1px solid #dcebed; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.report-panel-head { margin-bottom: 28px; }
.report-panel-head span, .report-panel-head b { display: block; }
.report-panel-head span { color: var(--muted); font-size: .72rem; }
.report-panel-head b { color: var(--navy-950); font-size: 1.12rem; }
.report-row { display: grid; grid-template-columns: 120px 1fr 80px; gap: 14px; align-items: center; margin: 18px 0; font-size: .72rem; }
.report-row span { color: var(--muted); }
.report-row i { position: relative; height: 8px; background: #eaf1f4; border-radius: 99px; overflow: hidden; }
.report-row i::after { display: block; width: var(--w); height: 100%; background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); border-radius: inherit; content: ""; }
.report-row strong { color: var(--navy-800); text-align: right; }
.report-summary { margin-top: 28px; padding: 20px; background: var(--soft); border-radius: 14px; }
.report-summary span, .report-summary b { display: block; }
.report-summary span { color: var(--muted); font-size: .7rem; }
.report-summary b { margin-top: 4px; color: var(--navy-900); font-size: .86rem; }

.timeline { display: grid; grid-template-columns: repeat(6, 1fr); margin: 60px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); list-style: none; }
.timeline li { position: relative; padding: 34px 18px 0 0; }
.timeline li::before { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--cyan-400); border-radius: 50%; box-shadow: 0 0 0 7px rgba(24,197,193,.1); content: ""; }
.timeline span { display: block; margin-bottom: 28px; color: var(--cyan-400); font-size: .72rem; font-weight: 850; }
.timeline p { color: #9eb2c2; font-size: .86rem; }

.diagnostic-layout { display: grid; grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr); gap: clamp(52px, 8vw, 110px); align-items: start; }
.diagnostic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.diagnostic-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.diagnostic-grid span { display: block; margin-bottom: 28px; color: var(--cyan-500); font-size: .72rem; font-weight: 850; }
.diagnostic-grid p { color: var(--muted); font-size: .9rem; }

.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.segment-grid article { min-height: 220px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.segment-grid article > span { display: inline-grid; width: 52px; height: 52px; margin-bottom: 36px; place-items: center; color: var(--blue-700); background: #eaf5fa; border-radius: 15px; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.segment-grid p { color: var(--muted); font-size: .91rem; }

.complementary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.complementary-grid .section-heading { grid-column: 1 / -1; }
.complementary-grid article { min-height: 240px; padding: 32px; background: var(--white); border: 1px solid #e1e9ee; border-radius: var(--radius); }
.complementary-grid p { color: var(--muted); }

.company-section { background: var(--white); }
.company-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 80px; align-items: center; }
.company-grid > div > p { max-width: 740px; color: var(--muted); font-size: 1.04rem; }
.company-grid aside { padding: 38px; color: #c8d7e1; background: var(--navy-900); border-radius: var(--radius-lg); }
.company-grid aside > span, .company-grid aside > strong { display: block; }
.company-grid aside > span { color: var(--cyan-400); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.company-grid aside > strong { margin: 28px 0 12px; color: var(--white); font-size: 1.6rem; }
.company-grid aside .text-link { color: var(--cyan-400); }

.faq-section { background: #f7fafc; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 24px 44px 24px 0; color: var(--navy-900); font-size: 1.02rem; font-weight: 750; line-height: 1.4; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; right: 6px; content: "+"; color: var(--blue-700); font-size: 1.35rem; font-weight: 500; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary { position: relative; }
.faq-item summary > span { color: var(--cyan-500); font-size: .72rem; font-weight: 850; }
.faq-item > p { padding: 0 40px 22px 52px; color: var(--muted); font-size: .94rem; }

.final-cta { padding: clamp(70px, 8vw, 112px) 0; color: #b8cad7; background: linear-gradient(125deg, var(--blue-700), var(--navy-950) 70%); }
.final-cta h2 { color: var(--white); }
.final-cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 80px; align-items: center; }
.final-cta-grid p { font-size: 1.03rem; }

.breadcrumb { display: flex; gap: 10px; padding-top: 18px; color: var(--muted); font-size: .82rem; }
.breadcrumb a { color: var(--blue-700); text-decoration: none; }
.guide-navigation-shell { padding-top: 18px; }
.guide-navigation-shell .breadcrumb { padding-top: 0; flex-wrap: wrap; line-height: 1.5; }
.guide-sequence { position: relative; z-index: 30; margin-top: 12px; }
.guide-sequence-controls { display: grid; grid-template-columns: 96px 112px minmax(270px, 1fr) 112px 96px; gap: 7px; padding: 7px; background: #f4f8fb; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 34px rgba(7,28,53,.06); }
.guide-sequence-control { display: flex; min-height: 62px; padding: 8px 10px; align-items: center; justify-content: center; gap: 7px; color: var(--navy-900); background: var(--white); border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-size: .76rem; font-weight: 800; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.guide-sequence-control:hover { color: var(--blue-700); background: #fafdff; border-color: #a9dfe2; transform: translateY(-1px); }
.guide-sequence-control.is-disabled { color: #8fa0ad; background: transparent; opacity: .48; cursor: default; }
.guide-sequence-icon { color: var(--cyan-500); font-size: 1.05rem; line-height: 1; }
.guide-sequence-control.is-disabled .guide-sequence-icon { color: inherit; }
.guide-category-switcher { position: relative; min-width: 0; }
.guide-category-switcher summary { position: relative; display: grid; min-height: 62px; padding: 8px 46px 8px 18px; align-content: center; color: var(--white); background: linear-gradient(125deg, var(--blue-700), var(--navy-950)); border-radius: 11px; cursor: pointer; list-style: none; }
.guide-category-switcher summary::-webkit-details-marker { display: none; }
.guide-category-switcher summary::after { position: absolute; top: 50%; right: 18px; content: "⌄"; color: var(--cyan-400); font-size: 1.15rem; transform: translateY(-58%); transition: transform .2s ease; }
.guide-category-switcher[open] summary::after { transform: translateY(-35%) rotate(180deg); }
.guide-category-switcher summary > span { color: var(--cyan-400); font-size: .62rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.guide-category-switcher summary > strong { overflow: hidden; font-size: .9rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.guide-category-switcher summary > small { overflow: hidden; margin-top: 2px; color: #bed0dc; font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.guide-category-switcher ul { position: absolute; top: calc(100% + 8px); left: 0; z-index: 50; width: 100%; min-width: 330px; margin: 0; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 22px 54px rgba(7,28,53,.16); list-style: none; }
.guide-category-switcher li + li { border-top: 1px solid var(--line); }
.guide-category-switcher li a { display: grid; padding: 12px 14px; color: var(--navy-900); border-radius: 9px; text-decoration: none; }
.guide-category-switcher li a:hover, .guide-category-switcher li a[aria-current="true"] { color: var(--blue-700); background: var(--soft); }
.guide-category-switcher li a span { font-size: .82rem; font-weight: 800; }
.guide-category-switcher li a small { margin-top: 2px; color: var(--muted); font-size: .66rem; }
.core-hero { min-height: auto; }
.core-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: clamp(54px, 8vw, 110px); align-items: center; }
.core-hero-aside { padding: 28px; color: #c8d7e1; background: linear-gradient(145deg, rgba(7,28,53,.97), rgba(11,43,77,.93)); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); box-shadow: 0 22px 54px rgba(6,21,40,.17); }
.core-hero-aside > span, .core-hero-aside > strong { display: block; }
.core-hero-aside > span { color: var(--cyan-400); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.core-hero-aside > strong { margin: 18px 0 12px; color: var(--white); font-size: 1.35rem; line-height: 1.25; }
.core-hero-aside p { color: #a9bdcb; }
.core-outcomes { margin-top: 42px; }
.core-outcomes article > span { display: block; margin-bottom: 35px; color: var(--cyan-500); font-size: .72rem; font-weight: 850; }
.core-section-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(54px, 8vw, 110px); align-items: start; }
.core-section-grid > div > p { max-width: 760px; color: var(--muted); font-size: 1.02rem; }
.core-bullet-list { margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); list-style: none; }
.core-bullet-list li { padding: 18px 0; color: var(--navy-800); border-bottom: 1px solid var(--line); font-weight: 720; }
.core-checklist article { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.13); }
.core-checklist h3 { color: var(--white); }
.core-checklist p { color: #a6bac9; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-grid a { display: grid; grid-template-columns: 1fr auto; min-height: 190px; padding: 28px; color: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.related-grid a:hover { transform: translateY(-3px); border-color: #a9dfe2; box-shadow: 0 16px 36px rgba(7,28,53,.07); }
.related-grid span { grid-column: 1 / -1; font-size: 1.12rem; font-weight: 800; }
.related-grid b { align-self: end; color: var(--muted); font-size: .76rem; }
.related-grid i { align-self: end; color: var(--cyan-500); font-size: 1.3rem; font-style: normal; }
.guide-directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-directory-grid article { display: flex; min-height: 290px; padding: 28px; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 38px rgba(7,28,53,.04); }
.guide-directory-grid h3 { margin: 10px 0 12px; font-size: 1.18rem; line-height: 1.3; }
.guide-directory-grid h3 a { color: var(--navy-900); text-decoration: none; }
.guide-directory-grid h3 a:hover { color: var(--blue-700); }
.guide-directory-grid p { margin: 0 0 24px; color: var(--muted); font-size: .92rem; }
.guide-directory-grid .text-link { margin-top: auto; align-self: flex-start; }
.section-actions { display: flex; margin-top: 30px; justify-content: center; }
.outcome-grid, .decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.outcome-grid article, .decision-grid article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.outcome-grid p, .decision-grid p { color: var(--muted); }
.capability-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.capability-list article { padding: 30px; background: var(--white); border: 1px solid #e1e9ee; border-radius: var(--radius); }
.capability-list article > span { display: block; margin-bottom: 26px; color: var(--cyan-500); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.capability-list p { color: var(--muted); }
.large-check-list { margin: 32px 0 0; padding: 0; list-style: none; }
.large-check-list li { margin-top: 15px; color: #c0d0dc; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 54px 0 0; padding: 0; list-style: none; }
.process-grid li { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.process-grid span, .decision-grid span { display: block; margin-bottom: 35px; color: var(--cyan-500); font-size: .72rem; font-weight: 850; }
.process-grid p, .decision-grid p { color: var(--muted); font-size: .9rem; }
.decision-grid { grid-template-columns: repeat(4, 1fr); }

.governance-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 52px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.13); }
.governance-steps article { min-height: 250px; padding: 28px; background: var(--navy-950); }
.governance-steps span { display: block; margin-bottom: 52px; color: var(--cyan-400); font-size: .72rem; font-weight: 850; }
.governance-steps p { color: #9db2c2; font-size: .88rem; }
.definition-grid, .request-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.definition-grid article, .request-flow article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.definition-grid span, .request-flow span { display: block; margin-bottom: 32px; color: var(--cyan-500); font-size: .7rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.definition-grid p, .request-flow p { color: var(--muted); font-size: .9rem; }
.migration-layout { display: grid; grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr); gap: clamp(54px, 8vw, 112px); align-items: start; }
.migration-steps { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.migration-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.migration-steps li > span { color: var(--cyan-500); font-size: .72rem; font-weight: 850; }
.migration-steps h3 { margin: 0 0 7px; }
.migration-steps p { margin: 0; color: var(--muted); font-size: .9rem; }

.search-page { min-height: 68svh; padding: 80px 0 120px; }
.search-page h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); }
.search-page > .shell > p { color: var(--muted); font-size: 1.08rem; }
.search-form label { display: block; margin-bottom: 8px; color: var(--navy-800); font-size: .85rem; font-weight: 750; }
.search-form-page { margin: 44px 0; }
.search-field { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-field input { min-width: 0; height: 52px; padding: 0 16px; color: var(--ink); background: var(--white); border: 1px solid #b9c9d5; border-radius: 12px; }
.search-results { margin-top: 28px; }
.search-result { padding: 20px 0; border-top: 1px solid var(--line); }
.search-result:last-child { border-bottom: 1px solid var(--line); }
.search-result a { color: var(--blue-700); font-size: 1.08rem; font-weight: 780; text-decoration: none; }
.search-result p, .search-hint { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.search-empty { padding: 22px; color: var(--muted); background: var(--soft); border-radius: 14px; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); opacity: 0; }

.search-dialog { width: min(760px, calc(100% - 30px)); max-height: min(720px, calc(100svh - 40px)); padding: 0; background: var(--white); border: 0; border-radius: var(--radius); box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.search-dialog::backdrop { background: rgba(3,17,31,.72); }
.search-dialog[open] { display: block; }
.search-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 28px 30px 20px; border-bottom: 1px solid var(--line); }
.search-dialog-head .eyebrow { margin-bottom: 7px; }
.search-dialog-head h2 { margin: 0; font-size: 1.8rem; }
.search-dialog-head button { width: 42px; height: 42px; color: var(--navy-900); background: var(--soft); border: 0; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.search-dialog .search-form, .search-dialog .search-results { margin-inline: 30px; }
.search-dialog .search-form { padding-top: 24px; }
.search-dialog .search-results { max-height: 390px; margin-bottom: 30px; overflow: auto; }

.site-footer { color: #9db1c0; background: #041322; }
.footer-main { width: var(--shell); display: grid; grid-template-columns: 1.25fr .7fr .8fr 1fr; gap: 60px; margin-inline: auto; padding: 74px 0 56px; }
.footer-main h2 { margin-bottom: 22px; color: var(--white); font-size: .92rem; letter-spacing: .02em; }
.footer-main ul { margin: 0; padding: 0; list-style: none; }
.footer-main li + li { margin-top: 11px; }
.footer-main a { color: #b7c7d2; font-size: .88rem; text-decoration: none; }
.footer-main a:hover { color: var(--cyan-400); }
.footer-brand img { width: 210px; }
.footer-brand p { max-width: 300px; margin-top: 24px; font-size: .88rem; }
.footer-contact p { font-size: .87rem; }
.footer-bottom { width: var(--shell); display: flex; justify-content: space-between; gap: 20px; margin-inline: auto; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .75rem; }
.footer-bottom p { margin: 0; }
.package-version { color: #71899a; }
.footer-signature { padding: 10px 20px 12px; color: #71899a; background: #020b13; font-size: .7rem; text-align: center; }
.agenzzia-signature a { color: var(--orange); text-decoration: none; }

.whatsapp-float { position: fixed; z-index: 900; right: 22px; bottom: 22px; display: flex; min-height: 62px; gap: 10px; align-items: center; padding: 8px 17px 8px 10px; color: var(--white); background: linear-gradient(135deg, #087d60, #05684f); border: 2px solid #fff; border-radius: 999px; box-shadow: 0 0 0 3px rgba(7,28,53,.72), 0 16px 38px rgba(2,52,40,.42); font-size: .82rem; font-weight: 820; text-decoration: none; isolation: isolate; }
.whatsapp-float::after { position: absolute; z-index: -1; inset: -8px; border: 2px solid rgba(24,197,193,.92); border-radius: inherit; opacity: 0; pointer-events: none; content: ""; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { background: linear-gradient(135deg, #08785d, #044f3e); box-shadow: 0 0 0 4px rgba(7,28,53,.82), 0 18px 44px rgba(2,52,40,.5); }
.whatsapp-icon-wrap { position: relative; display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; background: rgba(255,255,255,.1); border-radius: 50%; }
.whatsapp-icon-wrap img { width: 28px; height: 28px; border-radius: 50%; outline: 2px solid #fff; outline-offset: 1px; }
.whatsapp-receiver { position: absolute; inset: -5px; border: 2px solid var(--cyan-400); border-radius: 50%; opacity: 0; pointer-events: none; }
.whatsapp-copy { display: grid; line-height: 1.12; }
.whatsapp-copy small { color: #a9efe8; font-size: .59rem; font-weight: 760; letter-spacing: .055em; text-transform: uppercase; }
.whatsapp-copy strong { margin-top: 4px; color: var(--white); font-size: .8rem; font-weight: 830; }
.whatsapp-data-story { position: absolute; z-index: 1; top: 50%; right: calc(100% + 14px); width: 338px; height: 154px; padding: 13px 14px 14px; overflow: hidden; color: #dff9f7; background: radial-gradient(circle at 76% 48%, rgba(24,197,193,.18), transparent 31%), linear-gradient(145deg, #071d31, #041322 68%, #062d37); border: 1px solid rgba(123,227,219,.36); border-radius: 20px; box-shadow: 0 24px 64px rgba(2,12,24,.46), inset 0 1px 0 rgba(255,255,255,.08); opacity: 0; transform: translate(24px,-50%) scale(.94); transform-origin: right center; pointer-events: none; }
.whatsapp-data-story::before { position: absolute; top: 0; left: 22px; width: 92px; height: 3px; background: linear-gradient(90deg, var(--cyan-400), var(--orange)); border-radius: 0 0 8px 8px; content: ""; }
.whatsapp-data-story::after { position: absolute; right: -18px; bottom: -30px; width: 120px; height: 120px; background: radial-gradient(circle, rgba(24,197,193,.18), transparent 67%); border-radius: 50%; content: ""; }
.whatsapp-story-head { position: relative; z-index: 2; display: flex; height: 33px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
.whatsapp-story-head small { color: var(--cyan-400); font-size: .5rem; font-weight: 900; letter-spacing: .15em; }
.whatsapp-story-head strong { color: #fff; font-size: .67rem; font-weight: 880; letter-spacing: .075em; }
.whatsapp-story-map { position: relative; z-index: 2; display: grid; grid-template-columns: 122px 74px 108px; align-items: center; height: 94px; }
.whatsapp-story-sources { display: grid; gap: 6px; }
.whatsapp-story-source { display: flex; width: 116px; height: 24px; align-items: center; gap: 7px; padding: 0 8px; color: #dbeaf3; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.1); border-radius: 7px; font-size: .5rem; font-style: normal; font-weight: 850; letter-spacing: .055em; opacity: 0; transform: translateX(-14px); }
.whatsapp-story-source > i { width: 7px; height: 7px; flex: 0 0 7px; background: var(--source-color, var(--cyan-400)); border-radius: 2px; box-shadow: 0 0 11px var(--source-color, var(--cyan-400)); }
.source-sheets { --source-color: #58d6a7; }
.source-database { --source-color: #6bb8ff; }
.source-powerbi { --source-color: #ffbd5c; }
.whatsapp-story-routes { position: relative; display: block; width: 74px; height: 82px; }
.whatsapp-story-route { position: absolute; left: -4px; display: block; width: 82px; height: 2px; transform-origin: right center; }
.whatsapp-story-route > i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(83,174,239,.14), rgba(24,197,193,.92)); border-radius: 99px; opacity: 0; transform: scaleX(0); transform-origin: left center; }
.route-sheets { top: 15px; transform: rotate(18deg); }
.route-database { top: 40px; transform: rotate(0); }
.route-powerbi { top: 65px; transform: rotate(-18deg); }
.whatsapp-story-node { --node-y: 0; position: absolute; top: 37px; left: -3px; width: 7px; height: 7px; background: #fff; border: 2px solid var(--cyan-400); border-radius: 50%; box-shadow: 0 0 14px rgba(24,197,193,.9); opacity: 0; transform: translate(0,var(--node-y)) scale(.55); }
.node-sheets { --node-y: -26px; }
.node-database { --node-y: 0; }
.node-powerbi { --node-y: 26px; }
.whatsapp-story-core { position: relative; display: grid; width: 104px; height: 70px; align-content: center; justify-items: center; color: #fff; background: linear-gradient(145deg, rgba(12,98,111,.92), rgba(6,68,76,.95)); border: 1px solid rgba(123,227,219,.46); border-radius: 14px; box-shadow: 0 14px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.12); opacity: 0; transform: scale(.72); }
.whatsapp-story-core > i { width: 13px; height: 13px; margin-bottom: 7px; background: var(--cyan-400); border: 3px solid rgba(255,255,255,.92); border-radius: 50%; box-shadow: 0 0 0 4px rgba(24,197,193,.16), 0 0 20px rgba(24,197,193,.62); }
.whatsapp-story-core small { color: #bdf5ef; font-size: .47rem; font-weight: 800; letter-spacing: .16em; }
.whatsapp-story-core strong { margin-top: 3px; font-size: .57rem; font-weight: 900; letter-spacing: .065em; }
.whatsapp-mobile-story { display: none; pointer-events: none; }
.whatsapp-float.is-data-story { animation: whatsappStoryButton 6.1s cubic-bezier(.22,.78,.28,1) both; }
.whatsapp-float.is-data-story::after { animation: whatsappStoryHalo 6.1s ease-out both; }
.whatsapp-float.is-data-story .whatsapp-data-story { animation: whatsappStoryPanel 6.1s cubic-bezier(.2,.72,.2,1) both; }
.whatsapp-float.is-data-story .whatsapp-story-source { animation: whatsappStorySource 6.1s cubic-bezier(.2,.72,.2,1) both; }
.whatsapp-float.is-data-story .source-sheets { animation-delay: .08s; }
.whatsapp-float.is-data-story .source-database { animation-delay: .24s; }
.whatsapp-float.is-data-story .source-powerbi { animation-delay: .4s; }
.whatsapp-float.is-data-story .whatsapp-story-route > i { animation: whatsappStoryRoute 6.1s ease-in-out both; }
.whatsapp-float.is-data-story .route-sheets > i { animation-delay: .32s; }
.whatsapp-float.is-data-story .route-database > i { animation-delay: .5s; }
.whatsapp-float.is-data-story .route-powerbi > i { animation-delay: .68s; }
.whatsapp-float.is-data-story .whatsapp-story-node { animation: whatsappStoryNode 6.1s cubic-bezier(.2,.72,.26,1) both; }
.whatsapp-float.is-data-story .node-sheets { animation-delay: .48s; }
.whatsapp-float.is-data-story .node-database { animation-delay: .68s; }
.whatsapp-float.is-data-story .node-powerbi { animation-delay: .88s; }
.whatsapp-float.is-data-story .whatsapp-story-core { animation: whatsappStoryCore 6.1s cubic-bezier(.22,.8,.28,1) both; }
.whatsapp-float.is-data-story .whatsapp-receiver { animation: whatsappStoryReceiver 6.1s ease-out both; }
@keyframes whatsappStoryPanel {
  0%, 4% { opacity: 0; transform: translate(24px,-50%) scale(.94); }
  10%, 67% { opacity: 1; transform: translate(0,-50%) scale(1); }
  76% { opacity: 1; transform: translate(38px,-50%) scale(.94); }
  92%, 100% { opacity: 0; transform: translate(322px,-50%) scale(.12); }
}
@keyframes whatsappStorySource {
  0%, 8% { opacity: 0; transform: translateX(-14px); }
  15%, 54% { opacity: 1; transform: translateX(0); }
  66% { opacity: .42; transform: translateX(18px); }
  80%, 100% { opacity: 0; transform: translateX(96px) scale(.45); }
}
@keyframes whatsappStoryRoute {
  0%, 14% { opacity: 0; transform: scaleX(0); }
  25%, 66% { opacity: 1; transform: scaleX(1); }
  78%, 100% { opacity: 0; transform: scaleX(.18); }
}
@keyframes whatsappStoryNode {
  0%, 22% { opacity: 0; transform: translate(0,var(--node-y)) scale(.55); }
  27% { opacity: 1; transform: translate(0,var(--node-y)) scale(1); }
  54% { opacity: 1; transform: translate(73px,0) scale(1); }
  65% { opacity: 0; transform: translate(79px,0) scale(.25); }
  100% { opacity: 0; transform: translate(79px,0) scale(.25); }
}
@keyframes whatsappStoryCore {
  0%, 34% { opacity: 0; transform: scale(.72); }
  44% { opacity: 1; transform: scale(1); }
  55%, 67% { opacity: 1; transform: scale(1.09); }
  78%, 100% { opacity: 0; transform: translateX(74px) scale(.32); }
}
@keyframes whatsappStoryButton {
  0%, 68%, 100% { transform: translateY(0) scale(1); }
  76% { transform: translateY(-4px) scale(1.09); }
  82% { transform: translateY(0) scale(1); }
  89% { transform: translateY(-3px) scale(1.12); }
  95% { transform: translateY(0) scale(1.02); }
}
@keyframes whatsappStoryHalo {
  0%, 67%, 100% { opacity: 0; transform: scale(.82); }
  74% { opacity: 1; transform: scale(1); }
  82% { opacity: 0; transform: scale(1.48); }
  87% { opacity: .92; transform: scale(.96); }
  97% { opacity: 0; transform: scale(1.62); }
}
@keyframes whatsappStoryReceiver {
  0%, 66%, 100% { opacity: 0; transform: scale(.7); }
  74%, 87% { opacity: 1; transform: scale(.94); }
  82%, 96% { opacity: 0; transform: scale(1.78); }
}
@keyframes whatsappMobileStory {
  0%, 5% { opacity: 0; transform: translateY(18px) scale(.82); }
  13%, 67% { opacity: 1; transform: translateY(0) scale(1); }
  78% { opacity: 1; transform: translateY(8px) scale(.94); }
  94%, 100% { opacity: 0; transform: translate(120px,58px) scale(.18); }
}

@media (max-width: 1160px) {
  :root { --header-height: 80px; }
  .header-shell { grid-template-columns: 190px 1fr auto; gap: 18px; }
  .brand, .brand img { width: 184px; }
  .primary-nav a { padding-inline: 8px; font-size: .86rem; }
  .header-actions .button { display: none; }
  .hero-grid { grid-template-columns: 1fr 430px; gap: 46px; }
  h1 { font-size: clamp(2.4rem, 4.7vw, 4.2rem); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .footer-main { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer-contact { grid-column: 2 / -1; }
}

@media (max-width: 920px) {
  :root { --shell: min(100% - 32px, 760px); }
  .site-header { height: var(--header-height); }
  .header-shell { width: calc(100% - 30px); grid-template-columns: 1fr auto auto; }
  .brand, .brand img { width: 176px; }
  .nav-toggle { display: inline-flex; height: 44px; gap: 9px; align-items: center; padding: 0 13px; color: var(--navy-900); background: var(--soft); border: 1px solid var(--line); border-radius: 10px; font-size: .84rem; font-weight: 780; cursor: pointer; }
  .nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after { display: block; width: 18px; height: 2px; background: var(--navy-900); content: ""; }
  .nav-toggle-lines { position: relative; }
  .nav-toggle-lines::before { position: absolute; top: -5px; }
  .nav-toggle-lines::after { position: absolute; top: 5px; }
  .primary-nav { position: fixed; z-index: 1200; top: var(--header-height); right: 0; bottom: 0; left: 0; display: none; padding: 22px 18px 80px; background: var(--white); overflow-y: auto; }
  body.nav-open .primary-nav { display: block; }
  .primary-nav ul { display: block; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav a { padding: 15px 10px; font-size: 1rem; }
  .has-submenu { display: grid; grid-template-columns: 1fr auto; }
  .has-submenu > a { padding-right: 10px; }
  .has-submenu > a::after { display: none; }
  .has-mega-menu::before { display: none; }
  .submenu-toggle { display: block; width: 48px; color: var(--blue-700); background: transparent; border: 0; font-size: 1.3rem; }
  .primary-nav .submenu { position: static; grid-column: 1 / -1; display: none; width: auto; padding: 0 0 10px 14px; background: var(--soft); border: 0; border-radius: 10px; box-shadow: none; }
  .primary-nav .submenu-align-right { right: auto; }
  .has-submenu.open > .submenu { display: block; }
  .primary-nav .mega-menu { position: static; left: auto; max-height: none; padding: 10px 12px 16px; overflow: visible; transform: none; }
  .primary-nav .mega-menu li { border-bottom: 0; }
  .primary-nav .mega-menu .mega-menu-top { display: grid; gap: 10px; padding: 8px 4px 14px; }
  .primary-nav .mega-menu .mega-menu-top > a { width: max-content; padding: 10px 12px; font-size: .86rem; }
  .primary-nav .mega-menu .mega-menu-column { padding: 10px 2px 5px; border-top: 1px solid var(--line); }
  .primary-nav .mega-menu .mega-menu-heading { min-height: 0; padding: 8px; border-bottom: 0; font-size: .78rem; }
  .primary-nav .mega-menu .mega-menu-list { display: grid; gap: 2px; padding: 0 0 0 8px; }
  .primary-nav .mega-menu .mega-menu-list a { padding: 9px 10px; font-size: .94rem; }
  .has-submenu:hover > .submenu:not([data-mobile-open]), .has-submenu:focus-within > .submenu:not([data-mobile-open]) { display: none; }
  .has-submenu.open:hover > .submenu, .has-submenu.open:focus-within > .submenu { display: block; }
  .header-actions { justify-self: end; }
  .search-trigger { width: 44px; height: 44px; justify-content: center; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
  .search-trigger span { font-size: 1.5rem; }
  .search-trigger { font-size: 0; }
  .hero-grid, .report-grid, .core-hero-grid { grid-template-columns: 1fr; }
  .home-hero .erp-preview, .inner-hero .erp-preview, .core-hero-aside { display: none; }
  .home-hero { min-height: auto; padding: 28px 0 34px; }
  .inner-hero { padding: 24px 0 30px; }
  .guide-sequence-controls { grid-template-columns: 82px 96px minmax(220px, 1fr) 96px 82px; }
  .guide-sequence-control { padding-inline: 7px; font-size: .7rem; }
  .guide-category-switcher summary { padding-left: 14px; }
  .erp-preview { min-height: 360px; transform: none; }
  .value-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .value-grid > div:nth-child(2) { border-right: 0; }
  .value-grid > div:nth-child(3) { padding-left: 0; }
  .split-heading, .feature-layout, .faq-layout, .compare-layout, .company-grid, .final-cta-grid, .diagnostic-layout, .migration-layout, .core-section-grid { grid-template-columns: 1fr; gap: 44px; }
  .acquisition-takeaway { grid-template-columns: 1fr; gap: 12px; }
  .section-intro { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .sticky-heading { position: static; }
  .module-grid, .segment-grid { grid-template-columns: repeat(2, 1fr); }
  .report-grid { gap: 52px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .decision-grid, .definition-grid, .request-flow { grid-template-columns: repeat(2, 1fr); }
  .governance-steps { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-directory-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 44px; }
  .footer-contact { grid-column: auto; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); --header-height: 72px; --radius: 18px; --radius-lg: 24px; }
  body { font-size: 15px; }
  .header-shell { width: calc(100% - 24px); grid-template-columns: 1fr auto auto; gap: 7px; }
  .brand, .brand img { width: 146px; }
  .nav-toggle { width: 44px; padding: 0; justify-content: center; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .hero { overflow: clip; }
  .hero::before { right: -380px; }
  .hero-copy { text-align: left; }
  h1, .hero h1 { font-size: clamp(2.15rem, 10.8vw, 3rem); }
  .home-hero { padding: 20px 0 24px; }
  .home-hero h1 { margin-bottom: 14px; font-size: clamp(2rem, 9.4vw, 2.65rem); }
  .home-hero .hero-lead { font-size: 1rem; }
  .home-hero .hero-actions { margin: 18px 0 16px; }
  .home-hero .hero-points { gap: 8px; }
  h2 { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; margin: 22px 0 20px; }
  .inner-hero { padding: 18px 0 24px; }
  .inner-hero h1 { font-size: clamp(1.9rem, 9.2vw, 2.45rem); }
  .inner-hero .hero-actions { margin: 16px 0 0; }
  .guide-navigation-shell { padding-top: 14px; }
  .guide-navigation-shell .breadcrumb { gap: 7px; font-size: .74rem; }
  .guide-sequence { margin-top: 10px; }
  .guide-sequence-controls { grid-template-areas: "category category category category" "first previous next last"; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; border-radius: 14px; }
  .guide-first { grid-area: first; }
  .guide-previous { grid-area: previous; }
  .guide-category-switcher { grid-area: category; }
  .guide-next { grid-area: next; }
  .guide-last { grid-area: last; }
  .guide-sequence-control { min-height: 50px; padding: 6px 4px; flex-direction: column; gap: 3px; font-size: .66rem; }
  .guide-sequence-icon { font-size: 1rem; }
  .guide-category-switcher summary { min-height: 64px; padding: 8px 42px 8px 14px; }
  .guide-category-switcher summary > strong { font-size: .86rem; }
  .guide-category-switcher summary > small { font-size: .64rem; }
  .guide-category-switcher ul { min-width: 0; }
  .hero-actions .text-link { justify-content: center; }
  .hero-points { display: grid; gap: 11px; }
  .erp-preview { min-height: 330px; padding: 18px; border-radius: 22px; }
  .preview-kpis { grid-template-columns: 1fr 1fr; }
  .preview-kpis > div:last-child { display: none; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-list { display: none; }
  .preview-chart { min-height: 170px; }
  .bars { height: 100px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid > div { padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
  .value-grid > div:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .pain-grid, .flow-grid, .module-grid, .compare-grid, .segment-grid, .complementary-grid, .outcome-grid, .capability-list, .process-grid, .decision-grid, .diagnostic-grid, .governance-steps, .definition-grid, .request-flow, .related-grid, .guide-directory-grid { grid-template-columns: 1fr; }
  .pain-grid article { min-height: 220px; }
  .flow-grid > div { min-height: 220px; }
  .flow-grid span { margin-bottom: 38px; }
  .data-table-wrap { margin-inline: calc((100vw - var(--shell)) / -2); border-radius: 0; }
  .data-table { min-width: 720px; }
  .governance-steps article { min-height: 210px; }
  .governance-steps span { margin-bottom: 34px; }
  .feature-list article { grid-template-columns: 44px 1fr; padding: 30px 0; }
  .compare-grid article, .module-grid article { padding: 26px; }
  .report-panel { padding: 22px; }
  .report-row { grid-template-columns: 100px 1fr; }
  .report-row strong { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 0; border-top: 0; border-left: 1px solid rgba(255,255,255,.16); }
  .timeline li { padding: 0 0 34px 34px; }
  .timeline li::before { top: 7px; left: -6px; }
  .timeline span { margin-bottom: 16px; }
  .company-grid aside { padding: 28px; }
  .faq-item summary { grid-template-columns: 34px 1fr; padding: 20px 36px 20px 0; }
  .faq-item > p { padding: 0 0 20px 44px; }
  .final-cta { text-align: left; }
  .footer-main { grid-template-columns: 1fr; padding-top: 58px; }
  .footer-main > div:not(.footer-brand) { border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 56px; min-height: 56px; height: 56px; padding: 12px; justify-content: center; }
  .whatsapp-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .whatsapp-data-story { display: none; }
  .whatsapp-mobile-story { position: absolute; right: -2px; bottom: calc(100% + 13px); display: grid; width: 224px; gap: 5px; padding: 13px 16px 14px; color: #fff; background: radial-gradient(circle at 84% 28%, rgba(24,197,193,.2), transparent 34%), linear-gradient(145deg, #071d31, #05232e); border: 1px solid rgba(123,227,219,.46); border-radius: 16px 16px 5px 16px; box-shadow: 0 20px 46px rgba(2,12,24,.42), inset 0 1px 0 rgba(255,255,255,.1); opacity: 0; transform: translateY(18px) scale(.82); transform-origin: right bottom; pointer-events: none; }
  .whatsapp-mobile-story::after { position: absolute; right: 17px; bottom: -7px; width: 14px; height: 14px; background: #05232e; border-right: 1px solid rgba(123,227,219,.46); border-bottom: 1px solid rgba(123,227,219,.46); transform: rotate(45deg); content: ""; }
  .whatsapp-mobile-story strong { position: relative; z-index: 1; color: #c7f6f1; font-size: .58rem; font-weight: 870; letter-spacing: .065em; }
  .whatsapp-mobile-story span { position: relative; z-index: 1; color: #fff; font-size: .78rem; font-weight: 900; letter-spacing: .085em; }
  .whatsapp-float.is-data-story .whatsapp-mobile-story { animation: whatsappMobileStory 6.1s cubic-bezier(.2,.72,.2,1) both; }
  .whatsapp-icon-wrap { width: 32px; height: 32px; flex-basis: 32px; }
  .search-dialog-head, .search-dialog .search-form { padding-inline: 20px; }
  .search-dialog .search-results { margin-inline: 20px; }
  .search-field { grid-template-columns: 1fr; }
  .search-dialog { max-height: calc(100svh - 20px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .whatsapp-float, .search-dialog { display: none !important; }
  .section { content-visibility: visible; padding: 40px 0; }
  .erp-preview, .section-dark, .final-cta { color: #000; background: #fff; box-shadow: none; }
  .section-dark h2, .section-dark h3, .final-cta h2 { color: #000; }
}
