/* ==========================================================================
   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: #f47a1f;
  --accent-hover: #ff8a35;
  --accent-ink: #ffffff;
  --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;

  /* Hexagon background pattern (light and on-dark variants) */
  --hex-light: 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='%23d9e0eb' stroke-width='1'/%3E%3C/svg%3E");
  --hex-dark: 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='.06' stroke-width='1'/%3E%3C/svg%3E");

  --font: "Plus Jakarta 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: 14px;
  --radius-lg: 22px;
  --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: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 72px;
  --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(--hex-light) center top / 56px 96px, var(--tint); }
.section--dark { background: var(--hex-dark), var(--navy-900); color: var(--on-dark); }
.section--dark .lead { color: var(--on-dark-2); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow--light { color: var(--accent); }
.hero .eyebrow::before { display: none; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(247, 127, 36, .18); }

.h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -.025em; font-weight: 750; font-weight: 800; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.018em; font-weight: 750; }
.lead { margin-top: 18px; font-size: clamp(16px, 1.5vw, 18.5px); color: var(--ink-2); line-height: 1.65; 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: 999px; 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(247, 127, 36, .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(247, 127, 36, .16); color: var(--accent); }

/* Header */
.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, .92); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) 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: 36px; height: 36px; }
.logo__word { font-size: 20px; font-weight: 800; 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: 14.5px; font-weight: 550; border-radius: 8px; 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); }
.site-nav .site-nav__cta-mobile { display: none; }
.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; }
  .site-nav .site-nav__cta-mobile { display: inline-flex; height: 54px; }
  .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 (shared by hero + dashboard) */
.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 */
.hero { position: relative; background: var(--navy-950); color: var(--on-dark); padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(72px, 9vw, 120px); 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(58, 100, 181, .35), transparent 70%),
  var(--hex-dark), linear-gradient(135deg, var(--navy-850), var(--navy-950) 70%); }
.hero__bg::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(to bottom, transparent, var(--navy-950)); }
.hero__grid { display: grid; gap: clamp(48px, 6vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1120px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }
@media (min-width: 720px) and (max-width: 1119px) { .hero__visual { max-width: 720px; } }
.hero__title { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { margin-top: 24px; max-width: 560px; font-size: clamp(16.5px, 1.6vw, 19px); color: var(--on-dark-2); line-height: 1.65; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 14.5px; font-weight: 600; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 16px; height: 16px; color: var(--accent); stroke-width: 2.6; }
.hero__note { margin-top: 14px; font-size: 13.5px; color: var(--on-dark-2); }

.hero__visual { position: relative; padding: 0 0 40px 0; }
@media (min-width: 1120px) { .hero__visual { padding: 0 0 40px 24px; } }
.app-window { background: #fff; color: var(--ink); border-radius: 16px; 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: 22px; font-size: 10.5px; }
.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(247, 127, 36, .16); color: var(--accent); }
.app-main { padding: 18px; display: grid; gap: 14px; container-type: inline-size; min-width: 0; }
@container (max-width: 480px) { .mini-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.app-main__head { display: flex; justify-content: space-between; align-items: center; }
.app-main__head strong { display: block; font-size: 15px; letter-spacing: -.01em; }
.app-main__head span { font-size: 12px; color: var(--muted); }
.app-pill { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: var(--tint); color: var(--ink-2) !important; }
.mini-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mini-kpi { padding: 12px; border: 1px solid var(--line); border-radius: 10px; 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; 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: 10px; padding: 12px 14px 8px; }
.mini-chart__head { display: flex; justify-content: space-between; 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 { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); max-width: 300px; }
.float-card b { display: block; font-size: 13.5px; }
.float-card span:not(.float-card__icon) { display: block; font-size: 12px; color: var(--muted); }
.float-card__icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); }
.float-card__icon .icon { stroke-width: 2.6; width: 18px; height: 18px; }
.float-card--journal { left: -8px; bottom: 0; animation: floaty 6s ease-in-out infinite; }
@media (min-width: 1120px) { .float-card--journal { left: -28px; } }

@media (max-width: 640px) {
  .mini-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .float-card--journal { position: relative; left: auto; bottom: auto; margin: -28px 0 0 12px; animation: none; }
  .hero__visual { padding-bottom: 0; }
  .mini-flow span:nth-of-type(3), .mini-flow i:nth-of-type(3) { display: none; }
  .app-window__bar .chip { display: none; }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Challenges */
.issue-list { display: grid; border-top: 1px solid var(--line); }
.issue { display: grid; grid-template-columns: 36px 44px minmax(0, 1fr); gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.issue__num { font-size: 13px; color: var(--muted); padding-top: 11px; }
.issue__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--blue-700); }
.issue h3 { font-size: 18px; letter-spacing: -.01em; margin: 2px 0 6px; }
.issue p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 520px) { .issue { grid-template-columns: 44px minmax(0, 1fr); } .issue__num { display: none; } }

/* Solution */
.solution { background: var(--hex-dark), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.pillars { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; counter-reset: p; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { position: relative; padding: clamp(28px, 3.4vw, 44px); background: var(--navy-900); }
.pillar__step { display: inline-block; font-size: 13px; color: var(--accent); margin-bottom: 40px; }
.pillar h3 { font-size: 21px; letter-spacing: -.015em; margin-bottom: 10px; }
.pillar p { color: var(--on-dark-2); }
@media (min-width: 820px) {
  .pillar:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -12px; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f77f24' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat; border: 1px solid var(--line-dark); }
}

/* 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 var(--tint); }
.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: #fff; border: 1px solid var(--line); border-radius: 14px; 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: 11px; display: grid; place-items: center; background: var(--blue-50); 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: var(--tint); 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(--hex-dark), 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); 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 */
.flow { position: relative; display: grid; gap: 0; grid-template-columns: 1fr; counter-reset: s; }
.flow::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--blue-500), var(--blue-100)); }
.flow__step { position: relative; padding: 0 0 36px 80px; }
.flow__node { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-strong); color: var(--blue-700); box-shadow: var(--shadow-sm); z-index: 1; }
.flow__node .icon { width: 24px; height: 24px; }
.flow__unit { font-size: 12px; color: var(--blue-600); font-weight: 600; margin-bottom: 4px; padding-top: 4px; }
.flow__step h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 8px; }
.flow__text { color: var(--ink-2); font-size: 15px; }
.flow__out { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 650; padding: 6px 12px; border-radius: 8px; background: var(--blue-50); color: var(--blue-700); }
.flow__out .icon { width: 14px; height: 14px; }
@media (min-width: 1000px) {
  .flow { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .flow::before { left: 28px; right: calc((100% - 100px) / 6 - 28px); top: 27px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-500) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: flowdash 1.6s linear infinite; }
  .flow__step { padding: 80px 0 0; }
  .flow__node { left: 0; }
  .flow__out { display: flex; }
}
.flow-support { margin-top: clamp(32px, 4vw, 48px); padding: 22px 24px; border-radius: var(--radius); background: var(--tint); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.flow-support__title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.flow-support ul { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 320px; }
.flow-support li { padding: 7px 13px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; }
.flow-support__ledger { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--navy-900); color: #fff; font-weight: 700; font-size: 14px; }
.flow-support__ledger .icon { color: var(--accent); width: 18px; height: 18px; }

/* Dashboards */
.dashboards { background: var(--hex-dark), radial-gradient(70% 50% at 50% 0%, rgba(58, 100, 181, .35), transparent 70%), var(--navy-950); }
.dashboards__intro { display: grid; gap: 32px; grid-template-columns: 1fr; margin-bottom: clamp(40px, 5vw, 56px); align-items: end; }
.dashboards__intro .section-head { margin-bottom: 0; }
@media (min-width: 960px) { .dashboards__intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; } }
.kpi-defs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.kpi-defs div { padding: 18px; background: var(--navy-950); }
.kpi-defs dt { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
.kpi-defs dd { font-size: 13.5px; color: var(--on-dark-2); }
@media (max-width: 520px) { .kpi-defs { grid-template-columns: 1fr; } }

.dash { background: #fff; color: var(--ink); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.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__bar .chip { display: none; }
  .dash__filters { display: none; }
}
@keyframes grow { from { transform: scaleX(0); } }

/* Advantages */
.adv-grid { display: grid; gap: 16px; 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(4, 1fr); } }
.adv { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.adv:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.adv__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); margin-bottom: 22px; }
.adv h3 { font-size: 17.5px; letter-spacing: -.012em; margin-bottom: 8px; }
.adv p { font-size: 15px; color: var(--ink-2); }
.adv--feature { background: var(--navy-900); color: var(--on-dark); border-color: transparent; }
.adv--feature p { color: var(--on-dark-2); }
.adv--feature .adv__icon { background: rgba(247, 127, 36, .14); color: var(--accent); }
@media (min-width: 1000px) { .adv--feature { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy-900) url("../img/gallery/p-mill.webp") 82% center/cover; position: relative; overflow: hidden; isolation: isolate; } .adv--feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 24, 50, .25), rgba(12, 24, 50, .92) 65%); } .adv--feature h3 { font-size: 22px; } }

.compare { margin-top: clamp(56px, 7vw, 88px); }
.compare__title { margin-bottom: 22px; }
.compare__scroll { overflow-x: auto; 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(12, 24, 50, .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); 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(247, 127, 36, .14); color: var(--accent); } .prod--erp .prod__tagline { color: var(--accent); } .prod--erp .prod__features .icon { color: var(--accent); } }
.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); }
.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); }
.office__company { margin-top: 10px; font-weight: 650; font-size: 14px; color: var(--accent); }
.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); }
.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: var(--hex-dark), 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); }
.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); }

.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); }
.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); }
.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 { background: var(--hex-dark), radial-gradient(60% 55% at 15% 0%, rgba(58, 100, 181, .35), transparent 70%), var(--navy-950); }
.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-radius: 18px; box-shadow: var(--shadow-lg); 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__canvas { position: relative; padding: 14px 18px; }
.gis-map__canvas svg { width: 100%; height: auto; display: block; }
.gis-map__land { fill: #e7ede3; }
.gis-map__river { fill: none; stroke: #9cc0e4; stroke-width: 14; stroke-linecap: round; opacity: .85; }
.gis-block { fill: #cfd8e6; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; cursor: pointer; transition: fill .35s, opacity .2s; outline: none; }
.gis-block:hover, .gis-block:focus-visible, .gis-block.is-hot { stroke: var(--accent); stroke-width: 3; }
.gis-map__texture { pointer-events: none; }
.gis-map__labels text { font-family: var(--mono); font-size: 10px; text-anchor: middle; fill: rgba(20, 33, 61, .65); pointer-events: none; }
.gis-map__labels.is-dark text { fill: rgba(255, 255, 255, .85); }
.gis-map__drone polyline { fill: none; stroke: var(--accent); 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, .14); stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 3; }
.gis-map__gps-dot { fill: var(--accent); 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); }
.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); 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-dark); }
.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; letter-spacing: -.01em; margin-bottom: 4px; }
.gis-feature p { font-size: 14.5px; color: var(--on-dark-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-dark); background: rgba(255, 255, 255, .04); font-size: 14px; font-weight: 650; }
.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; }
}
