/* ==========================================================
   ESS — Export Sales & Service · лендинг (бізнес-стиль)
   Кольори бренду: помаранчевий, графіт логотипу, білий
   ========================================================== */

:root {
  --orange: #ff6000;
  --orange-600: #e05400;
  --orange-50: #fff5ee;
  --navy: #1b2433;          /* основний темний */
  --navy-800: #232e40;
  --navy-700: #2e3a4f;
  --ink: #35445b;           /* колір «SS» у логотипі */
  --text: #283344;
  --muted: #5f6b7c;
  --line: #e3e7ed;
  --line-dark: rgba(255, 255, 255, .12);
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --green: #15803d;

  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 12px 32px -16px rgba(27, 36, 51, .22);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 88px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--orange); }
.ico { width: 20px; height: 20px; flex: none; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--orange); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .02em; line-height: 1.2;
  cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-600); }
.btn--outline { background: transparent; color: var(--navy); border-color: #c9d0da; }
.btn--outline:hover { border-color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--block { width: 100%; }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.link .ico { width: 16px; height: 16px; transition: transform .2s; }
.link:hover .ico { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.eyebrow--light { color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: #131a26; color: rgba(255,255,255,.6); font-size: 13px; border-bottom: 1px solid var(--line-dark); }
.topbar__inner { display: flex; align-items: center; justify-content: flex-end; gap: 24px; min-height: 40px; }
.topbar__contacts { display: flex; align-items: center; gap: 24px; }
.topbar__info { display: flex; align-items: center; gap: 24px; }
.topbar__info span, .topbar__contacts > span, .topbar__contacts > a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar .ico { width: 14px; height: 14px; color: var(--orange); }
.topbar__contacts > a { color: rgba(255,255,255,.85); font-weight: 500; transition: color .2s; }
.topbar__contacts > a:hover { color: #fff; }
.topbar__phone { display: none !important; }

/* ---------- Соцмережі ---------- */
.social { display: flex; align-items: center; gap: 8px; }
.social a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: color .2s, background-color .2s, border-color .2s; }
.social .ico { width: 16px; height: 16px; }
.social--topbar { gap: 2px; padding-left: 20px; border-left: 1px solid var(--line-dark); }
.social--topbar a { width: 28px; height: 28px; color: rgba(255,255,255,.6); }
.social--topbar a:hover { color: var(--orange); }
.social--topbar .ico { color: inherit; width: 15px; height: 15px; }
.social--footer, .social--nav { margin-top: 22px; }
.social--footer a, .social--nav a { width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); color: rgba(255,255,255,.75); }
.social--footer a:hover, .social--nav a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.social--nav { display: none; }
.contacts__social { margin-top: 28px; }
.contacts__social > b { display: block; font-family: var(--font-head); font-size: 14px; color: var(--navy); margin-bottom: 12px; }
.social--contacts { flex-wrap: wrap; }
.social--contacts a { padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy); font-size: 14px; font-weight: 500; }
.social--contacts a .ico { color: var(--orange); }
.social--contacts a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--navy); border-bottom: 1px solid var(--line-dark); transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .45); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header .container, .topbar .container { max-width: 1320px; }
.header__logo { flex: none; }
.header__logo img { height: 56px; width: auto; }
.header__partner { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-left: 24px; border-left: 1px solid var(--line-dark); flex: none; }
.header__partner img { height: 22px; width: auto; max-width: none; }
.header__partner span { font-size: 11.5px; color: rgba(255,255,255,.6); letter-spacing: .04em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; white-space: nowrap; }
.nav a:not(.btn) { padding: 8px 10px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.78); transition: color .2s; position: relative; }
.nav a:not(.btn):hover, .nav a.is-active { color: #fff; }
.nav a.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--orange); }
.nav__cta, .nav__phone { display: none !important; }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; transition: color .2s; }
.header__phone-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255, 96, 0, .55); border-radius: 50%; color: var(--orange); transition: background-color .2s, color .2s; }
.header__phone-ico .ico { width: 16px; height: 16px; }
.header__phone-text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 700; font-size: 14px; line-height: 1.25; white-space: nowrap; }
.header__phone-text small { font-family: var(--font); font-weight: 400; font-size: 11px; color: rgba(255,255,255,.55); }
.header__phone:hover { color: var(--orange); }
.header__phone:hover .header__phone-ico { background: var(--orange); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-dark); background: transparent; cursor: pointer; align-items: center; justify-content: center; color: #fff; }
.burger .ico--close { display: none; }
.burger[aria-expanded="true"] .ico--open { display: none; }
.burger[aria-expanded="true"] .ico--close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 72px 0 0;
  background:
    radial-gradient(700px 480px at 78% 42%, rgba(255, 96, 0, .16), transparent 65%),
    linear-gradient(180deg, var(--navy) 0%, #151c29 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; margin: 0 0 22px; letter-spacing: -.02em; }
.hero__lead { font-size: clamp(16px, 1.4vw, 18px); color: rgba(255,255,255,.72); max-width: 600px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 22px; }

.hero__phones { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-weight: 600; color: #fff; }
.hero__phones .ico { width: 18px; height: 18px; color: var(--orange); margin-right: -8px; }
.hero__phones a:hover { color: var(--orange); }
.hero__phones span { color: rgba(255,255,255,.55); font-weight: 400; }
.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; }
.globe { width: 100%; height: 100%; display: block; }
.glass {
  position: absolute; display: flex; flex-direction: column; padding: 14px 18px; min-width: 190px;
  background: rgba(27, 36, 51, .72); border: 1px solid var(--line-dark); border-left: 3px solid var(--orange);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.glass b { font-family: var(--font-head); font-size: 22px; line-height: 1.2; color: #fff; }
.glass span { font-size: 13px; color: rgba(255,255,255,.65); }
.glass--1 { top: 12%; left: -6%; }
.glass--2 { bottom: 14%; right: -4%; }

.kpi { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--line-dark); }
.kpi li { padding: 28px 24px 32px; border-right: 1px solid var(--line-dark); }
.kpi li:first-child { padding-left: 0; }
.kpi li:last-child { border-right: 0; }
.kpi b { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 700; color: #fff; line-height: 1.2; }
.kpi span { font-size: 14px; color: rgba(255,255,255,.6); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 52px; }
.section__head p { color: var(--muted); font-size: 17px; }
.section__head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.section__head--split h2 { max-width: 620px; }

/* Сітка з тонкими лініями (статистика, переваги) */
.grid-lines { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.grid-lines > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Stats ---------- */
.stats { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 28px; position: relative; }
.stat::before { content: ""; position: absolute; top: -1px; left: -1px; width: 0; height: 2px; background: var(--orange); transition: width .4s; }
.stat:hover::before { width: calc(100% + 1px); }
.stat__num { font-family: var(--font-head); font-size: clamp(28px, 3vw, 38px); font-weight: 700; color: var(--navy); line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 8px; font-size: 14px; color: var(--muted); }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 24px; border: 1px solid var(--line); }
.highlight { display: flex; align-items: center; gap: 20px; padding: 24px 28px; background: #fff; border-right: 1px solid var(--line); }
.highlight:last-child { border-right: 0; }
.highlight b { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--orange); white-space: nowrap; flex: none; }
.highlight p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.highlight--dark { background: var(--navy); }
.highlight--dark p { color: rgba(255,255,255,.75); }

.countries { display: grid; grid-template-columns: 260px 1fr; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.countries__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.countries__title small { display: block; margin-top: 6px; font-family: var(--font); font-weight: 400; font-size: 13px; color: var(--muted); line-height: 1.5; }
.countries__list { color: var(--ink); font-size: 15px; line-height: 1.9; }
.source { margin-top: 20px; font-size: 12px; color: var(--muted); }

/* ---------- Features ---------- */
.features { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 32px 28px; position: relative; transition: background-color .25s; }
.feature::before { content: ""; position: absolute; top: -1px; left: -1px; width: 0; height: 2px; background: var(--orange); transition: width .4s; }
.feature:hover::before { width: calc(100% + 1px); }
.feature__icon { width: 30px; height: 30px; color: var(--orange); margin-bottom: 20px; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about__text h2 { margin-bottom: 24px; }
.about__text > p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.note { margin: 28px 0 20px; padding: 18px 22px; border-left: 3px solid var(--orange); background: var(--orange-50); color: var(--muted); font-size: 15px; }
.note b { color: var(--navy); display: block; margin-bottom: 2px; }
.mission { padding: 24px 28px; background: var(--navy); color: #fff; }
.mission span { display: block; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.mission strong { font-family: var(--font-head); font-size: 20px; font-weight: 700; }

.lockup { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 20px; padding: 28px; border: 1px solid var(--line); margin-bottom: 24px; }
.lockup__ess { height: 64px; width: auto; }
.lockup__x { font-size: 22px; color: #b3bcc8; font-weight: 300; }
.lockup__ali { height: 26px; width: auto; justify-self: start; }
.lockup p { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); letter-spacing: .02em; }

.group { border: 1px solid var(--line); }
.group__head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 24px; background: var(--navy); color: #fff; }
.group__head span { font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; }
.group__head small { font-size: 13px; color: rgba(255,255,255,.65); }
.group__list li { display: flex; flex-direction: column; padding: 14px 24px; border-top: 1px solid var(--line); }
.group__list li:first-child { border-top: 0; }
.group__list b { font-family: var(--font-head); font-size: 15px; color: var(--navy); }
.group__list span { font-size: 13px; color: var(--muted); }
.group__list li.is-current { box-shadow: inset 3px 0 0 var(--orange); background: var(--orange-50); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.service { display: flex; flex-direction: column; gap: 28px; padding: 40px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); }
.service__kicker { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.service__head h3 { font-size: 24px; margin: 10px 0 10px; }
.service__head p { color: var(--muted); }
.service .btn { margin-top: auto; align-self: flex-start; }
.services__side { display: grid; gap: 24px; }

.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23ff6000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.extra { display: flex; gap: 22px; padding: 32px; background: #fff; border: 1px solid var(--line); }
.extra__icon { width: 34px; height: 34px; color: var(--orange); flex: none; }
.extra h3 { margin-bottom: 10px; font-size: 18px; }
.extra p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.extra__note { color: var(--ink) !important; font-weight: 500; border-left: 2px solid var(--orange); padding-left: 12px; }
.rates { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: 18px; }
.rates div { padding: 10px 14px; border-right: 1px solid var(--line); }
.rates div:last-child { border-right: 0; }
.rates dt { font-size: 12px; color: var(--muted); }
.rates dd { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 14px; }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: var(--line); }
.timeline li { position: relative; }
.timeline__n {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px;
  background: #fff; border: 1.5px solid var(--orange); color: var(--orange);
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
}
.timeline li:first-child .timeline__n { background: var(--orange); color: #fff; }
.timeline h3 { margin-bottom: 8px; font-size: 16px; }
.timeline p { font-size: 14px; color: var(--muted); }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-tile { min-width: 0; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logo-tile img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile--cta { background: var(--bg-alt); text-align: center; font-size: 13px; color: var(--muted); line-height: 1.4; }
.logo-tile--cta span { display: block; color: var(--orange); font-weight: 600; }
.logo-tile--cta:hover { background: var(--orange-50); }

.veterans h3 { font-size: 18px; margin-bottom: 18px; }
.data th, .data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.data thead th { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--navy); border-bottom: 0; }
.data td:first-child { font-weight: 600; color: var(--navy); }
.data td:first-child b { font-weight: 600; }
.data td:first-child small { display: none; font-weight: 400; font-size: 12px; color: var(--muted); }
.data td:nth-child(2) { color: var(--muted); white-space: nowrap; }
.data { background: #fff; }
.data th:last-child, .data td:last-child { text-align: right; }
.data td:last-child { font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: 16px; }
.data tbody tr:hover { background: var(--bg-alt); }

/* ---------- Demo + form ---------- */
.demo { position: relative; padding: 100px 0; overflow: hidden; color: #fff; background: var(--navy); }
.demo::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 96, 0, .18), transparent);
}
.demo__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.demo h2 { color: #fff; margin-bottom: 18px; }
.demo__lead { font-size: 17px; color: rgba(255,255,255,.75); }
.demo__list { display: grid; gap: 14px; margin: 32px 0; }
.demo__list li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.9); }
.demo__list .ico { width: 20px; height: 20px; color: var(--orange); margin-top: 2px; }
.demo__contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.demo__contact span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.demo__contact a { font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.demo__contact a:hover { color: var(--orange); }

.form-card { background: #fff; color: var(--text); padding: 40px; border-top: 3px solid var(--orange); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.form__title { font-size: 22px; }
.form__sub { color: var(--muted); font-size: 14px; margin: 6px 0 26px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field label i { color: var(--orange); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid #cfd6df; background: #fff; font-size: 15px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235f6b7c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #a0a9b6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27, 36, 51, .08); }
.field__error { display: none; font-size: 12px; color: #dc2626; }
.field.is-invalid input, .field.is-invalid select { border-color: #dc2626; }
.field.is-invalid .field__error { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 22px; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { width: 16px; height: 16px; accent-color: var(--orange); margin-top: 2px; flex: none; }
.consent.is-invalid { color: #dc2626; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
.form.is-loading .spinner { display: inline-block; }
.form.is-loading .form__submit { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { margin-top: 12px; font-size: 14px; text-align: center; }
.form__status.is-error { color: #dc2626; }
.form__status a { color: var(--navy); }

.form-success { text-align: center; padding: 32px 8px; }
.form-success__icon { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; border: 2px solid var(--green); border-radius: 50%; color: var(--green); }
.form-success__icon .ico { width: 30px; height: 30px; }
.form-success h3 { font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Team (у розділі «Про нас») ---------- */
.about-team { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.about-team__head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: end; margin-bottom: 36px; }
.about-team__head h3 { font-size: clamp(22px, 2.4vw, 28px); }
.about-team__head p { color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.member { display: flex; flex-direction: column; }
.member__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); margin-bottom: 18px; position: relative; }
.member__photo::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--orange); transition: width .4s; }
.member:hover .member__photo::after { width: 100%; }
.member__photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* ініціали, поки немає фото */
.member__photo::before { content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center; background: var(--navy); color: rgba(255,255,255,.85); font-family: var(--font-head); font-weight: 700; font-size: 40px; letter-spacing: .04em; }
.member__photo::after { z-index: 2; }
.member b { font-family: var(--font-head); font-size: 17px; color: var(--navy); }
.member span { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap .section__head p { margin: 14px 0 28px; }
.faq { border-top: 1px solid #d5dbe3; }
.faq details { border-bottom: 1px solid #d5dbe3; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--font-head); font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' fill='none' stroke='%23ff6000' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--orange); }
.faq details p { padding: 0 44px 22px 0; color: var(--muted); font-size: 15px; }

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.contacts h2 { margin-bottom: 32px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .ico { color: var(--orange); margin-top: 2px; }
.contact-list b { display: block; font-family: var(--font-head); color: var(--navy); font-size: 14px; }
.contact-list span, .contact-list a { color: var(--muted); font-size: 15px; }
.contact-list a:hover { color: var(--orange); }
.contact-list br + a { display: inline-block; margin-top: 2px; }
.contacts__map { min-height: 380px; border: 1px solid var(--line); background: var(--bg-alt); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.4); }

/* ---------- Footer ---------- */
.footer { background: #151c29; color: rgba(255,255,255,.65); padding: 64px 0 28px; font-size: 14px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__logos { display: flex; align-items: center; gap: 24px; margin-bottom: 18px; }
.footer__ess { height: 72px; width: auto; }
.footer__ali { height: 24px; width: auto; flex: none; padding-left: 24px; border-left: 1px solid var(--line-dark); box-sizing: content-box; }
.footer__brand p { max-width: 340px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; align-content: start; }
.footer a:hover { color: #fff; }
.footer__contacts { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__contacts a:not(.btn) { color: #fff; font-weight: 600; }
.footer__contacts .btn { margin-top: 10px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: none;
  padding: 15px 20px; border-radius: var(--radius-sm); background: var(--orange); color: #fff; text-align: center;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45);
  transform: translateY(160%); transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1320px) {
  .header__phone-text { display: none; }
  .topbar__phone { display: inline-flex !important; }
}

@media (max-width: 1180px) {
  .header__inner { gap: 18px; }
  .header__logo img { height: 48px; }
  .header__partner { padding-left: 18px; }
  .header__partner img { height: 18px; }
  .header__partner span { display: none; }
  .nav a:not(.btn) { padding: 8px 8px; font-size: 13.5px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .header__logo img { height: 46px; }
  .header__partner img { height: 18px; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; background: var(--navy); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line-dark); }
  .nav a.is-active::after { display: none; }
  .nav__phone { display: inline-flex !important; align-items: center; gap: 10px; color: #fff !important; }
  .nav__phone .ico { color: var(--orange); }
  .nav__cta { display: inline-flex !important; margin-top: 24px; }
  .social--nav { display: flex; }
  .topbar { display: none; }
  .header__actions { margin-left: auto; }
  .header__phone-text { display: none; }
  body.nav-open { overflow: hidden; }

  .hero { padding-top: 48px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
  .kpi { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .kpi li { padding: 22px 20px; border-bottom: 1px solid var(--line-dark); }
  .kpi li:nth-child(2n) { border-right: 0; }
  .kpi li:nth-child(2n+1) { padding-left: 0; }
  .section__head--split { grid-template-columns: 1fr; gap: 16px; }
  .stats, .features { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: 1fr; }
  .highlight { border-right: 0; border-bottom: 1px solid var(--line); }
  .highlight:last-child { border-bottom: 0; }
  .countries { grid-template-columns: 1fr; gap: 12px; }
  .about, .demo__inner, .faq-wrap, .contacts, .clients, .services { grid-template-columns: 1fr; gap: 40px; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .about-team__head { grid-template-columns: 1fr; gap: 10px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --header-h: 64px; }
  body { font-size: 15px; line-height: 1.6; }
  h2 { font-size: 26px; }
  .section, .demo { padding: 56px 0; }
  .section__head { margin-bottom: 28px; }
  .section__head p { font-size: 15px; }
  .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .header__logo img { height: 40px; }
  .header__inner { gap: 12px; }
  .header__partner { padding-left: 12px; }
  .header__partner img { height: 15px; }
  .header__cta { display: none; }

  /* Hero */
  .hero { padding-top: 36px; }
  .hero__inner { gap: 8px; }
  .hero__title { font-size: 31px; margin-bottom: 16px; }
  .hero__lead { font-size: 15px; }
  .hero__cta { flex-direction: column; gap: 10px; margin: 28px 0 18px; }
  .hero__cta .btn { width: 100%; white-space: normal; text-align: center; }
  .hero__phones { font-size: 15px; }
  .hero__visual { max-width: 260px; margin: 8px auto 0; }
  .glass { display: none; }
  .kpi { margin-top: 24px; }
  .kpi li { padding: 18px 14px 18px 0; }
  .kpi li:nth-child(2n) { padding-left: 16px; padding-right: 0; }
  .kpi li:nth-last-child(-n+2) { border-bottom: 0; }
  .kpi b { font-size: 22px; }
  .kpi span { font-size: 12px; line-height: 1.4; display: block; }

  /* Stats */
  .stat { padding: 18px 14px; }
  .stat__num { font-size: 22px; }
  .stat__label { font-size: 12px; line-height: 1.4; }
  .highlight { padding: 16px 18px; gap: 16px; }
  .highlight b { font-size: 22px; min-width: 104px; flex: none; }
  .highlight p { font-size: 13px; }
  .countries { margin-top: 28px; padding-top: 24px; }
  .countries__list { font-size: 14px; line-height: 1.8; }

  /* Переваги: компактний список */
  .features { grid-template-columns: 1fr; }
  .feature { display: grid; grid-template-columns: 26px 1fr; column-gap: 16px; padding: 18px 16px; }
  .feature__icon { width: 24px; height: 24px; margin: 0; grid-row: 1 / 3; }
  .feature h3 { font-size: 15px; margin-bottom: 4px; }
  .feature p { font-size: 13px; }

  /* Про нас */
  .about { gap: 32px; }
  .about__text h2 { margin-bottom: 16px; }
  .about__text > p { font-size: 15px; }
  .note { padding: 14px 16px; font-size: 14px; }
  .mission { padding: 18px 20px; }
  .mission strong { font-size: 17px; }
  .lockup { grid-template-columns: auto auto; justify-content: start; gap: 18px; padding: 18px; margin-bottom: 16px; }
  .lockup__ess { height: 44px; }
  .lockup__x { display: none; }
  .lockup__ali { height: 20px; }
  .lockup p { padding-top: 12px; font-size: 12px; }
  .group__head { padding: 14px 18px; }
  .group__list li { padding: 12px 18px; }

  /* Послуги */
  .services, .services__side { gap: 16px; }
  .service { padding: 24px 18px; gap: 20px; }
  .service__head h3 { font-size: 20px; }
  .service .btn { align-self: stretch; }
  .checklist { gap: 10px; }
  .checklist li { font-size: 14px; padding-left: 26px; }
  .extra { flex-direction: column; gap: 12px; padding: 22px 18px; }
  .extra__icon { width: 28px; height: 28px; }
  .extra h3 { font-size: 16px; }
  .rates div { padding: 8px 10px; }
  .rates dt { font-size: 11px; }
  .rates dd { font-size: 13px; }

  /* Таймлайн вертикальний */
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding-bottom: 22px; }
  .timeline li:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 40px; bottom: 0; width: 1px; background: var(--line); }
  .timeline__n { width: 40px; height: 40px; grid-row: 1 / 3; margin-bottom: 0; font-size: 13px; }
  .timeline h3 { font-size: 15px; margin: 9px 0 4px; }
  .timeline p { font-size: 13px; }

  /* Клієнти */
  .clients { gap: 32px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-tile { padding: 10px; }
  .logo-tile img { max-height: 36px; }
  .logo-tile--cta { font-size: 11px; }
  .veterans h3 { font-size: 16px; }
  .data th, .data td { padding: 10px 12px; font-size: 13px; }
  .data th:nth-child(2), .data td:nth-child(2) { display: none; }
  .data td:first-child small { display: block; }

  /* Демо + форма */
  .demo__inner { gap: 32px; }
  .demo__lead { font-size: 15px; }
  .demo__list { margin: 22px 0; gap: 10px; }
  .demo__list li { font-size: 14px; }
  .demo__contact a { font-size: 20px; }
  .form-card { padding: 24px 18px; margin: 0 calc(var(--gutter) * -1); }
  .form__grid { grid-template-columns: 1fr; gap: 14px; }
  .field input, .field select, .field textarea { font-size: 16px; } /* без авто-зуму в iOS */

  /* Команда */
  .about-team { margin-top: 48px; padding-top: 40px; }
  .about-team__head { margin-bottom: 24px; }
  .about-team__head p { font-size: 14px; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .member__photo { margin-bottom: 10px; }
  .member b { font-size: 14px; line-height: 1.3; }
  .member span { font-size: 12px; line-height: 1.4; }

  /* FAQ */
  .faq-wrap { gap: 24px; }
  .faq-wrap .section__head p { margin: 10px 0 20px; }
  .faq summary { padding: 18px 36px 18px 0; font-size: 15px; }
  .faq details p { padding-right: 0; font-size: 14px; }

  /* Контакти */
  .contacts { gap: 28px; }
  .contacts h2 { margin-bottom: 20px; }
  .contact-list li { padding: 12px 0; }
  .contacts__map, .contacts__map iframe { min-height: 260px; }

  /* Футер */
  .footer { padding: 44px 0 96px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer__logos { gap: 18px; }
  .footer__ess { height: 56px; }
  .footer__ali { height: 20px; padding-left: 18px; }
  .footer__bottom { flex-direction: column; }
  .social--contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .social--contacts a { justify-content: flex-start; }
  .header__actions { gap: 10px; }
  .header__phone-ico { width: 44px; height: 44px; border-radius: var(--radius-sm); }
  .sticky-cta { display: block; }
}

@media (max-width: 370px) {
  :root { --gutter: 14px; }
  .header__logo img { height: 36px; }
  .header__partner img { height: 13px; }
  .hero__title { font-size: 27px; }
  .stat__num { font-size: 20px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rates { grid-template-columns: 1fr; }
  .rates div { border-right: 0; border-bottom: 1px solid var(--line); }
  .rates div:last-child { border-bottom: 0; }
}

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