/* ============================================================================
   ДИЗЕЛ РУСЕ — v2 „Протокол от стенда"
   Display:  Google Sans (variable, self-hosted subsets)
   Body:     Golos Text (variable, self-hosted subsets)
   Utility:  Montserrat (variable, self-hosted subsets)
   Theme:    фиксиран микс — тъмни хедър/футър и редуващи се светли/тъмни секции
   ============================================================================ */

/* ------------------------------ @font-face ------------------------------ */

@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/GoogleSans-var-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/GoogleSans-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/GoogleSans-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/GoogleSans-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/GolosText-var-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/GolosText-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/GolosText-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/GolosText-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Montserrat-var-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Montserrat-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Montserrat-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Montserrat-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* -------------------------------- tokens -------------------------------- */

:root {
  color-scheme: light;

  /* светли секции — „калибрационна лаборатория" */
  --bg: #f5f7f4;
  --surface: #ffffff;
  --text: #101815;
  --text-dim: #55645c;
  --line: #d9dfda;
  --line-strong: #b6c1b9;

  --accent: #00994f;
  --accent-text: #007038;
  --accent-soft: rgba(0, 153, 79, 0.09);

  /* тъмни секции (хедър, оборудване, футър) */
  --band: #101815;
  --band-2: #17231d;
  --band-text: #edf2ee;
  --band-dim: #9daba2;
  --band-line: rgba(237, 242, 238, 0.16);

  --signal: #b98b0a;
  --signal-soft: rgba(226, 172, 27, 0.12);

  --font-display: "Google Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------------------- reset --------------------------------- */

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
iframe { display: block; border: 0; }

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

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* --------------------------------- type --------------------------------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 620;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.4vw, 4.15rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.25; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 34em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.mono { font-family: var(--font-mono); }

/* утилити текстът е с равноширинни цифри за подравнени телефони и часове */
.topbar, .contact-phones a, .hours-table td:last-child, .cta-info, .header-call, .nav-extra-info {
  font-variant-numeric: tabular-nums;
}

/* ------------------------------- utilities ------------------------------ */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.section-head {
  display: grid;
  gap: 1.1rem;
  max-width: 46em;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

/* измервателна линия — подписът на дизайна */
.ticks {
  height: 13px;
  background:
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 9px) left bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 45px) left bottom / 100% 13px no-repeat;
}
.ticks--band {
  background:
    repeating-linear-gradient(90deg, var(--band-line) 0 1px, transparent 1px 9px) left bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, var(--band-line) 0 1px, transparent 1px 45px) left bottom / 100% 13px no-repeat;
}

/* ------------------------------- buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--solid {
  background: var(--accent);
  color: #06130c;
}
.btn--solid:hover { background: #00b35d; }

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); }

.btn--band-ghost {
  border: 1px solid var(--band-line);
  color: var(--band-text);
}
.btn--band-ghost:hover { border-color: var(--accent); color: #fff; }

.btn .btn-num { font-family: var(--font-mono); font-weight: 500; }

/* -------------------------------- header -------------------------------- */

.topbar {
  background: var(--band);
  color: var(--band-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 2.1rem;
  padding-block: 0.3rem;
}
.topbar a { color: var(--band-text); text-decoration: none; }
.topbar a:hover { color: var(--accent-text); }
.topbar-loc { display: flex; gap: 0.6rem; align-items: center; }
.topbar-hours { display: flex; gap: 0.6rem; align-items: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--band);
  color: var(--band-text);
  border-bottom: 1px solid var(--band-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--band-text);
}
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--band-dim);
  margin-top: 0.2rem;
}

.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  position: relative;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 520;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--band-dim);
  border-radius: var(--radius);
  transition: color 0.15s var(--ease);
}
.site-nav a:hover { color: var(--band-text); }
.site-nav a[aria-current="page"] { color: var(--band-text); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--accent);
}

.header-call {
  margin-left: 0.75rem;
  min-height: 2.6rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.92rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius);
}
.nav-toggle-box { display: block; position: relative; width: 100%; height: 100%; }
.nav-toggle-box span {
  position: absolute;
  left: 2px;
  right: 2px;
  height: 2px;
  background: var(--band-text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-toggle-box span:nth-child(1) { top: 4px; }
.nav-toggle-box span:nth-child(2) { top: 11px; }
.nav-toggle-box span:nth-child(3) { top: 18px; }
.nav-open .nav-toggle-box span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-open .nav-toggle-box span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-box span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .topbar .topbar-zone { display: none; }
  .site-header .container { min-height: 4rem; }
  .nav-toggle { display: block; }
  .header-call { display: none; }

  .site-nav {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 90;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6.5rem var(--gutter) 2rem;
    background: var(--band);
    overflow-y: auto;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a {
    padding: 1.05rem 0.25rem;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--band-text);
    border-bottom: 1px solid var(--band-line);
  }
  .site-nav a[aria-current="page"]::after {
    left: 0.25rem;
    right: auto;
    width: 2.2rem;
    bottom: 0.75rem;
  }
  .nav-extra {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
  }
  .nav-extra .btn { width: 100%; }
  .nav-extra-info {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.9;
    color: var(--band-dim);
  }
  .nav-open { overflow: hidden; }
}

@media (min-width: 861px) {
  .nav-extra { display: none; }
}

/* --------------------------------- hero --------------------------------- */

.hero { padding-block: clamp(3rem, 7vw, 6rem) 0; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.hero-copy { display: grid; gap: 1.5rem; padding-bottom: clamp(1rem, 3vw, 2.5rem); }

.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.35rem); }
.hero h1 .accent { color: var(--accent-text); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.5rem; }

.hero-figure { position: relative; }
.hero-figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
}
.hero-figure figcaption {
  position: absolute;
  left: 0;
  bottom: 1.25rem;
  max-width: 88%;
  padding: 0.5rem 0.9rem;
  background: var(--band);
  color: var(--band-text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
.hero-figure figcaption strong {
  color: var(--accent-text);
  font-weight: 500;
}

/* редът-показания: истински факти, не статистики */
.readout {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}
.readout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 2rem;
}
.readout-item {
  padding-block: 1.4rem;
  display: grid;
  gap: 0.4rem;
  align-content: start;
}
.readout-item + .readout-item { border-left: 1px solid var(--line); padding-left: 2rem; }
.readout-item dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.readout-item dd {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-figure img { aspect-ratio: 4 / 3; }
  .readout-grid { grid-template-columns: 1fr; gap: 0; }
  .readout-item { padding-block: 1rem; }
  .readout-item + .readout-item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* ------------------------------ важно strip ----------------------------- */

.notice { padding-block: clamp(2rem, 4vw, 3rem); }
.notice-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  border: 1px solid var(--line);
  border-left: 4px solid var(--signal);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.notice-tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--signal);
  padding: 0.25rem 0.55rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  margin-top: 0.15rem;
}
.notice-text { max-width: 62em; }
.notice-text strong { font-weight: 600; }
.notice-text a { color: var(--accent-text); }

@media (max-width: 640px) {
  .notice-inner { grid-template-columns: 1fr; gap: 0.9rem; }
  .notice-tag { justify-self: start; }
}

/* ------------------------------ service trio ---------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s var(--ease);
}
.service-card:hover { border-color: var(--accent); }
.service-card figure { position: relative; overflow: hidden; }
.service-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.service-card:hover img { transform: scale(1.03); }
.service-card figcaption {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.3rem 0.65rem;
  background: var(--band);
  color: var(--band-text);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.service-body {
  display: grid;
  gap: 0.6rem;
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
  align-content: start;
}
.service-body p { color: var(--text-dim); font-size: 0.95rem; }
.service-more {
  margin-top: auto;
  padding-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent-text);
}
.service-card:hover .service-more { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card img { aspect-ratio: 16 / 9; }
}

/* ---------------------------- equipment band ---------------------------- */

.band {
  background: var(--band);
  color: var(--band-text);
}
.band .eyebrow { color: var(--accent-text); }
.band .lede { color: var(--band-dim); }

.equip-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.equip-item { position: relative; border-radius: var(--radius); overflow: hidden; }
.equip-item img { width: 100%; height: 100%; object-fit: cover; }
.equip-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 1rem 0.8rem;
  background: linear-gradient(0deg, rgba(6, 10, 8, 0.86), rgba(6, 10, 8, 0));
  color: #edf2ee;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.equip-item--wide { grid-column: span 7; }
.equip-item--wide img { aspect-ratio: 16 / 10; }
.equip-item--tall { grid-column: span 5; }
.equip-item--tall img { aspect-ratio: auto; height: 100%; }
.equip-item--a { grid-column: span 5; }
.equip-item--a img { aspect-ratio: 16 / 10; }
.equip-item--b { grid-column: span 7; }
.equip-item--b img { aspect-ratio: 21 / 10; }

.band-foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--band-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.band-foot p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--band-dim);
  max-width: 46em;
}

@media (max-width: 860px) {
  .equip-grid { grid-template-columns: 1fr; }
  .equip-item--wide, .equip-item--tall, .equip-item--a, .equip-item--b { grid-column: auto; }
  .equip-item--tall img, .equip-item--b img { aspect-ratio: 16 / 10; height: auto; }
}

/* ----------------------------- split section ---------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-copy { display: grid; gap: 1.25rem; }
.split-copy .btn { justify-self: start; margin-top: 0.5rem; }
.split-figure { position: relative; }
.split-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.split-figure figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}
.split--flip .split-figure { order: -1; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split-figure { order: 0; }
}

/* ------------------------------- fact list ------------------------------ */

.fact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.fact-list .mark {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 1px;
  align-self: center;
}
.fact-list strong { font-weight: 600; }
.fact-list span.detail { color: var(--text-dim); }

/* -------------------------------- spec rows ----------------------------- */

.spec-rows { border-top: 1px solid var(--line); counter-reset: spec; }
.spec-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-row::before {
  counter-increment: spec;
  content: counter(spec, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-text);
  padding-top: 0.2rem;
}
.spec-row h3 { font-size: 1.08rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0; }
.spec-row p { color: var(--text-dim); font-size: 0.95rem; margin-top: 0.25rem; }

/* --------------------------------- steps -------------------------------- */

.steps { display: grid; gap: 0; max-width: 46em; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 1.4rem;
  padding-block: 1.4rem;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 3.6rem;
  bottom: -0.4rem;
  width: 1px;
  background: var(--line-strong);
}
.step-num {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-text);
  position: relative;
  z-index: 1;
}
.step h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; letter-spacing: 0; line-height: 2.25rem; }
.step p { color: var(--text-dim); margin-top: 0.2rem; }
.band .step p { color: var(--band-dim); }

/* ------------------------------ systems row ----------------------------- */

.systems {
  border-block: 1px solid var(--line);
  padding-block: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 2.5rem;
}
.systems-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.systems-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 620;
  letter-spacing: -0.01em;
}
.band .systems { border-block: 0; padding-block: clamp(2rem, 4vw, 2.75rem); }
.band .systems-label { color: var(--band-dim); }

/* ------------------------------- timeline ------------------------------- */

.timeline { display: grid; gap: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--accent-text);
  padding-top: 0.15rem;
}
.tl-item h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; letter-spacing: 0; }
.tl-item p { color: var(--text-dim); margin-top: 0.3rem; max-width: 42em; }

@media (max-width: 640px) {
  .tl-item { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ------------------------------ photo duo ------------------------------- */

.photo-duo {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
.photo-duo figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.photo-duo img { width: 100%; height: 100%; object-fit: cover; }
.photo-duo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 1rem 0.8rem;
  background: linear-gradient(0deg, rgba(6, 10, 8, 0.86), rgba(6, 10, 8, 0));
  color: #edf2ee;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.photo-duo--first img { aspect-ratio: 16 / 11; }

@media (max-width: 860px) {
  .photo-duo { grid-template-columns: 1fr; }
}

/* ------------------------------- CTA band ------------------------------- */

.cta-band { background: var(--band); color: var(--band-text); }
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cta-copy { display: grid; gap: 1.2rem; }
.cta-copy .lede { color: var(--band-dim); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.4rem; }
.cta-info {
  display: grid;
  gap: 1.1rem;
  border-left: 1px solid var(--band-line);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--band-dim);
}
.cta-info dt {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.2rem;
}
.cta-info dd a { color: var(--band-text); text-decoration: none; }
.cta-info dd a:hover { color: var(--accent-text); }

@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-info { border-left: 0; border-top: 1px solid var(--band-line); padding-left: 0; padding-top: 1.5rem; }
}

/* --------------------- брандирана акцентна лента (зелена) --------------------- */

.band--accent { background: var(--accent); color: #ffffff; }
.band--accent.section { padding-block: clamp(2rem, 4vw, 3.25rem); }
.band--accent .eyebrow { color: #ffffff; }
.band--accent .eyebrow::before { background: #ffffff; }
.band--accent .lede { color: rgba(255, 255, 255, 0.94); }
.band--accent .btn--solid { background: var(--band); color: #edf2ee; }
.band--accent .btn--solid:hover { background: #1e2d26; }
.band--accent .btn--band-ghost { border-color: rgba(255, 255, 255, 0.55); color: #ffffff; }
.band--accent .btn--band-ghost:hover { border-color: #ffffff; }
.band--accent .cta-info { border-color: rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.94); }
.band--accent .cta-info dt { color: rgba(255, 255, 255, 0.75); }
.band--accent .cta-info dd a { color: #ffffff; }
.band--accent :focus-visible { outline-color: #ffffff; }

/* ------------------------------ page header ----------------------------- */

.page-head { padding-block: clamp(3rem, 6vw, 5rem) 0; }
.page-head-inner {
  display: grid;
  gap: 1.25rem;
  max-width: 50em;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.page-head .ticks { margin-top: 0; }

/* ------------------------------- contacts ------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.6rem;
}
.contact-card section { display: grid; gap: 0.45rem; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-card address { font-style: normal; line-height: 1.7; }
.contact-phones { display: grid; gap: 0.35rem; }
.contact-phones a {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: 0.01em;
  color: var(--accent-text);
  text-decoration: none;
}
.contact-phones a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours-table td:last-child { text-align: right; font-family: var(--font-mono); font-size: 0.85rem; white-space: nowrap; }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table .closed { color: var(--text-dim); }

.contact-social { display: flex; gap: 1.5rem; }
.contact-social a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.contact-social a:hover { border-color: currentColor; }

.map-col { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: clamp(320px, 45vw, 430px); }

.landmark {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.25rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.landmark img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.landmark-text { padding: 1.25rem 1.5rem; display: grid; gap: 0.4rem; }
.landmark-text p { color: var(--text-dim); font-size: 0.95rem; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .landmark { grid-template-columns: 1fr; }
  .landmark img { aspect-ratio: 16 / 9; }
  .landmark-text { padding: 1.1rem 1.25rem 1.4rem; }
}

/* -------------------------------- footer -------------------------------- */

.site-footer {
  background: var(--band);
  color: var(--band-dim);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer-brand { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.footer-brand .brand { margin-right: 0; }
.footer-brand .brand-name { color: var(--band-text); }
.footer-brand .brand-sub { color: var(--band-dim); }
.footer-brand p { max-width: 30em; line-height: 1.7; }

.footer-col h4 {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--band-text);
}
.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col a { color: var(--band-dim); text-decoration: none; }
.footer-col a:hover { color: var(--accent-text); }
.footer-col address { font-style: normal; line-height: 1.8; }
.footer-col .mono { font-size: 0.84rem; }

.footer-bottom { border-top: 1px solid var(--band-line); }
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.footer-bottom a { color: var(--band-dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-text); }
.footer-social { display: flex; gap: 1.25rem; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* -------------------------------- motion -------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }

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