/* ILS — Inter Logistic Services */

:root {
  --bg: #ffffff;
  --bg-alt: #f2f4f3;
  --surface: #ffffff;
  --surface-2: #f2f4f3;
  --border: #d5dbd8;
  --border-soft: #e1e6e3;
  --heading: #12181c;
  --text: #1c2226;
  --text-2: #3d474e;
  --text-3: #5f6b73;
  --accent: #0b7a16;
  --accent-hover: #075c10;
  --num: #0a9a1a;
  --btn-bg: #0b7a16;
  --btn-bg-hover: #075c10;
  --btn-text: #ffffff;
  --chip-border: #c3ccc8;
  --lime: #7dc81e;
  --lime-ink: #12181c;
  --warn: #c86a12;
  --shadow: 0 1px 2px rgba(18, 24, 28, 0.06);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #161d22;
  --bg-alt: #1b2328;
  --surface: #1f282e;
  --surface-2: #161d22;
  --border: #2f3b43;
  --border-soft: #2b353d;
  --heading: #ffffff;
  --text: #e6ebee;
  --text-2: #b8c2c8;
  --text-3: #8d9aa3;
  --accent: #a6e05a;
  --accent-hover: #c5f08a;
  --num: #7dc81e;
  --btn-bg: #7dc81e;
  --btn-bg-hover: #96dc3c;
  --btn-text: #12181c;
  --chip-border: #3d4a53;
  --warn: #e8913a;
  --shadow: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  transition: background-color .2s ease, color .2s ease;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { color: var(--heading); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.display { font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 700; line-height: 0.95; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-text); padding: 10px 16px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-top: 12px; padding-bottom: 12px;
}
.logo { display: block; border-radius: 6px; padding: 2px 6px; margin-left: -6px; }
.logo span { display: block; width: 134px; height: 48px; overflow: hidden; }
.logo img { width: 134px; height: 48px; object-fit: cover; }
:root[data-theme="dark"] .logo { background: #ffffff; margin-left: 0; }

.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; font-weight: 500; font-size: 16px; }
.main-nav a { color: var(--text); text-decoration: none; padding: 6px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }

.header-tools { display: flex; align-items: center; gap: 10px; }

.toggle-group { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.toggle-group button {
  appearance: none; border: 0; background: transparent; color: var(--text-2);
  font: inherit; font-size: 14px; font-weight: 600; min-width: 44px; min-height: 40px; padding: 0 10px;
  cursor: pointer;
}
.toggle-group button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-text); }

.icon-btn {
  appearance: none; border: 1px solid var(--border); background: transparent; color: var(--text);
  width: 44px; height: 42px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 6px;
  font-size: 17px; font-weight: 600; text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-text); }
.btn-ghost { border-color: var(--border); color: var(--heading); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 16px; }
.btn-dark { background: #12181c; color: #ffffff; }
.btn-dark:hover { background: #2b353d; color: #ffffff; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 56px; }
.hero-inner { display: flex; flex-direction: column; gap: 28px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; }
.hero h1 { font-size: clamp(46px, 7.5vw, 104px); max-width: 1000px; }
.hero h1 .hl { color: var(--num); }
.hero-lead { font-size: 20px; color: var(--text-2); max-width: 640px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Dashboard figure ---------- */
.dash {
  margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow);
}
.dash figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--text-3); }
.dash figcaption strong { color: var(--text); font-weight: 600; }
.dash-tiles { display: flex; flex-wrap: wrap; gap: 14px; }
.tile { flex: 1 1 240px; background: var(--bg-alt); border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
:root[data-theme="dark"] .tile { background: var(--surface-2); }
.tile-label { font-size: 14px; color: var(--text-3); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bars span { flex: 1; border-radius: 3px 3px 0 0; background: var(--num); }
.bars span:nth-child(even) { background: var(--lime); }
.hbars { display: flex; flex-direction: column; gap: 9px; }
.hbars span { height: 12px; border-radius: 3px; background: var(--warn); }
.orders { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.orders div { display: flex; justify-content: space-between; gap: 8px; }
.ok { color: var(--accent); font-weight: 600; }
.wip { color: var(--warn); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 760px; }
.section h2 { font-size: clamp(36px, 4.5vw, 60px); }
.section-lead { font-size: 18px; color: var(--text-2); }

.split { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.split > * { flex: 1 1 380px; min-width: 0; }

.pain-list { list-style: none; margin: 0; padding: 0; }
.pain-list li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 18px; }
.pain-list li:last-child { border-bottom: 0; }
.chev { color: var(--num); font-weight: 700; letter-spacing: -1px; flex-shrink: 0; }

/* Service rows */
.service-rows { border-top: 1px solid var(--border); }
.service-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
  padding: 32px 8px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text);
  transition: background-color .15s ease;
}
.service-row:hover { background: var(--bg-alt); color: var(--text); }
.service-row .num { font-size: 64px; color: var(--num); width: 90px; }
.service-row .body { flex: 1 1 360px; display: flex; flex-direction: column; gap: 6px; }
.service-row .title { font-size: 36px; color: var(--heading); }
.service-row .tagline { font-size: 17px; color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 1 300px; }
.tag { border: 1px solid var(--chip-border); padding: 5px 12px; font-size: 14px; border-radius: 99px; color: var(--text-2); }
.arrow { font-size: 30px; color: var(--num); transition: transform .15s ease; }
.service-row:hover .arrow { transform: translateX(6px); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.steps li { flex: 1 1 180px; display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--num); padding-top: 16px; }
.step-n { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 18px; color: var(--num); letter-spacing: .04em; }
.steps strong { font-size: 20px; font-weight: 600; color: var(--heading); }
.steps span:last-child { font-size: 15px; color: var(--text-2); }

/* Stats + team */
.stats { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-bottom: 40px; }
.stat { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; }
.stat .display { font-size: 72px; color: var(--num); line-height: 1; }
.stat span:last-child { color: var(--text-2); font-size: 16px; }

.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.card { flex: 1 1 300px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.card h3 { font-size: 20px; font-weight: 600; font-family: "Barlow", sans-serif; }
.card .role { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card p { font-size: 15px; color: var(--text-2); }

.diff { display: flex; flex-wrap: wrap; gap: 28px; }
.diff > div { flex: 1 1 240px; border-top: 3px solid var(--num); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.diff strong { font-family: "Barlow Condensed", sans-serif; font-size: 24px; font-weight: 700; color: var(--heading); line-height: 1.1; }
.diff span { font-size: 16px; color: var(--text-2); }

/* CTA band */
.cta { background: var(--lime); color: var(--lime-ink); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.cta-copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 10px; }
.cta h2 { color: var(--lime-ink); font-size: clamp(38px, 5vw, 64px); }
.cta p { font-size: 19px; color: #1c2a12; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-contact { font-size: 15px; color: #1c2a12; }
.cta a:not(.btn) { color: #12181c; }

/* Footer */
.site-footer { border-top: 1px solid var(--border-soft); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--text-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--text-3); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* ---------- Service page ---------- */
.svc-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 48px; padding-bottom: 88px; }
.svc-aside { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.svc-aside .eyebrow { color: var(--text-3); margin-bottom: 8px; font-size: 13px; }
.svc-link { display: flex; gap: 12px; align-items: center; padding: 14px 16px; text-decoration: none; color: var(--text-2); font-size: 16px; border-left: 3px solid transparent; border-radius: 0 6px 6px 0; }
.svc-link .n { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 20px; color: var(--text-3); }
.svc-link:hover { background: var(--bg-alt); color: var(--text); }
.svc-link[aria-current="page"] { background: var(--bg-alt); border-left-color: var(--num); color: var(--heading); font-weight: 600; }
:root[data-theme="dark"] .svc-link[aria-current="page"], :root[data-theme="dark"] .svc-link:hover { background: var(--surface); }
.svc-link[aria-current="page"] .n { color: var(--num); }
.lead-card { margin-top: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.lead-card .k { font-size: 13px; color: var(--text-3); }
.lead-card strong { font-size: 18px; font-weight: 600; color: var(--heading); }
.lead-card span:last-child { font-size: 14px; color: var(--text-2); line-height: 1.45; }

.svc-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.svc-hero { display: flex; flex-direction: column; gap: 16px; }
.svc-hero .kicker { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 22px; color: var(--num); letter-spacing: .04em; }
.svc-hero h1 { font-size: clamp(46px, 6vw, 84px); }
.svc-hero p { font-size: 21px; color: var(--text-2); max-width: 640px; }

.quotes { display: flex; flex-wrap: wrap; gap: 14px; }
.quotes blockquote { margin: 0; flex: 1 1 220px; border: 1px solid var(--border); border-radius: 10px; padding: 20px; font-size: 18px; line-height: 1.45; font-style: italic; color: var(--text); }
.quotes-label { margin-bottom: 14px; }

.svc-main h2 { font-size: 40px; }
.features { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.feature { flex: 1 1 280px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.feature h3 { font-family: "Barlow", sans-serif; font-size: 19px; font-weight: 600; line-height: 1.3; }
.feature p { font-size: 16px; color: var(--text-2); }

.boxes { display: flex; flex-wrap: wrap; gap: 14px; }
.box { flex: 1 1 300px; border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.box h2 { font-size: 28px; }
.box ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.8; }
.box-deliver { border: 1.5px solid var(--num); }
.box-deliver h2 { color: var(--accent); }
.box-gain { background: var(--bg-alt); }
:root[data-theme="dark"] .box-gain { background: var(--surface); }

.next-svc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 4px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); }
.next-svc .k { font-size: 14px; color: var(--text-3); }
.next-svc strong { display: block; font-size: 30px; color: var(--heading); }
.next-svc:hover { color: var(--text); }
.next-svc:hover .arrow { transform: translateX(6px); }

.erp-note { font-size: 15px; color: var(--text-3); }

@media (max-width: 640px) {
  .hero { padding: 56px 0 40px; }
  .section { padding: 64px 0; }
  .main-nav { order: 3; width: 100%; gap: 4px 18px; }
  .service-row .num { font-size: 48px; width: auto; }
  .service-row .title { font-size: 30px; }
  .svc-layout { gap: 32px; padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (max-width: 640px) {
  .header-tools .btn { display: none; }
}

/* ---------- Inner pages ---------- */
.page-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--border-soft); }
.page-hero .container { display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(46px, 6.5vw, 92px); max-width: 1000px; }
.page-hero p { font-size: 20px; color: var(--text-2); max-width: 680px; }

.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 17px; font-weight: 600; text-decoration: none; }
.more-link:hover .arrow { transform: translateX(6px); }
.more-link .arrow { font-size: 20px; }

/* Service overview blocks */
.svc-block { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.svc-block-head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.svc-block-head .num { font-size: 96px; color: var(--num); line-height: .85; }
.svc-block-head h2 { font-size: clamp(36px, 4vw, 52px); }
.svc-block-head p { font-size: 19px; color: var(--text-2); }
.svc-block-head .leader { font-size: 15px; color: var(--text-3); }
.svc-block-head .leader strong { color: var(--heading); font-weight: 600; }
.svc-block-body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.mini-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 28px; }
.mini-features div { border-top: 2px solid var(--num); padding-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.mini-features strong { font-size: 17px; font-weight: 600; color: var(--heading); }
.mini-features span { font-size: 15px; color: var(--text-2); }
.deliver-line { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.deliver-line .eyebrow { font-size: 13px; }
.deliver-line ul { margin: 0; padding-left: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px 24px; font-size: 16px; }

/* Packages */
.pkgs { display: flex; flex-wrap: wrap; gap: 16px; }
.pkg { flex: 1 1 300px; background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--num); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.pkg:nth-child(2) { border-top-color: #4fb51c; }
.pkg:nth-child(3) { border-top-color: var(--lime); }
.pkg .eyebrow { font-size: 13px; }
.pkg h3 { font-size: 30px; }
.pkg p { font-size: 16px; color: var(--text-2); }
.pkg ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.7; }
.pkg .foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); font-size: 15px; color: var(--text-3); }

/* Method page */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 24px; }
.timeline .rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 56px; }
.timeline .dot { width: 56px; height: 56px; border-radius: 8px; background: var(--btn-bg); color: var(--btn-text); display: flex; align-items: center; justify-content: center; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 28px; }
.timeline .line { flex: 1; width: 2px; background: var(--border); margin: 6px 0; }
.timeline li:last-child .line { display: none; }
.timeline .content { padding: 6px 0 36px; display: flex; flex-direction: column; gap: 6px; max-width: 720px; }
.timeline h2 { font-size: 30px; }
.timeline p { font-size: 17px; color: var(--text-2); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.principles li { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.principles strong { font-size: 18px; font-weight: 600; color: var(--heading); }
.principles span { font-size: 15px; color: var(--text-2); }
.statement { background: var(--heading); color: var(--bg); border-radius: 12px; padding: 36px; display: flex; flex-direction: column; gap: 12px; }
:root[data-theme="dark"] .statement { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.statement h2 { color: inherit; font-size: clamp(32px, 4vw, 48px); }
.statement p { font-size: 18px; max-width: 760px; opacity: .9; }
.statement .hl { color: var(--lime); }

/* Team page */
.profile { display: flex; flex-wrap: wrap; gap: 28px 48px; padding: 48px 0; border-bottom: 1px solid var(--border); }
.profile:last-child { border-bottom: 0; }
.profile-id { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.avatar { width: 88px; height: 88px; border-radius: 12px; background: var(--btn-bg); color: var(--btn-text); display: flex; align-items: center; justify-content: center; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 38px; }
.profile-id h2 { font-size: 40px; }
.profile-id .role { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.profile-id .leads { font-size: 15px; color: var(--text-3); }
.profile-body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.profile-body > p { font-size: 18px; color: var(--text-2); }
.caps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.caps li { border: 1px solid var(--chip-border); border-radius: 99px; padding: 6px 14px; font-size: 15px; color: var(--text); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.contact-card .eyebrow { font-size: 13px; }
.contact-card strong { font-size: 20px; font-weight: 600; color: var(--heading); word-break: break-word; }
.contact-card span:last-child { font-size: 15px; color: var(--text-2); }
