/* ==========================================================================
   PalmSuite ERP — main stylesheet
   1. Tokens  2. Base  3. Layout & type  4. Components  5. Sections  6. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #14213d;
  --ink-2: #44506a;
  --muted: #6b778d;
  --line: #e2e7f0;
  --line-strong: #cdd5e2;
  --bg: #ffffff;
  --tint: #f3f5f9;

  /* Navy (structure) + orange (action), matching the PalmSuite application UI */
  --navy-950: #0e1b36;
  --navy-900: #152a52;
  --navy-850: #1a3262;
  --navy-800: #213b70;
  --blue-700: #1e3d7b;
  --blue-600: #2a4f93;
  --blue-500: #3a64b5;
  --blue-100: #e2e9f6;
  --blue-50: #eff3fa;
  --accent: #c4540a; /* 4.55:1 with white text; bright orange stays on the logo and maps */
  --accent-hover: #ab4808;
  --accent-ink: #ffffff;
  --accent-on-dark: #ff9a52;
  --map-highlight: #f47a1f;
  --accent-soft: #fff1e6;
  --good: #1f9d63;
  --warn: #c2700f;
  --bad: #c0392b;

  --on-dark: #eef2f9;
  --on-dark-2: #aab5cb;
  --line-dark: rgba(255, 255, 255, .1);

  --grid: #e8ecf3;
  --logo-tile: #f47a1f;

  --heading: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(19, 33, 61, .06), 0 2px 8px rgba(19, 33, 61, .04);
  --shadow: 0 2px 6px rgba(19, 33, 61, .05), 0 16px 40px -12px rgba(19, 33, 61, .18);
  --shadow-lg: 0 30px 80px -20px rgba(6, 15, 36, .55);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 100px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; letter-spacing: -.01em; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); transition: top .2s; }
.skip:focus { top: 12px; }

/* 3. Layout & type --------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--dark .lead { color: var(--on-dark-2); }

h1, h2, h3, h4 { font-family: var(--heading); }
.section-head { margin-bottom: clamp(36px, 4vw, 52px); }
@media (min-width: 900px) {
  .section-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: clamp(48px, 7vw, 90px); align-items: end; }
  .section-head .eyebrow { grid-column: 1; }
  .section-head .h2 { grid-column: 1; }
  .section-head .lead { grid-column: 2; grid-row: 2; margin-top: 0; }
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); }
.eyebrow--light { color: #ffb27a; }
.eyebrow__dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent-on-dark); box-shadow: 0 0 0 4px rgba(244, 122, 31, .18); }

.h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.3; letter-spacing: -.02em; font-weight: 600; }
.lead { margin-top: 16px; font-size: 16px; color: var(--ink-2); line-height: 1.75; text-wrap: pretty; }

.split { display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: 1fr; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split__head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.split__head .btn { margin-top: 28px; }

/* 4. Components ------------------------------------------------------------ */
/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 7px; font-size: 15px; font-weight: 650; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--ease), border-color .2s; border: 1px solid transparent; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 8px 24px -8px rgba(244, 122, 31, .6); }
.btn--primary { background: var(--blue-700); color: #fff; }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost-light { color: var(--on-dark); border-color: rgba(255, 255, 255, .25); }
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .05); }

.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--blue-100); color: var(--blue-700); white-space: nowrap; }
.chip--sample { background: rgba(183, 121, 31, .12); color: #8a5a12; font-weight: 600; }

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list .icon { width: 18px; height: 18px; margin-top: 3px; padding: 2px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); stroke-width: 2.6; }
.check-list--light li { color: var(--on-dark); }
.check-list--light .icon { background: rgba(244, 122, 31, .16); color: var(--accent-on-dark); }

/* Header */
/* Transparent over the hero; solid white once the page scrolls (.is-scrolled set in main.js) */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--on-dark); transition: background .3s, box-shadow .3s, color .3s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-header__brand { flex: none; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 40px; height: 40px; }
.logo__word { font-family: var(--heading); font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1; display: inline-flex; align-items: baseline; }
.logo__word span { color: inherit; }
.logo__word { color: inherit; }
.logo__word small { margin-left: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; padding: 3px 6px 2px; border-radius: 5px; border: 1px solid currentColor; opacity: .7; transform: translateY(-3px); }

.site-nav ul { display: flex; gap: 2px; }
.site-nav ul a { display: block; padding: 8px 12px; font-size: 14px; font-weight: 500; border-radius: 7px; opacity: .85; transition: opacity .2s, background .2s; }
.site-nav ul a:hover, .site-nav ul a.is-current { opacity: 1; background: rgba(130, 150, 190, .14); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }

@media (min-width: 1081px) { .site-nav { margin-left: auto; } .site-header__actions { margin-left: 8px; } }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto; height: calc(100dvh - var(--header-h)); padding: 24px var(--gutter) 32px; background: var(--navy-950); color: var(--on-dark); display: flex; flex-direction: column; gap: 24px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 16px 4px; font-size: 20px; font-weight: 650; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: var(--navy-950); color: var(--on-dark); box-shadow: none; }
  .nav-open .site-header .logo__word span { color: inherit; }
  .nav-open .nav-toggle__open { display: none; }
  .nav-open .nav-toggle__close { display: block; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 520px) { .site-header__actions .btn { display: none; } }

/* App window dots (dashboard frame) */
.app-window__dots { display: inline-flex; gap: 6px; }
.app-window__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d7dfda; }
.app-window__dots i:first-child { background: #e8a598; }
.app-window__dots i:nth-child(2) { background: #ecd28e; }
.app-window__dots i:nth-child(3) { background: #a7d6a9; }

/* 5. Sections -------------------------------------------------------------- */

/* Hero: copy on the left, illustrative dashboard panel on the right */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 5vw, 72px)); padding-bottom: clamp(56px, 7vw, 92px); background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(55% 60% at 88% 25%, rgba(244, 122, 31, .22), transparent 70%),
  radial-gradient(50% 60% at 0% 100%, rgba(59, 102, 184, .3), transparent 70%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v32' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1'/%3E%3C/svg%3E"),
  linear-gradient(135deg, var(--navy-850), var(--navy-950) 70%); }
.hero__grid { display: grid; gap: clamp(40px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1120px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
.hero__title { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--accent-on-dark); }
.hero__lead { margin-top: 22px; max-width: 560px; font-size: 16.5px; line-height: 1.8; color: #d9e0ec; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 14px; font-weight: 500; }
.hero__points li { display: inline-flex; align-items: center; gap: 7px; }
.hero__points .icon { width: 16px; height: 16px; color: var(--accent-on-dark); stroke-width: 2.4; }
.hero__note { margin-top: 12px; font-size: 13.5px; color: #c3cde0; }
.hero__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, .45); font-size: 14.5px; font-weight: 500; transition: border-color .2s, color .2s; }
.hero__more:hover { color: var(--accent-on-dark); border-color: var(--accent-on-dark); }
.hero__more .icon { width: 16px; height: 16px; transform: rotate(90deg); }

.hero__visual { position: relative; padding-bottom: 64px; min-width: 0; }
@media (min-width: 720px) and (max-width: 1119px) { .hero__visual { max-width: 720px; } }
@media (min-width: 1120px) { .hero__visual { padding-left: 24px; } }
.app-window { background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; }
.app-window__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f8fafd; }
.app-window__title { font-size: 12.5px; font-weight: 600; color: var(--muted); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-window__bar .chip { height: 24px; font-size: 11px; margin-left: auto; }
.app-window__body { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.app-side { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; background: var(--navy-900); }
.app-side__item { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: rgba(238, 242, 249, .55); }
.app-side__item .icon { width: 17px; height: 17px; }
.app-side__item.is-active { background: rgba(244, 122, 31, .16); color: var(--accent-on-dark); }
.app-main { padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; container-type: inline-size; min-width: 0; }
.app-main__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.app-main__head strong { display: block; font-family: var(--heading); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.app-main__head span { font-size: 12px; color: var(--muted); }
.app-main__head .app-pill { flex: none; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: var(--tint); color: var(--ink-2); }
.mini-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@container (max-width: 480px) { .mini-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 300px) { .mini-kpis { gap: 6px; } .mini-kpi { padding: 9px; } .mini-kpi b { font-size: 14px; } .mini-flow { gap: 3px; font-size: 11px; } .mini-flow span { padding: 5px 6px; } .mini-flow .icon { display: none; } }
.mini-kpi { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 2px; min-width: 0; }
.mini-kpi span { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-kpi b { font-size: 16px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.mini-kpi em { font-style: normal; font-size: 11px; font-weight: 650; color: var(--good); }
.mini-chart { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px 8px; }
.mini-chart__head { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.mini-chart__head .mono { color: var(--ink); font-weight: 600; }
.mini-chart svg { width: 100%; height: 92px; }
.mini-flow { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 650; color: var(--ink-2); }
.mini-flow span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; background: var(--blue-50); border-radius: 7px; white-space: nowrap; }
.mini-flow .icon { width: 14px; height: 14px; color: var(--blue-600); }
.mini-flow i { flex: 1; min-width: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-500) 0 4px, transparent 4px 8px); background-size: 16px 2px; animation: flowdash 1.2s linear infinite; }
@keyframes flowdash { to { background-position: 16px 0; } }

.float-card { display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 300px; }
.float-card b { display: block; font-family: var(--heading); font-size: 13.5px; font-weight: 600; }
.float-card span:not(.float-card__icon) { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
.float-card__icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.float-card__icon .icon { stroke-width: 2.6; width: 18px; height: 18px; }
.float-card--journal { position: absolute; left: -8px; bottom: 0; animation: floaty 6s ease-in-out infinite; }
@media (min-width: 1120px) { .float-card--journal { left: -28px; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 640px) {
  .hero__visual { padding-bottom: 0; }
  .app-window__title { display: none; }
  .app-window__body { grid-template-columns: 44px minmax(0, 1fr); }
  .app-side__item { width: 30px; height: 30px; }
  .app-main { padding: 14px; }
  .float-card--journal { position: relative; left: auto; bottom: auto; margin: 12px 0 0; max-width: none; animation: none; }
}

/* Strip directly under the hero */
.hero-strip { background: var(--tint); border-bottom: 1px solid var(--line); }
.hero-strip__grid { display: grid; grid-template-columns: 1fr; padding-block: 12px; }
.hero-strip__item { display: flex; align-items: center; gap: 14px; padding: 14px 4px; }
.hero-strip__item .icon { width: 26px; height: 26px; color: var(--accent); }
.hero-strip__item strong { display: block; font-family: var(--heading); font-size: 14.5px; font-weight: 600; }
.hero-strip__item span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
@media (min-width: 900px) {
  .hero-strip__grid { grid-template-columns: repeat(3, 1fr); padding-block: 22px; }
  .hero-strip__item { justify-content: center; padding: 4px 20px; border-right: 1px solid var(--line-strong); }
  .hero-strip__item:last-child { border-right: 0; }
}

/* Challenges: numbered cards */
.issue-list { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .issue-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .issue-list { grid-template-columns: repeat(3, 1fr); } }
.issue { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s var(--ease), border-color .25s; }
.issue:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.issue__num { font-size: 12px; color: var(--muted); }
.issue__icon { width: 46px; height: 46px; margin: 22px 0 18px; border-radius: var(--radius); display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); }
.issue h3 { font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; margin-bottom: 8px; }
.issue p { color: var(--ink-2); font-size: 15px; line-height: 1.7; }

/* Solution: three connected roles */
.pillars { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: 28px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); }
.pillar__step { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 26px; }
.pillar h3 { font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; margin-bottom: 10px; }
.pillar p { color: var(--ink-2); font-size: 15px; line-height: 1.7; }

/* Module map: layers of module tiles, filterable by operating unit */
.modmap__bar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 12px 14px 12px 20px; margin-bottom: 28px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modmap__bar-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.modmap__filters { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.modmap__filter { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 14px; font-weight: 650; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.modmap__filter:hover { border-color: var(--blue-500); color: var(--ink); }
.modmap__filter.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.modmap__count { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.modmap__layers { position: relative; display: grid; gap: 14px; }
.modmap__layers::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: -30px; width: 2px; background: linear-gradient(var(--line-strong), var(--blue-500)); }
.modmap__layer { position: relative; display: grid; gap: 16px 28px; grid-template-columns: 1fr; padding: 4px 0; }
@media (min-width: 960px) { .modmap__layer { grid-template-columns: 250px minmax(0, 1fr); } }
.modmap__label { position: relative; padding-left: 60px; min-height: 44px; }
@media (min-width: 960px) { .modmap__label { padding-top: 6px; } }
.modmap__num { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-size: 13px; box-shadow: 0 0 0 5px #fff; }
.modmap__label h3 { font-size: 18px; letter-spacing: -.015em; line-height: 1.3; }
.modmap__label p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.modmap__layer.is-empty .modmap__num { background: var(--line-strong); }
.modmap__layer.is-empty .modmap__label { opacity: .55; }

.modmap__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 959px) { .modmap__grid { padding-left: 60px; } }
@media (max-width: 560px) { .modmap__grid { padding-left: 0; grid-template-columns: 1fr 1fr; gap: 10px; } }
.mod { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); transition: opacity .25s, transform .25s var(--ease), border-color .25s, box-shadow .25s, filter .25s; }
.mod:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.mod__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--blue-700); margin-bottom: 6px; }
.mod__icon .icon { width: 19px; height: 19px; }
.mod h4 { font-size: 15.5px; letter-spacing: -.01em; line-height: 1.3; }
.mod > p:not(.mod__units) { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.mod__units { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.mod__unit { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--muted); }
.mod__unit--all { background: var(--accent-soft); color: #b45309; }
@media (max-width: 560px) { .mod { padding: 14px; } .mod > p:not(.mod__units) { font-size: 12.5px; } }

/* filter states */
.modmap.is-filtered .mod.is-match { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244, 122, 31, .12); }
.modmap.is-filtered .mod.is-match .mod__icon { background: var(--accent); color: #fff; }
.modmap .mod.is-off { opacity: .32; filter: grayscale(1); transform: scale(.985); }

.modmap__base { position: relative; margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px 22px; border-radius: 16px; background: var(--navy-900); color: var(--on-dark); }
.modmap__base-gl { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.modmap__base-gl .icon { width: 22px; height: 22px; padding: 4px; box-sizing: content-box; border-radius: 9px; background: var(--accent); color: #fff; }
.modmap__base ul { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--on-dark-2); }
.modmap__base li { display: inline-flex; align-items: center; gap: 7px; }
.modmap__base li .icon { width: 15px; height: 15px; color: var(--accent-on-dark); stroke-width: 2.6; }
.modmap__note { margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .modmap__bar { position: static; padding: 14px; } .modmap__bar-label, .modmap__count { width: 100%; } }
@media (max-width: 560px) { .modmap__layers::before { display: none; } }

/* Workflow: sticky heading + vertical timeline */
.flow { position: relative; display: grid; }
.flow::before { content: ""; position: absolute; left: 22px; top: 22px; bottom: 44px; width: 1px; background: var(--line-strong); }
.flow__step { position: relative; padding: 0 0 34px 68px; }
.flow__node { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-700); }
.flow__node .icon { width: 20px; height: 20px; }
.flow__unit { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 4px; }
.flow__step h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.flow__text { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.flow__out { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--blue-700); }
.flow__out .icon { width: 14px; height: 14px; color: var(--accent); }
.flow-support { margin-top: 6px; padding: 20px 22px; border-radius: var(--radius); background: var(--tint); display: grid; gap: 12px; }
.flow-support__title { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.flow-support ul { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-support li { padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: 13.5px; font-weight: 500; }
.flow-support__ledger { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 7px; background: var(--navy-900); color: #fff; font-weight: 600; font-size: 14px; }
.flow-support__ledger .icon { color: var(--accent-on-dark); width: 18px; height: 18px; }

/* Dashboards */
.dashboards__intro { margin-bottom: 24px; }
.dashboards__intro .section-head { margin-bottom: clamp(28px, 3vw, 40px); }
.kpi-defs { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi-defs div { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.kpi-defs dt { font-family: var(--heading); font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.kpi-defs dd { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 980px) { .kpi-defs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .kpi-defs { grid-template-columns: 1fr; } }

.dash { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.dash__bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f8fafd; }
.dash__tabs { display: flex; gap: 4px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.dash__tabs::-webkit-scrollbar { display: none; }
.dash__tab { padding: 8px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 650; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s; }
.dash__tab:hover { color: var(--ink); }
.dash__tab[aria-selected="true"] { background: var(--navy-900); color: #fff; }
.dash__view { padding: clamp(16px, 2.6vw, 28px); min-height: 520px; }
.dash__view.is-swapping { animation: fadeUp .35s var(--ease); }
.dash__noscript { color: var(--muted); }
.dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.dash__head h3 { font-size: 20px; letter-spacing: -.015em; }
.dash__head p { font-size: 13px; color: var(--muted); }
.dash__filters { display: flex; gap: 6px; }
.dash__filters span { font-size: 12px; font-weight: 600; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); }
.dash__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { padding: 16px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.kpi__label { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi__value { font-size: clamp(19px, 2vw, 25px); font-weight: 750; letter-spacing: -.025em; line-height: 1.15; white-space: nowrap; }
.kpi__delta { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; font-weight: 650; color: var(--ink-2); }
.kpi__delta i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.kpi__delta.is-watch i { background: var(--warn); border-radius: 2px; transform: rotate(45deg); }
.dash__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.panel__head h4 { font-size: 14px; letter-spacing: -.005em; }
.panel__head span { font-size: 12px; color: var(--muted); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--blue-600); }
.legend i.is-target { height: 0; border-top: 2px dashed var(--ink-2); background: none; border-radius: 0; width: 14px; }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--font); font-size: 11px; fill: var(--muted); }
.chart .bar { fill: var(--blue-600); transition: opacity .15s; }
.chart .bar.is-dim { opacity: .45; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .target { stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 5 4; fill: none; }
.chart .line { stroke: var(--blue-600); stroke-width: 2; fill: none; stroke-linejoin: round; }
.chart .area { fill: url(#dash-area); }
.chart .dot { fill: #fff; stroke: var(--blue-600); stroke-width: 2; }
.chart .guide { stroke: var(--line-strong); stroke-width: 1; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; }
.tooltip { position: absolute; z-index: 2; pointer-events: none; background: var(--navy-950); color: #fff; padding: 8px 10px; border-radius: 8px; font-size: 12px; line-height: 1.4; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); opacity: 0; transition: opacity .12s; box-shadow: var(--shadow); }
.tooltip.is-on { opacity: 1; }
.tooltip b { font-weight: 700; }
.tooltip span { color: var(--on-dark-2); }
.breakdown { display: grid; gap: 12px; }
.breakdown li { display: grid; gap: 6px; }
.breakdown__row { display: flex; justify-content: space-between; font-size: 13px; }
.breakdown__row b { font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.breakdown__track { height: 8px; background: var(--tint); border-radius: 4px; overflow: hidden; }
.breakdown__fill { height: 100%; background: var(--blue-600); border-radius: 4px; transform-origin: left; animation: grow .7s var(--ease) both; }
.dash__table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 16px; }
.dash__table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dash__table td { padding: 11px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash__table td:not(:first-child), .dash__table th:not(:first-child) { text-align: right; }
.dash__table tr:last-child td { border-bottom: 0; }
.dash__table td:first-child { font-weight: 650; }
.table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; margin-top: 16px; }
.table-wrap .dash__table { margin: 0; }
@media (max-width: 860px) {
  .dash__grid { grid-template-columns: 1fr; }
  .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__filters { display: none; }
}
@keyframes grow { from { transform: scaleX(0); } }

/* Advantages */
.adv-grid { display: grid; gap: 0 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .adv-grid { grid-template-columns: repeat(3, 1fr); } }
.adv { padding: 26px 0 34px; border-top: 1px solid var(--line-strong); }
.adv__num { display: block; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.adv h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.adv p { font-size: 15px; color: var(--ink-2); line-height: 1.7; }

.compare { margin-top: clamp(56px, 7vw, 88px); }
.compare__title { margin-bottom: 22px; }
.compare__scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare__table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.compare__table th, .compare__table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare__table thead th { font-size: 13px; font-weight: 700; color: var(--muted); background: var(--tint); text-transform: uppercase; letter-spacing: .05em; }
.compare__table tbody th { font-weight: 650; }
.compare__table td { color: var(--ink-2); }
.compare__table tr:last-child > * { border-bottom: 0; }
.compare__table .is-us { background: var(--blue-50); color: var(--blue-700); font-weight: 700; }
.compare__table thead .is-us { background: var(--navy-900); color: #fff; }
.compare__table td.is-us .icon { display: inline-block; vertical-align: -4px; width: 17px; height: 17px; margin-right: 8px; stroke-width: 2.6; }
@media (max-width: 640px) {
  .compare__scroll { overflow: visible; border: 0; border-radius: 0; }
  .compare__table { min-width: 0; font-size: 14.5px; }
  .compare__table thead { display: none; }
  .compare__table tr { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .compare__table tbody th { grid-column: 1 / -1; background: var(--tint); padding: 12px 16px; }
  .compare__table td { padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .compare__table td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
  .compare__table td.is-us { grid-column: 1 / -1; border-bottom: 0; }
  .compare__table td.is-us::before { color: var(--blue-700); }
  .compare__table tr:last-child > * { border-bottom: 1px solid var(--line); }
  .compare__table tr:last-child > td.is-us { border-bottom: 0; }
}

/* Gallery */
.gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.gallery__head .section-head { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 650; color: var(--ink-2); background: #fff; transition: all .2s; }
.filter:hover { border-color: var(--blue-600); color: var(--ink); }
.filter.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry__item { break-inside: avoid; margin-bottom: 16px; }
.masonry__item.is-hidden { display: none; }
.masonry__btn { position: relative; display: block; width: 100%; border-radius: var(--radius); overflow: hidden; background: #dfe7e1; }
.masonry__btn img { width: 100%; transition: transform .6s var(--ease); }
.masonry__btn:hover img { transform: scale(1.04); }
.masonry__cap { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; text-align: left; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; background: linear-gradient(transparent, rgba(14, 27, 54, .85)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.masonry__cap small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-on-dark); margin-bottom: 2px; }
.masonry__btn:hover .masonry__cap, .masonry__btn:focus-visible .masonry__cap { opacity: 1; transform: none; }
@media (hover: none) { .masonry__cap { opacity: 1; transform: none; } }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 16, 34, .94); color: #fff; }
.lightbox::backdrop { background: rgba(8, 16, 34, .7); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .25s; }
.lightbox__fig { display: grid; gap: 14px; justify-items: center; padding: 64px 72px; max-width: 100%; }
.lightbox__fig img { max-width: min(1200px, 100%); max-height: calc(100dvh - 180px); width: auto; border-radius: 10px; }
.lightbox__fig figcaption { font-size: 15px; color: var(--on-dark-2); text-align: center; }
.lightbox__btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__fig { padding: 64px 12px 96px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; } .lightbox__prev { left: calc(50% - 60px); } .lightbox__next { right: calc(50% - 60px); } }

/* Products */
.prod-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } .prod--erp { grid-column: 1 / -1; } }
.prod { position: relative; display: grid; gap: 24px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; }
@media (min-width: 640px) { .prod { grid-template-columns: minmax(0, 1fr) 200px; align-items: center; } }
@media (min-width: 960px) { .prod--erp { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: var(--navy-900); color: var(--on-dark); border-color: transparent; } .prod.prod--erp .prod__body > p:not(.prod__meta):not(.prod__tagline), .prod--erp .prod__features li { color: var(--on-dark-2); } .prod--erp .chip { background: rgba(244, 122, 31, .14); color: var(--accent-on-dark); } .prod--erp .prod__tagline { color: var(--accent-on-dark); } .prod--erp .prod__features .icon { color: var(--accent-on-dark); } }
.prod__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12px; color: var(--muted); }
.prod__tagline { margin: 6px 0 12px; font-weight: 650; color: var(--blue-600); }
.prod__body > p:not(.prod__meta):not(.prod__tagline) { color: var(--ink-2); }
.prod__features { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 18px; margin-top: 20px; font-size: 14px; }
.prod__features li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 550; }
.prod__features .icon { width: 16px; height: 16px; color: var(--blue-600); stroke-width: 2.6; }
.prod__visual { display: grid; place-items: center; }
.erp-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 420px; }
.erp-stack span { display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); font-weight: 650; font-size: 15px; }
.erp-stack .icon { color: var(--accent-on-dark); }
.erp-stack span:nth-child(3) { grid-column: 1 / -1; }
.erp-stack__core { grid-column: 1 / -1; justify-content: center; background: var(--accent) !important; color: var(--accent-ink); border: 0 !important; }
.erp-stack__core .icon { color: var(--accent-ink) !important; }
@media (max-width: 959px) { .prod.prod--erp { grid-template-columns: 1fr; } .prod--erp .erp-stack span { background: var(--tint); border-color: var(--line); } .prod--erp .erp-stack .icon { color: var(--blue-600); } }


/* Company */
.company__grid { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .company__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.company__name { margin-top: 20px; font-weight: 700; font-size: 17px; color: var(--blue-700); }
.company__intro .lead { margin-top: 8px; }
.company__stat { display: flex; align-items: center; gap: 18px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.company__stat b { font-size: clamp(44px, 5vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--navy-900); }
.company__stat span { max-width: 220px; color: var(--ink-2); font-weight: 600; line-height: 1.4; }
.company__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 2 / 1; box-shadow: var(--shadow); }
.company__photo img { width: 100%; height: 100%; object-fit: cover; }
.company__cols { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 900px) { .company__cols { grid-template-columns: 1fr 1fr; } }
.company__block { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.company__block h3, .company__offices-title { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 20px; }
.values { display: grid; gap: 16px; }
.values div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.values div:last-child { border-bottom: 0; padding-bottom: 0; }
.values dt { font-weight: 700; }
.values dd { color: var(--ink-2); }
@media (max-width: 520px) { .values div { grid-template-columns: 1fr; gap: 2px; } }
.company__offices-title { margin-top: clamp(48px, 6vw, 72px); }
.offices { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .offices { grid-template-columns: 1fr 1fr; } }
.office { padding: 28px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-dark); }
.office__city { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 750; letter-spacing: -.015em; }
.office__city .icon { color: var(--accent-on-dark); }
.office__company { margin-top: 10px; font-weight: 650; font-size: 14px; color: var(--accent-on-dark); }
.office address { margin-top: 4px; color: var(--on-dark-2); }
.office__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-weight: 650; font-size: 14.5px; }
.office__links a { display: inline-flex; align-items: center; gap: 8px; }
.office__links a:hover { color: var(--accent-on-dark); }
.office__links .icon { width: 17px; height: 17px; }

/* FAQ */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 17.5px; font-weight: 700; letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-700); }
.faq__icon { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--tint); color: var(--blue-700); transition: transform .3s var(--ease), background .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--blue-100); }
.faq__item p { padding: 0 56px 26px 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 520px) { .faq__item p { padding-right: 0; } .faq__item summary { font-size: 16.5px; } }

/* Contact */
.contact { background: radial-gradient(55% 70% at 100% 0%, rgba(244, 122, 31, .2), transparent 70%), linear-gradient(160deg, var(--navy-850), var(--navy-950)); }
.contact__grid { display: grid; gap: clamp(40px, 6vw, 80px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.contact .check-list { margin-top: 32px; }
.contact__call { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.contact__call p { width: 100%; font-size: 14px; color: var(--on-dark-2); }
.contact__call a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.contact__call a .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--accent-on-dark); }
.contact__call a span { display: grid; line-height: 1.3; }
.contact__call small { font-size: 12px; color: var(--on-dark-2); font-weight: 500; }
.contact__call a:hover { color: var(--accent-on-dark); }

.demo-form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.demo-form__type { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; background: var(--tint); border-radius: 12px; }
.demo-form__type label { position: relative; cursor: pointer; }
.demo-form__type input { position: absolute; opacity: 0; inset: 0; }
.demo-form__type span { display: block; text-align: center; padding: 10px; border-radius: 9px; font-size: 14.5px; font-weight: 650; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.demo-form__type input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.demo-form__type input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 104px; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b778d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/18px no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(59, 102, 184, .15); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--bad); }
.field__error { font-size: 12.5px; color: var(--bad); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--blue-700); flex: none; }
.consent.is-invalid { color: var(--bad); }
.demo-form button[disabled] { opacity: .7; cursor: progress; }
.demo-form__status { font-size: 14.5px; font-weight: 600; min-height: 1px; }
.demo-form__status.is-success { padding: 14px 16px; border-radius: 10px; background: var(--blue-50); color: var(--blue-700); }
.demo-form__status.is-error { padding: 14px 16px; border-radius: 10px; background: #fbeeea; color: var(--bad); }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-dark); padding: clamp(56px, 7vw, 88px) 0 32px; border-top: 1px solid var(--line-dark); }
.site-footer__top { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.8fr repeat(3, 1fr); } }
.site-footer__brand { grid-column: 1 / -1; display: grid; gap: 18px; justify-items: start; max-width: 320px; }
@media (min-width: 900px) { .site-footer__brand { grid-column: auto; } }
.site-footer__brand p { color: var(--on-dark-2); font-size: 15px; }
.site-footer__col h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-2); margin-bottom: 16px; font-weight: 700; }
.site-footer__col ul { display: grid; gap: 10px; font-size: 14.5px; }
.site-footer__col a { opacity: .9; transition: color .2s; }
.site-footer__col a:hover { color: var(--accent-on-dark); }
.site-footer__city { display: block; font-size: 12px; color: var(--on-dark-2); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: var(--on-dark-2); }
.site-footer__social { display: flex; gap: 18px; }
.site-footer__social a:hover { color: var(--accent-on-dark); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1f9d55; color: #fff; box-shadow: var(--shadow); }
.wa-float .icon { width: 28px; height: 28px; }

/* 6. Motion ---------------------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Language switcher (IND | ENG) ------------------------------------------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(130, 150, 190, .35); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.lang-switch__opt { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 999px; opacity: .72; transition: opacity .2s, background .2s, color .2s; }
.lang-switch__opt:hover { opacity: 1; }
.lang-switch__opt[aria-current="true"] { background: var(--accent); color: var(--accent-ink); opacity: 1; }
.lang-switch__sep { opacity: .35; font-weight: 400; }
@media (max-width: 380px) { .lang-switch__opt { padding: 0 8px; } .lang-switch__sep { display: none; } }

/* GIS & drone mapping ------------------------------------------------------ */
.gis__grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1040px) { .gis__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; } }
.gis-map { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.gis-map__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #f8fafd; }
.gis-map__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; }
.gis-map__title .icon { color: var(--accent); }
.gis-map__layers { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 18px 0; }
.gis-map__layer { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13.5px; font-weight: 650; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s; }
.gis-map__layer:hover { border-color: var(--blue-500); color: var(--ink); }
.gis-map__layer.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.gis-map__layer--imagery { display: inline-flex; align-items: center; gap: 6px; }
.gis-map__layer--imagery .icon { width: 15px; height: 15px; color: var(--accent); }
.gis-map__canvas { position: relative; padding: 14px 18px; }
.gis-map__canvas svg { width: 100%; height: auto; display: block; border-radius: 10px; background: #22341a; }
.gis-block { fill: transparent; fill-opacity: .62; stroke: rgba(255, 255, 255, .6); stroke-width: 1.2; stroke-linejoin: round; cursor: pointer; transition: fill .35s, fill-opacity .25s, stroke .2s; outline: none; }
.gis-block:hover, .gis-block:focus-visible, .gis-block.is-hot { fill-opacity: .28; }
.is-imagery .gis-block { stroke: rgba(255, 255, 255, .35); }
.is-imagery .gis-map__legend { visibility: hidden; }
.gis-block:hover, .gis-block:focus-visible, .gis-block.is-hot { stroke: var(--map-highlight); stroke-width: 3; }
.gis-map__labels text { font-family: var(--mono); font-size: 10px; font-weight: 600; text-anchor: middle; fill: #fff; stroke: rgba(10, 18, 8, .75); stroke-width: 2.6px; paint-order: stroke; pointer-events: none; }
.gis-map__drone polyline { fill: none; stroke: var(--map-highlight); stroke-width: 2; stroke-dasharray: 6 5; animation: gisdash 1.4s linear infinite; pointer-events: none; }
@keyframes gisdash { to { stroke-dashoffset: -22; } }
.gis-map__gps { pointer-events: none; }
.gis-map__gps-ring { fill: rgba(244, 122, 31, .18); stroke: var(--map-highlight); stroke-width: 1.5; stroke-dasharray: 3 3; }
.gis-map__gps-dot { fill: var(--map-highlight); stroke: #fff; stroke-width: 2.5; }
.gis-map__badge { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow-sm); }
.gis-map__badge .icon { width: 14px; height: 14px; }
.gis-map__badge--gps { background: #fff; color: var(--ink); transform: translate(-50%, calc(-100% - 26px)); margin-left: 18px; margin-top: 14px; }
.gis-map__badge--gps .icon { color: var(--accent); }
.gis-map__badge--drone { left: 30px; bottom: 24px; background: var(--navy-900); color: #fff; }
.gis-map__badge--drone .icon { color: var(--accent-on-dark); }
.gis-map__tip { min-width: 180px; }
.gis-map__tip dl { display: grid; grid-template-columns: auto auto; gap: 2px 14px; margin-top: 4px; }
.gis-map__tip dt { color: var(--on-dark-2); }
.gis-map__tip dd { text-align: right; font-variant-numeric: tabular-nums; }
.gis-map__tip .is-layer { color: var(--accent-on-dark); font-weight: 700; }
.gis-map__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 12px 18px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.gis-map__legend { display: inline-flex; align-items: center; gap: 8px; }
.gis-map__ramp { display: inline-block; width: 120px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #dfe8f6, #1f3d7b); }
.gis-map__legend b { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.gis__features { display: grid; gap: 4px; }
.gis-feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.gis-feature:first-child { padding-top: 4px; }
.gis-feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(244, 122, 31, .14); color: var(--accent); }
.gis-feature h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 4px; }
.gis-feature p { font-size: 14.5px; color: var(--ink-2); }
.gis__flow { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 36px; counter-reset: f; }
@media (min-width: 760px) { .gis__flow { grid-template-columns: repeat(4, 1fr); } }
.gis__flow li { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; }
.gis__flow li .mono { color: var(--accent); font-size: 12px; }
@media (min-width: 760px) {
  .gis__flow li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
}
@media (max-width: 560px) {
  .gis-map__canvas { padding: 10px; }
  .gis-map__bar { flex-wrap: wrap; padding: 12px 14px; }
  .gis-map__layers { padding: 12px 14px 0; }
  .gis-map__labels text { font-size: 13px; }
  .gis-map__badge--gps { display: none; }
  .gis-map__badge--drone { left: 18px; bottom: 16px; font-size: 10.5px; }
}

/* Dashboard · GIS tab ------------------------------------------------------- */
.gdash__layers { display: flex; flex-wrap: wrap; gap: 6px; }
.gdash__chip { height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 650; color: var(--ink-2); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.gdash__chip:hover { border-color: var(--blue-500); color: var(--ink); }
.gdash__chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.gdash__scope { color: var(--muted); }
.gdash__scope i { display: none; }
.gdash { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .gdash { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); } }
.gdash__map-head { flex-wrap: wrap; align-items: center; }
.gdash__afd { display: flex; flex-wrap: wrap; gap: 4px; }
.gdash__pill { height: 28px; padding: 0 11px; border-radius: 8px; font-size: 12px; font-weight: 650; color: var(--muted); background: var(--tint); transition: background .2s, color .2s; }
.gdash__pill:hover { color: var(--ink); }
.gdash__pill.is-active { background: var(--navy-900); color: #fff; }
.gdash__canvas { position: relative; }
.gdash__canvas svg { width: 100%; height: auto; display: block; border-radius: 10px; background: #22341a; }
.gd-block { fill-opacity: .6; stroke: rgba(255, 255, 255, .6); stroke-width: 1.1; stroke-linejoin: round; cursor: pointer; transition: fill .35s, fill-opacity .25s, opacity .25s; outline: none; }
.gd-block:hover, .gd-block:focus-visible { fill-opacity: .3; stroke: #fff; stroke-width: 2; }
.gd-block.is-sel { fill-opacity: .25; stroke: var(--map-highlight); stroke-width: 3.2; }
.gd-block.is-out { fill: #0b1407 !important; fill-opacity: .55; stroke: rgba(255, 255, 255, .15); cursor: default; }
.gd-label { font-family: var(--mono); font-size: 10px; font-weight: 600; text-anchor: middle; fill: #fff; stroke: rgba(10, 18, 8, .75); stroke-width: 2.6px; paint-order: stroke; pointer-events: none; }
.gdash__legend { margin-top: 10px; font-size: 12px; color: var(--muted); }
.gdash__legend.is-hidden { visibility: hidden; }
.gdash__hint { margin-top: 6px; font-size: 12px; color: var(--muted); }
.gdash__detail { display: flex; flex-direction: column; }
.gdash__eyebrow { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--accent); }
.gdash__block { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 2px; }
.gdash__meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.gdash__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 14px; }
.gdash__stat { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--tint); }
.gdash__stat span { font-size: 11.5px; color: var(--muted); }
.gdash__stat b { font-size: 17px; letter-spacing: -.015em; }
.gdash__stat em { font-style: normal; font-size: 11.5px; font-weight: 650; color: var(--muted); }
.gdash__stat em small { font-weight: 500; color: var(--muted); }
.gdash__stat em.is-good { color: var(--good); }
.gdash__stat em.is-watch { color: var(--warn); }
.gdash__trend-head { margin-bottom: 4px; }
.gdash__rank { margin-top: 16px; }
.gdash__rank h4 { font-size: 14px; margin-bottom: 8px; }
.gdash__rank .table-wrap { margin-top: 0; }
.gdash__table tr.is-sel td { background: var(--accent-soft); }
.gdash__rowbtn { font-weight: 700; color: var(--blue-700); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.gdash__rowbtn:hover { color: var(--accent); }
.gdash__barcell { width: 32%; }
.gdash__bar { display: block; height: 8px; border-radius: 4px; background: var(--blue-600); margin-left: auto; }
.gdash__table tr.is-sel .gdash__bar { background: var(--accent); }
@media (max-width: 560px) {
  .gdash__barcell { display: none; }
  .gd-label { font-size: 13px; }
  .gdash__block { font-size: 26px; }
}
.gdash__table th:nth-child(2), .gdash__table td:nth-child(2) { text-align: left; }
.gdash__table th:nth-child(3), .gdash__table td:nth-child(3) { text-align: center; }

/* Office address ----------------------------------------------------------- */
@media (min-width: 1000px) { .offices--three { grid-template-columns: 1.3fr 1fr 1fr; } }
.office--address { background: var(--navy-800); }
.office--address address { margin-top: 6px; color: var(--on-dark); line-height: 1.55; }
.office__links a .icon { width: 17px; height: 17px; }
.contact__call a.contact__address { width: 100%; align-items: flex-start; font-weight: 600; font-size: 14.5px; line-height: 1.45; }
.contact__call a.contact__address span { max-width: 460px; }
.site-footer__col a[target="_blank"] { line-height: 1.5; }

/* Dashboard tabs on phones/tablets: every tab visible, no sideways scrolling */
@media (max-width: 860px) {
  .dash__bar { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .dash__bar .app-window__dots { display: none; }
  .dash__tabs { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow: visible; }
  .dash__tab { min-height: 44px; padding: 8px 10px; white-space: normal; text-align: center; line-height: 1.25; background: var(--tint); color: var(--ink-2); }
  .dash__tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .kpi__label { white-space: normal; }
}
@media (min-width: 960px) { .prod--erp .prod__meta { color: var(--on-dark-2); } }

/* Comfortable tap targets for inline links and the consent checkbox */
.site-footer__col a, .site-footer__social a, .office__links a { display: inline-flex; align-items: center; min-height: 32px; }
.site-footer__col ul { gap: 4px; }
.consent input { width: 24px; height: 24px; margin-top: 0; }
.consent { align-items: center; }

/* Header fits narrow phones: smaller logo and language switch, no overflow */
@media (max-width: 520px) {
  :root { --header-h: 68px; }
  .site-header__inner { gap: 8px; }
  .site-header__actions { gap: 4px; }
  .logo { gap: 8px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__word { font-size: 18px; }
  .logo__word small { display: none; }
  .lang-switch { font-size: 12px; }
  .lang-switch__opt { height: 28px; padding: 0 9px; }
  .lang-switch__sep { display: none; }
  .nav-toggle { width: 38px; height: 38px; flex: none; }
}
