/* =========================================================================
   ALPHYON DESIGN SYSTEM — Premium Red Technology Branding
   Red is a signal colour: CTAs, highlights, active states, data accents.
   White and charcoal carry the surfaces.
   1. Tokens  2. Base  3. Layout  4. Buttons & type  5. Header & mega menu
   6. Hero  7. Components  8. Mockups  9. Pages  10. Forms  11. Footer
   12. Motion  13. Responsive
   ========================================================================= */

@font-face { font-family: 'Inter'; src: url('../fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/inter-tight.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand */
  --red: #E53935;            /* Primary Red */
  --red-700: #B91C1C;        /* Deep Red */
  --red-accent: #FF4D4D;     /* Accent Red */
  --red-50: #FEF2F2;
  --red-100: #FDE3E2;
  --grad-red: linear-gradient(135deg, #FF4D4D 0%, #E53935 45%, #B91C1C 100%);
  --charcoal: #171717;       /* Charcoal Black */
  --dark: #101010;           /* Dark Background */
  --charcoal-800: #1C1C1C;
  --charcoal-700: #262626;
  --ai: #E53935;
  --ai-alt: #FF4D4D;
  /* Neutrals */
  --bg: #FFFFFF;
  --bg-alt: #F7F7F7;         /* Light Background */
  --bg-tint: #FEF2F2;
  --text: #171717;
  --muted: #6B7280;          /* Secondary Grey */
  --line: #E5E7EB;           /* Border Grey */
  --line-2: #D4D4D8;
  --on-dark: #D4D4D4;
  --on-dark-muted: #A3A3A3;
  /* Semantic */
  --green: #12B76A;
  --amber: #F79009;
  --danger: #D92D20;
  --bar-muted: #E5E7EB;

  --font-head: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.7rem, 1.6rem + 3.9vw, 4.9rem);
  --fs-h1: clamp(2.3rem, 1.5rem + 2.7vw, 3.75rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 1.9vw, 2.9rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 18px;
  --container: 1240px;
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .05), 0 1px 3px rgba(17, 17, 17, .07);
  --shadow-md: 0 4px 10px -2px rgba(17, 17, 17, .06), 0 14px 32px -8px rgba(17, 17, 17, .12);
  --shadow-lg: 0 28px 64px -18px rgba(0, 0, 0, .42), 0 8px 20px -8px rgba(0, 0, 0, .22);
  --shadow-red: 0 10px 28px -10px rgba(229, 57, 53, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--charcoal); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.032em; }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-700); }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: rgba(229, 57, 53, .18); }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.ico { width: 20px; height: 20px; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: var(--r-md); transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.ph { background: repeating-linear-gradient(135deg, rgba(247, 144, 9, .10) 0 6px, rgba(247, 144, 9, .04) 6px 12px); border: 1px dashed rgba(247, 144, 9, .55); border-radius: 4px; padding: 0 5px; color: inherit; font-size: .92em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.section--alt { background: var(--bg-alt); }
.section--charcoal { background: var(--dark); color: var(--on-dark); isolation: isolate; overflow: hidden; }
.section--charcoal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 0%, rgba(229, 57, 53, .14), transparent 70%); }
.section--charcoal h2, .section--charcoal h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 4vw, 56px); }
.split-head .section-head { margin-bottom: 0; }

/* 4. TYPE & BUTTONS -------------------------------------------------------- */
.eyebrow { font-family: var(--font-head); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow:not(.eyebrow--chip)::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head--center .eyebrow::after, .ai-head .eyebrow::after { content: none; }
.eyebrow.on-dark, .on-dark .eyebrow { color: var(--red-accent); }
.eyebrow--chip { padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--red-50); border: 1px solid var(--red-100); letter-spacing: .02em; text-transform: none; font-size: .84rem; font-weight: 600; color: var(--charcoal); }
.eyebrow--chip.on-dark { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #E5E5E5; }
.chip-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--grad-red); color: #fff; }
.chip-ico .ico { width: 14px; height: 14px; }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.65; }
.on-dark h2, .on-dark h1 { color: #fff; }
.on-dark .lead { color: var(--on-dark-muted); }
.fine { font-size: .8rem; color: var(--muted); margin-top: 16px; }
.grad, .grad-ai { background: linear-gradient(100deg, #FF6B6B 0%, var(--red) 55%, #FF8A80 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons — primary: red with light sweep; secondary: charcoal outline, red on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 650; font-size: .95rem; letter-spacing: -.005em; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s; white-space: nowrap; text-decoration: none; }
.btn::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none; }
.btn:hover::after { left: 120%; }
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary { background: linear-gradient(180deg, #EC4542, var(--red)); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, var(--shadow-red); }
.btn-primary:hover { background: linear-gradient(180deg, var(--red), var(--red-700)); color: #fff; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 16px 32px -12px rgba(229, 57, 53, .7); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost::after, .btn-ghost-light::after { display: none; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); background: var(--red-50); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--charcoal); }
.btn-light::after { background: linear-gradient(100deg, transparent, rgba(229, 57, 53, .12), transparent); }
.btn-light:hover { color: var(--red-700); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.btn-ghost-light { background: rgba(255, 255, 255, .03); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { background: rgba(229, 57, 53, .12); color: #fff; border-color: var(--red-accent); transform: translateY(-2px); }
.btn-ai { background: var(--grad-red); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 10px 30px -10px rgba(255, 77, 77, .75); }
.btn-ai:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 18px 36px -12px rgba(255, 77, 77, .85); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--red); }
.link-arrow .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
a:hover .link-arrow .ico, .link-arrow:hover .ico { transform: translateX(4px); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); background: var(--red-50); padding: 4px 8px; border-radius: 5px; }
.tag--ai { color: var(--red); background: var(--red-50); }

/* 5. HEADER ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 28px -20px rgba(17, 17, 17, .4); }
.header-row { display: flex; align-items: center; gap: 24px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; line-height: 0; }
.logo-mark { height: 40px; width: auto; transition: transform .35s var(--ease); }
.logo:hover .logo-mark { transform: translateY(-1px) scale(1.03); }
.logo-word { height: 15px; width: auto; }
.logo-word--light { display: none; }
.logo--invert .logo-word--dark { display: none; }
.logo--invert .logo-word--light { display: block; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; border: 0; background: none; border-radius: 8px; font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--text); cursor: pointer; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-dd[aria-expanded="true"] { color: var(--red); }
.nav-link:hover::after, .nav-dd[aria-expanded="true"]::after, .nav-link[aria-current="page"]::after, .nav-link[data-active="true"]::after { transform: scaleX(1); }
.nav-link .ico-sm { transition: transform .25s var(--ease); opacity: .7; }
.nav-dd[aria-expanded="true"] .ico-sm { transform: rotate(180deg); }
.nav-link[aria-current="page"], .nav-link[data-active="true"] { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle, .menu-close { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--charcoal); cursor: pointer; place-items: center; transition: border-color .2s, color .2s; }
.menu-toggle:hover, .menu-close:hover { border-color: var(--red); color: var(--red); }

/* Home: transparent header over the dark hero */
.page-home .site-header:not(.is-scrolled):not(.mega-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.page-home .site-header:not(.is-scrolled):not(.mega-open) .logo-word--dark { display: none; }
.page-home .site-header:not(.is-scrolled):not(.mega-open) .logo-word--light { display: block; }
.page-home .site-header:not(.is-scrolled):not(.mega-open) .nav-link { color: #E5E5E5; }
.page-home .site-header:not(.is-scrolled):not(.mega-open) .nav-link:hover,
.page-home .site-header:not(.is-scrolled):not(.mega-open) .nav-link[aria-current="page"] { color: #fff; }
.page-home .site-header:not(.is-scrolled):not(.mega-open) .nav-link::after { background: var(--red-accent); }
.page-home .site-header:not(.is-scrolled):not(.mega-open) .menu-toggle { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.page-home .site-header { margin-bottom: calc(var(--header-h) * -1); }

/* Mega menu */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(17, 17, 17, .45); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .24s var(--ease), transform .24s var(--ease), visibility 0s linear .24s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad-red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.has-mega.open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .24s var(--ease), transform .24s var(--ease); }
.has-mega.open .mega::before { transform: scaleX(1); }
.mega-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding-top: 28px; padding-bottom: 32px; }
.mega-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 12px; }
.mega-list ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.mega-item { position: relative; display: flex; gap: 14px; padding: 12px; border-radius: var(--r-md); color: var(--text); transition: background .2s; }
.mega-item:hover, .mega-item[aria-current="page"] { background: var(--bg-alt); color: var(--text); }
.mega-item strong { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .96rem; color: var(--charcoal); margin-bottom: 2px; transition: color .2s; }
.mega-item:hover strong { color: var(--red); }
.mega-item small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.mega-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: var(--charcoal); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.mega-item:hover .mega-ico, .mega-item[aria-current="page"] .mega-ico { background: var(--grad-red); color: #fff; border-color: transparent; transform: translateY(-1px); }
.mega-feature { display: grid; gap: 12px; }
.mega-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; transition: transform .25s var(--ease); }
.mega-card:hover { transform: translateY(-2px); color: #fff; }
.mega-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 120% at 100% 0%, rgba(229, 57, 53, .32), transparent 60%), linear-gradient(130deg, var(--charcoal) 0%, #0B0B0B 100%); }
.mega-card--ai::before { background: radial-gradient(120% 140% at 100% 100%, rgba(255, 77, 77, .45), transparent 55%), linear-gradient(130deg, #1A0B0B, var(--dark)); }
.mega-card strong { font-family: var(--font-head); font-size: 1.06rem; }
.mega-card small { color: #B3B3B3; font-size: .84rem; }
.mega-card .tag { align-self: flex-start; background: rgba(255, 255, 255, .08); color: #FFD0CC; }
.mega-card .link-arrow { color: var(--red-accent); margin-top: 4px; }
.mega--compact .mega-inner { grid-template-columns: 1fr auto; align-items: center; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 8px; }
.mega-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mega-mini { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); color: var(--charcoal); font-family: var(--font-head); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s; }
.mega-mini .ico { color: var(--muted); transition: color .2s; }
.mega-mini:hover { background: var(--bg-alt); color: var(--red); }
.mega-mini:hover .ico { color: var(--red); }
.mega-mini--desc { align-items: flex-start; }
.mega-mini--desc strong { display: block; }
.mega-mini--desc small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .82rem; }
.mega-all { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; padding: 12px 18px; border-radius: var(--r-md); background: var(--charcoal); color: #fff; transition: background .2s; }
.mega-all:hover { background: var(--red); color: #fff; }

/* Mobile nav — full-height drawer with numbered service rows */
.mobile-nav { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }
.mobile-nav[hidden] { display: none; }
.mobile-nav-inner { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: #fff; padding: 16px 22px 28px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; animation: slideIn .35s var(--ease); border-left: 3px solid var(--red); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.mobile-nav .menu-close { display: grid; }
.mobile-nav nav { display: flex; flex-direction: column; flex: 1; }
.m-link { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--charcoal); list-style: none; cursor: pointer; transition: color .2s, padding .25s var(--ease); }
.m-link:hover { color: var(--red); padding-left: 8px; }
.m-link::-webkit-details-marker { display: none; }
.m-link[aria-current="page"] { color: var(--red); padding-left: 14px; }
.m-link[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 2px; background: var(--red); }
.m-group[open] summary .ico-sm { transform: rotate(180deg); }
.m-sub { display: flex; align-items: center; gap: 12px; padding: 11px 8px; margin: 0 -8px; border-radius: 8px; color: var(--text); font-weight: 500; transition: background .2s, color .2s; }
.m-sub:hover { background: var(--bg-alt); color: var(--red); }
.m-sub span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--red-50); }
.m-sub[aria-current="page"] { color: var(--red); font-weight: 600; background: var(--red-50); }
.m-group { border-bottom: 1px solid var(--line); }
.m-group summary { border-bottom: 0; }
.m-group[open] { padding-bottom: 10px; }

/* Breadcrumb & subnav */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); margin-bottom: 28px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 500; }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 14px 14px; font-size: .88rem; font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover, .subnav a.is-active { color: var(--charcoal); border-bottom-color: var(--red); }

/* 6. HERO (home) ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 7vw, 104px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 82% 18%, rgba(229, 57, 53, .26), transparent 62%), radial-gradient(50% 50% at 0% 100%, rgba(185, 28, 28, .16), transparent 60%), linear-gradient(180deg, #0B0B0B, #121212); }
.hero-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 77, 77, .6), transparent); }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000 30%, transparent 75%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; }
.hero-glow.g1 { width: 520px; height: 520px; right: -140px; top: -180px; background: #E53935; animation: drift 16s ease-in-out infinite alternate; }
.hero-glow.g2 { width: 360px; height: 360px; right: 34%; bottom: -240px; background: #B91C1C; opacity: .22; animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }
.hero-orbit { position: absolute; right: -6%; top: 50%; width: min(760px, 62vw); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.hero-orbit span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .06); }
.hero-orbit span:nth-child(2) { inset: 14%; border-color: rgba(255, 255, 255, .05); }
.hero-orbit span:nth-child(3) { inset: 28%; border-color: rgba(229, 57, 53, .18); }
.hero-orbit span::after { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--red-accent); box-shadow: 0 0 14px 3px rgba(255, 77, 77, .55); }
.hero-orbit span { animation: spin 48s linear infinite; }
.hero-orbit span:nth-child(2) { animation-duration: 36s; animation-direction: reverse; }
.hero-orbit span:nth-child(3) { animation-duration: 28s; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--fs-display); color: #fff; margin-bottom: 24px; letter-spacing: -.038em; line-height: 1; font-weight: 800; }
.hero .lead { color: var(--on-dark-muted); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-accent); box-shadow: 0 0 0 0 rgba(255, 77, 77, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); }
.hero-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; font-size: .84rem; font-weight: 500; color: var(--on-dark); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .09); transition: background .2s, color .2s, border-color .2s; }
.hero-pills a .ico { width: 16px; height: 16px; color: var(--red-accent); }
.hero-pills a:hover { color: #fff; background: rgba(229, 57, 53, .12); border-color: rgba(255, 77, 77, .45); }

.hero-comp { position: relative; padding: 36px 24px 48px 36px; }
.hc-main { position: relative; z-index: 1; transform: perspective(1600px) rotateY(-7deg) rotateX(3deg); transform-origin: 30% 50%; transition: transform .8s var(--ease); }
.hero-comp:hover .hc-main { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.hc-main .win { box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 120px -30px rgba(229, 57, 53, .35); }
.hc-float { position: absolute; z-index: 2; background: rgba(255, 255, 255, .97); color: var(--text); border-radius: var(--r-lg); padding: 14px 16px; box-shadow: var(--shadow-lg); font-size: .8rem; backdrop-filter: blur(10px); animation: float 7s ease-in-out infinite; }
.hcf-h { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--charcoal); margin: 0 0 6px; }
.hcf-h .ico { width: 16px; height: 16px; color: var(--red); }
.hc-ai { right: -8px; top: 0; width: 252px; border-top: 3px solid var(--red); animation-delay: -2s; }
.hc-ai .hcf-t { margin: 0 0 10px; color: var(--text); line-height: 1.45; }
.hcf-btns { display: flex; gap: 6px; }
.hcf-btns span { padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); font-weight: 600; font-size: .74rem; }
.hcf-btns .pri { background: var(--red); color: #fff; border-color: var(--red); }
.hc-lg { left: -10px; bottom: 6px; width: 220px; animation-delay: -4s; }
.hcf-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 8px 0 6px; }
.hcf-track i { height: 5px; border-radius: 3px; background: var(--line); }
.hcf-track i.done { background: var(--charcoal); }
.hcf-track i.now { background: linear-gradient(90deg, var(--red), var(--red-accent), var(--red)); animation: shimmer 1.8s infinite; background-size: 200% 100%; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.hcf-s { margin: 0; color: var(--muted); font-size: .76rem; }
.hc-inf { right: 18px; bottom: -6px; width: 210px; animation-delay: -1s; background: rgba(23, 23, 23, .96); color: #E5E5E5; border: 1px solid rgba(255, 255, 255, .08); }
.hc-inf .hcf-h { color: #fff; }
.hc-inf .hcf-row { color: #A3A3A3; }
.hcf-row { display: flex; justify-content: space-between; margin: 4px 0 0; color: var(--muted); }
.hcf-row b { font-weight: 600; }
.hcf-row b.g { color: #32D583; }
.hc-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.hc-links path { fill: none; stroke: rgba(255, 77, 77, .45); stroke-width: 1.4; stroke-dasharray: 4 6; animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(229, 57, 53, .2); display: inline-block; flex: none; }

/* Capability ticker under the hero */
.ticker { background: var(--charcoal); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; align-items: center; }
.ticker li { display: inline-flex; align-items: center; gap: 22px; padding: 18px 0 18px 22px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #D4D4D4; white-space: nowrap; letter-spacing: -.01em; }
.ticker li::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 7vw, 104px); background: linear-gradient(180deg, #FAFAFA 0%, #fff 100%); border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero .hero-grid-bg { z-index: -1; background-image: linear-gradient(rgba(17, 17, 17, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 17, .05) 1px, transparent 1px); mask-image: radial-gradient(70% 80% at 80% 20%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(70% 80% at 80% 20%, #000 20%, transparent 70%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -220px; top: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 57, 53, .11), transparent 65%); }
.page-hero::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--grad-red); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { max-width: 580px; margin-bottom: 32px; }
.page-hero--simple .page-hero-grid { grid-template-columns: 1fr; max-width: 820px; }
.page-hero--dark { background: var(--dark); color: var(--on-dark); border-bottom: 0; }
.page-hero--dark::after { background: radial-gradient(circle, rgba(229, 57, 53, .3), transparent 65%); width: 900px; height: 900px; top: -380px; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: var(--on-dark-muted); }
.page-hero--dark .hero-grid-bg { background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); }
.page-hero--dark .breadcrumb a, .page-hero--dark .breadcrumb ol { color: #8F8F8F; }
.page-hero--dark .breadcrumb [aria-current] { color: #fff; }
.page-hero--dark .eyebrow--chip { background: rgba(255, 255, 255, .05); color: #E5E5E5; border: 1px solid rgba(255, 255, 255, .12); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .88rem; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ico { width: 16px; height: 16px; color: var(--red); stroke-width: 2.2; }
.page-hero--dark .hero-trust { color: var(--on-dark-muted); }

/* 7. COMPONENTS ------------------------------------------------------------ */
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-grid h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); margin: 0; }
.intro-copy p:not(.lead) { color: var(--muted); }
.intro-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.intro-stack span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--charcoal); box-shadow: var(--shadow-sm); }
.intro-stack .ico { color: var(--red); width: 18px; height: 18px; }

/* Service cards — numbered, red accent bar on hover, AI card in charcoal */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc-card { position: relative; grid-column: span 2; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.svc-card::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(17, 17, 17, .35); border-color: #E2C3C2; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-visual { height: 156px; background-color: #FAFAFA; background-image: linear-gradient(rgba(17, 17, 17, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 17, .04) 1px, transparent 1px); background-size: 22px 22px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.svc-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(229, 57, 53, .10), transparent 70%); opacity: 0; transition: opacity .4s; }
.svc-card:hover .svc-visual::after { opacity: 1; }
.svc-body { position: relative; padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.svc-num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px #A1A1AA; transition: -webkit-text-stroke-color .3s; }
.svc-card:hover .svc-num { -webkit-text-stroke-color: var(--red); }
.svc-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--charcoal); color: #fff; transition: background .3s, transform .3s var(--ease); }
.svc-card:hover .svc-ico { background: var(--grad-red); transform: rotate(-6deg); }
.svc-card h3 { font-size: 1.26rem; margin-bottom: 8px; }
.svc-card h3 a { color: var(--charcoal); transition: color .2s; }
.svc-card:hover h3 a { color: var(--red); }
.svc-card p { color: var(--muted); font-size: .94rem; }
.svc-caps { display: grid; gap: 8px; margin: 4px 0 22px; }
.svc-caps li { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--text); }
.svc-caps .ico { width: 16px; height: 16px; color: var(--red); stroke-width: 2.2; }
.svc-card .link-arrow { margin-top: auto; color: var(--charcoal); transition: color .2s; }
.svc-card:hover .link-arrow { color: var(--red); }
/* AI division card: charcoal with red glow */
.svc-card--ai { background: var(--charcoal); border-color: var(--charcoal); }
.svc-card--ai .svc-visual { background-color: #141414; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); border-color: rgba(255, 255, 255, .06); }
.svc-card--ai .svc-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 80% 10%, rgba(229, 57, 53, .35), transparent 70%); }
.svc-card--ai h3 a { color: #fff; }
.svc-card--ai p { color: #A3A3A3; }
.svc-card--ai .svc-caps li { color: #E5E5E5; }
.svc-card--ai .svc-caps .ico { color: var(--red-accent); }
.svc-card--ai .svc-num { -webkit-text-stroke-color: rgba(255, 255, 255, .25); }
.svc-card--ai .svc-ico { background: var(--grad-red); }
.svc-card--ai .link-arrow { color: var(--red-accent); }
.svc-card--ai .tag-new { position: absolute; top: 14px; right: 14px; z-index: 1; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(229, 57, 53, .9); padding: 4px 8px; border-radius: 5px; }
.svc-card--ai:hover { border-color: rgba(255, 77, 77, .5); box-shadow: 0 30px 60px -24px rgba(229, 57, 53, .45); }
.svc-card--cta { grid-column: span 2; justify-content: space-between; gap: 20px; padding: 30px 28px; color: #fff; border: 0; background: var(--grad-red); }
.svc-card--cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 0 0 30px rgba(255, 255, 255, .06), 0 0 0 60px rgba(255, 255, 255, .04); }
.svc-card--cta .eyebrow { color: #FFE0DE; }
.svc-card--cta strong { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.22; letter-spacing: -.025em; }
.svc-card--cta .btn { align-self: flex-start; }
.svc-card--cta:hover { color: #fff; box-shadow: 0 30px 60px -24px rgba(229, 57, 53, .6); }

/* card mini visuals */
.cv { position: absolute; inset: 18px 22px; }
.cv-erp .cv-k { display: flex; gap: 8px; margin-bottom: 10px; }
.cv-erp .cv-k i { flex: 1; height: 30px; border-radius: 7px; background: #fff; box-shadow: var(--shadow-sm); }
.cv-erp .chart { height: 66px; width: 100%; }
.cv-lg svg { width: 100%; height: 100%; }
.cv-lg .rt { fill: none; stroke: var(--charcoal); stroke-width: 2; stroke-dasharray: 5 6; opacity: .55; }
.cv-lg circle { fill: #fff; stroke: var(--charcoal); stroke-width: 2.2; }
.cv-lg .mv { fill: var(--red); stroke: #fff; }
.cv-inf { display: grid; gap: 8px; align-content: center; }
.cv-ru { display: flex; align-items: center; gap: 6px; height: 20px; padding: 0 10px; background: var(--charcoal); border-radius: 5px; }
.cv-ru i { width: 5px; height: 5px; border-radius: 50%; background: #32D583; }
.cv-ru i + i { background: var(--red-accent); animation: blink 1.6s infinite; }
.cv-ru b { margin-left: auto; width: 45%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .15); position: relative; overflow: hidden; }
.cv-ru b::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--red-accent); }
@keyframes blink { 50% { opacity: .25; } }
.cv-sup { display: grid; gap: 8px; align-content: center; }
.cv-sup .t { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 8px; padding: 7px 10px; font-size: .78rem; box-shadow: var(--shadow-sm); }
.cv-sup .t i { width: 7px; height: 7px; border-radius: 50%; }
.cv-sup .t i.g { background: var(--green); } .cv-sup .t i.b { background: var(--red); } .cv-sup .t i.a { background: var(--amber); }
.cv-sup .t b { margin-left: auto; font-weight: 600; color: var(--muted); font-size: .72rem; }
.cv-ai { display: flex; flex-direction: column; gap: 7px; justify-content: center; font-size: .78rem; }
.cv-ai span { padding: 7px 11px; border-radius: 10px; max-width: 82%; }
.cv-ai .b1 { background: #262626; color: #E5E5E5; align-self: flex-start; }
.cv-ai .b2 { align-self: flex-end; display: inline-flex; gap: 6px; align-items: center; background: var(--ai); color: #fff; }
.cv-ai .b2 .ico { width: 14px; height: 14px; }
.cv-ai .b3 { align-self: flex-end; background: transparent; color: #FF8A80; border: 1px dashed rgba(255, 77, 77, .55); font-weight: 600; }

/* ERP feature */
.erp-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.module-orbit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 32px; }
.module-orbit span { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r-md); font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--charcoal); background: #fff; transition: border-color .2s, background .2s; }
.module-orbit span:hover { border-color: var(--red); background: var(--bg-tint); }
.module-orbit .ico { color: var(--red); width: 18px; height: 18px; }
.module-orbit span:hover { transform: translateY(-1px); }
.tabs .tab-list { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tabs [role="tab"] { border: 0; background: none; padding: 8px 16px; border-radius: 9px; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.tabs [role="tab"][aria-selected="true"] { background: var(--charcoal); color: #fff; box-shadow: var(--shadow-sm); }
.tabs [role="tab"]:hover:not([aria-selected="true"]) { color: var(--red); }
.tab-panel { animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* AI feature */
.ai-feature { background: #0D0D0D; color: #BDBDBD; overflow: hidden; isolation: isolate; }
.ai-bg { position: absolute; inset: 0; z-index: -1; }
.ai-bg .hero-grid-bg { mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 75%); }
.ai-orb { position: absolute; width: 900px; height: 900px; left: 50%; top: -420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 60%, rgba(229, 57, 53, .30), rgba(185, 28, 28, .10) 40%, transparent 66%); filter: blur(10px); }
.ai-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); }
.ai-head h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
.ai-head .lead { color: #A6A6A6; }
.ai-chip { background: rgba(255, 255, 255, .05) !important; border-color: rgba(255, 77, 77, .4) !important; color: #FFE0DE !important; }
.ai-chip .ico { color: var(--red-accent); }
.ai-chip .ico { width: 16px; height: 16px; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.ai-uses { display: grid; gap: 10px; }
.ai-uses li { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.ai-uses li:hover { background: rgba(229, 57, 53, .09); border-color: rgba(229, 57, 53, .35); transform: translateX(4px); }
.ai-uses .ico { color: var(--red-accent); margin-top: 2px; }
.ai-uses strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1rem; }
.ai-uses small { color: #9CA3AF; font-size: .88rem; line-height: 1.5; }
.ai-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .08); flex-wrap: wrap; }
.ai-foot p { display: flex; align-items: center; gap: 10px; margin: 0; color: #C7C7C7; }
.ai-foot p .ico { color: #32D583; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ind-card:hover { color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #F1B5B3; }
.ind-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--charcoal); margin-bottom: 18px; transition: background .3s, color .3s; }
.ind-card:hover .ind-ico { background: var(--grad-red); border-color: transparent; color: #fff; }
.ind-card:hover h3 { color: var(--red); }
.ind-card h3 { font-size: 1.06rem; margin-bottom: 6px; }
.ind-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ind-tags em { font-style: normal; font-size: .72rem; font-weight: 600; color: var(--muted); background: var(--bg-alt); border-radius: 5px; padding: 3px 7px; }

/* Why */
.why-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 32px); }
.feature-grid { display: grid; gap: 16px; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.feature:hover { border-color: #E2C3C2; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--red-50); color: var(--red); margin-bottom: 18px; transition: background .3s, color .3s, transform .3s var(--ease); }
.feature:hover .feature-ico { background: var(--grad-red); color: #fff; transform: translateY(-2px); }
.feature h3 { font-size: 1.06rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }
.mini-list { margin-top: 14px; display: grid; gap: 6px; }
.mini-list li { position: relative; padding-left: 16px; font-size: .88rem; color: var(--text); }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 1px; transform: rotate(45deg); background: var(--red); }
.feature-grid--plain .feature { background: transparent; border: 0; padding: 0; }
.feature-grid--dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.feature-grid--dark .feature h3 { color: #fff; }
.feature-grid--dark .feature p { color: #A1A1AA; }
.feature-grid--dark .feature-ico { background: rgba(229, 57, 53, .16); color: var(--red-accent); }
.feature-grid--dark .feature:hover { border-color: rgba(255, 77, 77, .4); box-shadow: none; }
.feature-grid--dark .mini-list li { color: #C7C7C7; }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, rgba(229, 57, 53, .15), var(--red), rgba(229, 57, 53, .15)); }
.step { position: relative; padding: 0 16px; text-align: center; }
.step-num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--charcoal); box-shadow: 0 0 0 6px #fff, var(--shadow-sm); font-family: var(--font-head); font-weight: 800; color: var(--charcoal); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.step:hover .step-num { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06); }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .9rem; }
.process--dark .step-num { background: var(--charcoal-800); border-color: rgba(255, 255, 255, .1); box-shadow: 0 0 0 6px var(--charcoal); color: var(--red-accent); }
.process--dark h3 { color: #fff; }
.process--dark p { color: #A1A1AA; }

/* Ecosystem */
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-lg); overflow: hidden; }
.eco-grid li { display: flex; flex-direction: column; gap: 4px; padding: 28px 26px; background: var(--charcoal); transition: background .3s; }
.eco-grid li:hover { background: var(--charcoal-800); }
.eco-grid li span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: rgba(255, 77, 77, .1); color: var(--red-accent); margin-bottom: 14px; }
.eco-grid strong { color: #fff; font-family: var(--font-head); font-size: 1.04rem; }
.eco-grid small { color: #8F8F8F; font-size: .86rem; }
.eco-note { text-align: center; margin: 28px auto 0; font-size: .84rem; color: #8F8F8F; max-width: 720px; }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.article-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--acc); opacity: 0; transition: opacity .3s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #F1B5B3; }
.article-card:hover::before { opacity: 1; }
.ac-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .78rem; }
.ac-cat { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--acc); text-transform: uppercase; letter-spacing: .06em; }
.ac-cat .ico { width: 15px; height: 15px; }
.ac-time { color: var(--muted); }
.article-card h3 { font-size: 1.14rem; line-height: 1.3; }
.article-card h3 a { color: var(--charcoal); }
.article-card p { color: var(--muted); font-size: .92rem; flex: 1; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0; background: radial-gradient(55% 120% at 100% 0%, rgba(229, 57, 53, .30), transparent 62%), radial-gradient(40% 90% at 0% 100%, rgba(185, 28, 28, .18), transparent 60%), var(--dark); color: var(--on-dark); isolation: isolate; border-top: 1px solid rgba(255, 77, 77, .25); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }
.cta-band p { margin: 0; color: #A8A8A8; font-size: var(--fs-lead); max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band--hero .cta-inner { flex-direction: column; text-align: center; }
.cta-band--hero p { margin: 0 auto; }

/* Checklist */
.checklist { display: grid; gap: 10px 24px; }
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); }
.checklist.cols-3 { grid-template-columns: repeat(3, 1fr); }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.checklist .ico { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--acc, var(--red)) 12%, #fff); color: var(--acc, var(--red)); margin-top: 1px; stroke-width: 2.4; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #F1B5B3; box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; color: var(--charcoal); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--bg-alt); color: var(--red); flex: none; transition: transform .3s var(--ease), background .2s; }
.faq-plus .ico { width: 16px; height: 16px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--bg-tint); }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); }

/* Related services */
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); background: #fff; position: relative; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.related:hover { color: var(--text); border-color: color-mix(in srgb, var(--acc) 40%, var(--line)); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--acc) 12%, #fff); color: var(--acc); }
.related strong { display: block; font-family: var(--font-head); color: var(--charcoal); margin-bottom: 4px; }
.related small { color: var(--muted); font-size: .85rem; line-height: 1.5; display: block; }
.related-arrow { position: absolute; top: 22px; right: 22px; color: var(--muted); transition: transform .25s, color .25s; }
.related:hover .related-arrow { color: var(--acc); transform: translateX(3px); }

/* Split content */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split .lead { margin-bottom: 24px; }
.panel { padding: 32px; border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; }
.panel--tint { background: linear-gradient(160deg, var(--bg-alt), #fff); }
.stat-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* Service capability list (big) */
.cap-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap-group { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.cap-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.04rem; margin-bottom: 14px; }
.cap-group h3 .ico { color: var(--acc, var(--red)); }

/* Screens showcase */
.screens { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.screens .tab-list { display: flex; flex-direction: column; gap: 4px; padding: 0; background: none; border: 0; }
.screens [role="tab"] { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid transparent; }
.screens [role="tab"] .ico { color: var(--muted); margin-top: 2px; }
.screens [role="tab"] small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.screens [role="tab"][aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.screens [role="tab"][aria-selected="true"] .ico { color: var(--red); }
.screens [role="tab"]:hover:not([aria-selected="true"]) { background: rgba(255, 255, 255, .6); color: var(--charcoal); }

/* Industry rows */
.ind-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: 48px 0; border-top: 1px solid var(--line); }
.ind-row:first-child { border-top: 0; padding-top: 0; }
.ind-row-head .ind-ico { width: 52px; height: 52px; }
.ind-row-head h2 { font-size: 1.6rem; margin-bottom: 8px; }
.ind-row-head p { color: var(--muted); }
.ind-row-body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ind-box { padding: 24px; border-radius: var(--r-lg); background: var(--bg-alt); }
.ind-box--sol { background: var(--bg-tint); }
.ind-box h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ind-box--sol h3 { color: var(--red); }
.ind-box ul { display: grid; gap: 10px; }
.ind-box li { display: flex; gap: 10px; font-size: .94rem; }
.ind-box li .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--muted); }
.ind-box--sol li .ico { color: var(--red); }
.ind-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; color: var(--muted); }
.ind-links a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); font-weight: 600; color: var(--charcoal); background: #fff; }
.ind-links a:hover { border-color: var(--red); color: var(--red); }
.ind-links .ico { width: 15px; height: 15px; color: var(--acc); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; color: var(--charcoal); }
.jump a:hover { border-color: var(--red); color: var(--red); }

/* Values / mission */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-xl); position: relative; overflow: hidden; }
.mv-card h2 { font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.mv-card p { font-family: var(--font-head); font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); line-height: 1.35; font-weight: 600; letter-spacing: -.015em; margin: 0; }
.mv-card--mission { background: var(--charcoal); color: #fff; }
.mv-card--mission h2 { color: var(--red-accent); }
.mv-card--vision { background: var(--bg-tint); color: var(--charcoal); }
.mv-card--vision h2 { color: var(--red); }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.values li { background: #fff; padding: 28px 22px; }
.values .ico { color: var(--red); width: 26px; height: 26px; margin-bottom: 16px; }
.values h3 { font-size: 1.04rem; margin-bottom: 6px; }
.values p { color: var(--muted); font-size: .88rem; margin: 0; }
.placeholder-box { border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); padding: 28px; background: repeating-linear-gradient(135deg, #FAFAFA 0 10px, #fff 10px 20px); color: var(--muted); }
.placeholder-box strong { color: var(--charcoal); font-family: var(--font-head); display: block; margin-bottom: 6px; }

/* Resources */
.res-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.res-cat { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; color: var(--text); transition: border-color .25s, box-shadow .25s; }
.res-cat:hover { color: var(--text); border-color: #F1B5B3; box-shadow: var(--shadow-sm); }
.res-cat .ico { color: var(--red); width: 24px; height: 24px; margin-bottom: 8px; }
.res-cat strong { font-family: var(--font-head); color: var(--charcoal); }
.res-cat small { color: var(--muted); }
.res-cat em { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--red); margin-top: auto; padding-top: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--muted); cursor: pointer; transition: all .2s; }
.filters button[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.filters button:hover:not([aria-pressed="true"]) { border-color: var(--charcoal); color: var(--charcoal); }
.search-box { position: relative; max-width: 420px; margin-bottom: 20px; }
.search-box input { width: 100%; height: 48px; padding: 0 16px 0 44px; border-radius: var(--r-md); border: 1px solid var(--line-2); font: inherit; }
.search-box .ico { position: absolute; left: 14px; top: 14px; color: var(--muted); }
.empty-state { padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }

/* Article page */
.article-hero { padding: clamp(40px, 5vw, 64px) 0 40px; background: linear-gradient(180deg, #F9F9F9, #fff); border-bottom: 1px solid var(--line); }
.article-hero h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); max-width: 900px; }
.article-meta { display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: .9rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 6vw, 80px) 0; }
.prose { font-size: 1.06rem; line-height: 1.75; color: #262626; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .6em; }
.prose ul { list-style: none; display: grid; gap: 8px; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--red); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 16px; }
.aside-card { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-alt); }
.aside-card h2 { font-size: 1.05rem; }
.aside-card p { color: var(--muted); font-size: .9rem; }
.aside-card--dark { background: var(--charcoal); border: 0; color: #D4D4D4; }
.aside-card--dark h2 { color: #fff; }
.aside-card--dark p { color: #A8A8A8; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal p, .legal li { color: #262626; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: #FFF8EC; border: 1px solid #FBD9A5; color: #7A4A06; font-size: .92rem; margin-bottom: 28px; }
.notice .ico { flex: none; color: var(--amber); }

/* 8. MOCKUPS --------------------------------------------------------------- */
.win { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 12px; color: var(--text); text-align: left; line-height: 1.4; }
.win-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; background: #F7F7F7; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #E5E5E5; }
.dots i:first-child { background: #FF6B5E; } .dots i:nth-child(2) { background: #FDBC2E; } .dots i:nth-child(3) { background: #28C840; }
.win-title { font-weight: 600; color: #4B5563; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-pill { margin-left: auto; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8A8F98; border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; white-space: nowrap; }
.win-body { background: #FAFAFA; }
.m-app { display: flex; min-height: 100%; }
.m-side { width: 132px; flex: none; padding: 12px 8px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.m-side span { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; color: #6B7280; font-size: 11.5px; }
.m-side span .ico { width: 14px; height: 14px; }
.m-side span em { font-style: normal; }
.m-side span.on { background: var(--bg-tint); color: var(--red); font-weight: 600; }
.m-main { flex: 1; min-width: 0; padding: 14px; display: grid; gap: 12px; align-content: start; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; gap: 2px; }
.kpi-l { color: #8A8F98; font-size: 10.5px; }
.kpi strong { font-family: var(--font-head); font-size: 15px; color: var(--charcoal); letter-spacing: -.01em; white-space: nowrap; }
.delta { font-size: 10px; font-weight: 600; }
.delta.up { color: #079455; } .delta.down { color: #D92D20; }
.m-row { display: flex; gap: 12px; }
.m-row > * { min-width: 0; }
.m-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.m-panel.grow { flex: 1; }
.m-ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 600; color: #374151; font-size: 11.5px; }
.m-chip { font-size: 10px; font-weight: 500; color: #8A8F98; background: var(--bg-alt); padding: 2px 6px; border-radius: 4px; }
.chart { width: 100%; height: 90px; overflow: visible; }
.gridline { stroke: #F1F1F2; stroke-width: 1; vector-effect: non-scaling-stroke; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 90px; width: 120px; }
.bars span { flex: 1; height: var(--h); background: var(--c); border-radius: 3px 3px 1px 1px; transform-origin: bottom; animation: grow 1s var(--ease) both; }
@keyframes grow { from { transform: scaleY(.1); } }
.m-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.m-table th { text-align: left; font-weight: 600; color: #8A8F98; font-size: 10.5px; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.m-table td { padding: 7px 6px; border-bottom: 1px solid #F1F1F2; white-space: nowrap; }
.m-table tr:last-child td { border-bottom: 0; }
.m-table td:first-child { color: var(--red); font-weight: 600; }
.m-table .mono { font-family: ui-monospace, Menlo, monospace; color: #6B7280; }
.st { display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.st-green { background: #ECFDF3; color: #067647; } .st-blue { background: #171717; color: #fff; } .st-amber { background: #FFFAEB; color: #B54708; } .st-grey { background: #F3F4F6; color: #4B5563; } .st-indigo { background: #FDECEC; color: #B91C1C; }
.hbars { display: grid; gap: 9px; padding-top: 4px; }
.hbars p { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 8px; margin: 0; color: #6B7280; font-size: 10.5px; }
.hbars i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--red), var(--red-accent)); width: var(--w); }
.hbars i.warn { background: var(--amber); }
.lvl { display: block; width: 80px; height: 6px; border-radius: 3px; background: #F1F1F2; overflow: hidden; }
.lvl i { display: block; height: 100%; width: var(--w); background: var(--green); }
.lvl.low i { background: var(--amber); }
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kcol { background: #F2F4F8; border-radius: 8px; padding: 8px; display: grid; gap: 6px; align-content: start; }
.kh { display: flex; justify-content: space-between; margin: 0 0 2px; font-weight: 600; color: #4B5563; font-size: 11px; }
.kh span { background: #fff; border-radius: 4px; padding: 0 5px; font-size: 10px; }
.kcard { position: relative; background: #fff; border-radius: 6px; padding: 8px 8px 10px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06); }
.kcard b { display: block; font-size: 11px; color: var(--charcoal); }
.kcard small { color: #8A8F98; font-size: 10px; }
.kcard span { position: absolute; left: 8px; right: 8px; bottom: 4px; height: 2px; border-radius: 1px; }
.bar-blue { background: var(--red-accent); } .bar-indigo { background: #171717; } .bar-amber { background: var(--amber); } .bar-green { background: var(--green); }
.flowline { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.fl-label { font-weight: 600; color: #4B5563; margin: 0 0 8px; font-size: 11px; }
.fl { display: flex; align-items: center; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.fl-step { display: inline-flex; align-items: center; gap: 4px; padding: 6px 9px; border-radius: 6px; background: #F3F4F6; color: #6B7280; font-weight: 600; font-size: 10.5px; }
.fl-step .ico { width: 12px; height: 12px; stroke-width: 2.4; }
.fl-step.done { background: #ECFDF3; color: #067647; }
.fl-step.now { background: var(--red); color: #fff; box-shadow: 0 0 0 3px rgba(229, 57, 53, .2); }
.fl-arrow { width: 12px; height: 1.5px; background: #D1D5DB; }
.fl-note { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 6px; background: #FDF2F2; color: #B91C1C; font-size: 10.5px; font-weight: 500; }
.fl-note .ico { width: 14px; height: 14px; }
.bin-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.bin-grid i, .legend i { aspect-ratio: 1; border-radius: 3px; display: block; }
.h1 { background: #FBE3E2; } .h2 { background: #F5A3A0; } .h3 { background: #EB6461; } .h4 { background: var(--red); }
.bin-grid i.pick, .legend i.pick { background: var(--amber); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--amber); animation: blink 1.4s infinite; }
.legend { display: flex; gap: 12px; margin-top: 10px; color: #8A8F98; font-size: 10px; }
.legend span { display: flex; align-items: center; gap: 4px; }
.legend i { width: 10px; }
.picklist { display: grid; gap: 6px; font-size: 11px; min-width: 150px; }
.picklist li { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 6px; background: #F7F7F7; color: #4B5563; }
.picklist li .ico { width: 12px; height: 12px; color: var(--green); stroke-width: 2.6; }
.picklist li.done { color: #9CA3AF; text-decoration: line-through; }
.picklist li.now { background: #FFFAEB; color: #B54708; font-weight: 600; }

/* AI console */
.win-ai { border-color: rgba(229, 57, 53, .25); }
.win-ai .win-bar { background: #FDF7F7; }
.ai-app { display: grid; grid-template-columns: 1fr 190px; background: #FBFAFA; }
.ai-thread { padding: 16px; display: grid; gap: 10px; align-content: start; }
.msg { padding: 10px 12px; border-radius: 10px; font-size: 12px; line-height: 1.5; max-width: 88%; }
.msg .who { display: block; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #9CA3AF; margin-bottom: 3px; }
.msg-in { background: #fff; border: 1px solid var(--line); }
.msg-draft { justify-self: end; background: #FDECEC; border: 1px dashed rgba(229, 57, 53, .5); color: #7F1D1D; }
.msg-draft .who { color: var(--ai); }
.tool-steps { display: grid; gap: 4px; padding: 10px 12px; border-left: 2px solid rgba(229, 57, 53, .35); margin-left: 6px; }
.tool-steps p { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 11px; color: #4B5563; opacity: 0; animation: stepIn .5s var(--ease) forwards; }
.tool-steps p:nth-child(2) { animation-delay: .5s; } .tool-steps p:nth-child(3) { animation-delay: 1s; }
@keyframes stepIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.tool-steps .ico { width: 13px; height: 13px; color: var(--ai); }
.tool-steps .ok { font-size: 9.5px; font-weight: 600; color: #067647; background: #ECFDF3; padding: 1px 5px; border-radius: 4px; }
.approval { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #F7D4D3; box-shadow: 0 4px 14px -8px rgba(229, 57, 53, .5); }
.approval > .ico { color: var(--ai); }
.approval b { display: block; font-size: 11.5px; color: var(--charcoal); }
.approval small { color: #8A8F98; font-size: 10.5px; }
.ap-btns { margin-left: auto; display: flex; gap: 6px; }
.ap-btns button, .df-actions button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 5px 9px; font-size: 10.5px; font-weight: 600; color: #374151; cursor: default; }
.ap-btns .pri, .df-actions button { background: var(--ai); border-color: var(--ai); color: #fff; }
.ai-side { border-left: 1px solid #F5E6E6; padding: 14px; background: #fff; }
.ai-h { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9CA3AF; margin: 0 0 8px; }
.ai-h:not(:first-child) { margin-top: 16px; }
.ai-agent { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: center; padding: 8px; border-radius: 8px; background: #FDF7F7; }
.ai-agent .ai-dot { grid-row: span 2; animation: pulseAi 2s infinite; }
@keyframes pulseAi { 50% { box-shadow: 0 0 0 6px rgba(229, 57, 53, 0); } }
.ai-agent b { font-size: 11.5px; color: var(--charcoal); }
.ai-agent small { font-size: 10px; color: #8A8F98; }
.ai-conn, .ai-guard { display: grid; gap: 5px; font-size: 11px; }
.ai-conn li { display: flex; align-items: center; gap: 7px; color: #374151; }
.ai-conn .ico, .ai-guard .ico { width: 13px; height: 13px; color: var(--ai); }
.ai-conn span { margin-left: auto; font-size: 9.5px; color: #8A8F98; border: 1px solid var(--line); padding: 0 4px; border-radius: 3px; }
.ai-guard li { display: flex; gap: 6px; align-items: center; color: #4B5563; }
.ai-guard .ico { color: #12B76A; stroke-width: 2.4; }
.ai-feature .win { border-color: rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(229, 57, 53, .2), 0 0 80px -20px rgba(229, 57, 53, .35); }

/* Chat widget */
.chat-widget { width: 100%; max-width: 340px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: 12.5px; }
.cw-head { display: flex; gap: 10px; align-items: center; padding: 14px 16px; background: linear-gradient(120deg, var(--ai), #B91C1C); color: #fff; }
.cw-head b { display: block; }
.cw-head small { opacity: .85; font-size: 10.5px; }
.cw-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .18); }
.cw-body { padding: 14px; display: grid; gap: 8px; background: #FBFAFA; }
.cw-msg { margin: 0; padding: 9px 12px; border-radius: 12px; max-width: 85%; line-height: 1.45; }
.cw-msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cw-msg.me { justify-self: end; background: var(--charcoal); color: #fff; border-bottom-right-radius: 4px; }
.cw-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.cw-quick span { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(229, 57, 53, .4); color: var(--ai); font-weight: 600; font-size: 11px; }
.cw-input { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); color: #9CA3AF; }
.cw-input .ico { color: var(--ai); }

/* Doc extraction */
.docx { display: grid; grid-template-columns: 1fr auto 1.2fr; align-items: center; gap: 14px; }
.doc-paper { position: relative; background: #fff; border-radius: 8px; padding: 18px 16px; box-shadow: var(--shadow-md); border: 1px solid var(--line); overflow: hidden; font-size: 10px; }
.dp-h { font-family: var(--font-head); font-weight: 800; letter-spacing: .1em; color: var(--charcoal); margin: 0 0 10px; font-size: 11px; }
.dp-l { height: 6px; border-radius: 3px; background: #F1F1F2; margin: 0 0 7px; }
.w40 { width: 40%; } .w60 { width: 60%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; }
.dp-f { display: flex; justify-content: space-between; margin: 8px 0; padding: 4px 6px; border-radius: 4px; background: rgba(229, 57, 53, .08); outline: 1.5px solid rgba(229, 57, 53, .5); font-weight: 600; color: var(--charcoal); }
.dp-f span { color: #8A8F98; font-weight: 400; }
.scan { position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(180deg, transparent, rgba(229, 57, 53, .18), transparent); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { to { top: 100%; } }
.doc-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ai); color: #fff; box-shadow: 0 6px 16px -6px rgba(229, 57, 53, .8); }
.doc-fields { background: #fff; border-radius: 10px; border: 1px solid var(--line); padding: 14px; box-shadow: var(--shadow-md); font-size: 11.5px; }
.df-h { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--charcoal); margin: 0 0 10px; }
.df-h .ico { width: 15px; height: 15px; color: var(--ai); }
.df { display: grid; grid-template-columns: 80px 1fr auto; gap: 8px; align-items: center; margin: 0; padding: 7px 0; border-bottom: 1px solid #F1F1F2; }
.df span { color: #8A8F98; }
.df b { font-weight: 600; color: var(--text); }
.df em { font-style: normal; font-size: 10px; font-weight: 700; color: #067647; background: #ECFDF3; padding: 1px 5px; border-radius: 4px; }
.df em.mid { color: #B54708; background: #FFFAEB; }
.df-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* Multi-agent */
.ma { position: relative; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 28px; align-items: center; padding: 28px; border-radius: var(--r-xl); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.ma-col { position: relative; z-index: 1; display: grid; gap: 10px; }
.ma-h { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8F8F8F; margin: 0 0 4px; }
.ma-node { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; font-size: .86rem; font-weight: 500; }
.ma-node .ico { width: 16px; height: 16px; }
.ma-node.in { background: rgba(255, 255, 255, .06); color: #D9D9D9; border: 1px solid rgba(255, 255, 255, .1); }
.ma-node.sys { background: rgba(255, 77, 77, .1); color: #FFD6D3; border: 1px solid rgba(255, 77, 77, .3); }
.ma-node.sys .ico { color: var(--red-accent); }
.ma-center { gap: 12px; }
.ma-orch { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 16px; border-radius: 14px; background: linear-gradient(140deg, var(--ai), #B91C1C); color: #fff; box-shadow: 0 16px 40px -14px rgba(229, 57, 53, .8); }
.ma-orch small { opacity: .85; font-size: .78rem; }
.ma-agents { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ma-agent { display: flex; align-items: center; gap: 7px; padding: 9px 10px; border-radius: 10px; background: rgba(229, 57, 53, .12); border: 1px solid rgba(229, 57, 53, .3); color: #FFE0DE; font-size: .8rem; font-weight: 600; }
.ma-agent .ico { width: 15px; height: 15px; color: #FF8A80; }
.ma-gate { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(50, 213, 131, .08); border: 1px dashed rgba(50, 213, 131, .5); color: #D1FADF; }
.ma-gate .ico { grid-row: span 2; color: #32D583; }
.ma-gate b { font-size: .86rem; }
.ma-gate small { font-size: .76rem; color: #A6F4C5; }
.ma-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ma-lines path { fill: none; stroke: rgba(229, 57, 53, .45); stroke-width: .3; stroke-dasharray: 1 1.4; vector-effect: none; animation: dash 30s linear infinite; }

/* Logistics */
.win-dark { background: var(--dark); border-color: rgba(255, 255, 255, .08); }
.win-dark .win-bar { background: #181818; border-bottom-color: rgba(255, 255, 255, .06); }
.win-dark .win-title { color: #A8A8A8; }
.win-dark .win-pill { color: #737373; border-color: rgba(255, 255, 255, .1); }
.win-dark .win-body { background: var(--dark); }
.lg-app { display: grid; grid-template-columns: 1.3fr 1fr; }
.lg-map { position: relative; border-right: 1px solid rgba(255, 255, 255, .06); background: radial-gradient(70% 70% at 45% 50%, rgba(220, 38, 38, .18), transparent 70%); }
.lg-map svg { width: 100%; height: auto; display: block; }
.rt { fill: none; stroke-width: 2; stroke-linecap: round; }
.rt1 { stroke: #FF4D4D; stroke-dasharray: 6 6; animation: dash 18s linear infinite; }
.rt2 { stroke: rgba(255, 255, 255, .55); stroke-dasharray: 6 6; animation: dash 22s linear infinite reverse; }
.rt3 { stroke: rgba(255, 255, 255, .25); stroke-dasharray: 2 4; }
.hub { fill: #FF4D4D; } .hub-ring { fill: none; stroke: rgba(255, 77, 77, .45); stroke-width: 1.5; animation: ring 2.4s infinite; transform-origin: 140px 95px; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.stop { fill: #101010; stroke: #fff; stroke-width: 2; }
.van circle { fill: #fff; stroke: #FF4D4D; stroke-width: 3; }
.van.v1 { offset-path: path("M20 150 C70 140, 90 90, 140 95 S220 60, 290 40"); animation: move 9s linear infinite; }
.van.v2 { offset-path: path("M40 60 C90 70, 120 130, 180 140 S260 160, 300 150"); animation: move 12s linear infinite; }
.van.v2 circle { stroke: var(--red-accent); }
@keyframes move { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.lg-tag { position: absolute; font-size: 10px; font-weight: 600; padding: 3px 7px; border-radius: 5px; background: rgba(255, 255, 255, .92); color: var(--charcoal); }
.lg-tag.t1 { left: 40%; top: 58%; } .lg-tag.t2 { right: 6%; top: 6%; }
.lg-list { padding: 12px; display: grid; gap: 6px; align-content: start; }
.lg-list p { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; margin: 0; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .04); color: #D4D4D4; font-size: 11px; }
.lg-list b { color: #fff; font-weight: 600; }
.lg-list span { color: #8F8F8F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fleet { display: grid; gap: 10px; }
.fleet-row { display: grid; grid-template-columns: auto 52px 1fr 80px; gap: 12px; align-items: center; font-size: .88rem; }
.fleet-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: color-mix(in srgb, var(--acc) 12%, #fff); color: var(--acc); }
.fleet-ico .ico { width: 18px; height: 18px; }
.fleet-bar { height: 8px; border-radius: 4px; background: var(--bg-alt); overflow: hidden; }
.fleet-bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; }
.c-blue { background: var(--acc); } .c-amber { background: var(--amber); } .c-green { background: var(--green); }
.fleet-row small { color: var(--muted); text-align: right; }
.oflow { display: flex; align-items: center; gap: 0; }
.of-step { display: grid; justify-items: center; gap: 8px; text-align: center; flex: none; width: 104px; }
.of-step span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.of-step b { font-size: .8rem; font-weight: 600; color: var(--muted); }
.of-step.done span { background: color-mix(in srgb, var(--acc) 12%, #fff); color: var(--acc); border-color: transparent; }
.of-step.done b { color: var(--charcoal); }
.of-step.now span { background: var(--acc); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--acc) 18%, transparent); }
.of-step.now b { color: var(--charcoal); }
.of-line { flex: 1; height: 2px; min-width: 12px; background: var(--line); margin-bottom: 26px; }

/* Infra */
.infra { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.rack { background: linear-gradient(180deg, #181818, #101010); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .06); }
.rack-h { margin: 0 0 10px; color: #8F8F8F; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ru { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 6px; border-radius: 6px; background: linear-gradient(180deg, #262626, #1F1F1F); border: 1px solid rgba(255, 255, 255, .06); color: #D9D9D9; font-size: 11.5px; }
.ru b { font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leds { display: flex; gap: 4px; }
.leds i { width: 6px; height: 6px; border-radius: 50%; background: #32D583; box-shadow: 0 0 6px #32D583; }
.leds i:nth-child(2) { background: var(--red-accent); box-shadow: 0 0 6px var(--red-accent); animation: blink 1.2s infinite; }
.leds i:nth-child(3) { background: #32D583; animation: blink 2.1s infinite .4s; }
.ports { display: flex; gap: 3px; }
.ports i { width: 7px; height: 6px; border-radius: 1px; background: #101010; border: 1px solid rgba(255, 255, 255, .15); }
.ru-nas { background: linear-gradient(180deg, #4A1414, #3A1010); border-color: rgba(255, 77, 77, .35); }
.infra-status { background: #fff; border-radius: 14px; padding: 16px; box-shadow: var(--shadow-md); border: 1px solid var(--line); font-size: 12px; }
.is-h { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--charcoal); margin: 0 0 10px; font-family: var(--font-head); }
.is-h .ico { color: var(--acc, var(--red)); }
.infra-status > p:not(.is-h) { display: flex; justify-content: space-between; gap: 8px; margin: 0; padding: 8px 0; border-bottom: 1px solid #F1F1F2; color: #4B5563; }
.is-cap { margin-top: 12px; display: grid; gap: 6px; color: #4B5563; }
.cap { height: 8px; border-radius: 4px; background: var(--bg-alt); overflow: hidden; }
.cap i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--acc, var(--red)), var(--red-accent)); }
.is-cap small { color: #9CA3AF; font-size: 10.5px; }
.arch { display: grid; gap: 0; justify-items: stretch; }
.arch-tier { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.arch-tier > p { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--charcoal); font-size: .92rem; }
.arch-tier > div { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-tier span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 9px; background: var(--bg-alt); font-size: .86rem; font-weight: 500; }
.arch-tier span .ico { width: 16px; height: 16px; color: var(--acc, var(--red)); }
.arch-core { border-color: color-mix(in srgb, var(--acc, var(--red)) 40%, var(--line)); background: linear-gradient(120deg, color-mix(in srgb, var(--acc, var(--red)) 7%, #fff), #fff); box-shadow: var(--shadow-sm); }
.arch-core span { background: #fff; border: 1px solid var(--line); }
.arch-down { display: block; width: 2px; height: 22px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--acc, var(--red)) 0 4px, transparent 4px 8px); }

/* Helpdesk */
.hd { padding: 14px; display: grid; gap: 12px; }
.cat { font-size: 10px; font-weight: 600; color: #4B5563; background: #F3F4F6; padding: 2px 6px; border-radius: 4px; }

/* 9. PAGE-SPECIFIC --------------------------------------------------------- */
.svc-erp .page-hero-visual .win, .svc-logistics .page-hero-visual .win { transform: perspective(1600px) rotateY(-6deg); }
.support-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode { padding: 30px; border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.mode-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--acc) 12%, #fff); color: var(--acc); margin-bottom: 8px; }
.mode-ico .ico { width: 26px; height: 26px; }
.mode h3 { font-size: 1.2rem; margin: 0; }
.mode p { color: var(--muted); margin: 0; }
.mode--feature { background: var(--charcoal); color: #D4D4D4; border-color: var(--charcoal); }
.mode--feature h3 { color: #fff; }
.mode--feature p { color: #A8A8A8; }
.mode--feature .mode-ico { background: rgba(255, 77, 77, .14); color: var(--red-accent); }
.mode .checklist { margin-top: 10px; }
.mode--feature .checklist li { color: #D9D9D9; }
.mode--feature .checklist .ico { background: rgba(255, 77, 77, .14); color: var(--red-accent); }
.ai-page .section--ai { background: #0D0D0D; color: #BDBDBD; }
.ai-page .section--ai .section-head h2 { color: #fff; }
.ai-page .section--ai .lead { color: #A6A6A6; }
.ai-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-svc { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.ai-svc:hover { border-color: rgba(229, 57, 53, .4); box-shadow: 0 16px 40px -20px rgba(229, 57, 53, .45); transform: translateY(-3px); }
.ai-svc .letter { position: absolute; right: 18px; top: 14px; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: #FDECEC; line-height: 1; }
.ai-svc .feature-ico { background: #FDECEC; color: var(--ai); }
.ai-svc h3 { font-size: 1.08rem; }
.ai-svc--wide { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: linear-gradient(120deg, #FDF7F7, #fff); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.principle { padding: 24px; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.principle .ico { color: #32D583; width: 26px; height: 26px; margin-bottom: 14px; }
.principle h3 { color: #fff; font-size: 1.04rem; }
.principle p { color: #A1A1AA; font-size: .9rem; margin: 0; }
.demo-pair { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.contact-card h2 { font-size: 1.1rem; margin-bottom: 14px; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; }
.contact-list .ico { color: var(--red); margin-top: 2px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.type-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.type-pills button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; color: var(--charcoal); cursor: pointer; transition: all .2s; }
.type-pills button .ico { width: 16px; height: 16px; color: var(--acc, var(--red)); }
.type-pills button[aria-pressed="true"] { border-color: var(--red); background: var(--bg-tint); color: var(--red); box-shadow: 0 0 0 3px rgba(229, 57, 53, .12); }

/* Services overview */
.svc-rows { display: grid; gap: 20px; }
.svc-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 30px; border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; position: relative; transition: border-color .3s, box-shadow .3s; }
.svc-row:hover { border-color: color-mix(in srgb, var(--acc) 40%, var(--line)); box-shadow: var(--shadow-md); }
.svc-row .num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: color-mix(in srgb, var(--acc) 30%, #fff); letter-spacing: -.04em; }
.svc-row h2 { font-size: 1.4rem; margin-bottom: 6px; }
.svc-row h2 a { color: var(--charcoal); }
.svc-row p { color: var(--muted); margin: 0; }
.svc-row .svc-caps { margin: 0; grid-template-columns: 1fr 1fr; }
.svc-row .link-arrow { color: var(--acc); }

/* 10. FORMS ---------------------------------------------------------------- */
.enquiry { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-md); }
.form-h { font-size: 1.35rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; align-content: start; }
.field label, .field .label { font-weight: 600; font-size: .9rem; color: var(--charcoal); margin: 0; }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--muted); font-size: .82rem; }
.field input:not([type="checkbox"]), .field textarea, .select select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: .96rem; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field textarea:hover, .select select:hover { border-color: #A1A1AA; }
.field input:focus, .field textarea:focus, .select select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 57, 53, .14); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(240, 68, 56, .1); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select .ico-sm { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.hint { margin: 0; font-size: .8rem; color: var(--muted); }
.err { margin: 0; font-size: .82rem; color: #D92D20; font-weight: 500; min-height: 0; }
.err:empty { display: none; }
.conditional { display: none; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-alt); }
.conditional.show { display: grid; animation: fadeUp .35s var(--ease); }
.conditional legend { float: left; width: 100%; padding: 0; margin-bottom: 2px; font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: .9rem; grid-column: 1 / -1; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .9rem; }
.checks .check { padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; align-items: center; transition: border-color .2s, background .2s; }
.checks .check:has(input:checked) { border-color: var(--red); background: var(--bg-tint); color: var(--red); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.checks .check input { margin: 0; }
.check--consent { color: var(--muted); font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.form-note { margin: 0; font-size: .84rem; color: var(--muted); }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-md); font-size: .94rem; display: flex; gap: 12px; align-items: flex-start; }
.form-status .ico { flex: none; margin-top: 1px; }
.form-status.ok { background: #ECFDF3; border: 1px solid #ABEFC6; color: #085D3A; }
.form-status.warn { background: #FFF8EC; border: 1px solid #FBD9A5; color: #7A4A06; }
.form-status.error { background: #FEF3F2; border: 1px solid #FECDCA; color: #912018; }
.form-status strong { display: block; margin-bottom: 2px; }
.form-status p { margin: 0; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 11. FOOTER --------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: var(--dark); color: #8F8F8F; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .92rem; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad-red); }
.footer-watermark { position: absolute; z-index: -1; left: 50%; bottom: -.18em; transform: translateX(-50%); font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 17vw, 15rem); letter-spacing: .06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); white-space: nowrap; pointer-events: none; user-select: none; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-tagline { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin: 20px 0 8px; }
.footer-tagline em { font-style: normal; color: var(--red-accent); }
.footer-desc { line-height: 1.6; max-width: 360px; margin-bottom: 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-h { display: flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-h::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--red); }
.footer-cols ul { display: grid; gap: 10px; }
.footer-cols a { position: relative; color: #9CA3AF; transition: color .2s, padding .25s var(--ease); }
.footer-cols a:hover { color: #fff; padding-left: 6px; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--red-accent); }
.footer-contact .ph { border-color: rgba(247, 144, 9, .4); background: rgba(247, 144, 9, .06); font-size: .84rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom a { color: #9CA3AF; }
.footer-bottom a:hover { color: var(--red-accent); }
.footer-bottom .ph { border-color: rgba(247, 144, 9, .4); background: rgba(247, 144, 9, .06); }
.footer-note { margin: 18px 0 0; font-size: .76rem; color: #6B6B6B; line-height: 1.55; }

/* 12. MOTION --------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.2s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tool-steps p { opacity: 1; }
  .draw { stroke-dashoffset: 0; }
}

/* 13. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav-link { padding: 10px 9px; font-size: .88rem; }
  .nav-link[aria-current="page"]::after, .nav-link[data-active="true"]::after { left: 9px; right: 9px; }
  .header-cta { display: none; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .res-cats { grid-template-columns: repeat(2, 1fr); }
  .svc-row { grid-template-columns: 60px 1fr auto; }
  .svc-row .svc-caps { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: grid; }
  .hero-grid, .page-hero-grid, .erp-grid, .intro-grid, .why-grid, .split, .contact-grid, .faq-layout, .ai-grid, .article-layout { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .why-head, .contact-aside, .article-aside { position: static; }
  .hero-visual { max-width: 680px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card, .svc-card:nth-child(4), .svc-card:nth-child(5), .svc-card--cta { grid-column: span 1; }
  .process { grid-template-columns: 1fr; gap: 20px; }
  .process::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--red), var(--ai)); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; text-align: left; padding: 0; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 6px; }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid.cols-3, .feature-grid.cols-4, .cap-groups, .ai-svc-grid, .support-modes { grid-template-columns: repeat(2, 1fr); }
  .ai-svc--wide { grid-column: span 2; grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .screens { grid-template-columns: 1fr; }
  .screens .tab-list { flex-direction: row; overflow-x: auto; }
  .screens [role="tab"] small { display: none; }
  .screens [role="tab"] { white-space: nowrap; }
  .ind-row { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .ma { grid-template-columns: 1fr; }
  .ma-lines { display: none; }
  .demo-pair { grid-template-columns: 1fr; justify-items: center; }
  .footer-top { grid-template-columns: 1fr; }
  .page-home .site-header { margin-bottom: calc(var(--header-h) * -1); }
}
@media (max-width: 680px) {
  .header-cta { display: none; }
  .hero-comp { padding: 16px 0 40px; }
  .hc-main { transform: none !important; }
  .hc-ai { right: -4px; top: -18px; width: 200px; }
  .hc-lg { display: none; }
  .hc-inf { right: 6px; bottom: -4px; width: 180px; }
  .m-side { display: none; }
  .ai-app { grid-template-columns: 1fr; }
  .ai-side { display: none; }
  .svc-grid, .ind-grid, .eco-grid, .feature-grid.cols-2, .feature-grid.cols-3, .feature-grid.cols-4, .article-grid, .related-grid, .cap-groups, .ai-svc-grid, .support-modes, .values, .principles, .res-cats, .ind-row-body, .form-grid, .conditional, .checklist.cols-2, .checklist.cols-3, .module-orbit, .kanban { grid-template-columns: 1fr; }
  .module-orbit { grid-template-columns: 1fr 1fr; }
  .kanban { grid-template-columns: 1fr 1fr; }
  .ai-svc--wide { grid-column: auto; }
  .lg-app { grid-template-columns: 1fr; }
  .lg-map { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .infra { grid-template-columns: 1fr; }
  .docx { grid-template-columns: 1fr; }
  .doc-arrow { transform: rotate(90deg); justify-self: center; }
  .arch-tier { grid-template-columns: 1fr; gap: 10px; }
  .oflow { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .of-line { display: none; }
  .m-row { flex-direction: column; }
  .bars { width: 100%; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .svc-row { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .svc-row .num { font-size: 1.8rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-band--hero .cta-inner { align-items: center; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; }
  .fleet-row { grid-template-columns: auto 48px 1fr; }
  .fleet-row small { display: none; }
  .ai-foot { flex-direction: column; align-items: flex-start; }
  .tabs .tab-list { display: flex; overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
  .tabs [role="tab"] { white-space: nowrap; }
  .m-table td:nth-child(2) { white-space: normal; }
}
@media print { .site-header, .mobile-nav, .cta-band, .site-footer { display: none; } }

/* Mini process (contact sidebar) */
.process--mini { grid-template-columns: 1fr; gap: 16px; }
.process--mini::before { left: 19px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
.process--mini .step { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; text-align: left; padding: 0; }
.process--mini .step-num { width: 40px; height: 40px; grid-row: span 2; margin: 0; font-size: .8rem; box-shadow: 0 0 0 4px #fff; }
.process--mini h3 { font-size: .98rem; margin: 4px 0 2px; }
.process--mini p { margin: 0; font-size: .86rem; }
.article-hero .eyebrow .ico { width: 16px; height: 16px; }

/* Hero composition fine-tuning */
.hero-comp .m-side { width: 112px; }
.hero-comp .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-comp .kpi { padding: 8px 9px; }
.hero-comp .kpi strong { font-size: 13px; }
.hero-comp .m-table td:nth-child(3) { display: none; }
.ai-visual .win { height: 100%; }
@media (max-width: 680px) { .hero-comp .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Fixes after visual QA */
.kpis { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; }
.kpi strong { font-size: clamp(12px, 1.05vw, 15px); }
.split .win .m-side { display: none; }
.ma { grid-template-columns: 1fr auto 1.25fr auto 1fr; gap: 20px; }
.ma-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(229, 57, 53, .15); color: #FF8A80; border: 1px solid rgba(229, 57, 53, .35); }
.ma-arrow .ico { width: 16px; height: 16px; }
@media (max-width: 1024px) { .ma { grid-template-columns: 1fr; } .ma-arrow { justify-self: center; transform: rotate(90deg); } }
@media (max-width: 680px) { .kpis { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.erp-grid > *, .screens > *, .split > *, .contact-grid > *, .page-hero-grid > *, .hero-grid > *, .ai-grid > *, .why-grid > *, .faq-layout > * { min-width: 0; }
.tabs .tab-list { max-width: 100%; }

/* Red edition — responsive refinements */
@media (max-width: 1024px) {
  .hero-orbit { display: none; }
}
@media (max-width: 680px) {
  .svc-num { font-size: 1.7rem; }
  .ticker li { font-size: .86rem; padding: 14px 0 14px 18px; gap: 18px; }
  .footer-watermark { font-size: 5.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; }
  .hero-orbit span { animation: none !important; }
}

@media (max-width: 680px) { .logo-mark { height: 34px; } .logo-word { height: 13px; } }
