/* ============================================================
   ITEnergy — стилі
   Дизайн-система: «диспетчерська сонячної станції», dark-first.
   Токени: :root — темна тема (базова); світла — через
   prefers-color-scheme та [data-theme="light"].
   ============================================================ */

:root {
  /* Палітра — темна тема (базова) */
  --bg: #0B1526;
  --bg-raise: #0F1C33;
  --surface: #12213C;
  --surface-2: #182A49;
  --line: #24375A;
  --ink: #EDF2FA;
  --ink-2: #A9B7CE;
  --ink-3: #7C8CA6;
  --sun: #FFC23D;
  --sun-deep: #FF8A2A;
  --sun-ink: #14202F;           /* текст на бурштиновій кнопці */
  --ok: #3ECF8E;
  --warn: #FFB020;
  --crit: #FF7A70;
  --chip-ok-bg: rgba(62, 207, 142, .12);
  --chip-warn-bg: rgba(255, 176, 32, .14);
  --shadow: 0 18px 48px rgba(3, 9, 20, .5);
  --glow: 0 0 64px rgba(255, 194, 61, .12);

  /* Типографіка */
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Onest", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* Ритм */
  --radius: 14px;
  --radius-lg: 22px;
  --section-gap: clamp(4.5rem, 9vw, 7.5rem);
  --container: 1160px;

  color-scheme: dark;
}

/* Світла тема: системна перевага, якщо користувач не обрав темну вручну */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #FAF7F0;
    --bg-raise: #FFFFFF;
    --surface: #FFFFFF;
    --surface-2: #F3EEE2;
    --line: #E2DCCC;
    --ink: #17232F;
    --ink-2: #4A5A6E;
    --ink-3: #718091;
    --sun: #E89B0C;
    --sun-deep: #D96F0F;
    --sun-ink: #1A1204;
    --ok: #148F5B;
    --warn: #A96A00;
    --crit: #C4372C;
    --chip-ok-bg: rgba(20, 143, 91, .1);
    --chip-warn-bg: rgba(169, 106, 0, .12);
    --shadow: 0 16px 40px rgba(38, 32, 14, .12);
    --glow: 0 0 64px rgba(232, 155, 12, .1);
    color-scheme: light;
  }
}

/* Явний вибір світлої теми перемикачем */
:root[data-theme="light"] {
  --bg: #FAF7F0;
  --bg-raise: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3EEE2;
  --line: #E2DCCC;
  --ink: #17232F;
  --ink-2: #4A5A6E;
  --ink-3: #718091;
  --sun: #E89B0C;
  --sun-deep: #D96F0F;
  --sun-ink: #1A1204;
  --ok: #148F5B;
  --warn: #A96A00;
  --crit: #C4372C;
  --chip-ok-bg: rgba(20, 143, 91, .1);
  --chip-warn-bg: rgba(169, 106, 0, .12);
  --shadow: 0 16px 40px rgba(38, 32, 14, .12);
  --glow: 0 0 64px rgba(232, 155, 12, .1);
  color-scheme: light;
}

/* ---------- Скидання та база ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--sun);
  margin-bottom: 1rem;
}

.section-lead {
  max-width: 62ch;
  color: var(--ink-2);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--sun);
  color: var(--sun-ink);
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--sun), var(--sun-deep));
  color: var(--sun-ink);
  box-shadow: 0 6px 24px rgba(255, 165, 50, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 165, 50, .38); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: var(--surface); }

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--sun);
}
.logo-mark { width: 26px; height: 26px; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.logo-text em { font-style: normal; color: var(--sun); }

.site-nav { margin-inline: auto; }

.nav-list {
  display: flex;
  gap: 1.6rem;
}
.nav-list a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .15s ease;
}
.nav-list a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-left: auto;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.theme-toggle:hover { color: var(--sun); border-color: var(--sun); }
.theme-toggle svg { width: 19px; height: 19px; }
/* Показуємо іконку протилежної теми: у темній — сонце, у світлій — місяць */
.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .icon-sun { display: none; }
  :root:not([data-theme="dark"]) .icon-moon { display: block; }
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
}

/* Атмосфера: сонячне сяйво над горизонтом */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 80%;
  background:
    radial-gradient(46% 60% at 72% 30%, rgba(255, 178, 46, .16), transparent 70%),
    radial-gradient(30% 42% at 18% 12%, rgba(90, 140, 220, .12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-lead {
  max-width: 56ch;
  font-size: 1.08rem;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.4rem;
  margin: 2.6rem 0 0;
}
.fact dt {
  font-family: var(--font-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-3);
  margin-bottom: .2rem;
}
.fact dd { margin: 0; font-size: .95rem; color: var(--ink-2); }
.fact .mono { color: var(--sun); font-weight: 600; }

/* --- Дашборд у hero --- */

.hero-dash-wrap {
  display: grid;
  gap: .7rem;
}

.dash-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--ink-3);
  text-align: center;
}

.hero-dash {
  background: linear-gradient(165deg, var(--surface), var(--bg-raise));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow), var(--glow);
  display: grid;
  gap: 1.1rem;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.dash-title { font-weight: 700; margin: 0; }
.dash-sub { font-size: .74rem; color: var(--ink-3); margin: .15rem 0 0; }
.dash-live {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-size: .8rem;
  color: var(--ink-2);
  white-space: nowrap;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 var(--chip-ok-bg);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(62, 207, 142, .45); }
  70%  { box-shadow: 0 0 0 9px rgba(62, 207, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0); }
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}
.kpi {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem .85rem;
}
.kpi-label {
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
  margin: 0 0 .35rem;
}
.kpi-value {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.kpi-value small {
  font-size: .68rem;
  font-weight: 400;
  color: var(--ink-3);
}

.dash-chart { margin: 0; }
.dash-chart svg {
  width: 100%;
  height: auto;
  margin-top: .4rem;
  border-radius: 8px;
}
.chart-hours {
  display: flex;
  justify-content: space-between;
  font-size: .64rem;
  color: var(--ink-3);
  margin-top: .3rem;
}

.dash-devices { display: grid; gap: .45rem; }
.dash-devices li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .55rem .8rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .85rem;
}
.device-name { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-2); }

/* Чипи стану: колір + текст, не лише колір */
.chip {
  display: inline-flex;
  align-items: center;
  padding: .3rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip-ok   { background: var(--chip-ok-bg);   border-color: transparent; color: var(--ok); }
.chip-warn { background: var(--chip-warn-bg); border-color: transparent; color: var(--warn); }
.chip-more { border-style: dashed; color: var(--ink-3); }

/* ---------- Обладнання ---------- */

.equipment { padding-block: var(--section-gap) 0; }

.equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.equipment-col {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
}
.equipment-col .kpi-label { margin-bottom: .9rem; }
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chip-list .mono { font-size: .74rem; }

/* ---------- Послуги ---------- */

.services { padding-block: var(--section-gap) 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--sun); transform: translateY(-3px); }
.card-wide { grid-column: span 2; }
.card-icon {
  width: 30px; height: 30px;
  color: var(--sun);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-2); font-size: .93rem; }

/* ---------- Цінність ---------- */

.value { padding-block: var(--section-gap) 0; }

.value-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.value-copy p { color: var(--ink-2); max-width: 56ch; }

.value-list { display: grid; gap: 1rem; }
.value-list li {
  display: flex;
  gap: 1.1rem;
  padding: 1.1rem 1.3rem;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.value-num {
  font-size: .8rem;
  font-weight: 600;
  color: var(--sun);
  padding-top: .25rem;
}
.value-list h3 { margin-bottom: .25em; }
.value-list p { color: var(--ink-2); font-size: .92rem; }

/* ---------- Процес ---------- */

.process { padding-block: var(--section-gap) 0; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
  counter-reset: step;
}
.process-steps li {
  position: relative;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
}
.step-num {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--sun);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25rem .7rem;
  margin-bottom: .9rem;
}
.process-steps h3 { font-size: .98rem; margin-bottom: .35em; }
.process-steps p { color: var(--ink-2); font-size: .87rem; }

/* ---------- Про нас ---------- */

.about { padding-block: var(--section-gap) 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-grid p { color: var(--ink-2); max-width: 58ch; }
.about-grid strong { color: var(--ink); }

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-points li {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
}
.about-points p { margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; }

/* ---------- Форма заявки ---------- */

.request { padding-block: var(--section-gap); }

.request-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.request-copy p { color: var(--ink-2); max-width: 46ch; }

.request-contacts {
  font-style: normal;
  display: grid;
  gap: .7rem;
  margin-top: 1.8rem;
}
.contact-line {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}
.contact-line svg { width: 20px; height: 20px; color: var(--sun); flex: none; }
a.contact-line:hover span { text-decoration: underline; text-underline-offset: 3px; }

.request-form {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field { display: grid; gap: .4rem; }
.field label {
  font-size: .86rem;
  font-weight: 600;
}
.field label span { color: var(--sun); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem .9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 400 .95rem/1.5 var(--font-body);
  transition: border-color .15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sun);
}
.field textarea { resize: vertical; min-height: 96px; }

.field.invalid input,
.field.invalid textarea { border-color: var(--crit); }

.field-error {
  margin: 0;
  min-height: 1em;
  font-size: .8rem;
  color: var(--crit);
}

/* Повідомлення про обробку персональних даних під формою */
.form-notice {
  margin: 0;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--ink-3);
}
.form-notice a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}
.form-notice a:hover { color: var(--sun); text-decoration-color: var(--sun); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn-submit { position: relative; justify-self: start; min-width: 220px; }

/* Кнопка під час зворотного відліку між заявками */
.btn:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
  box-shadow: none;
  filter: grayscale(.35);
}
.btn:disabled:hover { transform: none; box-shadow: none; }
.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(0,0,0,.25);
  border-top-color: var(--sun-ink);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.request-form.sending .btn-spinner { display: inline-block; }
.request-form.sending .btn-submit { pointer-events: none; opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin: 0; font-size: .9rem; min-height: 1.4em; }
.form-status.ok { color: var(--ok); font-weight: 600; }
.form-status.error { color: var(--crit); }

/* ---------- Правова сторінка ---------- */

.legal {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-gap);
}
.legal-inner { max-width: 68ch; margin-inline: auto; }

.legal-updated {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--ink-3);
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 2rem; }

.legal h3 {
  margin-top: 1.6rem;
  font-size: .98rem;
  color: var(--sun);
}

.legal p,
.legal li { color: var(--ink-2); }

.legal ul {
  display: grid;
  gap: .5rem;
  margin: 1rem 0;
}
.legal ul li {
  position: relative;
  padding-left: 1.4rem;
}
.legal ul li::before {
  content: "";
  position: absolute;
  left: .25rem;
  top: .7em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sun);
}

.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal a:hover { color: var(--sun); }

/* Картка з контактами володільця даних */
.legal-card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem;
  margin: 1.2rem 0;
}
.legal-card p { margin-bottom: .4rem; }
.legal-card p:last-child { margin-bottom: 0; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  font-size: .9rem;
  color: var(--ink-2);
  text-decoration: none;
}
.legal-back:hover { color: var(--sun); }

/* ---------- Підвал ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raise);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-tagline { color: var(--ink-2); font-size: .92rem; margin-top: 1rem; }
.footer-contacts { display: grid; gap: .5rem; color: var(--ink-2); font-size: .92rem; }
.footer-contacts a { text-decoration: none; }
.footer-contacts a:hover { color: var(--sun); }
.site-footer .kpi-label { margin-bottom: .9rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: .84rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Анімації появи ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
  .btn, .card { transition: none; }
}

/* ---------- Адаптивність ---------- */

@media (max-width: 1000px) {
  .hero-grid,
  .value-grid,
  .about-grid,
  .request-grid { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: span 2; }

  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps li:last-child { grid-column: span 2; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-nav { margin-inline: 0; order: 3; }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    content: "";
    display: block;
    width: 17px; height: 2px;
    border-radius: 2px;
    background: currentColor;
    position: relative;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle-bar::before { position: absolute; transform: translateY(-5.5px); }
  .nav-toggle-bar::after  { position: absolute; transform: translateY(5.5px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: rotate(-45deg); }

  .nav-list {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-raise);
    border-bottom: 1px solid var(--line);
    padding: .5rem 0;
    box-shadow: var(--shadow);
  }
  .nav-list.open { display: flex; }
  .nav-list a {
    display: block;
    padding: .85rem clamp(1rem, 4vw, 2rem);
    font-size: 1rem;
  }

  .header-cta { display: none; }
  .header-inner { justify-content: space-between; }

  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .dash-kpis .kpi:first-child { grid-column: span 2; }

  .services-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }

  .process-steps { grid-template-columns: 1fr; }
  .process-steps li:last-child { grid-column: auto; }

  .equipment-grid,
  .about-points,
  .form-row,
  .footer-grid { grid-template-columns: 1fr; }

  .btn-submit { justify-self: stretch; }
}
