/* ============================================================
   ООО «СИП Кабель» — visual system "Arctic Glass"
   Deep navy ink + brand azure + layered frosted glass.
   Type: Geologica (display) / Golos Text (text) / JetBrains Mono (technical)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@300..600&family=Golos+Text:wght@400..600&family=JetBrains+Mono:wght@400..600&display=swap');

/* ---------- 1. Tokens ---------- */

:root {
  /* Ink scale — pulled from the logo's navy */
  --ink-900: #061726;
  --ink-800: #0A2338;
  --ink-700: #103A5C;
  --ink-600: #1B4E72;
  --slate-700: #2F5271;
  --slate-600: #47657F;
  --slate-500: #64809A;
  --slate-400: #8AA0B5;

  /* Single restrained accent — the logo azure */
  --accent: #1B8AD3;
  --accent-deep: #0E6BAA;
  --accent-bright: #62C4F2;
  --accent-tint: rgba(27, 138, 211, 0.10);
  --accent-tint-2: rgba(27, 138, 211, 0.18);

  /* Arctic paper background */
  --paper: #EEF3F8;
  --paper-2: #DEE8F1;
  --paper-3: #C9D8E5;

  /* Glass */
  --glass: rgba(255, 255, 255, 0.52);
  --glass-2: rgba(255, 255, 255, 0.68);
  --glass-3: rgba(255, 255, 255, 0.84);
  --glass-dark: rgba(9, 30, 50, 0.55);
  --edge: rgba(255, 255, 255, 0.75);
  --edge-soft: rgba(255, 255, 255, 0.42);
  --edge-dark: rgba(255, 255, 255, 0.16);
  --hair: rgba(10, 35, 56, 0.10);
  --hair-soft: rgba(10, 35, 56, 0.055);

  /* Elevation */
  --sh-s: 0 2px 10px -2px rgba(6, 23, 38, 0.07);
  --sh-m: 0 16px 38px -16px rgba(6, 23, 38, 0.22);
  --sh-l: 0 36px 78px -28px rgba(6, 23, 38, 0.34);
  --sh-inset: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --sh-inset-dark: inset 0 1px 0 rgba(255, 255, 255, 0.14);

  /* Geometry — engineered rectangles, not pills */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --max: 1240px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --header-h: 120px;

  --font: 'Golos Text', 'Segoe UI', sans-serif;
  --display: 'Geologica', 'Golos Text', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Legacy alias kept for inline styles in existing markup */
  --line: rgba(10, 35, 56, 0.10);

  --blur: saturate(1.7) blur(22px);
  --blur-lg: saturate(1.9) blur(34px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 2rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  color: var(--ink-800);
  background-color: var(--paper);
  counter-reset: sect;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Fixed atmospheric ground: cool arctic wash + two soft accent auroras */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(74rem 44rem at 8% -12%, rgba(27, 138, 211, 0.16), transparent 62%),
    radial-gradient(58rem 40rem at 104% 14%, rgba(16, 58, 92, 0.16), transparent 58%),
    radial-gradient(52rem 36rem at 50% 118%, rgba(27, 138, 211, 0.10), transparent 60%),
    linear-gradient(168deg, #F3F7FB 0%, var(--paper) 34%, var(--paper-2) 72%, var(--paper-3) 100%);
}

/* Fixed engineering hairline grid — the signature texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to right,
    rgba(10, 35, 56, 0.042) 0 1px,
    transparent 1px 112px
  );
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}

main { position: relative; z-index: 1; display: block; }

img { max-width: 100%; display: block; height: auto; }
svg { display: block; }

a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.22s var(--ease-soft);
}
a:hover { color: var(--ink-700); }

ul { padding-left: 1.15rem; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--ink-700); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

/* ---------- 3. Glass primitives ---------- */

.glass,
.feature,
.tile,
.timeline,
.specs,
.form,
.vacancy,
.stat,
.logo-wall div,
.gallery a {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--edge);
}

/* Specular sheen used by interactive glass surfaces */
.feature,
.tile,
.vacancy { position: relative; overflow: hidden; }

.feature::after,
.tile::before,
.vacancy::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.55) 48%, transparent 64%);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.5s var(--ease-soft);
}
.feature:hover::after,
.tile:hover::before,
.vacancy:hover::after {
  transform: translateX(120%);
  opacity: 1;
}

/* ---------- 4. Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  line-height: 1.12;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* Auto-numbered section eyebrows — disabled (kept clean) */
.section .section-head > .eyebrow::before { content: none; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  column-gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: clamp(1.8rem, 4vw, 2.9rem);
}
.section-head > .eyebrow { grid-column: 1 / -1; }
.section-head > h2 { grid-column: 1; }
.section-head > p { grid-column: 2; padding-top: 0.5rem; }

.section-head h2,
.page-title {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

.section-head p,
.lede {
  margin: 0;
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 34rem;
}

/* ---------- 5. Header — floating frosted plate ---------- */

.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  width: min(100% - (var(--gutter) * 2), var(--max));
  height: auto;
  min-height: 0;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: var(--blur-lg);
  backdrop-filter: var(--blur-lg);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--sh-inset), 0 18px 44px -20px rgba(6, 23, 38, 0.34);
  transition: background 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft),
              border-radius 0.4s var(--ease), top 0.4s var(--ease);
  overflow: visible;
}

.site-header.scrolled {
  top: 8px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--sh-inset), 0 20px 48px -22px rgba(6, 23, 38, 0.42);
}
.site-header.scrolled .header-top {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  pointer-events: none;
  overflow: hidden;
}
.site-header.scrolled .header-inner {
  padding-top: 0.45rem;
  padding-bottom: 0.5rem;
}
.site-header.scrolled .logo img { height: 30px; }
.site-header.scrolled .nav {
  padding: 0.18rem;
}
.site-header.scrolled .nav > a,
.site-header.scrolled .nav-link {
  padding: 0.42rem 0.72rem;
}

/* Accent hairline along the top edge of the plate */
.site-header::before {
  content: '';
  position: absolute;
  inset: -1px 18% auto 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  opacity: 0.7;
}

.header-top {
  max-height: 48px;
  opacity: 1;
  padding: 0.45rem 1.15rem;
  border-bottom: 1px solid var(--hair);
  transition: max-height 0.35s var(--ease), opacity 0.28s var(--ease-soft),
              padding 0.35s var(--ease), border-color 0.28s;
  overflow: visible;
  position: relative;
  z-index: 5;
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.header-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
}
.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-700);
  white-space: nowrap;
}
.header-contact svg { color: var(--accent); flex-shrink: 0; }
.header-contact:hover { color: var(--accent-deep); }

.header-top-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  position: relative;
  z-index: 6;
}
.header-social {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header-social a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--slate-600);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--edge-soft);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.header-social a:hover {
  color: var(--accent-deep);
  background: #fff;
  border-color: var(--accent-tint-2);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem 0.2rem 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--edge);
}
.header-search input {
  width: 7.5rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.75rem;
  color: var(--ink-800);
  outline: none;
}
.header-search input::placeholder { color: var(--slate-400); }
.header-search button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--slate-600);
  cursor: pointer;
}
.header-search button:hover { color: var(--accent-deep); }

.header-main {
  position: relative;
  z-index: 1;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.85rem 0.6rem 1.1rem;
  transition: padding 0.35s var(--ease);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  justify-self: start;
  transition: opacity 0.25s var(--ease-soft);
}
.logo img {
  height: 36px;
  width: auto;
  transition: height 0.35s var(--ease);
}
.logo:hover { opacity: 0.78; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0.35rem;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  padding: 0.28rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: padding 0.3s var(--ease);
}

.nav > a,
.nav-link {
  position: relative;
  color: var(--slate-700);
  padding: 0.52rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: 999px;
  transition: color 0.22s var(--ease-soft), background 0.28s var(--ease-soft),
              box-shadow 0.28s var(--ease-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1 1 auto;
}
.nav-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.88;
  transition: color 0.2s var(--ease-soft), opacity 0.2s var(--ease-soft);
}
.nav > a::after,
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.28rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.34s var(--ease);
}
.nav > a:hover,
.nav-link:hover {
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.72);
}
.nav > a:hover .nav-ico,
.nav-link:hover .nav-ico { opacity: 1; color: var(--accent-deep); }
.nav > a:hover::after,
.nav-link:hover::after { width: 12px; }
.nav > a.active,
.nav-link.active {
  color: var(--ink-900);
  font-weight: 600;
  background: #fff;
  box-shadow: 0 1px 3px rgba(6, 23, 38, 0.08), var(--sh-inset);
}
.nav > a.active .nav-ico,
.nav-link.active .nav-ico { opacity: 1; color: var(--accent-deep); }
.nav > a.active::after,
.nav-link.active::after { width: 14px; }

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 auto;
  z-index: 2;
}
.nav-item .nav-link { width: 100%; }
.nav-item.open { z-index: 30; }
.nav-chevron {
  flex-shrink: 0;
  opacity: 0.65;
  margin-left: 0.1rem;
  transition: transform 0.25s var(--ease);
}
.nav-item.open .nav-chevron { transform: rotate(180deg); }

.nav-sub {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  min-width: 16.5rem;
  padding: 0;
  z-index: 200;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.22s var(--ease-soft), transform 0.28s var(--ease), visibility 0.22s;
}
.nav-sub::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav-sub-panel {
  position: relative;
  padding: 0.4rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: var(--blur-lg);
  backdrop-filter: var(--blur-lg);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-l);
}
.nav-sub-panel::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid var(--edge);
  border-top: 1px solid var(--edge);
  transform: translateX(-50%) rotate(45deg);
}
.nav-item.open .nav-sub,
.nav-item:hover .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-sub-label {
  margin: 0 0 0.2rem;
  padding: 0.35rem 0.75rem 0.45rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  border-bottom: 1px solid var(--hair-soft);
}

.nav-sub a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.58rem 0.65rem;
  color: var(--slate-700);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--r-xs);
  border-bottom: 0;
  transition: background 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}
.nav-sub a::after { display: none; }
.nav-sub-ico {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(27, 138, 211, 0.08);
  color: var(--accent);
  transition: background 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}
.nav-sub-go {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0;
  color: var(--accent);
  transform: translateX(-4px);
  transition: opacity 0.2s var(--ease-soft), transform 0.22s var(--ease);
}
.nav-sub a:hover {
  background: var(--accent-tint);
  color: var(--ink-900);
}
.nav-sub a:hover .nav-sub-ico {
  background: rgba(27, 138, 211, 0.16);
  color: var(--accent-deep);
}
.nav-sub a:hover .nav-sub-go {
  opacity: 1;
  transform: none;
}
.nav-sub a.active {
  background: var(--ink-800);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}
.nav-sub a.active .nav-sub-ico {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.nav-sub a.active .nav-sub-go {
  opacity: 0.7;
  color: #fff;
  transform: none;
}

.nav-shop {
  margin-left: 0;
  padding: 0.5rem 0.95rem 0.5rem 0.8rem !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 650 !important;
  letter-spacing: 0.01em;
  font-size: 0.8rem;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 18px -8px rgba(14, 107, 170, 0.65) !important;
  gap: 0.4rem !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              filter 0.28s var(--ease-soft), background 0.28s var(--ease-soft) !important;
}
.nav-shop::after { display: none !important; }
.nav-shop-icon,
.nav-shop-arrow {
  flex-shrink: 0;
  opacity: 0.95;
}
.nav-shop-arrow { opacity: 0.75; }
.nav-shop:hover {
  color: #fff !important;
  background: linear-gradient(145deg, var(--accent-bright) 0%, var(--accent) 55%, var(--accent-deep) 100%) !important;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 12px 24px -10px rgba(27, 138, 211, 0.75) !important;
  filter: brightness(1.04);
}
.nav-shop:hover .nav-shop-arrow { opacity: 1; transform: translate(1px, -1px); }
.nav-shop-arrow { transition: transform 0.25s var(--ease), opacity 0.25s var(--ease-soft); }
.nav-shop:active { transform: translateY(0); }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
  justify-self: end;
}

.lang-switch { position: relative; z-index: 20; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--edge);
  color: var(--ink-800);
  padding: 0.28rem 0.5rem;
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  border-radius: var(--r-xs);
  transition: background 0.25s var(--ease-soft), border-color 0.25s var(--ease-soft);
}
.lang-btn:hover { background: #fff; border-color: var(--accent-tint-2); }
.lang-btn svg { transition: transform 0.3s var(--ease); }
.lang-switch.open .lang-btn svg { transform: rotate(180deg); }
.lang-flag {
  display: block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(6, 23, 38, 0.12);
}
.lang-short { font-size: 0.7rem; }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 12.5rem;
  padding: 0.3rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: var(--blur-lg);
  backdrop-filter: var(--blur-lg);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-l);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.24s var(--ease-soft), transform 0.28s var(--ease), visibility 0.24s;
  z-index: 200;
}
.lang-switch.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--slate-700);
  padding: 0.58rem 0.75rem;
  border-radius: var(--r-xs);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
}
.lang-menu button .lang-flag {
  width: 20px;
  height: 15px;
  flex-shrink: 0;
}
.lang-menu button:hover { background: var(--accent-tint); color: var(--ink-900); }
.lang-menu button.active { background: var(--ink-800); color: #fff; }

.burger {
  display: none;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--edge);
  color: var(--ink-800);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-xs);
}
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background 0.2s var(--ease-soft);
}
.burger span::before,
.burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.34s var(--ease);
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(5px) rotate(45deg); }
.burger.is-open span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 6. Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 1.5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease-soft), color 0.25s var(--ease-soft),
              border-color 0.25s var(--ease-soft);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(150deg, var(--ink-700) 0%, var(--ink-900) 100%);
  color: #fff;
  box-shadow: var(--sh-inset-dark), 0 16px 32px -14px rgba(6, 23, 38, 0.55);
}
.btn-primary:hover {
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: var(--sh-inset-dark), 0 20px 38px -14px rgba(27, 138, 211, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  color: var(--ink-800);
  border-color: var(--edge);
  box-shadow: var(--sh-inset);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-900);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

/* ---------- 7. Hero — visual band under floating glass (not forced full-screen) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  height: auto;
  min-height: clamp(520px, 68svh, 720px);
  display: block;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: var(--ink-900);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.hero-media img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-media img {
  height: 100%; /* overrides global img { height: auto } */
  filter: saturate(0.78) contrast(1.05);
}
.hero-video {
  display: block;
  background: #061726;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
}

.hero-inner--product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.85fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.hero-inner--network {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.15fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: none;
}

.hero-inner--shop {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.7fr);
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.hero-figure {
  position: relative;
  z-index: 2;
  justify-self: end;
  max-width: min(100%, 360px);
  animation: heroRise 0.9s var(--ease) 0.35s both;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.4));
}
.hero-figure--xl {
  max-width: min(100%, 400px);
}
.hero-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(6, 23, 38, 0.82) 0%, rgba(6, 23, 38, 0.55) 34%, rgba(6, 23, 38, 0.22) 64%, rgba(6, 23, 38, 0.5) 100%),
    linear-gradient(to bottom, rgba(6, 23, 38, 0.55) 0%, transparent 24%, transparent 58%, rgba(6, 23, 38, 0.68) 100%);
}
.hero-slide--product .hero-veil {
  background:
    linear-gradient(105deg, rgba(6, 23, 38, 0.88) 0%, rgba(6, 23, 38, 0.55) 42%, rgba(6, 23, 38, 0.18) 72%, rgba(6, 23, 38, 0.45) 100%),
    radial-gradient(50rem 34rem at 78% 45%, rgba(27, 138, 211, 0.28), transparent 62%);
}
.hero-slide--network .hero-veil {
  background:
    linear-gradient(105deg, rgba(6, 23, 38, 0.88) 0%, rgba(6, 23, 38, 0.55) 38%, rgba(6, 23, 38, 0.35) 68%, rgba(6, 23, 38, 0.62) 100%),
    radial-gradient(48rem 32rem at 78% 48%, rgba(27, 138, 211, 0.32), transparent 64%);
}
.hero-slide--shop .hero-veil {
  background:
    linear-gradient(115deg, rgba(6, 23, 38, 0.86) 0%, rgba(6, 23, 38, 0.5) 48%, rgba(10, 58, 92, 0.55) 100%),
    radial-gradient(42rem 28rem at 88% 70%, rgba(27, 138, 211, 0.32), transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.07) 0 1px,
    transparent 1px 12.5%
  );
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

/* Accent hairline sealing the bottom of the hero */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 196, 242, 0.75) 22%, rgba(98, 196, 242, 0.75) 78%, transparent);
}

.hero-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  animation: heroRise 0.9s var(--ease) 0.12s both;
}

.hero-panel {
  max-width: 34rem;
  padding: clamp(1.2rem, 2.4vw, 1.75rem) clamp(1.15rem, 2.2vw, 1.85rem) clamp(1.3rem, 2.4vw, 1.9rem);
  border-radius: var(--r-lg);
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 62%, rgba(27, 138, 211, 0.08) 100%);
  -webkit-backdrop-filter: saturate(1.35) blur(26px);
  backdrop-filter: saturate(1.35) blur(26px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 28px 56px -24px rgba(0, 0, 0, 0.55);
}

.hero-copy {
  max-width: 34rem;
  animation: heroRise 0.9s var(--ease) 0.2s both;
}
.hero-copy .hero-title,
.hero-copy .hero-lead { animation: none; }
.hero-copy--shop { align-self: center; }

.hero-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: heroRise 0.9s var(--ease) 0.45s both;
}
.hero-cities li {
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-logistics {
  position: relative;
  z-index: 2;
  animation: heroRise 0.95s var(--ease) 0.28s both;
}
.hero-logistics__frame {
  position: relative;
  padding: 0.45rem;
  border-radius: var(--r-lg);
  background:
    linear-gradient(155deg, rgba(6, 23, 38, 0.45) 0%, rgba(6, 23, 38, 0.28) 55%, rgba(27, 138, 211, 0.1) 100%);
  -webkit-backdrop-filter: saturate(1.25) blur(18px);
  backdrop-filter: saturate(1.25) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 28px 56px -26px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.hero-map__art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--r-lg) - 4px);
  object-fit: cover;
  object-position: center 42%;
  aspect-ratio: 16 / 10;
}

.hero-map-caption {
  margin: 0.55rem 0 0.15rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(159, 216, 245, 0.9);
}

.hero-shop-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 0.85rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: saturate(1.3) blur(22px);
  backdrop-filter: saturate(1.3) blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 48px -22px rgba(0, 0, 0, 0.5);
  animation: heroRise 0.9s var(--ease) 0.4s both;
  align-self: center;
}
.hero-shop-card__media {
  border-radius: calc(var(--r-lg) - 6px);
  overflow: hidden;
  background: rgba(6, 23, 38, 0.35);
  aspect-ratio: 4 / 3;
}
.hero-shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shop-card .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Brand signal: enamel plate carrying the logo */
.hero-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.1rem);
  animation: heroRise 0.9s var(--ease) 0.15s both;
}
.hero-plate {
  display: inline-flex;
  padding: 0.72rem 1.05rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55);
}
.hero-plate img { height: 30px; width: auto; }

.hero-est {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.62);
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: #fff;
  text-wrap: balance;
  animation: heroRise 0.9s var(--ease) 0.28s both;
}

.hero-lead {
  margin: 0 0 1.15rem;
  max-width: 30rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
  animation: heroRise 0.9s var(--ease) 0.38s both;
}

.hero-slide--network .hero-title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  max-width: 18ch;
}
.hero-slide--network .hero-lead {
  max-width: 36rem;
}

.hero .btn-row { animation: heroRise 0.9s var(--ease) 0.48s both; }

.hero .btn-primary {
  background: #fff;
  color: var(--ink-900);
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.6);
}
.hero .btn-primary:hover {
  background: linear-gradient(150deg, var(--accent-bright), var(--accent));
  color: var(--ink-900);
}
.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: var(--sh-inset-dark);
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ---------- Hero slider ---------- */
.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s var(--ease), visibility 0.65s;
  pointer-events: none;
  overflow: hidden;
}
.hero-slide.is-active {
  position: absolute;
  inset: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide[hidden] { display: none !important; }
.hero-slide.is-active[hidden] { display: flex !important; }

.hero-controls {
  position: absolute;
  right: max(1rem, calc((100% - var(--max)) / 2));
  bottom: 1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.3rem 0.22rem 0.28rem;
  border-radius: 10px;
  background: rgba(6, 23, 38, 0.38);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.45);
}
.hero-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.hero-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0 0.15rem;
}
.hero-dots button {
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s var(--ease), border-radius 0.25s var(--ease);
}
.hero-dots button.is-active {
  width: 14px;
  border-radius: 999px;
  background: #fff;
}
.hero-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12rem;
  margin: 0 0.1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  min-width: 2.1rem;
}
.hero-count i {
  font-style: normal;
  opacity: 0.55;
}
.hero-count #hero-current {
  color: rgba(255, 255, 255, 0.88);
}

.hero .eyebrow,
.hero-slide-eyebrow {
  color: var(--accent-bright) !important;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroFrame {
  from { opacity: 0; transform: scale(1.07); }
  to { opacity: 1; transform: none; }
}
/* ---------- 8. Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.25rem) 0 clamp(2.4rem, 5vw, 3.6rem);
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to right,
    rgba(10, 35, 56, 0.05) 0 1px,
    transparent 1px 12.5%
  );
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 55%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent, #000 55%, #000 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(30%, 16rem);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.page-hero > .container { position: relative; }
.page-hero .page-title { margin: 0.15rem 0 0.9rem; }
.page-hero .eyebrow { margin-bottom: 0.85rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 1.15rem;
}
.breadcrumb a { color: var(--slate-500); }
.breadcrumb a:hover { color: var(--accent-deep); }

/* ---------- 9. Sections & grids ---------- */

.section { padding: clamp(3.4rem, 7vw, 6rem) 0; position: relative; }

.section-alt {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16));
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-block: 1px solid var(--hair);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; }

/* ---------- 10. Feature cards ---------- */

.section { counter-reset: feat; }

.feature {
  position: relative;
  padding: 1.6rem 1.5rem 1.75rem;
  border-radius: var(--r-md);
  box-shadow: var(--sh-inset), var(--sh-s);
  transition: transform 0.4s var(--ease), background 0.35s var(--ease-soft),
              box-shadow 0.4s var(--ease), border-color 0.35s var(--ease-soft);
}
.feature::before { content: none; display: none; }
.feature:hover {
  transform: translateY(-4px);
  background: var(--glass-3);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--sh-inset), var(--sh-m);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.28;
  color: var(--ink-900);
}
.feature p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- 11. Stat cluster — one frosted slab, hairline divided ---------- */

.grid-6 {
  background: var(--hair);
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-inset), var(--sh-s);
}
.grid-6 .stat {
  border: 0;
  border-radius: 0;
  padding: 1.5rem 1.1rem 1.4rem;
  background: rgba(255, 255, 255, 0.56);
  transition: background 0.35s var(--ease-soft);
}
.grid-6 .stat:hover { background: rgba(255, 255, 255, 0.86); }

.stat-num {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  color: var(--ink-900);
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 0.6rem;
  color: var(--slate-500);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.45;
}

/* ---------- 12. Product tiles ---------- */

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.catalog-card {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.35fr);
  gap: 0;
  align-items: stretch;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
  color: inherit;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}
.catalog-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--sh-inset), var(--sh-m);
  color: inherit;
}
.catalog-card--featured {
  border-color: rgba(27, 138, 211, 0.28);
  background:
    linear-gradient(135deg, rgba(27, 138, 211, 0.08) 0%, rgba(255, 255, 255, 0.78) 42%);
}
.catalog-card__media {
  position: relative;
  min-height: 0;
  background: var(--paper-2);
  overflow: hidden;
}
.catalog-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 0.7s var(--ease), filter 0.45s var(--ease-soft);
}
.catalog-card:hover .catalog-card__media img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1);
}
.catalog-card__num {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(6, 23, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}
.catalog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.45rem 1.5rem;
}
.catalog-card__tag {
  align-self: flex-start;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-tint);
  border: 1px solid rgba(27, 138, 211, 0.18);
}
.catalog-card__body h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink-900);
  text-wrap: balance;
}
.catalog-card__body > p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: 54ch;
}
.catalog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
}
.catalog-card__meta li {
  padding: 0.32rem 0.65rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-700);
  background: rgba(10, 35, 56, 0.05);
  border: 1px solid var(--hair-soft);
}
.catalog-card__cta {
  margin-top: 0.2rem;
  padding-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.catalog-card__cta::after {
  content: '→';
  transition: transform 0.28s var(--ease);
}
.catalog-card:hover .catalog-card__cta::after {
  transform: translateX(3px);
}

.catalog-footer {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
}
.catalog-footer h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink-900);
}
.catalog-footer p {
  margin: 0;
  max-width: 42rem;
  color: var(--slate-600);
  font-size: 0.92rem;
  line-height: 1.5;
}

.tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  color: inherit;
  box-shadow: var(--sh-inset), var(--sh-s);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
              background 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft);
}
.tile:hover {
  transform: translateY(-6px);
  background: var(--glass-3);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--sh-inset), var(--sh-l);
  color: inherit;
}

.tile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
  border-radius: calc(var(--r-md) - 1px) calc(var(--r-md) - 1px) 0 0;
}
.tile-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(6, 23, 38, 0.06) 0%, rgba(6, 23, 38, 0.34) 100%);
  transition: opacity 0.45s var(--ease-soft);
}
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.04);
  transition: transform 0.75s var(--ease), filter 0.55s var(--ease-soft);
}
.tile:hover .tile-media img { transform: scale(1.055); filter: saturate(1) contrast(1); }
.tile:hover .tile-media::after { opacity: 0.55; }

/* Glass arrow chip floating over the media — readable on photos and white logos */
.tile::after {
  content: '';
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: var(--r-xs);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230A2338' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8h9M8.5 4l4 4-4 4'/%3E%3C/svg%3E") center / 15px no-repeat;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px -8px rgba(6, 23, 38, 0.5);
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease-soft),
              border-color 0.3s var(--ease-soft);
}
.tile:hover::after {
  transform: translateX(3px);
  background-color: var(--accent);
  border-color: rgba(255, 255, 255, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8h9M8.5 4l4 4-4 4'/%3E%3C/svg%3E");
}

/* Variant: partner tiles whose media holds a logo on white, not a photo */
.tile-media--logo {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 1.9rem;
  background: #fff;
}
.tile-media--logo::after { display: none; }
.tile-media--logo img {
  width: auto;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.72);
  transition: filter 0.4s var(--ease-soft);
}
.tile:hover .tile-media--logo img { transform: none; filter: none; }

.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.15rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
}
.partner-logo {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 1.25rem 1.1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--hair-soft);
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s;
}
a.partner-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 138, 211, 0.28);
  box-shadow: var(--sh-s);
  color: inherit;
}
.partner-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
}

.partner-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.partner-card {
  display: grid;
  grid-template-columns: minmax(140px, 0.85fr) minmax(0, 1.35fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s;
}
a.partner-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(27, 138, 211, 0.28);
  box-shadow: var(--sh-inset), var(--sh-m);
  color: inherit;
}
.partner-card__logo {
  display: grid;
  place-items: center;
  padding: 1.35rem 1.1rem;
  background: #fff;
  border-right: 1px solid var(--hair-soft);
}
.partner-card__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}
.partner-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.25rem 1.35rem 1.35rem;
}
.partner-card__tag {
  align-self: flex-start;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-tint);
  border: 1px solid rgba(27, 138, 211, 0.18);
}
.partner-card__body h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink-900);
  text-wrap: balance;
}
.partner-card__body > p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.5;
}
.partner-card__cta {
  margin-top: auto;
  padding-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.partner-card__cta::after {
  content: '→';
  transition: transform 0.28s var(--ease);
}
a.partner-card:hover .partner-card__cta::after {
  transform: translateX(3px);
}
.partner-card--static {
  cursor: default;
}

@media (max-width: 900px) {
  .partner-cards { grid-template-columns: 1fr; }
  .partner-card {
    grid-template-columns: 1fr;
  }
  .partner-card__logo {
    border-right: 0;
    border-bottom: 1px solid var(--hair-soft);
    min-height: 110px;
  }
}
@media (max-width: 860px) {
  .partner-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .partner-logos {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }
  .partner-logo { min-height: 120px; }
}

.tile-body { padding: 1.25rem 1.3rem 1.45rem; }
.tile-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink-900);
}
.tile-body p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- 13. Timeline ---------- */

.timeline {
  list-style: none;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.4rem);
  margin: 0;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-inset), var(--sh-s);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.6rem;
  padding: 1.15rem 0 1.15rem 1.6rem;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(10, 35, 56, 0.15);
}
.timeline li:first-child::before { top: 1.55rem; }
.timeline li:last-child::before { bottom: auto; height: 1.55rem; }
.timeline li::after {
  content: '';
  position: absolute;
  left: -3.5px;
  top: 1.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(27, 138, 211, 0.15);
}
.timeline time {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-700);
  padding-top: 0.15rem;
}
.timeline p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.62;
}

/* ---------- 14b. Team page ---------- */

.team-section {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
}
.team-group + .team-group {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.team-group__head {
  margin-bottom: 1.35rem;
}
.team-group__head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.team-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-inset), var(--sh-m);
  border-color: rgba(27, 138, 211, 0.3);
}
.team-card__media {
  position: relative;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.95), rgba(222, 232, 241, 0.9)),
    var(--paper-2);
  overflow: hidden;
}
.team-card__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(6, 23, 38, 0.08), transparent);
  pointer-events: none;
}
.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s var(--ease);
}
.team-card:hover .team-card__media img {
  transform: scale(1.04);
}
.team-card__body {
  padding: 1.15rem 1.2rem 1.3rem;
  border-top: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.82));
}
.team-card__name {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink-900);
}
.team-card__role {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--accent-deep);
  font-weight: 500;
}
.team-card__meta {
  margin: 0.45rem 0 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.contacts-top {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.2rem, 3vw, 2rem);
}
.contacts-list {
  padding-top: clamp(0.5rem, 2vw, 1.2rem);
}

.contacts-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}
.contacts-quick__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s;
}
.contacts-quick__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-inset), var(--sh-m);
  border-color: rgba(27, 138, 211, 0.35);
  color: inherit;
}
.contacts-quick__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent-deep);
}
.contacts-quick__item--wa .contacts-quick__icon {
  background: rgba(29, 175, 84, 0.14);
  color: #1a9e4a;
}
.contacts-quick__item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 0.2rem;
}
.contacts-quick__item em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contacts-quick__item > span:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

.contacts-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: rgba(6, 23, 38, 0.04);
  border: 1px solid var(--hair);
}
.contacts-jump__label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-right: 0.25rem;
}
.contacts-jump__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.contacts-jump__list a {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-800);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--edge);
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.contacts-jump__list a:hover {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
}

.contacts-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 1.85rem);
}

.branch {
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
  transition: box-shadow 0.35s var(--ease), border-color 0.3s;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
  min-width: 0;
  max-width: 100%;
}
.branch:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--sh-inset), var(--sh-m);
  border-color: rgba(27, 138, 211, 0.28);
}
.branch:target {
  border-color: rgba(27, 138, 211, 0.45);
  box-shadow:
    var(--sh-inset),
    var(--sh-m),
    0 0 0 2px rgba(27, 138, 211, 0.22);
  animation: branchPulse 1.4s var(--ease) both;
}
@keyframes branchPulse {
  0% { box-shadow: var(--sh-inset), var(--sh-m), 0 0 0 0 rgba(27, 138, 211, 0.35); }
  40% { box-shadow: var(--sh-inset), var(--sh-m), 0 0 0 4px rgba(27, 138, 211, 0.2); }
  100% { box-shadow: var(--sh-inset), var(--sh-m), 0 0 0 2px rgba(27, 138, 211, 0.22); }
}
.branch--hq {
  border-color: rgba(27, 138, 211, 0.32);
  box-shadow: var(--sh-inset), var(--sh-m), 0 0 0 1px rgba(27, 138, 211, 0.08);
}

.branch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: clamp(1.2rem, 2.4vw, 1.6rem) clamp(1.2rem, 2.4vw, 1.75rem);
  background: linear-gradient(180deg, rgba(27, 138, 211, 0.07), transparent);
  border-bottom: 1px solid var(--hair);
}
.branch-badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(27, 138, 211, 0.12);
  border: 1px solid rgba(27, 138, 211, 0.2);
}
.branch-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  line-height: 1.15;
}
.branch-sub {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--slate-500);
}
.branch-mail {
  align-self: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-deep);
  padding: 0.45rem 0.8rem;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(27, 138, 211, 0.18);
}
.branch-mail:hover { background: #fff; color: var(--accent); }

.branch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  min-width: 0;
}
.branch-info {
  padding: clamp(1.15rem, 2.2vw, 1.55rem) clamp(1.2rem, 2.4vw, 1.75rem);
  display: grid;
  gap: 1.15rem;
}
.branch-aside {
  padding: clamp(1.15rem, 2.2vw, 1.55rem);
  background: rgba(6, 23, 38, 0.03);
  border-left: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
}

.branch-block h3 {
  margin: 0 0 0.45rem;
  padding: 0;
  border: 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.branch-block h3::after { display: none; }
.branch-block p {
  margin: 0;
  color: var(--slate-700);
  font-size: 0.94rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.branch-block--muted {
  padding: 0.9rem 1rem;
  border-radius: var(--r-sm);
  background: rgba(6, 23, 38, 0.035);
  border: 1px solid var(--hair-soft);
}
.branch-block--muted p { font-size: 0.88rem; color: var(--slate-600); }

.branch-phones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.branch-phones a {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--hair);
}
.branch-phones a:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.branch a:not(.btn) { color: var(--ink-700); font-weight: 500; }
.branch a:not(.btn):hover { color: var(--accent); }
.branch .btn-primary,
.branch .btn-primary:hover { color: #fff; }
.branch .btn-ghost { color: var(--ink-800); }
.branch .btn-ghost:hover { color: var(--ink-900); }

.branch-map-label {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.branch-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  flex: 1;
  border: 0;
  border-radius: var(--r-md);
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.branch-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.btn-sm {
  padding: 0.62rem 1rem;
  font-size: 0.82rem;
}

.people {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.person {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}
.person strong {
  display: block;
  color: var(--ink-900);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.person .role {
  display: block;
  color: var(--slate-500);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.2rem 0 0.45rem;
}
.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.86rem;
}

.contacts-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.contacts-form-intro .page-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0.35rem 0 0.75rem;
}
.contacts-form-section .form {
  max-width: none;
  width: 100%;
}

/* ---------- 15. Spec tables ---------- */

.specs-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
}
.specs {
  width: 100%;
  min-width: 28rem;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.94rem;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-inset), var(--sh-s);
}
.specs th,
.specs td {
  text-align: left;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--hair-soft);
  vertical-align: top;
}
.specs tr:last-child th,
.specs tr:last-child td { border-bottom: 0; }
.specs th {
  width: 44%;
  color: var(--slate-600);
  font-family: var(--font);
  font-weight: 500;
  background: rgba(27, 138, 211, 0.045);
  border-right: 1px solid var(--hair-soft);
}
.specs td { color: var(--ink-900); font-weight: 500; }
.specs tr:hover td,
.specs tr:hover th { background: rgba(255, 255, 255, 0.55); }

/* ---------- 16. Lists ---------- */

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.85rem;
  border-bottom: 1px solid var(--hair-soft);
  color: var(--slate-600);
  line-height: 1.6;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 1.05rem;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- 17. Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.gallery a {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: var(--sh-inset), var(--sh-s);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.gallery a:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-inset), var(--sh-m);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--r-md) - 7px);
  filter: saturate(0.75);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease-soft);
}
.gallery a:hover img { transform: scale(1.05); filter: saturate(1); }
.gallery--captions a {
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
  gap: 0.55rem;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--edge);
  color: inherit;
}
.gallery--captions a img {
  aspect-ratio: 4 / 3;
  width: 100%;
}
.gallery--captions span {
  padding: 0 0.25rem 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate-700);
  line-height: 1.35;
}

/* ---------- Product detail (clear single-product layout) ---------- */

.pd {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}
.pd-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}
.pd-intro__text .lede {
  margin: 0 0 1rem;
  max-width: 48rem;
}
.pd-intro__text p {
  margin: 0 0 0.85rem;
  max-width: 48rem;
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.6;
}
.pd-intro__text p:last-child { margin-bottom: 0; }
.pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
.pd-chips li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-tint);
  border: 1px solid rgba(27, 138, 211, 0.18);
}
.pd-media {
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
  cursor: zoom-in;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pd-media:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-inset), var(--sh-m);
}
.pd-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 1rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(27, 138, 211, 0.08), transparent 55%),
    #fff;
}
.pd-media__hint {
  display: block;
  padding: 0.55rem 0.85rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-600);
  border-top: 1px solid var(--hair-soft);
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}
.pd-panel {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
}
.pd-panel > h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.pd-panel > p {
  margin: 0 0 1rem;
  color: var(--slate-600);
  line-height: 1.55;
  max-width: 52rem;
}
.pd-adv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pd-adv;
}
.pd-adv li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(10, 35, 56, 0.035);
  border: 1px solid var(--hair-soft);
  color: var(--slate-700);
  font-size: 0.92rem;
  line-height: 1.45;
  counter-increment: pd-adv;
}
.pd-adv li::before {
  content: counter(pd-adv, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  margin-top: 0.15rem;
}
.pd-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.pd-spec {
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 14px;
  background: rgba(10, 35, 56, 0.03);
  border: 1px solid var(--hair-soft);
}
.pd-spec h3 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-900);
}
.pd-spec ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.pd-spec li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--slate-700);
  font-size: 0.9rem;
  line-height: 1.45;
}
.pd-spec li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}
.pd-docs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
  gap: 1rem;
}
.pd-doc {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
  color: inherit;
  cursor: zoom-in;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pd-doc:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-inset), var(--sh-m);
  color: inherit;
}
.pd-doc img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: calc(var(--r-md) - 6px);
  background: var(--paper-2);
}
.pd-doc strong {
  font-size: 0.9rem;
  color: var(--ink-900);
}
.pd-doc span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.pd-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(27, 138, 211, 0.1) 0%, rgba(255, 255, 255, 0.82) 48%);
  border: 1px solid rgba(27, 138, 211, 0.22);
  box-shadow: var(--sh-inset), var(--sh-s);
}
.pd-cta h2 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink-900);
}
.pd-cta p {
  margin: 0;
  max-width: 34rem;
  color: var(--slate-600);
  font-size: 0.92rem;
  line-height: 1.45;
}

.partner-hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.15rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
}
.partner-hero-logo img {
  display: block;
  max-height: 52px;
  width: auto;
}
.partner-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.partner-cat {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.75rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.partner-cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-inset), var(--sh-m);
  color: inherit;
}
.partner-cat img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: calc(var(--r-md) - 6px);
  background: var(--paper-2);
}
.partner-cat strong {
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--ink-900);
}
.partner-cat__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-top: auto;
}
.partner-cat__actions a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.partner-cat__actions a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .pd-intro { grid-template-columns: 1fr; }
  .pd-media { max-width: 360px; }
  .pd-adv { grid-template-columns: 1fr; }
  .pd-specs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pd-media { max-width: none; }
}

/* ---------- Lightbox ---------- */

body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 23, 38, 0.78);
  backdrop-filter: blur(10px);
}
.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 0.5rem;
}
.lightbox__figure {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  min-width: 0;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(72vh, 760px);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  animation: lightbox-in 0.28s var(--ease);
}
.lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  min-height: 1.5rem;
  padding: 0 0.15rem;
}
.lightbox__caption {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: left;
  text-wrap: balance;
}
.lightbox__caption[hidden] { display: none; }
.lightbox__meta.is-centered { justify-content: center; }
.lightbox__counter {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}
.lightbox__counter[hidden] { display: none; }
.lightbox__close,
.lightbox__nav {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background 0.2s var(--ease-soft), transform 0.2s var(--ease);
}
.lightbox__close {
  position: absolute;
  top: -0.35rem;
  right: -0.15rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1.45rem;
  line-height: 1;
  z-index: 3;
}
.lightbox__nav {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  z-index: 2;
  align-self: center;
}
.lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}
.lightbox__nav[hidden] { visibility: hidden; pointer-events: none; }
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.04);
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 640px) {
  .lightbox {
    padding: 0.85rem;
  }
  .lightbox__dialog {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .lightbox__figure { grid-column: 1; }
  .lightbox__close {
    top: 0;
    right: 0;
  }
  .lightbox__nav--prev,
  .lightbox__nav--next {
    position: absolute;
    top: 42%;
    grid-column: auto;
  }
  .lightbox__nav--prev { left: 0.25rem; }
  .lightbox__nav--next { right: 0.25rem; }
  .lightbox__meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
  }
  .lightbox__caption { text-align: center; }
  .lightbox__img { max-height: min(62vh, 560px); }
}

/* legacy product helpers kept for other pages until migrated */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.75fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.product-layout__media {
  position: sticky;
  top: calc(var(--header-h, 5rem) + 1rem);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
}
.product-layout__media img {
  display: block;
  width: 100%;
  height: auto;
}
.product-block {
  margin-top: clamp(2rem, 4vw, 3rem);
}
.product-block > h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.product-docs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.product-doc {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product-doc:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-inset), var(--sh-m);
  color: inherit;
}
.product-doc img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: calc(var(--r-md) - 6px);
  background: var(--paper-2);
}
.product-doc strong {
  font-size: 0.92rem;
  color: var(--ink-900);
}
.product-doc span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.product-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
}
.product-cta p {
  margin: 0;
  max-width: 36rem;
  color: var(--slate-600);
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
  .product-layout__media {
    position: static;
  }
}

/* ---------- 18. Partner / client logo wall ---------- */

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.logo-wall div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 1.25rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--sh-inset), var(--sh-s);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease-soft),
              box-shadow 0.35s var(--ease);
}
.logo-wall div:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: var(--sh-inset), var(--sh-m);
}
.logo-wall img {
  max-height: 48px;
  width: auto;
  filter: grayscale(1) contrast(0.95) opacity(0.7);
  transition: filter 0.4s var(--ease-soft);
}
.logo-wall div:hover img { filter: none; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.client-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-s);
  overflow: hidden;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease-soft),
              box-shadow 0.35s var(--ease), border-color 0.3s var(--ease-soft);
}
.client-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--sh-inset), var(--sh-m);
}
.client-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 1.5rem 1.35rem 1.1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(238, 243, 248, 0.55) 100%);
  border-bottom: 1px solid var(--hair-soft);
}
.client-card__logo img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.35) contrast(0.98);
  transition: filter 0.35s var(--ease-soft), transform 0.35s var(--ease);
}
.client-card:hover .client-card__logo img {
  filter: none;
  transform: scale(1.04);
}
.client-card__name {
  margin: 0;
  padding: 1rem 1.15rem 1.2rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-align: center;
  color: var(--ink-800);
}

/* ---------- 19. Forms ---------- */

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-inset), var(--sh-m);
}
.form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.form input,
.form textarea,
.form select {
  font-family: var(--font);
  font-size: 0.95rem;
  letter-spacing: normal;
  text-transform: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hair);
  color: var(--ink-900);
  padding: 0.82rem 0.95rem;
  border-radius: var(--r-xs);
  transition: border-color 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft),
              background 0.25s var(--ease-soft);
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { justify-self: start; margin-top: 0.35rem; }

/* ---------- 20. Prose & vacancies ---------- */

.prose { max-width: 46rem; }
.prose h2,
.prose h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 2rem 0 0.8rem;
}
.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }
.prose p {
  color: var(--slate-600);
  margin: 0 0 1.05rem;
  line-height: 1.72;
}
.prose p:first-of-type {
  font-size: 1.08rem;
  color: var(--slate-700);
}
.prose strong { color: var(--ink-900); font-weight: 600; }
.prose img {
  border-radius: var(--r-lg);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-m);
}

.vacancy {
  padding: 1.3rem 1.4rem;
  margin-bottom: 0.8rem;
  border-radius: var(--r-md);
  box-shadow: var(--sh-inset), var(--sh-s);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease-soft);
}
.vacancy:hover { transform: translateX(4px); background: var(--glass-2); }
.vacancy h3 {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.028em;
}
.vacancy p { margin: 0; color: var(--slate-600); font-size: 0.94rem; }

/* ---------- Career ---------- */
.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: stretch;
}
.career-map {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  align-self: start;
}
.career-map__frame {
  position: relative;
  padding: 0.55rem;
  border-radius: var(--r-xl);
  background:
    linear-gradient(160deg, rgba(6, 23, 38, 0.88) 0%, rgba(16, 58, 92, 0.78) 48%, rgba(27, 138, 211, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    var(--sh-inset-dark),
    var(--sh-l);
  overflow: hidden;
}
.career-map__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 70% 30%, rgba(98, 196, 242, 0.18), transparent 60%),
    linear-gradient(180deg, transparent 55%, rgba(6, 23, 38, 0.35) 100%);
}
.career-map__art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--r-xl) - 6px);
  object-fit: cover;
  object-position: center 42%;
  aspect-ratio: 16 / 11;
}
.career-map__caption {
  margin: 0.85rem 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.career-jobs__head {
  margin-bottom: 1.15rem;
}
.career-jobs__head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.career-jobs__head p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.55;
}
.career-job-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.career-job {
  position: relative;
  padding: 1.15rem 1.25rem 1.15rem 1.35rem;
  border-radius: var(--r-md);
  background: var(--glass-2);
  border: 1px solid var(--hair);
  box-shadow: var(--sh-inset), var(--sh-s);
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease-soft), box-shadow 0.35s var(--ease);
  overflow: hidden;
}
.career-job::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  opacity: 0.85;
}
.career-job:hover {
  transform: translateX(3px);
  border-color: rgba(27, 138, 211, 0.28);
  box-shadow: var(--sh-inset), var(--sh-m);
}
.career-job__city {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.career-job h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--ink-900);
}
.career-apply {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(1.4rem, 3vw, 1.85rem) clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(222, 232, 241, 0.55) 100%);
  border: 1px solid var(--edge);
  box-shadow: var(--sh-inset), var(--sh-m);
}
.career-apply__text {
  flex: 1 1 16rem;
  min-width: 0;
}
.career-apply__text .eyebrow { margin-bottom: 0.45rem; }
.career-apply__text h2 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.career-apply__text p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 36rem;
}

/* Standalone illustrative images sitting in a split layout */
.section .grid-2 > div > img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-m);
}

/* Buttons placed loose inside a paragraph */
p > .btn + .btn { margin-left: 0.6rem; }

/* ---------- 21. CTA band ---------- */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.8rem, 6vw, 4.4rem) 0;
  background: var(--ink-900);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../img/products/sip.jpg') center / cover no-repeat;
  filter: saturate(0.5) brightness(0.55);
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 23, 38, 0.95) 8%, rgba(6, 23, 38, 0.62) 58%, rgba(14, 107, 170, 0.5) 100%),
    repeating-linear-gradient(to right, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 12.5%);
}
.cta-band .inner {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: saturate(1.3) blur(24px);
  backdrop-filter: saturate(1.3) blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--sh-inset-dark);
}
.cta-band h2 {
  margin: 0;
  max-width: 32rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.16;
  color: #fff;
}
.cta-band p {
  margin: 0.6rem 0 0;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--ink-900);
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.6);
}
.cta-band .btn-primary:hover {
  background: linear-gradient(150deg, var(--accent-bright), var(--accent));
  color: var(--ink-900);
}

/* ---------- 22. Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem;
  background: linear-gradient(180deg, #0A2338 0%, #061726 100%);
  color: #92A9BE;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* Ghosted brand silhouette, masked from the stacked logo */
.site-footer::after {
  content: '';
  position: absolute;
  right: -3%;
  bottom: -14%;
  width: min(30rem, 46vw);
  aspect-ratio: 1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.038);
  -webkit-mask: url('../img/logo-white.png') center / contain no-repeat;
  mask: url('../img/logo-white.png') center / contain no-repeat;
}
.site-footer::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 196, 242, 0.5) 30%, rgba(98, 196, 242, 0.5) 70%, transparent);
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.site-footer h4 {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.footer-grid > div:first-child h4 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-transform: none;
}
.site-footer p,
.site-footer li {
  color: #8299AF;
  font-size: 0.9rem;
  line-height: 1.62;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.45rem; }
.site-footer a { color: #A8BDD0; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  color: #5F7690;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  color: #6E87A0;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease-soft);
}
.footer-credit svg {
  flex-shrink: 0;
  opacity: 0.85;
}
.footer-credit:hover {
  color: #9FD8F5;
}
.footer-credit:hover svg {
  opacity: 1;
}

/* ---------- 23. WhatsApp float ---------- */

.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.6rem);
  bottom: clamp(1rem, 2.5vw, 1.6rem);
  z-index: 110;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(29, 175, 84, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff !important;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--sh-inset-dark), 0 18px 36px -14px rgba(6, 23, 38, 0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: var(--sh-inset-dark), 0 24px 46px -14px rgba(6, 23, 38, 0.6);
  color: #fff !important;
}

/* ---------- 24. Scroll reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
  }
  .reveal.visible { opacity: 1; transform: none; filter: none; }

  /* Gentle stagger for siblings inside a grid */
  .grid-2 > .reveal:nth-child(2), .grid-3 > .reveal:nth-child(2), .grid-4 > .reveal:nth-child(2) { transition-delay: 0.07s; }
  .grid-2 > .reveal:nth-child(3), .grid-3 > .reveal:nth-child(3), .grid-4 > .reveal:nth-child(3) { transition-delay: 0.14s; }
  .grid-2 > .reveal:nth-child(4), .grid-3 > .reveal:nth-child(4), .grid-4 > .reveal:nth-child(4) { transition-delay: 0.21s; }
  .grid-3 > .reveal:nth-child(5), .grid-4 > .reveal:nth-child(5) { transition-delay: 0.28s; }
  .grid-3 > .reveal:nth-child(n + 6), .grid-4 > .reveal:nth-child(n + 6) { transition-delay: 0.35s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 25. Responsive ---------- */

@media (max-width: 1180px) {
  .nav {
    gap: 0.2rem;
    padding: 0.22rem 0.28rem;
  }
  .nav a,
  .nav-link { padding: 0.45rem 0.55rem; font-size: 0.74rem; gap: 0.32rem; }
  .nav-ico svg { width: 13px; height: 13px; }
  .nav-shop { padding: 0.42rem 0.75rem 0.42rem 0.65rem !important; font-size: 0.74rem; }
  .logo img { height: 32px; }
  .site-header.scrolled .logo img { height: 28px; }
  .header-search input { width: 5.5rem; }
}

@media (max-width: 1024px) {
  :root { --header-h: 118px; --gutter: clamp(0.9rem, 3.5vw, 1.5rem); }

  .site-header {
    top: 8px;
    width: min(100% - 1.4rem, var(--max));
    border-radius: var(--r-md);
  }
  .site-header.scrolled { top: 6px; }
  .header-top { padding: 0.4rem 0.85rem; }
  .header-search { display: none; }
  .header-inner {
    display: flex;
    padding: 0.55rem 0.65rem 0.6rem 0.85rem;
    gap: 0.55rem;
  }
  .logo { justify-self: auto; }
  .header-actions { justify-self: auto; margin-left: auto; }
  .logo img { height: 30px; }
  .site-header.scrolled .logo img { height: 28px; }

  .nav {
    display: none;
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    top: calc(100% + 8px);
    width: auto;
    max-width: none;
    margin-inline: 0;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.55rem;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: var(--blur-lg);
    backdrop-filter: var(--blur-lg);
    border: 1px solid var(--edge);
    box-shadow: var(--sh-l);
    max-height: calc(100svh - var(--header-h) - 3rem);
    overflow-y: auto;
  }
  .nav.open { display: flex; animation: heroRise 0.32s var(--ease) both; }
  .nav > a,
  .nav-link {
    padding: 0.78rem 0.95rem;
    font-size: 0.95rem;
    border-radius: var(--r-xs);
    width: 100%;
    justify-content: flex-start;
    flex: none;
  }
  .nav > a::after,
  .nav-link::after { display: none; }
  .nav-item { width: 100%; flex: none; }
  .nav-item .nav-link { justify-content: flex-start; }
  .nav-item .nav-chevron { margin-left: auto; }
  .nav-item .nav-sub {
    display: none;
    position: static !important;
    left: auto;
    top: auto;
    min-width: 0;
    width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    margin-top: 0.2rem;
    padding: 0;
    z-index: 1;
  }
  .nav-item.open .nav-sub {
    display: block;
  }
  .nav-item:hover .nav-sub {
    display: none;
  }
  .nav-item.open:hover .nav-sub,
  .nav-item.open .nav-sub {
    display: block;
  }
  .nav-item.open .nav-sub-panel {
    box-shadow: none;
    border: 1px solid var(--hair);
    background: rgba(255, 255, 255, 0.72);
  }
  .nav-item.open .nav-sub-panel::before { display: none; }
  .nav-sub-label { display: none; }
  .nav-sub a { padding: 0.65rem 0.7rem; }
  .nav-sub-go { display: none; }
  .nav-shop {
    margin: 0;
    padding: 0.45rem 0.7rem !important;
    font-size: 0.76rem;
  }
  .burger { display: inline-flex; }

  .hero {
    min-height: 0;
    height: auto;
  }
  .hero-slides {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }
  .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: clamp(520px, 72svh, 680px);
    justify-content: flex-start;
    padding: calc(var(--header-h) + 1.1rem) 0 4.25rem;
  }
  .hero-slide.is-active {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: clamp(520px, 72svh, 680px);
  }
  .hero-inner--product,
  .hero-inner--shop { grid-template-columns: minmax(0, 1fr); }
  .hero-inner--network { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { display: none; }
  .hero-shop-card {
    max-width: none;
    width: 100%;
  }
  .hero-shop-card__media { max-height: 180px; aspect-ratio: 16 / 9; }
  .hero-scroll { display: none; }
  .hero-panel { max-width: none; }
  .hero-controls {
    right: 0.85rem;
    left: auto;
    bottom: 0.85rem;
  }

  .page-hero {
    padding: calc(var(--header-h) + 1.75rem) 0 clamp(2rem, 4vw, 2.8rem);
  }

  .section-head { grid-template-columns: minmax(0, 1fr); row-gap: 0.9rem; }
  .section-head > h2,
  .section-head > p { grid-column: 1; padding-bottom: 0; }

  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .branch-aside {
    border-left: 0;
    border-top: 1px solid var(--hair);
  }
  .contacts-quick {
    grid-template-columns: minmax(0, 1fr);
  }
  .career-layout {
    grid-template-columns: 1fr;
  }
  .career-map {
    position: static;
    order: -1;
  }
  .career-map__art {
    aspect-ratio: 16 / 10;
  }

  .branch-map { min-height: 220px; height: 220px; }

  .lang-menu {
    right: 0;
    left: auto;
  }
}

@media (max-width: 860px) {
  .grid-2,
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-card {
    grid-template-columns: 1fr;
  }
  .catalog-card__media {
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }
  .catalog-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li { grid-template-columns: 1fr; gap: 0.35rem; }
  .prose { max-width: none; }

  .contacts-quick {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }
  .contacts-jump__list {
    width: 100%;
  }
  .contacts-jump__list a {
    flex: 1 1 auto;
    text-align: center;
  }
  .branch-mail {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .branch-head {
    flex-direction: column;
    align-items: stretch;
  }
  .product-layout,
  .contacts-form-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-layout__media {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pd-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .pd-cta .btn-row {
    width: 100%;
  }
  .career-apply {
    flex-direction: column;
    align-items: flex-start;
  }
  .career-apply .btn-row {
    width: 100%;
  }

  .hero-inner--network {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }
  .hero-slide--network .hero-title { max-width: none; }
  .hero-logistics__frame { padding: 0.35rem; }
  .hero-map-caption { font-size: 0.6rem; letter-spacing: 0.08em; }
  .hero-cities { gap: 0.4rem; }
  .hero-cities li { font-size: 0.74rem; padding: 0.34rem 0.65rem; }

  .section { padding: clamp(2.6rem, 6vw, 4rem) 0; }

  .btn-row {
    flex-wrap: wrap;
  }
  .btn-row .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }

  .feature {
    padding: 1.2rem 1.15rem;
  }
  .feature h3 {
    font-size: 0.98rem;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .site-header {
    top: 6px;
    width: min(100% - 1rem, var(--max));
    border-radius: 14px;
  }
  .site-header.scrolled { top: 4px; }
  .header-top { padding: 0.35rem 0.7rem; }
  .header-contact span { display: none; }
  .header-contacts { gap: 0.35rem; }
  .header-contact {
    width: 30px;
    height: 30px;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--edge);
  }
  .header-social a { width: 26px; height: 26px; }
  .header-inner { padding: 0.5rem 0.5rem 0.55rem 0.7rem; }
  .lang-short { display: none; }
  .lang-btn { padding: 0.28rem 0.4rem; gap: 0.3rem; }
  .lang-menu {
    min-width: 11rem;
    right: -0.25rem;
  }

  .hero {
    min-height: 0;
    height: auto;
  }
  .hero-slide {
    justify-content: flex-start;
    min-height: clamp(480px, 70svh, 640px);
    padding: calc(var(--header-h) + 0.85rem) 0 4rem;
  }
  .hero-slide.is-active {
    min-height: clamp(480px, 70svh, 640px);
  }
  .hero-inner {
    width: min(100% - 1.4rem, var(--max));
  }
  .hero-panel {
    padding: 1.1rem 1.05rem 1.2rem;
    border-radius: var(--r-md);
  }
  .hero-title {
    font-size: clamp(1.28rem, 5.5vw, 1.65rem);
  }
  .hero-slide--network .hero-title {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
  }
  .hero-lead {
    font-size: 0.88rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero .btn-row .btn { flex: 1 1 100%; width: 100%; justify-content: center; }
  .hero-shop-card { padding: 0.7rem; }
  .hero-shop-card .btn { font-size: 0.85rem; padding: 0.7rem 1rem; }
  .hero-controls {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 0.75rem;
  }
  .whatsapp-float {
    width: 46px;
    height: 46px;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .page-hero {
    padding: calc(var(--header-h) + 1.35rem) 0 1.75rem;
  }
  .page-title {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .team-grid { grid-template-columns: 1fr; }
  .team-card__name { font-size: 1.08rem; }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-wall,
  .clients-grid,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .specs { min-width: 24rem; font-size: 0.86rem; }
  .specs th,
  .specs td { padding: 0.7rem 0.8rem; }
  .specs th { width: 42%; }

  .cta-band .inner {
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--r-lg);
    padding: 1.25rem 1.15rem;
  }
  .cta-band .btn { width: 100%; justify-content: center; }

  .form { padding: 1.15rem; border-radius: var(--r-md); }
  .form input,
  .form textarea,
  .form select { font-size: 16px; } /* avoid iOS zoom */

  .btn-row .btn { width: 100%; justify-content: center; }
  p > .btn + .btn { margin-left: 0; margin-top: 0.55rem; display: inline-flex; }
  p > .btn { width: 100%; justify-content: center; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .footer-credit {
    margin-left: 0;
  }

  .site-footer::after { width: 18rem; opacity: 0.7; }

  .branch-map { height: 200px; min-height: 200px; }
  .branch-map-actions .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
  .branch-head { padding: 1.1rem 1.1rem; }
  .branch-info,
  .branch-aside { padding: 1.1rem; }
  .branch-phones {
    flex-direction: column;
    align-items: stretch;
  }
  .branch-phones a {
    justify-content: center;
    text-align: center;
  }
  .person-links {
    flex-direction: column;
    gap: 0.35rem;
  }
  .contacts-jump { align-items: flex-start; flex-direction: column; }
  .contacts-quick__item {
    padding: 0.9rem 1rem;
  }
  .partner-cats {
    grid-template-columns: minmax(0, 1fr);
  }
  .partner-cat__actions {
    flex-direction: column;
  }
  .partner-cat__actions a {
    text-align: center;
    justify-content: center;
  }
  .section .grid-2 > div > img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
  }
}

@media (max-width: 400px) {
  .hero-cities li { font-size: 0.7rem; padding: 0.3rem 0.55rem; }
  .grid-6 { grid-template-columns: 1fr 1fr; }
  .lang-menu { min-width: 10rem; }
  .contacts-jump__list a {
    font-size: 0.78rem;
    padding: 0.38rem 0.65rem;
  }
}
