
/* ===== static/css/base/tokens.css ===== */

:root{
  /* premium navy theme */
  --bg:#060B16;
  --bg-2:#0A1330;

  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);

  --line:rgba(255,255,255,.10);

  /* основной акцент (вместо yellow) */
  --accent:#3AA0FF;
  --accent-2:#6BD5FF;

  /* если где-то в проекте жёстко используется --yellow,
     оставляем его как совместимость, но делаем синим */
  --yellow: var(--accent);
}

:root{
  color-scheme: dark;

  --bg: #0b1120;
  --bg-soft: #121a2b;
  --surface: rgba(16, 24, 40, 0.82);
  --surface-solid: #111827;
  --surface-2: rgba(255,255,255,0.04);

  --text: #f5f7fb;
  --text-soft: rgba(245,247,251,0.72);
  --text-dim: rgba(245,247,251,0.52);

  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);

  --accent: #7cb6ff;
  --accent-soft: rgba(124,182,255,0.16);

  --shadow: 0 20px 60px rgba(0,0,0,0.22);
}

:root[data-theme="light"]{
  color-scheme: light;

  --bg: #f4f7fb;
  --bg-soft: #ffffff;
  --surface: rgba(255,255,255,0.92);
  --surface-solid: #ffffff;
  --surface-2: rgba(15,23,42,0.04);

  --text: #0f172a;
  --text-soft: rgba(15,23,42,0.72);
  --text-dim: rgba(15,23,42,0.52);

  --line: rgba(15,23,42,0.08);
  --line-strong: rgba(15,23,42,0.14);

  --accent: #2563eb;
  --accent-soft: rgba(37,99,235,0.10);

  --shadow: 0 18px 50px rgba(15,23,42,0.08);
}


/* ===== static/css/base/reset.css ===== */

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--bg);
}

/* ===== static/css/base/typography.css ===== */

/* static/css/base/typography.css */

.h2{
  text-align:center;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 1000;
  margin: 0 0 10px;
  letter-spacing: -0.4px;
  color: var(--text);
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.sub{
  text-align:center;
  color: var(--muted);
  margin: 12px auto 28px;
  padding: 0;
  max-width: 920px;
  line-height: 1.55;
  font-weight: 800;
}

/* ===== static/css/base/layout.css ===== */

.container{
  width:1200px;
  max-width:calc(100% - 40px);
  margin:0 auto;
}

.section{ padding:40px 0; }

.grid-6{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:20px;
}

/* ===== static/css/base/helpers.css ===== */

.center{ text-align:center; margin-top:30px; }

/* важное: оверлеи не должны перехватывать клики */
.hero-overlay,
.objs-hero-overlay,
.header-nav-spacer{
  pointer-events:none;
}



/* ===== static/css/base/base.css ===== */

/* ===== GLOBAL FLOATING UI (burger + top) ===== */
.g-burger{
  position: fixed;
  top: calc(env(safe-area-inset-top) + 12px);
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(10,16,34,.58);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  cursor: pointer;
  z-index: 9000;              /* выше шапки/оверлеев */
  pointer-events: auto;       /* на всякий */
  -webkit-tap-highlight-color: transparent;
}
.g-burger span{
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,.92);
  display:block;
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}
.g-burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.g-burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.g-burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* Можно скрывать бургер на десктопе, если надо */
@media (min-width: 861px){
  .g-burger{ display:none; }
}

/* ===== MOBILE NAV ===== */
.g-mnav{
  position: fixed;
  inset: 0;
  z-index: 1999;
}
.g-mnav[hidden]{ display:none; }

.g-mnav-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.g-mnav-panel{
  position: absolute;
  top: calc(env(safe-area-inset-top) + 5px);
  right: 10px;
  left: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,16,34,.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 28px 110px rgba(0,0,0,.45);
  overflow: hidden;
  max-height: calc(100dvh - (env(safe-area-inset-top) + 20px));
  display:flex;
  flex-direction:column;
}

.g-mnav-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 24px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.g-mnav-title{
  color:#fff;
  font-weight:1000;
  letter-spacing: -.15px;
}
.g-mnav-x{
  width: 40px; height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
}

.g-mnav-body{
  padding: 14px;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}
.g-mnav-catalog{ width: 100%; margin-bottom: 12px; text-align:center; }

.g-mnav-links{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin: 10px 0 14px;
}
.g-mnav-link{
  text-decoration:none;
  color: rgba(255,255,255,.92);
  font-weight: 900;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.g-mnav-contacts{
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.g-mnav-ctitle{
  color: rgba(255,255,255,.78);
  font-weight: 900;
  margin-bottom: 10px;
}
.g-mnav-phone, .g-mnav-mail{
  display:block;
  text-decoration:none;
  color:#fff;
  font-weight: 1000;
  padding: 10px 0;
}

/* ===== BACK TO TOP ===== */
.g-top{
  position: fixed;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom) + 12px);
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(10,16,34,.58);
  color:#fff;
  font-size: 20px;
  cursor:pointer;
  z-index: 2000;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
}
.g-top.is-show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== COOKIE BANNER / DESKTOP SLIM BAR ===== */
.g-cookie{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom) + 14px);
  z-index: 2100;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.g-cookie.is-show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: none;
}

.g-cookie__panel{
  width: min(980px, 100%);
  pointer-events: auto;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)),
    rgba(10,16,34,.78);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow:
    0 18px 60px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}

.g-cookie__content{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
}

.g-cookie__textwrap{
  min-width: 0;
}

.g-cookie__title{
  margin: 0 0 4px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.15px;
  line-height: 1.15;
  font-size: 15px;
}

.g-cookie__text{
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.5;
}

.g-cookie__text a{
  color: #6bd5ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(107,213,255,.32);
  transition: color .18s ease, border-color .18s ease;
}

.g-cookie__text a:hover{
  color: #9fe6ff;
  border-color: rgba(159,230,255,.65);
}

.g-cookie__actions{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.g-cookie__btn{
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, rgba(107,213,255,.20), rgba(58,160,255,.20)),
    rgba(255,255,255,.05);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -.1px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 10px 28px rgba(58,160,255,.14),
    inset 0 1px 0 rgba(255,255,255,.05);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    border-color .18s ease;
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
}

.g-cookie__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(107,213,255,.26);
  background:
    linear-gradient(135deg, rgba(107,213,255,.26), rgba(58,160,255,.26)),
    rgba(255,255,255,.07);
  box-shadow:
    0 14px 34px rgba(58,160,255,.18),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.g-cookie__btn:active{
  transform: translateY(0);
}

.theme-picker{
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.theme-picker[hidden]{
  display: none !important;
}

.theme-picker__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, .34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.theme-picker__panel{
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 22px 20px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(15,23,42,.82);
  box-shadow:
    0 24px 70px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.08);
  color: #fff;
}

.theme-picker__title{
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.02em;
}

.theme-picker__text{
  margin-top: 10px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}

.theme-picker__actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.theme-picker__btn{
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    border-color .18s ease;
}

.theme-picker__btn:hover{
  transform: translateY(-1px);
}

.theme-picker__btn--light{
  color: #0f172a;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,247,251,.92));
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.theme-picker__btn--dark{
  color: rgba(255,255,255,.94);
  background: linear-gradient(180deg, rgba(20,28,46,.96), rgba(11,17,32,.96));
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
}

:root[data-theme="light"] .theme-picker__panel{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.90);
  box-shadow:
    0 24px 60px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.95);
  color: #0f172a;
}

:root[data-theme="light"] .theme-picker__text{
  color: rgba(15,23,42,.66);
}

@media (max-width: 640px){
  .theme-picker{
    align-items: end;
    padding: 12px;
  }

  .theme-picker__panel{
    width: 100%;
    border-radius: 22px;
    padding: 18px 16px 16px;
  }

  .theme-picker__title{
    font-size: 20px;
  }

  .theme-picker__actions{
    grid-template-columns: 1fr;
  }
}

.g-mnav-theme{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 6px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.g-mnav-theme__label{
  color: rgba(255,255,255,.84);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.01em;
}

:root[data-theme="light"] .g-mnav-theme{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.52);
}

:root[data-theme="light"] .g-mnav-theme__label{
  color: rgba(15,23,42,.82);
}

.g-theme-switch--mobile{
  flex: 0 0 auto;
}

.g-theme-switch--mobile .g-theme-switch__track{
  width: 58px;
  height: 32px;
}

.g-theme-switch--mobile .g-theme-switch__thumb{
  width: 24px;
  height: 24px;
}

:root[data-theme="light"] .g-theme-switch--mobile .g-theme-switch__thumb{
  transform: translateX(26px);
}

/* Mobile */
@media (max-width: 760px){
  .g-cookie{
    left: 10px;
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom) + 10px);
  }

  .g-cookie__panel{
    width: 100%;
    border-radius: 18px;
  }

  .g-cookie__content{
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .g-cookie__title{
    font-size: 14px;
    margin-bottom: 6px;
  }

  .g-cookie__text{
    font-size: 12.5px;
    line-height: 1.5;
  }

  .g-cookie__actions{
    width: 100%;
  }

  .g-cookie__btn{
    width: 100%;
    min-height: 40px;
  }
}
/* =========================================================
   GLOBAL FLOATING UI — LIGHT THEME ONLY OVERRIDES
   Ничего не удаляет, только адаптирует под светлую тему
========================================================= */

/* ===== BURGER ===== */
:root[data-theme="light"] .g-burger{
  border-color: rgba(15,23,42,.10);
  background: rgba(255,255,255,.62);
  box-shadow:
    0 16px 36px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.92);
}

:root[data-theme="light"] .g-burger span{
  background: rgba(15,23,42,.86);
}

/* ===== MOBILE NAV ===== */
:root[data-theme="light"] .g-mnav-backdrop{
  background: rgba(15,23,42,.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

:root[data-theme="light"] .g-mnav-panel{
  border-color: rgba(15,23,42,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(248,250,252,.80)),
    rgba(255,255,255,.72);
  box-shadow:
    0 22px 56px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.94);
}

:root[data-theme="light"] .g-mnav-head{
  border-bottom-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .g-mnav-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .g-mnav-x{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.58);
  color: rgba(15,23,42,.86);
  box-shadow:
    0 8px 18px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,.94);
}

:root[data-theme="light"] .g-mnav-body{
  color: rgba(15,23,42,.88);
}

:root[data-theme="light"] .g-mnav-link{
  color: rgba(15,23,42,.88);
  background: rgba(255,255,255,.52);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 8px 18px rgba(15,23,42,.05),
    inset 0 1px 0 rgba(255,255,255,.92);
}

:root[data-theme="light"] .g-mnav-contacts{
  border-top-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .g-mnav-ctitle{
  color: rgba(15,23,42,.62);
}

:root[data-theme="light"] .g-mnav-phone,
:root[data-theme="light"] .g-mnav-mail{
  color: rgba(15,23,42,.90);
}

/* если у тебя есть подпункты блога */
:root[data-theme="light"] .g-mnav-sublink{
  color: rgba(15,23,42,.78);
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(15,23,42,.06);
}

:root[data-theme="light"] .g-mnav-link--toggle{
  color: rgba(15,23,42,.88);
}

/* ===== BACK TO TOP ===== */
:root[data-theme="light"] .g-top{
  border-color: rgba(15,23,42,.10);
  background: rgba(255,255,255,.66);
  color: rgba(15,23,42,.88);
  box-shadow:
    0 16px 36px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.94);
}

/* ===== COOKIE BANNER ===== */
:root[data-theme="light"] .g-cookie__panel{
  border-color: rgba(15,23,42,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,250,252,.76)),
    rgba(255,255,255,.74);
  box-shadow:
    0 18px 48px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.95);
}

:root[data-theme="light"] .g-cookie__title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .g-cookie__text{
  color: rgba(15,23,42,.68);
}

:root[data-theme="light"] .g-cookie__text a{
  color: #2563eb;
  border-bottom-color: rgba(37,99,235,.26);
}

:root[data-theme="light"] .g-cookie__text a:hover{
  color: #1d4ed8;
  border-bottom-color: rgba(29,78,216,.48);
}

:root[data-theme="light"] .g-cookie__btn{
  border-color: rgba(37,99,235,.14);
  background:
    linear-gradient(135deg, rgba(107,213,255,.18), rgba(58,160,255,.16)),
    rgba(255,255,255,.56);
  color: rgba(15,23,42,.90);
  box-shadow:
    0 10px 24px rgba(37,99,235,.10),
    inset 0 1px 0 rgba(255,255,255,.94);
}

:root[data-theme="light"] .g-cookie__btn:hover{
  border-color: rgba(37,99,235,.22);
  background:
    linear-gradient(135deg, rgba(107,213,255,.24), rgba(58,160,255,.22)),
    rgba(255,255,255,.70);
  box-shadow:
    0 14px 30px rgba(37,99,235,.14),
    inset 0 1px 0 rgba(255,255,255,.96);
}

/* ===== THEME PICKER ===== */
:root[data-theme="light"] .theme-picker__backdrop{
  background: rgba(15,23,42,.18);
}

:root[data-theme="light"] .theme-picker__panel{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.90);
  box-shadow:
    0 24px 60px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.95);
  color: #0f172a;
}

:root[data-theme="light"] .theme-picker__text{
  color: rgba(15,23,42,.66);
}

:root[data-theme="light"] .theme-picker__btn{
  border-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .theme-picker__btn--light{
  color: #0f172a;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,247,251,.94));
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
}

:root[data-theme="light"] .theme-picker__btn--dark{
  color: rgba(255,255,255,.94);
  background: linear-gradient(180deg, rgba(20,28,46,.96), rgba(11,17,32,.96));
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}

/* ===== MOBILE THEME ROW ===== */
:root[data-theme="light"] .g-mnav-theme{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.52);
  box-shadow:
    0 8px 20px rgba(15,23,42,.05),
    inset 0 1px 0 rgba(255,255,255,.94);
}

:root[data-theme="light"] .g-mnav-theme__label{
  color: rgba(15,23,42,.82);
}

/* ===== MOBILE COOKIE POLISH ===== */
@media (max-width: 760px){
  :root[data-theme="light"] .g-cookie__panel{
    border-radius: 18px;
  }
}

/* ===== static/css/components/buttons.css ===== */


/* =========================
   BUTTONS — PREMIUM DARK
   ========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  text-decoration:none;
  font-weight:1000;
  letter-spacing:.2px;

  padding:12px 18px;
  border-radius:16px;

  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  color:#0b1220;

  box-shadow:
    0 18px 50px rgba(0,0,0,.10),
    0 1px 0 rgba(255,255,255,.85) inset;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    opacity .18s ease,
    background .18s ease,
    border-color .18s ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow:
    0 26px 80px rgba(0,0,0,.14),
    0 1px 0 rgba(255,255,255,.90) inset;
}

.btn:active{
  transform: translateY(0px);
  opacity:.92;
}

.btn:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 4px rgba(90,160,255,.28),
    0 26px 80px rgba(0,0,0,.14),
    0 1px 0 rgba(255,255,255,.90) inset;
}

/* Основная премиальная CTA (заменяет старый .btn-yellow без правок HTML) */
.btn-yellow{
  background: radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.95), rgba(58,160,255,.92) 60%, rgba(11,47,115,.96));
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  box-shadow: 0 20px 70px rgba(58,160,255,.24), 0 1px 0 rgba(255,255,255,.16) inset;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-yellow:hover{
  transform: translateY(-1px); box-shadow: 0 26px 90px rgba(58,160,255,.28), 0 1px 0 rgba(255,255,255,.18) inset;
}

.btn-big{
  padding:14px 22px;
  border-radius:18px;
}

/* Outline — премиальный, не “канцелярский” */
.btn-outline{
  cursor:pointer;
  background: rgba(255,255,255,.10);
  color:#fff;

  border:1px solid rgba(255,255,255,.22);

  box-shadow:
    0 18px 50px rgba(0,0,0,.22),
    0 1px 0 rgba(255,255,255,.10) inset;
}

.btn-outline:hover{
  border-color: rgba(90,160,255,.45);
  box-shadow:
    0 26px 80px rgba(0,0,0,.28),
    0 0 0 1px rgba(90,160,255,.18) inset;
}

/* Ghost — аккуратный glass */
.btn-ghost{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.20);
  color:#fff;
  border-radius:16px;
  padding:14px 18px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 18px 60px rgba(0,0,0,.25),
    0 1px 0 rgba(255,255,255,.10) inset;
}

.btn-ghost:hover{
  border-color: rgba(255,255,255,.28);
  opacity:.96;
}


/* ===== static/css/components/header.css ===== */

/* =========================================================
   HEADER — FINAL CLEAN
   Desktop: sticky nav via JS (.is-fixed)
   Mobile: desktop nav hidden, global floating burger used
========================================================= */

:root{
  --hdr-ink: rgba(255,255,255,.86);
  --hdr-line: rgba(255,255,255,.08);
  --hdr-bg0: #0b1222;
  --hdr-bg1: #070b16;
  --hdr-glass: rgba(10,16,34,.55);
  --hdr-glass-b: rgba(255,255,255,.06);
}

/* ===== HEADER SHELL ===== */
.header{
  position: relative;
  z-index: 2000;
  color: var(--hdr-ink);
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(90,160,255,.10), rgba(90,160,255,0) 55%),
    linear-gradient(to bottom, var(--hdr-bg0), var(--hdr-bg1));
  border-bottom: 1px solid var(--hdr-line);
}

.header-bg{
  position: relative;
}

.header-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 16px;
}

/* ===== BRAND ===== */
.brand{
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-link{
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: opacity .18s ease, transform .18s ease;
}

.brand-link:hover{
  opacity: .92;
  transform: translateY(-1px);
}

.brand-logo{
  height: 84px;
  width: auto;
  flex: 0 0 auto;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.brand-logo img{
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  filter: saturate(1.05) contrast(1.08) drop-shadow(0 4px 14px rgba(0,0,0,.45));
}

.brand-title{
  margin-top: 16px;
  font-weight: 1000;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.2px;
  color: #fff;
}

.brand-sub{
  margin-top: 8px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 800;
}

/* ===== CENTER INFO ===== */
.top-mid{
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  max-width: 440px;
  min-width: 0;
}

.top-city{
  font-weight: 900;
  margin-bottom: 6px;
  color: rgba(255,255,255,.88);
}

.top-addr{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.pill{
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 900;
  color: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pill.muted{
  font-weight: 800;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.70);
}

.top-work{
  font-size: 12px;
  color: rgba(255,255,255,.62);
  font-weight: 800;
}

/* ===== CONTACTS ===== */
.top-right{
  text-align: right;
  flex: 0 0 auto;
  min-width: 220px;
}

.top-sales{
  color: rgba(255,255,255,.70);
  font-weight: 900;
  margin-bottom: 6px;
  white-space: nowrap;
}

.top-phone{
  display: block;
  text-decoration: none;
  font-weight: 1000;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
  letter-spacing: .2px;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  font-variant-numeric: tabular-nums;
}

.top-phone:hover{
  opacity: .9;
}

.top-mail{
  margin-top: 6px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
  font-weight: 800;
}

/* ===== DESKTOP NAV ===== */
.header-nav-wrap{
  position: relative;
  background: var(--hdr-glass);
  border-top: 1px solid var(--hdr-line);
  border-bottom: 1px solid var(--hdr-glass-b);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

.header-nav-spacer{
  height: 0;
}

.header-nav-wrap.is-fixed{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow:
    0 18px 70px rgba(0,0,0,.45),
    0 1px 0 rgba(255,255,255,.06) inset;
}

.header-nav{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}

.nav{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 18px;
  flex-wrap: wrap;
}

.nav-link{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255,255,255,.78);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .15px;
  padding: 10px 12px;
  border-radius: 14px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-link:hover{
  color: #fff;
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

.nav-catalog{
  flex: 0 0 auto;
}

/* ===== BLOG DROPDOWN ===== */
.nav-dropdown{
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link--dropdown{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  cursor: pointer;

  font: inherit;
  color: rgba(255,255,255,.78);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .15px;
  padding: 10px 12px;
  border-radius: 14px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-link--dropdown:hover{
  color: #fff;
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

.nav-caret{
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .18s ease;
  opacity: .9;
}

.nav-dropdown.is-open .nav-caret{
  transform: rotate(-135deg) translateY(-1px);
}

.nav-dropdown-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,16,34,.94);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  z-index: 1400;
}

.nav-dropdown.is-open .nav-dropdown-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link{
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,.90);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.35;
  padding: 12px 14px;
  border-radius: 14px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-dropdown-link:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
  transform: translateX(2px);
}

/* ===== MOBILE BLOG GROUP ===== */
.g-mnav-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.g-mnav-link--toggle{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;

  text-decoration: none;
  color: rgba(255,255,255,.90);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.35;
  padding: 12px 14px;
  border-radius: 14px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.g-mnav-caret{
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
  opacity: .9;
}

.g-mnav-link--toggle[aria-expanded="true"] .g-mnav-caret{
  transform: rotate(-135deg);
}

.g-mnav-submenu{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 10px;
}
.g-mnav-submenu[hidden]{
  display: none !important;
}

.g-mnav-sublink{
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,.88);
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}




.g-theme-switch{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.g-theme-switch:focus-visible{
  outline: none;
}

.g-theme-switch__track{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 62px;
  height: 34px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)),
    rgba(15, 23, 42, .42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.12),
    0 8px 24px rgba(0,0,0,.16);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .2s ease;
}

.g-theme-switch:hover .g-theme-switch__track{
  border-color: rgba(255,255,255,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(0,0,0,.12),
    0 10px 28px rgba(0,0,0,.22);
}

.g-theme-switch:active .g-theme-switch__track{
  transform: scale(.98);
}

.g-theme-switch__icon{
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
  transition:
    opacity .22s ease,
    transform .22s ease,
    color .22s ease;
}

.g-theme-switch__icon--sun{
  color: rgba(255,255,255,.92);
}

.g-theme-switch__icon--moon{
  color: rgba(255,255,255,.48);
}

.g-theme-switch__thumb{
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.98), rgba(255,255,255,.86) 42%, rgba(220,230,245,.92) 100%);
  box-shadow:
    0 4px 14px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 2px rgba(160,175,200,.18);
  transition:
    transform .24s cubic-bezier(.22,1,.36,1),
    background .24s ease,
    box-shadow .24s ease;
}

/* dark */
:root[data-theme="dark"] .g-theme-switch__track{
  border-color: rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    rgba(15, 23, 42, .42);
}

:root[data-theme="dark"] .g-theme-switch__thumb{
  transform: translateX(0);
}

:root[data-theme="dark"] .g-theme-switch__icon--sun{
  color: rgba(255,255,255,.92);
  transform: scale(1);
  opacity: 1;
}

:root[data-theme="dark"] .g-theme-switch__icon--moon{
  color: rgba(255,255,255,.42);
  transform: scale(.92);
  opacity: .78;
}

/* light */
:root[data-theme="light"] .g-theme-switch__track{
  border-color: rgba(37,99,235,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.58)),
    rgba(37,99,235,.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(37,99,235,.06),
    0 8px 24px rgba(15,23,42,.08);
}

:root[data-theme="light"] .g-theme-switch__thumb{
  transform: translateX(28px);
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,1), rgba(248,250,255,.96) 44%, rgba(230,238,255,.98) 100%);
  box-shadow:
    0 4px 12px rgba(37,99,235,.14),
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 2px rgba(170,190,230,.18);
}

:root[data-theme="light"] .g-theme-switch__icon--sun{
  color: rgba(15,23,42,.44);
  transform: scale(.92);
  opacity: .75;
}

:root[data-theme="light"] .g-theme-switch__icon--moon{
  color: rgba(37,99,235,.88);
  transform: scale(1);
  opacity: 1;
}

/* focus ring */
.g-theme-switch:focus-visible .g-theme-switch__track{
  box-shadow:
    0 0 0 4px rgba(124,182,255,.16),
    inset 0 1px 0 rgba(255,255,255,.08),
    0 8px 24px rgba(0,0,0,.16);
}

:root[data-theme="light"] .g-theme-switch:focus-visible .g-theme-switch__track{
  box-shadow:
    0 0 0 4px rgba(37,99,235,.14),
    inset 0 1px 0 rgba(255,255,255,.85),
    0 8px 24px rgba(15,23,42,.08);
}

@media (max-width: 860px){
  .g-theme-switch__track{
    width: 58px;
    height: 32px;
    padding: 0 8px;
  }

  .g-theme-switch__thumb{
    width: 24px;
    height: 24px;
  }

  :root[data-theme="light"] .g-theme-switch__thumb{
    transform: translateX(26px);
  }

  .g-theme-switch__icon{
    width: 15px;
    height: 15px;
    font-size: 11px;
  }
}


/* ===== MOBILE ===== */
@media (max-width: 820px){
  .header-nav-wrap{
    display: none !important;
  }

  .header-nav-spacer{
    display: none !important;
    height: 0 !important;
  }

  .header-top{
    padding: 16px 0 14px;
  }

  .brand-link{
    gap: 22px;
    align-items: center;
  }

  .brand-logo{
    height: 60px;
  }

  .brand-title{
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 26ch;
  }

  .brand-sub{
    font-size: 11.5px;
    margin-top: 4px;
  }
}

/* ===== SMALL DESKTOP TUNING ===== */
@media (max-width: 1180px){
  .top-phone{
    font-size: 18px;
  }
}

@media (max-width: 1040px){
  .top-phone{
    font-size: 17px;
  }
}

/* ===== static/css/components/cards.css ===== */

/* =========================
   PREMIUM PRODUCE CARDS
   THEME-AWARE EDITION
========================= */

.grid-6{
  gap: 18px;
  align-items: stretch;
}

/* ===== CARD ===== */
.card-prod{
  position: relative;
  display: block;
  text-decoration: none;
  cursor: pointer;

  aspect-ratio: 6 / 9;
  border-radius: 22px;
  overflow: hidden;

  background: rgba(10,16,28,.85);
  border: 1px solid rgba(255,255,255,.10);

  box-shadow:
    0 24px 70px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.06) inset;

  transform: translateZ(0);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease;
}

/* стеклянный блик */
.card-prod::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index: 2;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.26), rgba(255,255,255,0) 45%),
    linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 48%);
  opacity: .9;
}

/* ===== IMAGE ===== */
.card-prod-img{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;

  transform: scale(1.04);
  transition: transform .45s ease;
  z-index: 0;
}

/* затемнение снизу */
.card-prod-img::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(4,8,18,.82),
    rgba(4,8,18,0) 65%
  );
}

/* ===== OVERLAY ===== */
.card-prod-overlay{
  position:absolute;
  inset:0;
  z-index: 3;

  display:flex;
  flex-direction:column;
  justify-content:flex-end;

  padding: 14px;
  pointer-events:none;
}

/* ===== BOTTOM ===== */
.card-prod-bottom{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

/* ===== TITLE ===== */
.card-prod-title{
  width: 100%;
  min-height: 54px;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  padding: 12px 14px;
  border-radius: 16px;

  color: var(--text, #fff);
  font-weight: 1000;
  font-size: 13.5px;
  line-height: 1.15;

  background: linear-gradient(
    180deg,
    rgba(18,26,44,.82),
    rgba(12,18,32,.68)
  );

  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 16px 36px rgba(0,0,0,.24),
    0 1px 0 rgba(255,255,255,.08) inset;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  text-shadow: 0 8px 18px rgba(0,0,0,.42);
}

/* ===== CTA ===== */
.card-prod-cta{
  display:flex;
  justify-content:center;
  margin-top: 4px;
  padding-bottom: 6px;
}

.card-prod-btn{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  width: min(220px, 92%);
  white-space: nowrap;

  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .4px;

  padding: 11px 16px;
  border-radius: 18px;

  color: #fff;
  background: linear-gradient(135deg, #2f66ff, #5aa0ff);

  border: 0;
  box-shadow:
    0 16px 36px rgba(27,72,180,.24),
    0 1px 0 rgba(255,255,255,.18) inset;
}

/* ===== HOVER ===== */
.card-prod:hover{
  transform: translateY(-4px);
  border-color: rgba(90,160,255,.32);
  box-shadow:
    0 26px 68px rgba(0,0,0,.32),
    0 0 0 1px rgba(90,160,255,.14) inset;
}

.card-prod:hover .card-prod-btn{
  opacity: 1;
  transform: translateY(0);
}

.card-prod:hover .card-prod-img{
  transform: scale(1.12);
}

.card-prod:hover .card-prod-overlay{
  background: linear-gradient(
    to top,
    rgba(10,16,28,.26),
    rgba(10,16,28,0) 60%
  );
}

/* ===== ACCESSIBILITY ===== */
.card-prod:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 4px rgba(90,160,255,.26),
    0 26px 68px rgba(0,0,0,.32);
}

/* =========================
   LIGHT THEME
========================= */
:root[data-theme="light"] .card-prod{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow:
    0 18px 36px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.8) inset;
}

:root[data-theme="light"] .card-prod::before{
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.42), rgba(255,255,255,0) 45%),
    linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 48%);
}

:root[data-theme="light"] .card-prod-img::after{
  background: linear-gradient(
    to top,
    rgba(15,23,42,.42),
    rgba(15,23,42,0) 62%
  );
}

:root[data-theme="light"] .card-prod-title{
  color: #0f172a;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.76),
    rgba(248,250,252,.62)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 12px 28px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.95) inset;
  text-shadow: none;
}

:root[data-theme="light"] .card-prod-btn{
  color: #fff;
  box-shadow:
    0 14px 28px rgba(37,99,235,.18),
    0 1px 0 rgba(255,255,255,.22) inset;
}

:root[data-theme="light"] .card-prod:hover{
  border-color: rgba(37,99,235,.18);
  box-shadow:
    0 22px 44px rgba(15,23,42,.12),
    0 0 0 1px rgba(37,99,235,.10) inset;
}

:root[data-theme="light"] .card-prod:hover .card-prod-overlay{
  background: linear-gradient(
    to top,
    rgba(255,255,255,.08),
    rgba(255,255,255,0) 60%
  );
}

:root[data-theme="light"] .card-prod:focus-visible{
  box-shadow:
    0 0 0 4px rgba(37,99,235,.14),
    0 22px 44px rgba(15,23,42,.12);
}

.sub{
  color: rgba(255,255,255,.72);
}

:root[data-theme="light"] .sub{
  color: rgba(15,23,42,.68);
}

/* ===== MOBILE ===== */
@media (max-width: 860px){
  .card-prod-title{
    min-height: 50px;
    padding: 11px 12px;
    font-size: 13px;
  }

  .card-prod-btn{
    font-size: 10.5px;
    padding: 10px 14px;
  }
}

/* ===== static/css/components/services.css ===== */

/* =========================
   SERVICES — PREMIUM THEME-AWARE
========================= */

.services-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:20px;
  align-items:start;
}

.service-card{
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  cursor:pointer;
}

/* icon */
.service-svg{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  transform: scale(var(--icon-scale, 1.0));
  transform-origin:center;
  transition: transform .22s ease;
}

/* ring */
.service-ring{
  width:120px;
  height:120px;
  position:relative;
  border-radius:50%;
  overflow:visible;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.10));
  transition: transform .20s ease, filter .20s ease;
}

/* premium blue glow overlay */
.service-overlay{
  position:absolute;
  inset:8px;
  border-radius:50%;
  opacity:0;
  transition: opacity .20s ease;
  pointer-events:none;

  background:
    radial-gradient(circle at 50% 55%,
      rgba(90,160,255,.26),
      rgba(90,160,255,0) 58%),
    radial-gradient(circle at 35% 35%,
      rgba(255,255,255,.14),
      rgba(255,255,255,0) 55%);
  filter: saturate(1.12);
}

/* premium button in center */
.service-btn{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) translateY(4px);

  color: rgba(255,255,255,.94);
  font-weight:900;
  font-size:12px;
  letter-spacing:.35px;

  padding:10px 14px;
  border-radius:14px;

  background: rgba(10, 14, 28, .82);
  border:1px solid rgba(255,255,255,.12);

  box-shadow:
    0 14px 34px rgba(0,0,0,.18),
    0 1px 0 rgba(255,255,255,.06) inset;

  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);

  opacity:0;
  transition: opacity .18s ease, transform .18s ease;
}

/* text */
.service-text{
  margin-top: 10px;
  padding: 22px 18px;
  text-align:center;
  font-weight:900;
  font-size:13px;
  line-height:1.25;

  max-width:220px;
  min-height:64px;

  display:flex;
  align-items:flex-start;
  justify-content:center;

  color: var(--text, rgba(255,255,255,.92));
}

/* hovers */
.service-card:hover .service-overlay,
.service-card:focus-visible .service-overlay{
  opacity:1;
}

.service-card:hover .service-btn,
.service-card:focus-visible .service-btn{
  opacity:1;
  transform:translate(-50%,-50%) translateY(0);
}

.service-card:hover .service-ring{
  transform: translateY(-2px);
  filter:
    drop-shadow(0 18px 36px rgba(0,0,0,.14))
    drop-shadow(0 0 20px rgba(90,160,255,.14));
}

.service-card:hover .service-svg{
  transform: scale(calc(var(--icon-scale, 1.0) * 1.03));
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .service-svg,
  .service-ring,
  .service-overlay,
  .service-btn{
    transition:none !important;
  }
}

/* =========================
   SPLINE CARD
========================= */

.spline-card{
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 520px;

  background: rgba(10,16,32,.58);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow:
    0 20px 54px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.08);
}

/* spline layer */
.spline-layer{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:auto;
}

.spline-layer .spline-view{
  width:100%;
  height:100%;
  display:block;
}

/* fx layer */
.spline-fx{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.18) 0%,
      rgba(0,0,0,.10) 30%,
      rgba(0,0,0,.04) 55%,
      rgba(0,0,0,0) 75%
    );
}

/* content */
.spline-content{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;

  padding: 54px 56px;
  min-height: 520px;
  pointer-events: none;
}

.spline-col{
  pointer-events: auto;
}

.spline-col--left{
  max-width: 520px;
}

.spline-col--right{
  max-width: 420px;
  justify-self: end;
  text-align: right;
}

.spline-copy,
.spline-copy a,
.spline-copy button{
  pointer-events:auto;
}

/* badge */
.spline-badge{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 11px;
  text-transform: uppercase;
}

/* typography */
.spline-title{
  margin: 16px 0 12px;
  font-size: clamp(34px, 3.3vw, 52px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,.94);
}

.spline-accent{
  color: rgba(160,235,255,.95);
}

.spline-sub{
  margin: 0 0 18px;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.70);
}

/* right points */
.spline-points{
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}

.spline-point{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}

.spline-point-h{
  font-weight: 800;
  color: rgba(255,255,255,.90);
  letter-spacing: -0.01em;
}

.spline-point-p{
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,.62);
}

/* actions */
.spline-actions-row{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.spline-action-left,
.spline-action-right{
  position: absolute;
  bottom: 60px;
  pointer-events: auto;
}

.spline-action-left{
  left: 40px;
}

.spline-action-right{
  right: 40px;
}

.btn-black-glass{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 14px 22px;
  border-radius: 16px;

  font-weight: 900;
  font-size: 13px;
  letter-spacing: .4px;

  color: rgba(255,255,255,.92);

  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.18);

  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);

  box-shadow:
    0 14px 40px rgba(0,0,0,.35),
    0 1px 0 rgba(255,255,255,.10) inset;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.spline-layer .spline-view{
  width:100%;
  height:100%;
  display:block;
}

:root[data-theme="light"] .spline-layer{
  filter: contrast(1.08) saturate(.92) brightness(.94);
}

.spline-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:0;
  transition: opacity .25s ease;
}

:root[data-theme="light"] .spline-card::after{
  opacity:1;
  background:
    radial-gradient(
      circle at 53% 46%,
      rgba(15,23,42,.10) 0%,
      rgba(15,23,42,.05) 16%,
      rgba(15,23,42,0) 34%
    );
}

.service-svg{
  color: #ffffff; /* default (dark) */
}

/* =========================
   LIGHT THEME
========================= */

:root[data-theme="light"] .service-ring{
  filter: drop-shadow(0 12px 22px rgba(15,23,42,.08));
}

:root[data-theme="light"] .service-overlay{
  background:
    radial-gradient(circle at 50% 55%,
      rgba(37,99,235,.16),
      rgba(37,99,235,0) 58%),
    radial-gradient(circle at 35% 35%,
      rgba(255,255,255,.34),
      rgba(255,255,255,0) 55%);
}

:root[data-theme="light"] .service-btn{
  color: rgba(15,23,42,.88);
  background: rgba(255,255,255,.70);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 12px 24px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.92) inset;
}

:root[data-theme="light"] .service-text{
  color: rgba(15,23,42,.88);
}

:root[data-theme="light"] .service-card:hover .service-ring{
  filter:
    drop-shadow(0 18px 30px rgba(15,23,42,.10))
    drop-shadow(0 0 18px rgba(37,99,235,.10));
}

:root[data-theme="light"] .spline-card{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.78),
    rgba(248,250,252,.72)
  );
  border-color: rgba(15,23,42,.07);
  box-shadow:
    0 18px 40px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.92);
}

:root[data-theme="light"] .spline-fx{
  background:
    radial-gradient(
      circle at 52% 44%,
      rgba(15,23,42,.06) 0%,
      rgba(15,23,42,.04) 18%,
      rgba(15,23,42,0) 42%
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.76) 26%,
      rgba(255,255,255,.22) 48%,
      rgba(255,255,255,0) 68%
    );
}

:root[data-theme="light"] .spline-badge{
  background: rgba(255,255,255,.56);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.66);
}

:root[data-theme="light"] .spline-title{
  color: rgba(15,23,42,.94);
}

:root[data-theme="light"] .spline-accent{
  color: rgba(37,99,235,.86);
}

:root[data-theme="light"] .spline-sub{
  color: rgba(15,23,42,.68);
}

:root[data-theme="light"] .spline-point{
  background: rgba(255,255,255,.46);
  border-color: rgba(15,23,42,.07);
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
  backdrop-filter: blur(8px) saturate(1.02);
  -webkit-backdrop-filter: blur(8px) saturate(1.02);
}

:root[data-theme="light"] .spline-point-h{
  color: rgba(15,23,42,.88);
}

:root[data-theme="light"] .spline-point-p{
  color: rgba(15,23,42,.62);
}


/* hover */
.btn-black-glass:hover{
  transform: translateY(-2px);

  background: rgba(0,0,0,.65);

  box-shadow:
    0 22px 60px rgba(0,0,0,.45),
    0 0 0 1px rgba(90,160,255,.25) inset;
}

/* active */
.btn-black-glass:active{
  transform: translateY(0);
}

:root[data-theme="light"] .btn-black-glass{
  color: #0f172a;

  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15,23,42,.10);

  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);

  box-shadow:
    0 14px 40px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.9) inset;

  text-shadow: none;
}

:root[data-theme="light"] .service-svg{
  color: #0f172a; /* тёмный */
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 980px){
  .spline-content{
    grid-template-columns: 1fr;
    text-align: left;
    padding: 26px;
    min-height: 560px;
  }

  .spline-col--right{
    justify-self: start;
    text-align: left;
  }
}

.spline-mount,
.spline-view,
.spline-poster {
  width: 100%;
  height: 100%;
  display: block;
}

.spline-poster {
  object-fit: cover;
}

.spline-view {
  pointer-events: none;
}

.spline-mount.is-static .spline-poster {
  display: block;
}


/* ===== static/css/components/banner.css ===== */

/* =========================
   BANNER — PREMIUM DARK
   ========================= */

.banner{
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  gap: 36px;
  padding: 40px;
  border-radius: 26px;
  overflow: hidden;

  grid-template-columns: minmax(0, clamp(360px, 42%, 520px)) minmax(0, 1fr);

  background:
    radial-gradient(900px 420px at 20% 10%, rgba(45,92,255,.18), transparent 60%),
    radial-gradient(700px 420px at 80% 60%, rgba(0,0,0,.45), transparent 65%),
    linear-gradient(135deg, #050b18, #08142e);

  box-shadow:
    0 40px 120px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.10) inset;
}

/* subtle noise */
.banner::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.04) 0px,
      rgba(255,255,255,.04) 1px,
      rgba(255,255,255,0) 2px,
      rgba(255,255,255,0) 4px
    );
  opacity:.08;
  z-index:0;
}

/* glass panel on the left */
.banner::before{
  content:"";
  position:absolute;
  inset:0;
  height:100%;
  width: clamp(620px, 42%, 520px);
  clip-path: polygon(0 0, 62% 0, 100% 100%, 0 100%);

  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);

  border-right:1px solid rgba(255,255,255,.14);
  pointer-events:none;
  z-index:1;
}

/* =========================
   CONTENT
   ========================= */

.banner-left,
.banner-right{
  position: relative;
  z-index: 2;
}

.banner-left{
  max-width: clamp(360px, 42%, 520px);
  min-width: 0;
  padding-right: 64px;
}

/* badge */
.banner-badge{
  display:inline-block;
  font-size: 34px;
  font-weight:1000;
  letter-spacing:-0.4px;

  padding:14px 18px;
  margin-bottom:18px;
  border-radius:18px;

  color:#fff;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.22);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 18px 50px rgba(0,0,0,.45),
    0 1px 0 rgba(255,255,255,.22) inset;
}

/* list */
.banner-list{
  margin:0 0 18px;
  padding-left:20px;
}

.banner-list li{
  margin:12px 0;
  font-weight:900;
  font-size:16px;
  line-height:1.35;

  color: rgba(255,255,255,.88);
  text-shadow:0 10px 28px rgba(0,0,0,.55);
}

.banner-list li::marker{
  color:#6aa4ff;
  font-size:18px;
}

/* button */
.banner-left .btn{
  border-radius:18px;
  padding:14px 22px;
  font-weight:1000;

  background: linear-gradient(135deg, #3a6bff, #5aa0ff);
  color:#fff;

  box-shadow:
    0 18px 40px rgba(0,0,0,.45),
    0 1px 0 rgba(255,255,255,.35) inset;

  border:0;
}

.banner-left .btn:hover{
  transform: translateY(-1px);
  box-shadow:
    0 26px 70px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.40) inset;
}

/* =========================
   RIGHT CARD (CONTACT)
   ========================= */

.banner-right{
  justify-self: end;
  width:100%;
  max-width:360px;

  padding:22px 24px;
  border-radius:22px;

  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 30px 80px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.18) inset;
}

.banner-phone-title{
  font-weight:900;
  font-size:16px;
  margin-bottom:14px;
  color: rgba(255,255,255,.70);
}

.banner-phone{
  font-size:34px;
  font-weight:1000;
  line-height:1.1;
  letter-spacing:.2px;
  color:#fff;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px){
  .banner{
    grid-template-columns:1fr;
    padding:32px;
  }

  .banner::before{
    width:100%;
    clip-path:none;
    border-right:0;
  }

  .banner-left{
    max-width:100%;
    padding-right:0;
  }

  .banner-right{
    max-width:100%;
    justify-self:stretch;
  }
}

@media (max-width: 560px){
  .banner{
    padding:26px;
    gap:28px;
  }

  .banner-badge{
    font-size:26px;
  }

  .banner-phone{
    font-size:28px;
  }
}



/* ===== static/css/components/lead.css ===== */

.lead{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(90,160,255,.18), rgba(90,160,255,0) 55%),
    linear-gradient(180deg, #0b1226, #0a1022);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 40px 140px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.08) inset;
  transform: translateZ(0);
}

.lead::before{
  content:"";
  position:absolute;
  inset:-120px;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 20%, rgba(90,160,255,.20), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,.06), transparent 60%);
  filter: blur(22px);
  opacity: .85;
}

.lead-h{
  font-size: 28px;
  font-weight: 1000;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: -0.2px;
}

.lead-p{
  font-weight: 800;
  color: rgba(255,255,255,.78);
  margin: 10px 0;
  line-height: 1.45;
}

/* ===== FORM CARD ===== */
.lead-form{
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    0 28px 90px rgba(0,0,0,.45),
    0 1px 0 rgba(255,255,255,.10) inset;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease,
    background .25s ease;
}

.lead-form__fields,
.lead-form__footer{
  position: relative;
  z-index: 2;
}

.lead-form__fields{
  display: grid;
  gap: 12px;
}

/* ===== FIELDS ===== */
.lead-field{
  position: relative;
}

.lead-form input,
.lead-form textarea{
  display: block;
  width: 100%;
  min-width: 0;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 14px;
  font-weight: 900;
  color: #111;
  outline: none;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
  box-sizing: border-box;
}

.lead-form input:focus,
.lead-form textarea:focus{
  border-color: rgba(58,160,255,.45);
  box-shadow:
    0 0 0 4px rgba(58,160,255,.12),
    0 10px 24px rgba(58,160,255,.10);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder{
  color: #777;
  font-weight: 800;
}

.lead-form textarea{
  min-height: 120px;
  resize: vertical;
}

/* ===== EMAIL ===== */
.lead-form input[type="email"].is-invalid{
  border-color: rgba(255,120,120,.7);
  box-shadow: 0 0 0 4px rgba(255,120,120,.10);
}

/* ===== PHONE WITH FLAG WRAP ===== */
.phone-wrap{
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 0 14px;
  min-height: 52px;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.phone-wrap:focus-within{
  border-color: rgba(58,160,255,.45);
  box-shadow:
    0 0 0 4px rgba(58,160,255,.12),
    0 10px 24px rgba(58,160,255,.10);
}

.phone-flag{
  flex: 0 0 auto;
  width: 22px;
  height: 16px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  background: #e9eef7;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.phone-wrap input{
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 50px;
}

/* ===== CONSENTS ===== */
.lead-consents{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 16px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.lead-consent{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.9);
  font-size: 9px;
  line-height: 1.5;
  font-weight: 750;
  cursor: pointer;
}

.lead-consent input[type="checkbox"]{
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #6bd5ff;
  cursor: pointer;
}

.lead-consent span{
  display: block;
  min-width: 0;
}

.lead-consent a{
  color: #8fbcff;
  text-decoration: none;
  border-bottom: 1px solid rgba(143,188,255,.35);
  transition: color .18s ease, border-color .18s ease;
}

.lead-consent a:hover,
.lead-consent a:visited:hover{
  color: #c6e3ff;
  border-color: rgba(198,227,255,.65);
}

.lead-consent a:visited{
  color: #8fbcff;
  border-color: rgba(143,188,255,.35);
}

/* ===== FOOTER / BUTTON ===== */
.lead-form__footer{
  display: grid;
  gap: 10px;
}

.lead-submit{
  position: relative;
  overflow: hidden;
  min-height: 58px;
  width: 100%;
  max-width: 420px;
  justify-self: center;
  transition:
    width .35s ease,
    border-radius .35s ease,
    transform .2s ease,
    box-shadow .25s ease;
}

.lead-submit__label{
  transition: opacity .2s ease, transform .2s ease;
}

.lead-submit__spinner{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.22);
  border-top-color: rgba(255,255,255,.92);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s ease, transform .2s ease;
}

.lead-submit__check{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.7);
  opacity: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 1000;
  transition: opacity .2s ease, transform .2s ease;
}

.form-note{
  min-height: 18px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.68);
}

/* ===== FX ===== */
.lead-form__fx{
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}

.lead-form__fx::before{
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) rotate(12deg);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(107,213,255,.05) 35%,
    rgba(255,255,255,.18) 50%,
    rgba(107,213,255,.05) 65%,
    rgba(255,255,255,0) 100%
  );
  filter: blur(10px);
}

/* ===== SUCCESS OVERLAY ===== */
.lead-form__success{
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(.98);
  transition: opacity .35s ease, transform .35s ease;
}

.lead-form.is-success .lead-form__success{
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.lead-form.is-success .lead-form__fields,
.lead-form.is-success .lead-form__footer{
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}

.lead-success__ring{
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(107,213,255,.18), rgba(107,213,255,0) 62%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(107,213,255,.22);
  box-shadow:
    0 0 0 8px rgba(107,213,255,.05),
    0 20px 50px rgba(58,160,255,.18);
}

.lead-success__ring::before{
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(107,213,255,.18);
  animation: leadPulseRing 2s ease-out infinite;
}

.lead-success__check{
  color: #dff7ff;
  font-size: 34px;
  font-weight: 1000;
  line-height: 1;
}

.lead-success__title{
  color: #fff;
  font-size: 24px;
  font-weight: 1000;
  letter-spacing: -.02em;
}

.lead-success__text{
  max-width: 360px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}

/* ===== STATES ===== */
.lead-form.is-sending{
  border-color: rgba(107,213,255,.22);
  box-shadow:
    0 28px 90px rgba(0,0,0,.45),
    0 0 0 1px rgba(107,213,255,.10) inset,
    0 0 40px rgba(58,160,255,.10);
}

.lead-form.is-sending .lead-form__fx{
  opacity: 1;
}

.lead-form.is-sending .lead-form__fx::before{
  animation: leadSweep 1.4s linear infinite;
}

.lead-form.is-sending .lead-submit{
  pointer-events: none;
}

.lead-form.is-sending .lead-submit__label{
  opacity: 0;
  transform: translateY(4px);
}

.lead-form.is-sending .lead-submit__spinner{
  opacity: 1;
  transform: scale(1);
  animation: leadSpin .75s linear infinite;
}

.lead-form.is-success{
  border-color: rgba(107,213,255,.28);
  box-shadow:
    0 28px 90px rgba(0,0,0,.45),
    0 0 0 1px rgba(107,213,255,.14) inset,
    0 0 60px rgba(58,160,255,.16);
}

.lead-form.is-success .lead-submit{
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  border-radius: 999px;
}

.lead-form.is-success .lead-submit__label,
.lead-form.is-success .lead-submit__spinner{
  opacity: 0;
}

.lead-form.is-success .lead-submit__check{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lead-form.is-error{
  animation: leadShake .32s ease;
}

.lead-form.is-error .form-note{
  color: #ffbcbc;
}

.lead-form.is-sending .form-note{
  color: rgba(255,255,255,.72);
}

/* ===== intl-tel-input dropdown readability ===== */
.iti{
  width: 100%;
}

.iti input{
  width: 100% !important;
}

.iti--inline-dropdown{
  width: 100%;
}

.iti__country-container{
  left: 12px;
}

.iti input#leadPhone{
  padding-left: 84px !important;
}

/* кнопка выбранной страны */
.iti__selected-country{
  border-radius: 10px;
  padding: 0 10px 0 8px;
  background: transparent;
}

.iti__selected-country-primary{
  gap: 8px;
}

.iti__arrow{
  border-top-color: rgba(0,0,0,.55);
}

.iti__arrow--up{
  border-bottom-color: rgba(0,0,0,.55);
}

/* сам dropdown */
.iti__dropdown-content{
  background: #f4f5f7 !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 16px !important;
  box-shadow:
    0 18px 50px rgba(0,0,0,.18),
    0 1px 0 rgba(255,255,255,.65) inset !important;
  overflow: hidden;
}

/* поиск */
.iti__search-input{
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
}

.iti__search-input::placeholder{
  color: #7a7a7a !important;
  opacity: 1 !important;
}

/* список */
.iti__country-list{
  background: #f4f5f7 !important;
  color: #111 !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.22) transparent;
}

.iti__country-list::-webkit-scrollbar{
  width: 10px;
}

.iti__country-list::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.18);
  border-radius: 999px;
}

.iti__country-list::-webkit-scrollbar-track{
  background: transparent;
}

/* строка страны */
.iti__country{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 16px !important;
  color: #16181d !important;
  background: transparent !important;
  transition: background .16s ease, color .16s ease;
}

.iti__country:hover{
  background: rgba(58,160,255,.08) !important;
}

.iti__country.iti__highlight{
  background: rgba(58,160,255,.12) !important;
  color: #0d1422 !important;
}

/* название страны */
.iti__country-name{
  color: #16181d !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

/* dial code */
.iti__dial-code{
  color: rgba(0,0,0,.54) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-left: auto !important;
}

/* если страна выбрана/подсвечена */
.iti__country.iti__highlight .iti__country-name{
  color: #0d1422 !important;
}

.iti__country.iti__highlight .iti__dial-code{
  color: rgba(13,20,34,.68) !important;
}

/* флаг */
.iti__flag{
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  border-radius: 2px;
}



/* служебные строки поиска */
.iti__search-results-text{
  color: #555 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 10px 16px !important;
  background: #f4f5f7 !important;
}

.lead-form input.is-invalid,
.lead-form textarea.is-invalid,
.iti input.is-invalid{
  border-color: rgba(255,120,120,.72) !important;
  box-shadow: 0 0 0 4px rgba(255,120,120,.10) !important;
}

/* ===== ANIMS ===== */
@keyframes leadSpin{
  to{ transform: scale(1) rotate(360deg); }
}

@keyframes leadSweep{
  0%{ transform: translateX(-120%) rotate(12deg); }
  100%{ transform: translateX(120%) rotate(12deg); }
}

@keyframes leadShake{
  0%,100%{ transform: translateX(0); }
  20%{ transform: translateX(-4px); }
  40%{ transform: translateX(4px); }
  60%{ transform: translateX(-3px); }
  80%{ transform: translateX(3px); }
}

@keyframes leadPulseRing{
  0%{
    transform: scale(.92);
    opacity: .8;
  }
  100%{
    transform: scale(1.18);
    opacity: 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px){
  .lead{
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .lead-h{
    font-size: 24px;
  }
}

@media (max-width: 640px){
  .lead-form{
    padding: 16px;
  }

  .lead-submit{
    max-width: 100%;
    width: 100%;
  }

  .lead-consent{
    font-size: 12px;
  }
}

@media (max-width: 420px){
  .lead{
    padding: 22px;
    border-radius: 18px;
  }

  .lead-h{
    font-size: 22px;
  }

  .lead-form textarea{
    min-height: 110px;
  }
}

@media (prefers-reduced-motion: reduce){
  .lead,
  .lead::before,
  .lead-form,
  .lead-submit,
  .lead-form__success{
    transition: none !important;
    animation: none !important;
  }
}

/* ===== static/css/components/clients.css ===== */

/* =========================
   CLIENTS — PREMIUM DARK BLUE
========================= */

.clients-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  align-items: stretch;
}

/* card */
.client-card{
  position: relative;
  overflow:hidden;

  border-radius: 20px;
  background: rgba(10,16,28,.72);
  border: 1px solid rgba(255,255,255,.10);

  box-shadow:
    0 22px 70px rgba(0,0,0,.45),
    0 1px 0 rgba(255,255,255,.07) inset;

  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* glass highlight + subtle blue glow */
.client-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  border-radius: 20px;

  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.22), rgba(255,255,255,0) 46%),
    radial-gradient(circle at 85% 80%, rgba(90,160,255,.16), rgba(90,160,255,0) 58%);

  opacity:.9;
}

.client-card:hover{
  transform: translateY(-4px);
  border-color: rgba(90,160,255,.45);
  box-shadow:
    0 32px 110px rgba(0,0,0,.62),
    0 0 0 1px rgba(90,160,255,.18) inset;
}

/* image / logo area */
.client-img{
  height: 140px;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(900px 240px at 20% 20%, rgba(90,160,255,.22), rgba(90,160,255,0) 55%),
    linear-gradient(135deg, rgba(18,26,44,.95), rgba(8,12,22,.95));

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* if you put background-image on this block — keep it premium */
.client-img::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  background:
    linear-gradient(to top, rgba(4,8,18,.75), rgba(4,8,18,0) 62%);
  opacity: .9;
}

/* typography */
.client-title{
  padding: 14px 14px 0;
  font-weight: 1000;
  text-align: center;
  color: rgba(255,255,255,.94);
  letter-spacing: -0.15px;
}

.client-text{
  padding: 10px 14px 16px;
  font-size: 12px;
  text-align: center;
  font-weight: 750;
  color: rgba(255,255,255,.76);
  line-height: 1.45;
}

/* focus ring */
.client-card:focus-within{
  box-shadow:
    0 0 0 4px rgba(90,160,255,.30),
    0 32px 110px rgba(0,0,0,.62);
}

/* responsive */
@media (max-width: 1100px){
  .clients-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px){
  .clients-grid{ grid-template-columns:1fr; }
}

/* =========================
   CLIENTS — LIGHT THEME OVERRIDES
   Добавить в конец файла
========================= */

:root[data-theme="light"] .client-card{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.72),
    rgba(255,255,255,.52)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 16px 40px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .client-card::before{
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.42), rgba(255,255,255,0) 46%),
    radial-gradient(circle at 85% 80%, rgba(90,160,255,.10), rgba(90,160,255,0) 58%);
  opacity: 1;
}

:root[data-theme="light"] .client-card:hover{
  border-color: rgba(90,160,255,.24);
  box-shadow:
    0 22px 54px rgba(15,23,42,.12),
    0 0 0 1px rgba(90,160,255,.08) inset;
}

:root[data-theme="light"] .client-img{
  background:
    radial-gradient(900px 240px at 20% 20%, rgba(90,160,255,.14), rgba(90,160,255,0) 55%),
    linear-gradient(135deg, rgba(250,252,255,.96), rgba(240,245,252,.96));
  border-bottom-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .client-img::after{
  background:
    linear-gradient(to top, rgba(15,23,42,.10), rgba(15,23,42,0) 62%);
  opacity: .45;
}

:root[data-theme="light"] .client-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .client-text{
  color: rgba(15,23,42,.68);
}

:root[data-theme="light"] .client-card:focus-within{
  box-shadow:
    0 0 0 4px rgba(90,160,255,.18),
    0 22px 54px rgba(15,23,42,.12);
}

:root[data-theme="light"] .client-img{
  background-position: center center;
  background-size: cover;
  border-bottom-color: rgba(15,23,42,.08);
}

/* ===== static/css/components/embed.css ===== */

/* =========================================================
   HOME — REVIEWS + MAP (PREMIUM DARK BLUE)
   Clean file: no repeats, no conflicts
   Uses only these classes:
   .home-revmap-grid
   .embed   + .embed-inner
   .embed.map  (wrapper for the map card)
   .ct-map.home-map + .ct-map-top + .ct-map-canvas
   ========================================================= */

:root{
  /* geometry */
  --revmap-gap: 18px;
  --revmap-h: clamp(300px, 30vw, 380px);

  --glass-r: 22px;       /* outer radius (card) */
  --glass-r-in: 16px;    /* inner radius (content) */
  --glass-pad: 14px;     /* inner frame padding for map card */

  /* colors */
  --glass-bg: rgba(10,16,28,.72);
  --glass-brd: rgba(255,255,255,.10);
  --glass-brd-hover: rgba(90,160,255,.40);

  /* text */
  --t: rgba(255,255,255,.82);
}

/* ===== GRID: reviews + map side-by-side ===== */
.home-revmap-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr; /* reviews slightly wider */
  gap: var(--revmap-gap);
  align-items: stretch;
  margin-top: 14px;
}

/* ===== BASE GLASS CARD ===== */
.embed{
  position: relative;
  overflow: hidden;

  border-radius: var(--glass-r);
  padding: 16px;              /* default for non-map embeds */
  margin-top: 18px;           /* default when used alone */

  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);

  box-shadow:
    0 22px 70px rgba(0,0,0,.45),
    0 1px 0 rgba(255,255,255,.07) inset;

  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);

  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.embed::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  pointer-events:none;

  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.20), rgba(255,255,255,0) 48%),
    radial-gradient(circle at 85% 80%, rgba(90,160,255,.18), rgba(90,160,255,0) 58%);
  opacity:.9;
}

.embed:hover{
  transform: translateY(-3px);
  border-color: var(--glass-brd-hover);
  box-shadow:
    0 34px 110px rgba(0,0,0,.62),
    0 0 0 1px rgba(90,160,255,.16) inset;
}

/* when embed is inside the grid — no outer margins */
.home-revmap-grid .embed{
  margin-top: 0;
}

/* ===== INNER AREA (reviews widget placeholder / iframe container) ===== */
.embed-inner{
  height: 320px;
  border-radius: var(--glass-r-in);

  display:flex;
  align-items:center;
  justify-content:center;

  color: var(--t);
  font-weight: 850;
  letter-spacing: .2px;

  background:
    radial-gradient(900px 320px at 20% 20%, rgba(90,160,255,.18), rgba(90,160,255,0) 55%),
    linear-gradient(135deg, rgba(18,26,44,.92), rgba(8,12,22,.92));

  border: 1px solid rgba(255,255,255,.08);

  box-shadow:
    0 16px 50px rgba(0,0,0,.40),
    0 1px 0 rgba(255,255,255,.06) inset;
}

.embed-inner iframe{
  width:100%;
  height:100%;
  border:0;
  border-radius: inherit;
  display:block;
}

/* compact height inside the grid */
.home-revmap-grid .embed-inner{
  height: var(--revmap-h);
}

/* ===== MAP CARD (embed.map wraps the map block) ===== */
.embed.map{
  padding: var(--glass-pad);   /* creates premium “frame” */
}

/* the map block inside the glass frame */
.embed.map .ct-map.home-map{
  position: relative;
  height: var(--revmap-h);
  aspect-ratio: auto;

  border-radius: calc(var(--glass-r) - 6px); /* tuned for perfect match */
  overflow: hidden;

  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);

  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

/* ensure overlays are above map tiles */
.embed.map .ct-map-top{
  position:absolute;
  left: 12px;
  top: 12px;
  right: 12px;
  z-index: 3;
  pointer-events: none;
}

/* map canvas fills the rounded container */
.embed.map .ct-map-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border-radius: inherit;
  overflow:hidden;
  z-index: 1;
}

/* optional: if you still have iframe maps somewhere */
.embed.map .ct-map.home-map iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  border-radius: inherit;
}

.embed-inner{
  border-radius: 16px;
  overflow: hidden; /* ключевое! */
}

.embed-inner iframe{
  width:100%;
  height:100%;
  border:0;
  border-radius: inherit;
  display:block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px){
  .home-revmap-grid{
    grid-template-columns: 1fr;
  }
  .embed-inner{
    height: 340px;
  }
  .embed.map .ct-map.home-map{
    height: 340px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce){
  .embed{ transition:none !important; }
  .embed:hover{ transform:none; }
}



.embed{
  box-shadow:
    0 12px 40px rgba(0,0,0,.35),
    0 40px 120px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06);
}


.embed:hover{
  transform: translateY(-4px) scale(1.005);

  box-shadow:
    0 18px 60px rgba(0,0,0,.45),
    0 60px 160px rgba(0,0,0,.65),
    0 0 0 1px rgba(90,160,255,.18) inset;

  border-color: rgba(90,160,255,.35);
}


.embed::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;

  background:
    radial-gradient(600px 200px at 50% 0%, rgba(90,160,255,.12), transparent 60%);

  opacity: .6;
}

.embed-inner{
  position: relative;

  background:
    radial-gradient(800px 260px at 30% 10%, rgba(90,160,255,.14), transparent 60%),
    linear-gradient(135deg, rgba(18,26,44,.92), rgba(8,12,22,.96));

  border: 1px solid rgba(255,255,255,.07);

  box-shadow:
    0 10px 30px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.embed.map{
  padding: 16px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    rgba(10,16,28,.78);

  box-shadow:
    0 20px 60px rgba(0,0,0,.45),
    0 40px 120px rgba(0,0,0,.55);
}

.embed.map .ct-map.home-map{
  box-shadow:
    0 12px 30px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.home-revmap-grid{
  overflow: visible;
}

.embed{
  overflow: visible; /* чтобы glow не резался */
}

:root[data-theme="light"] .embed{
  background:
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.55));

  border-color: rgba(15,23,42,.08);

  box-shadow:
    0 10px 30px rgba(15,23,42,.08),
    0 30px 80px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.9);
}

:root[data-theme="light"] .embed-inner{
  background:
    radial-gradient(800px 260px at 30% 10%, rgba(58,160,255,.10), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(245,248,255,.95));

  border-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .embed.map{
  background:
    linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.6));
}

:root[data-theme="light"] .embed a,
:root[data-theme="light"] .embed .btn,
:root[data-theme="light"] .embed .revmap-link{
  color: rgba(15,23,42,.88) !important;
}

/* ===== static/css/components/footer.css ===== */

/* =========================
   FOOTER — CLEAN PREMIUM
========================= */

.footer{
  padding: 60px 0 30px;
  background: linear-gradient(to bottom, #060e20, #050b18);
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.f-title{
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 14px;
  color: #fff;
}

.f-link{
  display:block;
  font-size: 13.5px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.65);
  text-decoration:none;
  transition: color .2s ease;
}

.f-link:hover{
  color:#fff;
}

.f-right{
  text-align:right;
}

.f-contact{
  display:block;
  margin-top:14px;
  font-weight: 800;
  font-size: 14px;
  color:#fff;
  text-decoration:none;
  opacity:.85;
  transition: opacity .2s ease;
}

.f-contact:hover{
  opacity:1;
}

.f-sub{
  margin-top:18px;
  font-size:12.5px;
  color:rgba(255,255,255,.45);
}

.f-bottom{
  margin-top:40px;
  padding-top:18px;
  font-size:12px;
  color:rgba(255,255,255,.35);
  border-top:1px solid rgba(255,255,255,.05);
}

@media (max-width: 768px){

  .footer{
    padding: 40px 0 20px;
  }

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

  .f-title{
    font-size: 13px;
    margin-bottom: 10px;
  }

  .f-link{
    font-size: 13px;
    margin-bottom: 8px;
  }

  .f-right{
    text-align:left;
  }

  .f-contact{
    font-size: 13px;
    margin-top:10px;
  }

  .f-sub{
    font-size: 12px;
    margin-top:14px;
  }

  .btn.btn-yellow{
    width:100%;
    margin-bottom:12px;
  }

  .f-bottom{
    margin-top:28px;
    text-align:center;
  }
}
/* ===== FOOTER BOTTOM LEGAL ===== */
.f-bottom-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.f-copy{
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

.f-legal{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.f-legal a{
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: all .18s ease;
  white-space: nowrap;
}

.f-legal a:hover{
  color: #6bd5ff;
  border-color: rgba(107,213,255,.5);
}



/* ===== COOKIE BANNER / DESKTOP SLIM BAR ===== */
.g-cookie{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom) + 14px);
  z-index: 2100;
  display: flex;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);

  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.g-cookie.is-show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: none; /* сам контейнер клики не ловит */
}

.g-cookie__panel{
  width: min(980px, 100%);
  pointer-events: auto; /* кликабельна только сама плашка */

  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)),
    rgba(10,16,34,.78);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow:
    0 18px 60px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}

.g-cookie__content{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
}

.g-cookie__textwrap{
  min-width: 0;
}

.g-cookie__title{
  margin: 0 0 4px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.15px;
  line-height: 1.15;
  font-size: 15px;
}

.g-cookie__text{
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.5;
}

.g-cookie__text a{
  color: #6bd5ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(107,213,255,.32);
  transition: color .18s ease, border-color .18s ease;
}

.g-cookie__text a:hover{
  color: #9fe6ff;
  border-color: rgba(159,230,255,.65);
}

.g-cookie__actions{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.g-cookie__btn{
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, rgba(107,213,255,.20), rgba(58,160,255,.20)),
    rgba(255,255,255,.05);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -.1px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 10px 28px rgba(58,160,255,.14),
    inset 0 1px 0 rgba(255,255,255,.05);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    border-color .18s ease;
}

.g-cookie__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(107,213,255,.26);
  background:
    linear-gradient(135deg, rgba(107,213,255,.26), rgba(58,160,255,.26)),
    rgba(255,255,255,.07);
  box-shadow:
    0 14px 34px rgba(58,160,255,.18),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.g-cookie__btn:active{
  transform: translateY(0);
}

@media (max-width: 760px){
  .g-cookie{
    left: 10px;
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom) + 10px);
  }

  .g-cookie__panel{
    width: 100%;
    border-radius: 18px;
  }

  .g-cookie__content{
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .g-cookie__title{
    font-size: 14px;
    margin-bottom: 6px;
  }

  .g-cookie__text{
    font-size: 12.5px;
    line-height: 1.5;
  }

  .g-cookie__actions{
    width: 100%;
  }

  .g-cookie__btn{
    width: 100%;
    min-height: 40px;
  }
}

/* =========================================================
   FOOTER + COOKIE — LIGHT THEME OVERRIDES
   Добавить в конец файла
========================================================= */

:root[data-theme="light"] .footer{
  background:
    linear-gradient(180deg, rgba(248,250,253,.96), rgba(238,243,249,.96));
  border-top-color: rgba(15,23,42,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

:root[data-theme="light"] .f-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .f-link{
  color: rgba(15,23,42,.64);
}

:root[data-theme="light"] .f-link:hover{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .f-right{
  color: rgba(15,23,42,.88);
}

:root[data-theme="light"] .f-contact{
  color: rgba(15,23,42,.88);
  opacity: .9;
}

:root[data-theme="light"] .f-contact:hover{
  opacity: 1;
}

:root[data-theme="light"] .f-sub{
  color: rgba(15,23,42,.48);
}

:root[data-theme="light"] .f-bottom{
  color: rgba(15,23,42,.42);
  border-top-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .f-copy{
  color: rgba(15,23,42,.50);
}

:root[data-theme="light"] .f-legal a{
  color: rgba(15,23,42,.56);
  border-bottom-color: rgba(15,23,42,.14);
}

:root[data-theme="light"] .f-legal a:hover{
  color: #2f74d8;
  border-bottom-color: rgba(47,116,216,.38);
}

/* =========================
   COOKIE BANNER — LIGHT
========================= */

:root[data-theme="light"] .g-cookie__panel{
  border-color: rgba(15,23,42,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,250,253,.84)),
    rgba(255,255,255,.82);
  box-shadow:
    0 18px 44px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.96);
}

:root[data-theme="light"] .g-cookie__title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .g-cookie__text{
  color: rgba(15,23,42,.68);
}

:root[data-theme="light"] .g-cookie__text a{
  color: #2f74d8;
  border-bottom-color: rgba(47,116,216,.28);
}

:root[data-theme="light"] .g-cookie__text a:hover{
  color: #1f5fc0;
  border-bottom-color: rgba(31,95,192,.42);
}

:root[data-theme="light"] .g-cookie__btn{
  border-color: rgba(58,160,255,.18);
  background:
    linear-gradient(135deg, rgba(107,213,255,.22), rgba(58,160,255,.18)),
    rgba(255,255,255,.72);
  color: rgba(15,23,42,.88);
  box-shadow:
    0 10px 24px rgba(58,160,255,.10),
    inset 0 1px 0 rgba(255,255,255,.95);
}

:root[data-theme="light"] .g-cookie__btn:hover{
  border-color: rgba(58,160,255,.26);
  background:
    linear-gradient(135deg, rgba(107,213,255,.28), rgba(58,160,255,.24)),
    rgba(255,255,255,.84);
  box-shadow:
    0 14px 28px rgba(58,160,255,.12),
    inset 0 1px 0 rgba(255,255,255,.98);
}





/* ===== static/css/components/about.css ===== */

/* =========================
   ABOUT — THEME AWARE
========================= */

.about{
  padding: 90px 0;
  position: relative;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(45,92,255,.10), transparent 60%),
    linear-gradient(to bottom, #050b18, #060e20);
  overflow: hidden;
}

.about::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.04) 0px,
      rgba(255,255,255,.04) 1px,
      rgba(255,255,255,0) 2px,
      rgba(255,255,255,0) 4px
    );
  opacity:.06;
}

.about-wrap{
  max-width:1200px;
  margin:0 auto;
  position:relative;
  z-index:1;
}

/* ===== TITLE ===== */
.about-title{
  text-align:center;
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing:-0.4px;
  margin:0 0 46px;
  font-weight:1000;
  color:#fff;
  text-shadow:0 14px 40px rgba(0,0,0,.38);
}

/* ===== GRID ===== */
.about-grid{
  display:grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
  align-items:center;
}

/* ===== TEXT ===== */
.about-text{
  font-size:18px;
  line-height:1.75;
  color: rgba(255,255,255,.82);
}

.about-text p{
  margin:0 0 18px;
}

.about-strong{
  font-weight:1000;
  margin-top:22px;
  color:#fff;
}

.about-address{
  font-weight:900;
  color: rgba(255,255,255,.92);
}

.about-phone{
  font-weight:1000;
  color:#6aa4ff;
  text-decoration:none;
}

.about-phone:hover{
  text-decoration:underline;
}

/* ===== DIVIDER ===== */
.about-divider{
  width:1px;
  height:320px;
  justify-self:center;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,.25),
    transparent
  );
  opacity:.7;
}

/* =========================
   SLIDER
========================= */
.about-slider{
  position:relative;
  width:100%;
  max-width:520px;
  margin-left:auto;
  border-radius:22px;
  overflow:hidden;

  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 24px 70px rgba(0,0,0,.32),
    0 1px 0 rgba(255,255,255,.18) inset;
}

.about-track{
  display:flex;
  transition: transform .55s cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}

.about-slide{
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.about-slide img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.40));
}

/* ===== ARROWS ===== */
.about-arrow{
  position:absolute;
  bottom:14px;
  width:46px;
  height:46px;
  border-radius:14px;

  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);

  color:#fff;
  font-size:26px;
  cursor:pointer;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:0 12px 30px rgba(0,0,0,.28);
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.about-arrow:hover{
  transform: translateY(-2px);
  opacity:.95;
}

.about-arrow.left{ left:14px; }
.about-arrow.right{ right:14px; }

/* ===== DOTS ===== */
.about-dots{
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:5;
}

.about-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#fff;
  opacity:.28;
  border:0;
  cursor:pointer;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.about-dot.active{
  opacity:1;
  transform: scale(1.25);
}

/* =========================
   LIGHT THEME
========================= */

:root[data-theme="light"] .about{
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(45,92,255,.06), transparent 60%),
    linear-gradient(to bottom, #f6f8fc, #eef3f9);
}

:root[data-theme="light"] .about::before{
  background:
    repeating-linear-gradient(
      0deg,
      rgba(15,23,42,.02) 0px,
      rgba(15,23,42,.02) 1px,
      rgba(15,23,42,0) 2px,
      rgba(15,23,42,0) 4px
    );
  opacity:.05;
}

:root[data-theme="light"] .about-title{
  color: rgba(15,23,42,.96);
  text-shadow: none;
}

:root[data-theme="light"] .about-text{
  color: rgba(15,23,42,.74);
}

:root[data-theme="light"] .about-strong{
  color: rgba(15,23,42,.94);
}

:root[data-theme="light"] .about-address{
  color: rgba(15,23,42,.88);
}

:root[data-theme="light"] .about-phone{
  color: #2563eb;
}

:root[data-theme="light"] .about-divider{
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(15,23,42,.14),
    transparent
  );
  opacity:.8;
}

:root[data-theme="light"] .about-slider{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.68),
    rgba(255,255,255,.50)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 40px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.92) inset;
}

:root[data-theme="light"] .about-slide img{
  filter: drop-shadow(0 12px 24px rgba(15,23,42,.12));
}

:root[data-theme="light"] .about-arrow{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.84);
  box-shadow: 0 10px 24px rgba(15,23,42,.10);
}

:root[data-theme="light"] .about-arrow:hover{
  background: rgba(255,255,255,.72);
}

:root[data-theme="light"] .about-dot{
  background: rgba(15,23,42,.30);
  opacity:.4;
}

:root[data-theme="light"] .about-dot.active{
  background: #2563eb;
  opacity:1;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px){
  .about-grid{
    grid-template-columns:1fr;
    gap:24px;
    align-items:start;
  }

  .about-divider{
    display:none;
  }

  .about-slider{
    margin:0 auto;
    max-width: 620px;
  }
}

@media (max-width: 560px){
  .about{
    padding: 54px 0;
  }

  .about-title{
    margin: 0 0 22px;
    font-size: 24px;
    letter-spacing: -0.2px;
  }

  .about-text{
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255,255,255,.86);

    padding: 16px 16px 14px;
    border-radius: 18px;

    background: linear-gradient(
      180deg,
      rgba(8,14,28,.42),
      rgba(8,14,28,.22)
    );
    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(10px) saturate(1.1);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);

    box-shadow:
      0 16px 44px rgba(0,0,0,.26),
      0 1px 0 rgba(255,255,255,.05) inset;
  }

  .about-text p{
    margin: 0 0 12px;
  }

  .about-strong{
    margin-top: 14px;
  }

  .about-address{
    font-weight: 900;
    color: rgba(255,255,255,.92);
  }

  .about-phone{
    display:inline-block;
    margin-top: 2px;
    font-size: 16px;
  }

  .about-slider{
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
  }

  .about-slider::before{
    content:"";
    display:block;
    aspect-ratio: 16 / 10;
  }

  .about-track{
    position:absolute;
    inset:0;
    height:100%;
  }

  .about-slide{
    height:100%;
    padding: 14px;
  }

  .about-slide img{
    max-width: 100%;
    max-height: 100%;
  }

  .about-arrow{
    bottom: 10px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 24px;
    opacity: .95;
  }

  .about-arrow.left{ left: 10px; }
  .about-arrow.right{ right: 10px; }

  .about-dots{
    bottom: 18px;
    gap: 8px;
  }

  .about-dot{
    width: 8px;
    height: 8px;
    opacity: .26;
  }

  .about-dot.active{
    transform: scale(1.3);
  }

  :root[data-theme="light"] .about-text{
    color: rgba(15,23,42,.74);
    background: linear-gradient(
      180deg,
      rgba(255,255,255,.56),
      rgba(255,255,255,.34)
    );
    border-color: rgba(15,23,42,.06);
    box-shadow:
      0 12px 28px rgba(15,23,42,.08),
      0 1px 0 rgba(255,255,255,.94) inset;
  }

  :root[data-theme="light"] .about-address{
    color: rgba(15,23,42,.88);
  }
}

@media (max-width: 380px){
  .about-title{
    font-size: 22px;
  }

  .about-text{
    padding: 14px 14px 12px;
  }

  .about-slider::before{
    aspect-ratio: 16 / 11;
  }
}

/* ===== static/css/components/lightbox.css ===== */



/* =========================
   LIGHTBOX — PREMIUM DARK BLUE
========================= */

.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.lightbox.is-open{ display:block; }

/* backdrop: темно-синий + мягкая виньетка */
.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% 20%, rgba(90,160,255,.18), rgba(90,160,255,0) 55%),
    radial-gradient(900px 520px at 20% 80%, rgba(0,0,0,.35), rgba(0,0,0,0) 60%),
    rgba(2, 6, 18, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* dialog: стекло + тонкая рамка + дорогие тени */
.lightbox-dialog{
  position: absolute;
  inset: 40px;
  margin: auto;

  max-width: 1100px;
  max-height: calc(100vh - 80px);

  border-radius: 22px;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  background: rgba(10, 16, 34, .78);
  border: 1px solid rgba(255,255,255,.12);

  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);

  box-shadow:
    0 60px 180px rgba(0,0,0,.72),
    0 1px 0 rgba(255,255,255,.10) inset;
}

/* легкий "блик" */
.lightbox-dialog::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  border-radius: 22px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,.18),
    rgba(255,255,255,0) 35%,
    rgba(90,160,255,.12) 70%,
    rgba(255,255,255,.10)
  );
  opacity: .7;

  mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.lightbox-dialog img{
  width: 100%;
  height: 100%;
  object-fit: contain;

  background: rgba(8, 12, 26, .85);
  flex: 1 1 auto;
}

/* подпись: прозрачнее и “дороже” */
.lightbox-cap{
  padding: 12px 14px;
  color: rgba(255,255,255,.86);
  font-weight: 900;

  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.10);
}

/* close: круглая glass-кнопка, аккуратная */
.lightbox-close{
  position: absolute;
  right: 14px;
  top: 14px;

  width: 44px;
  height: 44px;

  border: 0;
  border-radius: 999px;

  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);

  color: rgba(255,255,255,.95);
  font-size: 24px;
  cursor: pointer;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 18px 44px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.10) inset;

  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.lightbox-close:hover{
  transform: translateY(-1px);
  box-shadow:
    0 24px 64px rgba(0,0,0,.65),
    0 1px 0 rgba(255,255,255,.12) inset;
  opacity: .95;
}

.lightbox-close:active{
  transform: translateY(0);
  opacity: .9;
}

/* responsive */
@media (max-width: 720px){
  .lightbox-dialog{
    inset: 16px;
    max-height: calc(100vh - 32px);
    border-radius: 18px;
  }
  .lightbox-dialog::before{ border-radius: 18px; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .lightbox-close{ transition: none !important; }
}


/* ===== static/css/components/home-hero.css ===== */

/* =========================================================
   COMBO HERO — THEME AWARE
========================================================= */
:root{
  --h-accent: #3aa0ff;
  --h-accent2:#6bd5ff;
  --ease-out: cubic-bezier(.18,.88,.18,1);
}

/* ===== HERO WRAP ===== */
.home-hero{
  position:relative;
  overflow:hidden;
  padding: 52px 0 46px;
  min-height: 86vh;
  display:flex;
  align-items:flex-start;
}

.home-hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  transform: translate3d(0,0,0) scale(1.08);
  will-change: transform;
}

.home-hero-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 28%, rgba(0,0,0,.82), rgba(0,0,0,.20) 58%, rgba(0,0,0,.72)),
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.22) 58%, rgba(0,0,0,.10) 100%);
}

/* ===== MESH ===== */
.home-hero-mesh{
  position:absolute;
  inset:-20%;
  pointer-events:none;
  opacity:.55;
  background:
    radial-gradient(900px 520px at 20% 20%, rgba(58,160,255,.18), rgba(58,160,255,0) 65%),
    radial-gradient(900px 520px at 85% 35%, rgba(107,213,255,.14), rgba(107,213,255,0) 65%),
    conic-gradient(from 220deg at 50% 50%, rgba(58,160,255,.10), rgba(0,0,0,0), rgba(107,213,255,.08), rgba(0,0,0,0), rgba(58,160,255,.10));
  filter: blur(10px);
  transform: translateZ(0);
  animation: meshFloat 9s var(--ease-out) infinite alternate;
}

@keyframes meshFloat{
  0%{ transform: translate3d(0,0,0) scale(1); opacity:.46; }
  100%{ transform: translate3d(0,-18px,0) scale(1.03); opacity:.62; }
}

/* ===== BLUEPRINT CANVAS LAYER ===== */
.hero-blueprint-zone{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 65%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 55%,
    rgba(0,0,0,.65) 70%,
    rgba(0,0,0,.25) 85%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 55%,
    rgba(0,0,0,.65) 70%,
    rgba(0,0,0,.25) 85%,
    rgba(0,0,0,0) 100%
  );
}

.hero-blueprint{
  position: absolute;
  inset: -120px -320px -180px -120px;
  opacity: .78;
  mix-blend-mode: screen;
  filter:
    hue-rotate(-8deg)
    saturate(1.05)
    brightness(.98)
    contrast(1.04);
  will-change: transform, opacity;
}

.hero-blueprint #heroCanvas,
.hero-blueprint canvas{
  width:100%;
  height:100%;
  display:block;
}

/* content above */
.home-hero-inner{
  position:relative;
  z-index:2;
}

/* ===== GRID ===== */
.home-hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: start;
}

.home-hero-left{
  padding-right: 10px;
}

/* ===== PILL ===== */
.home-pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(12,16,26,.38);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 18px 60px rgba(0,0,0,.24);
  font-weight: 800;
  letter-spacing: .12px;
  color:#fff;
}

.home-pill-dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.95) 60%, rgba(11,47,115,.96));
  box-shadow: 0 0 0 3px rgba(58,160,255,.14), 0 18px 70px rgba(58,160,255,.22);
}

/* ===== TITLE / SUB ===== */
.home-title{
  font-size: clamp(30px, 3vw, 41px);
  font-weight: 1100;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 46ch;
  text-wrap: balance;
  margin: 16px 0 28px;
  color: rgba(255,255,255,.94);
}

.home-sub{
  max-width: 80ch;
  font-size: 15.8px;
  line-height: 1.5;
  font-weight: 650;
  color: rgba(255,255,255,.74);
  margin: 0 0 28px;
}

/* ===== KPI ===== */
.home-kpis{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 26px;
}

.home-kpi{
  border-radius: 14px;
  background: rgba(12,16,26,.34);
  border: 1px solid rgba(255,255,255,.10);
  padding: 12px 14px;
  min-width: 148px;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}

.home-kpi-num{
  color:#fff;
  font-weight:1000;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.home-kpi-label{
  margin-top:4px;
  color: rgba(255,255,255,.74);
  font-weight: 700;
  font-size: 12px;
  opacity:.9;
}

/* ===== CTA ===== */
.home-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.btn-big{
  padding: 13px 16px;
  border-radius: 14px;
  font-weight: 1000;
  letter-spacing: .18px;
}

.btn-blue{
  background: radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.95), rgba(58,160,255,.92) 60%, rgba(11,47,115,.96));
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  box-shadow: 0 20px 70px rgba(58,160,255,.20), 0 1px 0 rgba(255,255,255,.16) inset;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-blue:hover{
  transform: translateY(-1px);
  box-shadow: 0 26px 90px rgba(58,160,255,.24), 0 1px 0 rgba(255,255,255,.18) inset;
}

.btn-ghost{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color:#fff;
  box-shadow: 0 16px 44px rgba(0,0,0,.20), 0 1px 0 rgba(255,255,255,.08) inset;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn-ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
}

/* ===== FEATURES ===== */
.home-features{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.home-feature{
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(12,16,26,.32);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}

.home-feature-h{
  color:#fff;
  font-weight:1000;
  font-size: 13.5px;
  letter-spacing: .08px;
}

.home-feature-p{
  margin-top:8px;
  color: rgba(255,255,255,.72);
  font-weight: 700;
  line-height:1.42;
  font-size: 12.8px;
}

/* ===== COMBO SERVICES ===== */
.combo-services{
  position: relative;
  z-index: 3;
  margin-top: 26px;
}

.combo-services-bg{
  position: relative;
  height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 30px 110px rgba(0,0,0,.28), 0 1px 0 rgba(255,255,255,.08) inset;
  transform: translateZ(0);
}

.combo-services-bg::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 460px at 18% 10%, rgba(90,160,255,.18), rgba(90,160,255,0) 55%),
    linear-gradient(90deg, rgba(6,10,22,.72) 0%, rgba(6,10,22,.32) 55%, rgba(6,10,22,.24) 100%);
  z-index: 0;
}

.combo-services-overlay{
  position: absolute;
  inset: 0;
  width: 64%;
  height: 100%;
  clip-path: polygon(0 0, 62% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)),
    radial-gradient(700px 320px at 25% 15%, rgba(90,160,255,.18), rgba(90,160,255,0) 60%);
  border-right: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  z-index: 1;
  pointer-events: none;
}

.combo-services-content{
  position:absolute;
  inset:0;
  width: 62%;
  height:100%;
  z-index:2;
}

.combo-services-panel{
  position: relative;
  height: 100%;
  padding: 44px 44px 32px 44px;
}

.combo-services-h{
  display:inline-flex;
  align-items:center;
  padding: 12px 16px;
  border-radius: 16px;
  color: #fff;
  font-weight: 1000;
  font-size: 28px;
  letter-spacing: .4px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 70px rgba(0,0,0,.22), 0 1px 0 rgba(255,255,255,.10) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 10px;
}

.combo-services-list{
  margin: 0;
  padding-left: 22px;
}

.combo-services-list li{
  margin: 12px 0;
  font-weight: 900;
  font-size: 14px;
  color: rgba(255,255,255,.90);
  text-shadow: 0 10px 26px rgba(0,0,0,.42);
}

.combo-services-list li::marker{
  color: rgba(90,160,255,.95);
  font-size: 18px;
}

.combo-services-line{
  position: absolute;
  top: 104px;
  right: 20px;
  width: 4px;
  height: 132px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(90,160,255,.25), rgba(90,160,255,.95) 35%, rgba(90,160,255,.30));
  box-shadow: 0 18px 60px rgba(90,160,255,.18);
}

.combo-services-watermark{
  position:absolute;
  right: 22px;
  bottom: 16px;
  font-size: 52px;
  font-weight: 1000;
  letter-spacing: 2px;
  color: rgba(255,255,255,.14);
  text-shadow: 0 30px 90px rgba(0,0,0,.38);
  z-index: 3;
  pointer-events: none;
}

/* ===== REVEAL ===== */
[data-reveal]{
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(.985);
  filter: blur(6px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out);
  will-change: transform, opacity, filter;
}

[data-reveal].is-in{
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}

/* =========================================================
   LIGHT THEME
========================================================= */
:root[data-theme="light"] .home-hero-overlay{
  background:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.18), rgba(255,255,255,.04) 30%, rgba(255,255,255,0) 54%),
    radial-gradient(circle at 78% 62%, rgba(58,160,255,.06), rgba(58,160,255,0) 34%),
    linear-gradient(90deg, rgba(255,255,255,.44) 0%, rgba(255,255,255,.10) 40%, rgba(255,255,255,.02) 72%, rgba(255,255,255,0) 100%);
}

:root[data-theme="light"] .home-hero-mesh{
  opacity: .18;
  filter: blur(16px) saturate(.84);
}

:root[data-theme="light"] .hero-blueprint{
  opacity: .18;
  mix-blend-mode: multiply;
  filter:
    hue-rotate(-8deg)
    saturate(.72)
    brightness(1.02)
    contrast(.94);
}

:root[data-theme="light"] .home-pill{
  color: rgba(15,23,42,.86);
  background: rgba(255,255,255,.48);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}

:root[data-theme="light"] .home-title{
  color: rgba(15,23,42,.96);
}

:root[data-theme="light"] .home-sub{
  color: rgba(15,23,42,.70);
}

:root[data-theme="light"] .home-kpi{
  background: rgba(255,255,255,.46);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}

:root[data-theme="light"] .home-kpi-num{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .home-kpi-label{
  color: rgba(15,23,42,.62);
}

:root[data-theme="light"] .btn-ghost{
  background: rgba(255,255,255,.52);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.90);
  box-shadow: 0 12px 28px rgba(15,23,42,.08), 0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .btn-ghost:hover{
  border-color: rgba(37,99,235,.16);
  box-shadow: 0 16px 32px rgba(15,23,42,.10), 0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .home-feature{
  background: rgba(255,255,255,.46);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 12px 28px rgba(15,23,42,.05);
}

:root[data-theme="light"] .home-feature-h{
  color: rgba(15,23,42,.90);
}

:root[data-theme="light"] .home-feature-p{
  color: rgba(15,23,42,.64);
}

:root[data-theme="light"] .combo-services-bg{
  box-shadow: 0 20px 48px rgba(15,23,42,.08), 0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .combo-services-bg::after{
  background:
    radial-gradient(900px 460px at 18% 10%, rgba(90,160,255,.12), rgba(90,160,255,0) 55%),
    linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.28) 55%, rgba(255,255,255,.12) 100%);
}

:root[data-theme="light"] .combo-services-overlay{
  background:
    linear-gradient(180deg, rgba(255,255,255,.52), rgba(255,255,255,.26)),
    radial-gradient(700px 320px at 25% 15%, rgba(90,160,255,.12), rgba(90,160,255,0) 60%);
  border-right-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .combo-services-h{
  color: rgba(15,23,42,.92);
  background: rgba(255,255,255,.50);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 14px 34px rgba(15,23,42,.07), 0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .combo-services-list li{
  color: rgba(15,23,42,.86);
  text-shadow: none;
}

:root[data-theme="light"] .combo-services-watermark{
  color: rgba(15,23,42,.10);
  text-shadow: none;
}



/* =========================================================
   RESPONSIVE
========================================================= */
.combo-services{ margin-top: 26px; }

@media (min-width: 1101px){
  .combo-services{ margin-top: 160px; }
}

@media (max-width:1100px){
  .home-hero{ min-height: unset; padding: 44px 0 34px; }
  .home-hero-grid{ grid-template-columns: 1fr; }
  .home-features{ grid-template-columns: 1fr; }

  .combo-services-bg{ height: 320px; border-radius: 18px; }
  .combo-services-overlay, .combo-services-content{ width: 72%; }
  .combo-services-panel{ padding: 34px 24px 24px; }
  .combo-services-h{ font-size: 24px; }
  .combo-services-line{ top: 92px; height: 120px; }
  .combo-services-watermark{ font-size: 34px; right: 14px; bottom: 10px; }
}

@media (max-width:820px){
  .combo-services-bg{
    height: auto;
    min-height: 300px;
  }

  .combo-services-overlay{
    width: 100%;
    clip-path: none;
    border-right: none;
  }

  .combo-services-content{ width: 100%; }
  .combo-services-panel{ padding: 22px 18px 18px; }

  .combo-services-h{
    font-size: 22px;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .combo-services-list{ padding-left: 18px; }

  .combo-services-list li{
    font-size: 13.5px;
    margin: 10px 0;
    line-height: 1.25;
  }

  .combo-services-line{
    right: 12px;
    top: 90px;
    height: 110px;
  }

  .combo-services-watermark{
    font-size: 30px;
    right: 12px;
    bottom: 10px;
    opacity: .12;
  }
}

@media (max-width:420px){
  .combo-services-h{ font-size: 20px; }
  .combo-services-list li{ font-size: 13px; }
}

@media (prefers-reduced-motion: reduce){
  .home-hero-mesh{ animation:none; }

  [data-reveal]{
    opacity:1 !important;
    transform:none !important;
    filter:none !important;
    transition:none !important;
  }

  .combo-services-overlay{
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
}

/* =========================================================
   HERO — MOBILE REFINED
========================================================= */
@media (max-width:560px){
  .home-hero{ padding: 26px 0 18px; }

  .home-hero-overlay{
    background:
      radial-gradient(circle at 18% 28%, rgba(0,0,0,.88), rgba(0,0,0,.35) 58%, rgba(0,0,0,.82)),
      linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.32) 58%, rgba(0,0,0,.18) 100%);
  }

  .home-pill{
    padding: 6px 10px;
    font-size: 11.5px;
    margin-bottom: 6px;
    font-weight: 750;
    opacity: .96;
  }

  .home-title{
    font-size: 24px;
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -0.012em;
    margin: 0 !important;
    max-width: none !important;
    width: 100%;
    text-wrap: normal;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .home-sub{
    font-size: 13.5px;
    line-height: 1.42;
    margin: 0 !important;
    opacity: .95;
  }

  .home-kpis{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 12px 0 18px;
  }

  .home-kpi{
    min-width: unset;
    padding: 10px 8px;
    border-radius: 14px;
    text-align: center;
  }

  .home-kpi-num{ font-size: 16px; }
  .home-kpi-label{ font-size: 10.5px; line-height: 1.2; }

  .home-cta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .home-cta .btn-blue{
    grid-column: 1 / -1;
    width: 100%;
    height: 52px;
    font-size: 14px;
    border-radius: 18px;
    font-weight: 900;
  }

  .home-cta .btn-ghost{
    width: 100%;
    height: 48px;
    font-size: 13px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
      0 14px 40px rgba(0,0,0,.35),
      0 1px 0 rgba(255,255,255,.10) inset;
  }

  .home-cta .btn-ghost:hover{
    border-color: rgba(255,255,255,.22);
  }

  .home-features{ gap: 8px; }
  .home-feature{ padding: 10px 12px; border-radius: 16px; }
  .home-feature-h{ font-size: 12.5px; }
  .home-feature-p{ font-size: 12px; line-height: 1.4; }
}

@media (max-width:380px){
  .home-title{ font-size: 22px; }
}

/* =========================================================
   HERO GLASS
========================================================= */
.hero-glass{
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 10px 0 16px;
  padding: 16px 16px 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8,14,28,.40), rgba(8,14,28,.22));
  border: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  box-shadow:
    0 14px 40px rgba(0,0,0,.30),
    0 1px 0 rgba(255,255,255,.05) inset;
}

.hero-glass .home-title{ margin: 0 0 10px !important; }
.hero-glass .home-sub{ margin: 0 !important; }

:root[data-theme="light"] .hero-glass{
  background: linear-gradient(180deg, rgba(255,255,255,.48), rgba(255,255,255,.28));
  border-color: rgba(15,23,42,.06);
  box-shadow:
    0 12px 28px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.95) inset;
}

@media (max-width:560px){
  .hero-glass{
    margin: 8px 0 14px;
    padding: 14px 14px 12px;
    border-radius: 20px;
  }
}

@media (max-width:560px){
  :root[data-theme="light"] .home-hero-overlay{
    background:
      radial-gradient(circle at 18% 28%, rgba(255,255,255,.10), rgba(255,255,255,0) 48%, rgba(255,255,255,.04)),
      linear-gradient(90deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.34) 58%, rgba(255,255,255,.10) 100%);
  }

  :root[data-theme="light"] .home-cta .btn-ghost{
    background: rgba(255,255,255,.56);
    border-color: rgba(15,23,42,.08);
    color: rgba(15,23,42,.90);
    box-shadow:
      0 12px 26px rgba(15,23,42,.08),
      0 1px 0 rgba(255,255,255,.95) inset;
  }
}

@media (max-width: 560px){
  .combo-services{
    margin-top: 18px;
  }

  .combo-services-bg{
    min-height: unset;
    height: auto;
    border-radius: 22px;
  }

  .combo-services-bg::after{
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.10) 0%,
        rgba(255,255,255,.04) 42%,
        rgba(255,255,255,.02) 100%
      );
  }

  .combo-services-overlay{
    width: 100%;
    clip-path: none;
    border-right: none;
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.22),
        rgba(255,255,255,.10)
      );
    backdrop-filter: blur(12px) saturate(1.06);
    -webkit-backdrop-filter: blur(12px) saturate(1.06);
  }

  .combo-services-content{
    width: 100%;
  }

  .combo-services-panel{
    padding: 18px 16px 18px;
    height: auto;
  }

  .combo-services-h{
    display: inline-flex;
    max-width: 100%;
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 18px;
    line-height: 1;
    letter-spacing: .02em;
  }

  .combo-services-list{
    padding-left: 18px;
    margin: 0;
  }

  .combo-services-list li{
    margin: 10px 0;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 800;
    text-wrap: pretty;
  }

  .combo-services-list li::marker{
    font-size: 15px;
  }

  .combo-services-line,
  .combo-services-watermark{
    display: none;
  }
}
@media (max-width: 560px){
  .combo-services-list{
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 10px;
  }

  .combo-services-list li{
    position: relative;
    margin: 0;
    padding: 10px 12px 10px 28px;
    border-radius: 14px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(15,23,42,.05);
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 800;
  }

  .combo-services-list li::before{
    content: "";
    position: absolute;
    left: 11px;
    top: 15px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #66a8ff;
    box-shadow: 0 0 0 4px rgba(102,168,255,.12);
  }

  .combo-services-list li::marker{
    content: "";
  }
}

@media (max-width: 560px){
  .home-hero{
    min-height: auto;
    height: auto;
    padding: 18px 0 0;
  }
}

@media (max-width: 560px){
  .home-hero-inner,
  .home-hero-grid,
  .home-hero-left{
    min-height: auto;
  }

  .home-hero-grid{
    gap: 16px;
  }
}

@media (max-width: 560px){
  .home-hero + .section{
    position: relative;
    z-index: 5;
    margin-top: 0;
  }
}

@media (max-width: 560px){
  .hero-blueprint-zone{
    height: 52%;
  }

  .hero-blueprint{
    inset: -80px -180px -120px -80px;
    opacity: .18;
  }

  .home-hero-mesh{
    inset: -10%;
    opacity: .16;
  }
}

@media (max-width: 560px){
  .combo-services{
    display: block !important;
    position: relative;
    z-index: 6;
    margin-top: 18px !important;
    margin-bottom: 0;
  }

  .combo-services-bg{
    position: relative;
    display: block;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    border-radius: 22px;
  }

  .combo-services-bg::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
      180deg,
      rgba(255,255,255,.14) 0%,
      rgba(255,255,255,.06) 42%,
      rgba(255,255,255,.02) 100%
    );
    border-radius: 22px;
  }

  .combo-services-overlay{
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    clip-path: none !important;
    border-right: none !important;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(255,255,255,.20),
      rgba(255,255,255,.10)
    ) !important;
    backdrop-filter: blur(10px) saturate(1.04);
    -webkit-backdrop-filter: blur(10px) saturate(1.04);
  }

  .combo-services-content{
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    z-index: 2 !important;
  }

  .combo-services-panel{
    position: relative;
    height: auto !important;
    padding: 18px 16px 18px !important;
  }

  .combo-services-h{
    display: inline-flex !important;
    margin-bottom: 12px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    padding: 10px 14px !important;
    border-radius: 16px !important;
  }

  .combo-services-list{
    display: grid;
    gap: 10px;
    list-style: none;
    padding-left: 0 !important;
    margin: 0 !important;
  }

  .combo-services-list li{
    position: relative;
    margin: 0 !important;
    padding: 10px 12px 10px 28px !important;
    border-radius: 14px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(15,23,42,.05);
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    color: rgba(15,23,42,.88) !important;
  }

  .combo-services-list li::before{
    content: "";
    position: absolute;
    left: 11px;
    top: 15px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #66a8ff;
    box-shadow: 0 0 0 4px rgba(102,168,255,.12);
  }

  .combo-services-list li::marker{
    content: "";
  }

  .combo-services-line,
  .combo-services-watermark{
    display: none !important;
  }
}
@media (max-width: 560px){
  .combo-services-bg{
    position: relative;
    border-radius: 22px;
    overflow: hidden !important;
    isolation: isolate;
  }

  .combo-services-bg::after{
    border-radius: inherit;
  }

  .combo-services-overlay{
    border-radius: inherit;
    overflow: hidden;
  }

  .combo-services-content{
    position: relative;
    z-index: 2;
    border-radius: inherit;
  }

  .combo-services-panel{
    border-radius: inherit;
  }
}

@media (max-width: 560px){
  .combo-services{
    margin-bottom: 20px;
  }

  .combo-services-bg{
    padding-bottom: 18px;
  }

  .combo-services-panel{
    padding: 18px 16px 30px !important;
  }
}

@media (max-width: 992px){
  #heroCanvas{
    display: none;
  }
}

/* ===== static/css/pages/objects.css ===== */

/* =========================================================
   objects-page.css — FINAL (clean CSS, no nesting bugs)
   Dark premium + smooth hero + glass cards
   ========================================================= */

/* =========================
   THEME TOKENS (ONLY VARS!)
   ========================= */

:root{
  --glass-blur: 14px;
  --glass-sat: 1.15;
}

/* На слабых/мобильных уменьшаем blur */
@media (max-width: 900px){
  :root{ --glass-blur: 10px; --glass-sat: 1.08; }
}

/* Если пользователь просит меньше движения — убираем blur вообще */
@media (prefers-reduced-motion: reduce){
  :root{ --glass-blur: 0px; --glass-sat: 1; }
}

:root{
  --objs-ink: rgba(255,255,255,.92);
  --objs-muted: rgba(255,255,255,.66);
  --objs-line: rgba(255,255,255,.10);
  --objs-accent: #3aa0ff;

  /* parallax vars */
  --p-shift: 0px;
  --p-scale: 1.08;
}

/* =========================
   PAGE BACKGROUND (dark premium)
   ========================= */
body{
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(58,160,255,.18), rgba(58,160,255,0) 60%),
    radial-gradient(1000px 520px at 88% 20%, rgba(107,213,255,.12), rgba(107,213,255,0) 60%),
    radial-gradient(900px 520px at 50% 110%, rgba(0,0,0,.55), rgba(0,0,0,0) 65%),
    linear-gradient(180deg, #05070d 0%, #070b14 35%, #05060c 100%);
  color: var(--objs-ink);
}

/* safety: page must be scrollable */
html, body{ overflow-x: hidden; overflow-y: auto; }

/* =========================
   HERO
   ========================= */
.objs-hero{
  position:relative;
  padding: 44px 0 26px;
  overflow:hidden;
  min-height: 520px;

  /* parallax vars on hero scope too */
  --p-shift: 0px;
  --p-scale: 1.08;
}

.objs-hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  will-change: transform;
  transform: translate3d(0, var(--p-shift), 0) scale(var(--p-scale));
  backface-visibility: hidden;
  transform-origin: center;
}


.objs-hero-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.72), rgba(0,0,0,.22) 55%, rgba(0,0,0,.70)),
    linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.20) 100%);
}

.objs-hero-inner{ position:relative; z-index:2; }

.objs-crumbs{
  display:flex;
  gap:8px;
  align-items:center;
  color: rgba(255,255,255,.78);
  font-weight:800;
  margin-bottom: 14px;
}
.objs-crumbs a{ color: rgba(255,255,255,.88); text-decoration:none; }
.objs-crumbs a:hover{ opacity:.88; }

.objs-hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 20px;
  align-items: stretch;
}

.objs-pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  font-weight: 1000;
  color:#fff;
}

.objs-pill-dot{
  width: 10px; height: 10px; border-radius: 99px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.95) 60%, rgba(11,47,115,.96));
  box-shadow:
    0 0 0 3px rgba(58,160,255,.14),
    0 18px 70px rgba(58,160,255,.22);
}

.objs-pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;

  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);

  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);

  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  font-weight: 1000;
  color:#fff;
}

.objs-pill-dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.95) 60%, rgba(11,47,115,.96));
  box-shadow:
    0 0 0 3px rgba(58,160,255,.14),
    0 18px 70px rgba(58,160,255,.22);
}

.objs-title{
  margin: 14px 0 10px;
  color:#fff;
  font-size: 44px;
  font-weight: 1000;
  line-height: 1.05;
  letter-spacing: .2px;
}

.objs-sub{
  margin:0 0 18px;
  color: rgba(255,255,255,.78);
  font-weight: 800;
  max-width: 720px;
  line-height: 1.35;
}

/* KPI */
.objs-kpis{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.objs-kpis .kpi{
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 150px;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
}
.objs-kpis .kpi-num{
  color:#fff;
  font-weight:1000;
  font-size: 22px;
}
.objs-kpis .kpi-label{
  margin-top: 4px;
  color: rgba(255,255,255,.74);
  font-weight: 800;
  font-size: 12px;
}

.objs-hero-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* hero local ghost */
.objs-hero-cta .btn-ghost{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
  border-radius: 12px;
  padding: 14px 18px;
}
.objs-hero-cta .btn-ghost:hover{ opacity:.9; }

.objs-hero-card{
  height:100%;
  border-radius: 18px;
  padding: 18px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
}
.objs-hero-card-h{
  color:#fff;
  font-weight:1000;
  font-size: 16px;
  margin-bottom: 8px;
}
.objs-hero-card-p{
  color: rgba(255,255,255,.78);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
}
.objs-search{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.objs-search input{
  border: 1px solid rgba(255,255,255,.12);
  outline: none;
  border-radius: 14px;
  padding: 14px 14px;
  font-weight: 900;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}
.objs-search input::placeholder{ color: rgba(255,255,255,.55); }

.objs-hint{
  margin-top: 10px;
  color: rgba(255,255,255,.62);
  font-weight: 800;
  font-size: 12px;
}

/* =========================
   TOOLBAR (floating dark glass)
   ========================= */
.objs-toolbar-wrap{
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  position: sticky;
  top: 10px;
  z-index: 50;
}

.objs-toolbar{
  padding: 14px 14px;
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;

  margin-top: -22px;
  border-radius: 18px;

  background: rgba(10,14,22,.55);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);

  box-shadow:
    0 28px 90px rgba(0,0,0,.50),
    0 1px 0 rgba(255,255,255,.10) inset;
}

/* chips */
.objs-filters{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip{
  appearance:none;
  -webkit-appearance: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,14,22,.55);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  letter-spacing: .12px;
  cursor: pointer;

  color: rgba(255,255,255,.86);
  -webkit-text-fill-color: rgba(255,255,255,.86);

  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);

  box-shadow:
    0 16px 44px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.08) inset;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, opacity .18s ease;
}

.chip:hover{
  transform: translateY(-1px);
  border-color: rgba(58,160,255,.22);
  box-shadow:
    0 20px 60px rgba(0,0,0,.34),
    0 1px 0 rgba(255,255,255,.10) inset;
}

.chip.is-active{
  background: rgba(12,16,26,.65);
  border-color: rgba(58,160,255,.42);

  box-shadow:
    0 24px 76px rgba(58,160,255,.16),
    0 0 0 3px rgba(58,160,255,.14),
    0 1px 0 rgba(255,255,255,.12) inset;

  color: rgba(255,255,255,.92);
  -webkit-text-fill-color: rgba(255,255,255,.92);
}

.chip:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(58,160,255,.22),
    0 20px 60px rgba(0,0,0,.34);
}

/* sort select */
.select select{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  background: rgba(10,14,22,.55);
  color: rgba(255,255,255,.88);

  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);

  box-shadow:
    0 16px 44px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.08) inset;
}

/* =========================
   GRID
   ========================= */
.objs-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* card — dark matte glass */
.obj-card{
  position: relative;
  overflow:hidden;

  background: rgba(12,16,26,.56);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;

  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);

  box-shadow:
    0 34px 110px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.10) inset;

  transition: transform .22s ease, box-shadow .22s ease;
  transform: translateZ(0);
}

/* top highlight */
.obj-card::before{
  content:"";
  position:absolute;
  left:-40%;
  top:-55%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
  opacity: .55;
  pointer-events:none;
  filter: blur(2px);
}

/* liquid-glass border */
.obj-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 22px;
  pointer-events:none;

  /* лёгкий псевдо-стеклянный кант */
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(58,160,255,.10) inset;

  opacity: 1;
}

.obj-card{
  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.08) inset;
}
.obj-card:hover{
  box-shadow:
    0 24px 80px rgba(0,0,0,.62),
    0 1px 0 rgba(255,255,255,.10) inset;
}
/* media */
.obj-media{
  border:0;
  padding:0;
  width:100%;
  cursor:pointer;
  background: rgba(255,255,255,.06);
  position:relative;
  display:block;
  aspect-ratio: 16 / 10;
  overflow:hidden;
  border-radius: 22px 22px 14px 14px;
}

.obj-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  transition: transform .25s ease;
}

.obj-media-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0) 72%);
  opacity: .78;
  transition: opacity .2s ease;
}

/* badge */
.obj-badge{
  position:absolute;
  left: 12px;
  top: 12px;
  background: rgba(8,10,16,.58);
  color: rgba(255,255,255,.92);
  font-weight:1000;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 18px 60px rgba(0,0,0,.36);
}

/* zoom pill */
.obj-zoom{
  position:absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  font-weight: 1000;
  padding: 10px 12px;
  border-radius: 12px;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  border: 1px solid rgba(255,255,255,.14);

  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);

  box-shadow:
    0 18px 60px rgba(0,0,0,.38),
    0 1px 0 rgba(255,255,255,.10) inset;
}

.obj-card:hover .obj-media img{ transform: scale(1.08); }
.obj-card:hover .obj-zoom{ opacity:1; transform: translateY(0); }
.obj-card:hover .obj-media-overlay{ opacity: 1; }

/* body */
.obj-body{ padding: 14px 14px 16px; }

.obj-title{
  font-weight:1000;
  font-size: 16px;
  line-height: 1.2;
  color: rgba(255,255,255,.92);
}

.obj-meta{
  margin-top: 8px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.68);
  font-weight: 800;
  font-size: 12px;
}

.obj-desc{
  margin-top: 10px;
  color: rgba(255,255,255,.76);
  font-weight: 800;
  line-height: 1.35;
  font-size: 13px;
}

.obj-tags{
  margin-top: 12px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 7px 9px;
  font-weight: 900;
  font-size: 11px;
  color: rgba(255,255,255,.82);
}

/* actions + buttons */
.obj-actions{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  align-items:center;
}

.obj-actions .btn{
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 900;
  letter-spacing: .18px;
}

/* primary (your .btn-yellow on this page) */
.obj-actions .btn.btn-yellow{
  background:
    radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.95), rgba(58,160,255,.92) 60%, rgba(11,47,115,.96));
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);

  box-shadow:
    0 20px 70px rgba(58,160,255,.24),
    0 1px 0 rgba(255,255,255,.16) inset;

  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.obj-actions .btn.btn-yellow:hover{
  transform: translateY(-1px);
  box-shadow:
    0 26px 90px rgba(58,160,255,.28),
    0 1px 0 rgba(255,255,255,.18) inset;
}

/* secondary glass */
.obj-actions .btn.btn-ghost{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.86);

  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);

  box-shadow:
    0 16px 44px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.08) inset;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.obj-actions .btn.btn-ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(58,160,255,.22);
}

/* =========================
   EMPTY STATE
   ========================= */
.objs-empty{
  margin-top: 22px;
  padding: 22px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 18px;
  text-align:center;

  background: rgba(10,14,22,.45);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.empty-title{ font-weight:1000; font-size:18px; color:#fff; }
.empty-sub{ margin-top:8px; font-weight:800; color: rgba(255,255,255,.72); }

/* =========================
   LIGHTBOX (local: .objs-lightbox)
   ========================= */
.objs-lightbox{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.objs-lightbox.is-open{ display:block; }

.objs-lightbox-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.72);
}

.objs-lightbox-dialog{
  position:absolute;
  inset: 40px;
  margin:auto;
  max-width: 1100px;
  max-height: calc(100vh - 80px);

  background: rgba(10,14,22,.82);
  border-radius: 18px;
  overflow:hidden;
  display:flex;
  flex-direction: column;

  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);

  box-shadow: 0 30px 120px rgba(0,0,0,.65);
}

.objs-lightbox-dialog img{
  width:100%;
  height:100%;
  object-fit: contain;
  background: transparent;
  flex: 1 1 auto;
}

.objs-lightbox-cap{
  padding: 12px 14px;
  color: rgba(255,255,255,.88);
  font-weight: 900;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.08);
}

.objs-lightbox-close{
  position:absolute;
  right: 10px;
  top: 10px;
  width: 44px;
  height: 44px;
  border:0;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  color:#fff;
  font-size: 24px;
  cursor:pointer;

  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

/* KPI bounce animation — ONLY Objects page */
.objs-hero [data-kpis] .kpi-num{
  display:inline-block;
  transform: translate3d(0, 10px, 0) scale(.92);
  opacity: 0;
  will-change: transform, opacity;
}

.objs-hero [data-kpis] .kpi-num.is-in{
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  transition: transform .55s cubic-bezier(.2,.9,.25,1.35), opacity .35s ease;
}

.objs-hero [data-kpis] .kpi-num.is-bounce{
  animation: objs-kpi-bounce 520ms cubic-bezier(.2,.9,.25,1.35) both;
}

/* ===== Lightbox FIX (Safari) ===== */
.objs-lightbox-dialog{
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* КЛЮЧЕВОЕ: min-height:0 позволяет flex-элементу сжиматься в Safari */
.objs-lightbox-dialog img{
  flex: 1 1 auto;
  min-height: 0;

  width: 100%;
  height: auto;            /* было height:100% — это ломает подпись */
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Подпись всегда внизу и не "уезжает" */
.objs-lightbox-cap{
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}


@keyframes objs-kpi-bounce{
  0%   { transform: translate3d(0,12px,0) scale(.90); }
  55%  { transform: translate3d(0,-2px,0) scale(1.05); }
  100% { transform: translate3d(0,0,0) scale(1); }
}

@media (prefers-reduced-motion: reduce){
  .objs-hero [data-kpis] .kpi-num{
    transform:none;
    opacity:1;
    transition:none;
    animation:none;
  }
}
/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px){
  .objs-hero-grid{ grid-template-columns: 1fr; }
  .objs-title{ font-size: 36px; }
  .objs-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
  .objs-title{ font-size: 30px; }
  .objs-search{ grid-template-columns: 1fr; }
  .objs-grid{ grid-template-columns: 1fr; }

  .objs-toolbar{
    margin-top: -16px;
    padding: 12px 12px;
  }

  .objs-lightbox-dialog{
    inset: 14px;
    max-height: calc(100vh - 28px);
  }
}

/* =========================
   PAGER (premium glass)
   ========================= */
.objs-pager{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;

  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(10,14,22,.55);
  border: 1px solid rgba(255,255,255,.10);

  box-shadow:
    0 28px 90px rgba(0,0,0,.45),
    0 1px 0 rgba(255,255,255,.08) inset;
}

.pager-pages{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content:center;
}

.pager-btn{
  appearance:none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.90);
  font-weight: 1000;
  letter-spacing: .12px;

  padding: 10px 12px;
  border-radius: 14px;
  cursor:pointer;

  box-shadow:
    0 16px 44px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.08) inset;

  transition: transform .18s ease, border-color .18s ease, opacity .18s ease;
}

.pager-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(58,160,255,.22);
}

.pager-btn.is-active{
  background: rgba(12,16,26,.65);
  border-color: rgba(58,160,255,.42);
  box-shadow:
    0 24px 76px rgba(58,160,255,.14),
    0 0 0 3px rgba(58,160,255,.10),
    0 1px 0 rgba(255,255,255,.10) inset;
}

.pager-btn[disabled]{
  opacity:.45;
  cursor: default;
  transform:none;
}


/* =========================
   REDUCED MOTION
   ========================= */
@media (prefers-reduced-motion: reduce){
  .obj-card,
  .obj-actions .btn,
  .chip,
  .obj-media img,
  .obj-zoom{
    transition: none !important;
  }
  .obj-card:hover{ transform:none !important; }
}

.objs-hero-bg{
  transform: translate3d(0,0,0) scale(1.05);
  will-change: transform;
  translate: 0 0; /* помогает некоторым браузерам */
}


/* performance: мелкие элементы без blur (самый заметный буст) */
.chip,
.tag,
.obj-badge,
.obj-zoom{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Рендерим только то, что рядом с экраном */
.objs-grid{
  content-visibility: auto;
  contain-intrinsic-size: 1200px;
}

/* Карточки изолируем от остального layout/paint */
.obj-card{
  contain: layout paint style;
}

/* =========================================================
   OBJECTS PAGE — LIGHT THEME ONLY OVERRIDES
   Ничего не удаляет, только адаптирует под светлую тему
========================================================= */

:root[data-theme="light"]{
  --objs-ink: rgba(15,23,42,.94);
  --objs-muted: rgba(15,23,42,.64);
  --objs-line: rgba(15,23,42,.08);
  --objs-accent: #3aa0ff;
}

/* =========================
   PAGE BACKGROUND
========================= */
:root[data-theme="light"] body{
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%),
    radial-gradient(1000px 520px at 88% 20%, rgba(107,213,255,.07), rgba(107,213,255,0) 60%),
    radial-gradient(900px 520px at 50% 110%, rgba(15,23,42,.06), rgba(15,23,42,0) 65%),
    linear-gradient(180deg, #f6f8fc 0%, #eef3f9 35%, #f4f7fb 100%);
  color: var(--objs-ink);
}

/* =========================
   HERO
========================= */
:root[data-theme="light"] .objs-hero-overlay{
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.26), rgba(255,255,255,.04) 48%, rgba(255,255,255,.12)),
    linear-gradient(90deg, rgba(255,255,255,.58) 0%, rgba(255,255,255,.18) 55%, rgba(255,255,255,.10) 100%);
}

:root[data-theme="light"] .objs-crumbs{
  color: rgba(15,23,42,.66);
}
:root[data-theme="light"] .objs-crumbs a{
  color: rgba(15,23,42,.82);
}

:root[data-theme="light"] .objs-pill{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.90);
  box-shadow:
    0 14px 34px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.94);
}

:root[data-theme="light"] .objs-title{
  color: rgba(15,23,42,.96);
  text-shadow: 0 8px 18px rgba(255,255,255,.24);
}

:root[data-theme="light"] .objs-sub{
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .objs-kpis .kpi{
  background: rgba(255,255,255,.56);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 12px 28px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.94);
}

:root[data-theme="light"] .objs-kpis .kpi-num{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .objs-kpis .kpi-label{
  color: rgba(15,23,42,.62);
}

:root[data-theme="light"] .objs-hero-cta .btn-ghost{
  background: rgba(255,255,255,.62);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.90);
  box-shadow:
    0 12px 28px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.95);
}

:root[data-theme="light"] .objs-hero-card{
  background: rgba(255,255,255,.40);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 16px 38px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.92);
}

:root[data-theme="light"] .objs-hero-card-h{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .objs-hero-card-p{
  color: rgba(15,23,42,.70);
}

:root[data-theme="light"] .objs-search input{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.56);
  color: rgba(15,23,42,.92);
  box-shadow:
    0 8px 18px rgba(15,23,42,.05),
    inset 0 1px 0 rgba(255,255,255,.95);
}

:root[data-theme="light"] .objs-search input::placeholder{
  color: rgba(15,23,42,.48);
}

:root[data-theme="light"] .objs-hint{
  color: rgba(15,23,42,.58);
}

/* =========================
   TOOLBAR
========================= */
:root[data-theme="light"] .objs-toolbar{
  background: rgba(255,255,255,.68);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 20px 48px rgba(15,23,42,.10),
    0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .chip{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.60);
  color: rgba(15,23,42,.84);
  -webkit-text-fill-color: rgba(15,23,42,.84);
  box-shadow:
    0 10px 22px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .chip:hover{
  border-color: rgba(58,160,255,.22);
  box-shadow:
    0 14px 28px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.96) inset;
}

:root[data-theme="light"] .chip.is-active{
  background: rgba(255,255,255,.82);
  border-color: rgba(58,160,255,.34);
  color: rgba(15,23,42,.92);
  -webkit-text-fill-color: rgba(15,23,42,.92);
  box-shadow:
    0 14px 34px rgba(58,160,255,.10),
    0 0 0 3px rgba(58,160,255,.10),
    0 1px 0 rgba(255,255,255,.96) inset;
}

:root[data-theme="light"] .select select{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.60);
  color: rgba(15,23,42,.86);
  box-shadow:
    0 10px 22px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.94) inset;
}

/* =========================
   GRID / CARDS
========================= */
:root[data-theme="light"] .obj-card{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.64),
    rgba(255,255,255,.46)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.10),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .obj-card::before{
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.34), rgba(255,255,255,0) 55%);
  opacity: .7;
}

:root[data-theme="light"] .obj-card::after{
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 0 0 1px rgba(58,160,255,.06) inset;
}

:root[data-theme="light"] .obj-card:hover{
  box-shadow:
    0 22px 52px rgba(15,23,42,.12),
    0 1px 0 rgba(255,255,255,.96) inset;
}

:root[data-theme="light"] .obj-media{
  background: rgba(255,255,255,.28);
}

:root[data-theme="light"] .obj-media-overlay{
  background: linear-gradient(to top, rgba(15,23,42,.38), rgba(15,23,42,0) 72%);
  opacity: .68;
}

:root[data-theme="light"] .obj-badge{
  background: rgba(255,255,255,.66);
  color: rgba(15,23,42,.90);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

:root[data-theme="light"] .obj-zoom{
  background: rgba(255,255,255,.68);
  color: rgba(15,23,42,.90);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 10px 24px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .obj-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .obj-meta{
  color: rgba(15,23,42,.60);
}

:root[data-theme="light"] .obj-desc{
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .tag{
  background: rgba(255,255,255,.42);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.78);
}

:root[data-theme="light"] .obj-actions .btn.btn-yellow{
  color: rgba(255,255,255,.94);
  box-shadow:
    0 14px 30px rgba(58,160,255,.18),
    0 1px 0 rgba(255,255,255,.18) inset;
}

:root[data-theme="light"] .obj-actions .btn.btn-yellow:hover{
  box-shadow:
    0 18px 38px rgba(58,160,255,.22),
    0 1px 0 rgba(255,255,255,.18) inset;
}

:root[data-theme="light"] .obj-actions .btn.btn-ghost{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.86);
  box-shadow:
    0 10px 22px rgba(15,23,42,.07),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .obj-actions .btn.btn-ghost:hover{
  border-color: rgba(58,160,255,.20);
}

/* =========================
   EMPTY
========================= */
:root[data-theme="light"] .objs-empty{
  border-color: rgba(15,23,42,.10);
  background: rgba(255,255,255,.54);
  box-shadow:
    0 12px 28px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .empty-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .empty-sub{
  color: rgba(15,23,42,.66);
}

/* =========================
   LIGHTBOX
========================= */
:root[data-theme="light"] .objs-lightbox-backdrop{
  background: rgba(15,23,42,.52);
}

:root[data-theme="light"] .objs-lightbox-dialog{
  background: rgba(255,255,255,.84);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 24px 70px rgba(15,23,42,.18);
}

:root[data-theme="light"] .objs-lightbox-cap{
  color: rgba(15,23,42,.86);
  background: rgba(255,255,255,.68);
  border-top-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .objs-lightbox-close{
  background: rgba(255,255,255,.72);
  color: rgba(15,23,42,.90);
  box-shadow:
    0 10px 22px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.94) inset;
}

/* =========================
   PAGER
========================= */
:root[data-theme="light"] .objs-pager{
  background: rgba(255,255,255,.68);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .pager-btn{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.58);
  color: rgba(15,23,42,.88);
  box-shadow:
    0 10px 22px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .pager-btn:hover{
  border-color: rgba(58,160,255,.22);
}

:root[data-theme="light"] .pager-btn.is-active{
  background: rgba(255,255,255,.82);
  border-color: rgba(58,160,255,.34);
  box-shadow:
    0 14px 34px rgba(58,160,255,.10),
    0 0 0 3px rgba(58,160,255,.08),
    0 1px 0 rgba(255,255,255,.96) inset;
}

/* =========================
   MOBILE LIGHT POLISH
========================= */
@media (max-width: 560px){
  :root[data-theme="light"] .objs-toolbar{
    margin-top: -16px;
  }

  :root[data-theme="light"] .obj-card{
    box-shadow:
      0 14px 32px rgba(15,23,42,.10),
      0 1px 0 rgba(255,255,255,.95) inset;
  }

  :root[data-theme="light"] .objs-lightbox-dialog{
    inset: 14px;
  }
}

/* =========================================================
   OBJECTS HERO — KEEP DARK / CONTRAST IN LIGHT THEME
========================================================= */

:root[data-theme="light"] .objs-hero-overlay{
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.62), rgba(0,0,0,.18) 55%, rgba(0,0,0,.54)),
    linear-gradient(90deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.14) 100%);
}

:root[data-theme="light"] .objs-crumbs{
  color: rgba(255,255,255,.78);
}

:root[data-theme="light"] .objs-crumbs a{
  color: rgba(255,255,255,.90);
}

:root[data-theme="light"] .objs-pill{
  background: rgba(12,16,26,.46);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.96);
  box-shadow:
    0 18px 48px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .objs-title{
  color: rgba(255,255,255,.96);
  text-shadow: 0 14px 34px rgba(0,0,0,.28);
}

:root[data-theme="light"] .objs-sub{
  color: rgba(255,255,255,.82);
}

:root[data-theme="light"] .objs-kpis .kpi{
  background: rgba(12,16,26,.42);
  border-color: rgba(255,255,255,.10);
  box-shadow:
    0 16px 36px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .objs-kpis .kpi-num{
  color: rgba(255,255,255,.96);
}

:root[data-theme="light"] .objs-kpis .kpi-label{
  color: rgba(255,255,255,.74);
}

:root[data-theme="light"] .objs-hero-cta .btn-ghost{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.94);
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .objs-hero-card{
  background: rgba(12,16,26,.34);
  border-color: rgba(255,255,255,.10);
  box-shadow:
    0 18px 42px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .objs-hero-card-h{
  color: rgba(255,255,255,.94);
}

:root[data-theme="light"] .objs-hero-card-p{
  color: rgba(255,255,255,.80);
}

:root[data-theme="light"] .objs-search input{
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.96);
  box-shadow:
    0 10px 22px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.12);
}

:root[data-theme="light"] .objs-search input::placeholder{
  color: rgba(255,255,255,.58);
}

:root[data-theme="light"] .objs-hint{
  color: rgba(255,255,255,.64);
}

/* ===== static/css/pages/about-page.css ===== */

/* static/css/pages/about-page.css
   PREMIUM NAVY (single source of truth)
   — без жёлтого, тёмно-синие тона, glass, дорогая типографика/тени
*/

/* =========================
   THEME TOKENS (локальные)
   ========================= */
:root{
  --ap-ink: #071024;
  --ap-ink2:#0b1630;
  --ap-paper:#f5f7fb;

  --ap-accent: #3aa0ff;
  --ap-accent2:#6bd5ff;
  --ap-accentDeep:#0b2f73;

  --ap-line: rgba(7,16,36,.10);
  --ap-line2: rgba(7,16,36,.06);
  --ap-muted: rgba(7,16,36,.66);

  --ap-glassW: rgba(255,255,255,.86);
  --ap-glassW2: rgba(255,255,255,.92);

  --ap-glassD: rgba(7,16,36,.74);
  --ap-glassD2: rgba(7,16,36,.78);

  --ap-bw: rgba(255,255,255,.12);
  --ap-bw2: rgba(255,255,255,.18);

  --ap-shadowSoft: 0 18px 70px rgba(2,10,28,.10);
  --ap-shadowDeep: 0 28px 110px rgba(2,10,28,.22);

  --ap-r1: 18px;
  --ap-r2: 22px;

  --ap-ease: cubic-bezier(.2,.9,.2,1);
  --ap-d1: 220ms;
  --ap-d2: 700ms;
}

/* =========================
   SECTION BACKGROUND
   ========================= */
.aboutp-section,
.aboutp-kpi-strip,
.aboutp-process,
.aboutp-facts2{
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%),
    radial-gradient(900px 520px at 88% 30%, rgba(107,213,255,.08), rgba(107,213,255,0) 60%),
    linear-gradient(to bottom, #ffffff, #fbfcff);
}

/* =========================
   COMMON PRIMITIVES (без смены HTML)
   ========================= */

/* “Белая стекляшка” для карточек/блоков */
:where(
  .aboutp-block,
  .aboutp-glass,
  .aboutp-adv-card,
  .aboutp-lead-card,
  .aboutp-kpi,
  .aboutp-tcard,
  .aboutp-cap-card,
  .aboutp-step,
  .aboutp-doc,
  .aboutp-cta-mini-item
){
  background: var(--ap-glassW);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-r2);
  box-shadow: var(--ap-shadowSoft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hover “дороже” */
:where(.aboutp-adv-card,.aboutp-lead-card,.aboutp-cap-card,.aboutp-doc){
  transition:
    transform var(--ap-d1) var(--ap-ease),
    box-shadow var(--ap-d1) var(--ap-ease),
    border-color var(--ap-d1) var(--ap-ease);
}
:where(.aboutp-adv-card,.aboutp-lead-card,.aboutp-cap-card,.aboutp-doc):hover{
  transform: translateY(-3px);
  box-shadow: var(--ap-shadowDeep);
}

/* Текстовые стили (консистентно) */
:where(
  .aboutp-sub,
  .aboutp-block-p,
  .aboutp-point-p,
  .aboutp-glass-p,
  .aboutp-adv-p,
  .aboutp-lead-text,
  .aboutp-kpi-label,
  .aboutp-tcard-p,
  .aboutp-cap-text,
  .aboutp-step-p,
  .aboutp-cta-p
){
  font-weight: 850;
  line-height: 1.55;
}

/* =========================
   HERO
   ========================= */
.aboutp-hero{
  position: relative;
  overflow: hidden;
  padding: 34px 0 28px;
  min-height: 560px;
}

.aboutp-hero{ position: relative; overflow: hidden; }

/* OVERSCAN: фон больше секции, чтобы translateY не оголял края */
.aboutp-hero-bg{
  position: absolute;
  left: 0; right: 0;
  top: -240px;          /* = SHIFT_MAX + запас */
  bottom: -240px;       /* = SHIFT_MAX + запас */

  background-size: cover;
  background-position: center;
  transform: translate3d(0,0,0) scale(1.06);
  will-change: transform;
}

.aboutp-hero-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 18% 25%, rgba(58,160,255,.22), rgba(58,160,255,0) 60%),
    radial-gradient(900px 520px at 86% 55%, rgba(107,213,255,.14), rgba(107,213,255,0) 60%),
    linear-gradient(90deg, rgba(5,10,20,.78) 0%, rgba(5,10,20,.34) 60%, rgba(5,10,20,.22) 100%);
}
.aboutp-hero-inner{ position: relative; z-index: 2; }

.aboutp-crumbs{
  display:flex;
  gap:8px;
  align-items:center;
  color: rgba(255,255,255,.82);
  font-weight:900;
  margin-bottom: 14px;
}
.aboutp-crumbs a{ color: rgba(255,255,255,.92); text-decoration:none; }
.aboutp-crumbs a:hover{ opacity:.88; }

.aboutp-hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 20px;
  align-items: stretch;
}

.aboutp-pill{
  display:inline-block;
  background: rgba(255,255,255,.10);
  border: 1px solid var(--ap-bw2);
  color:#fff;
  font-weight:1000;
  padding:10px 12px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 70px rgba(0,0,0,.20);
}

.aboutp-title{
  margin: 14px 0 10px;
  color:#fff;
  font-size: 44px;
  font-weight: 1000;
  line-height: 1.05;
  letter-spacing: -0.35px;
}
.aboutp-sub{
  margin:0 0 18px;
  color: rgba(255,255,255,.84);
  max-width: 720px;
  line-height: 1.40;
}

.aboutp-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.aboutp-kpis{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* HERO KPI (тёмное стекло) */
.kpi{
  background: rgba(255,255,255,.10);
  border: 1px solid var(--ap-bw2);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 150px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 70px rgba(0,0,0,.20);
}
.kpi-num{
  color:#fff;
  font-weight:1000;
  font-size: 22px;
  letter-spacing: -0.25px;
}
.kpi-label{
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-weight: 850;
  font-size: 12px;
}

/* HERO right card (тёмное стекло) */
.aboutp-hero-card{
  height:100%;
  border-radius: var(--ap-r1);
  padding: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid var(--ap-bw2);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 26px 90px rgba(0,0,0,.28);
}
.aboutp-hero-card-h{
  color:#fff;
  font-weight:1000;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: -0.15px;
}
.aboutp-hero-card-p{
  color: rgba(255,255,255,.82);
  font-weight: 850;
  line-height: 1.40;
  margin-bottom: 14px;
}

.aboutp-form{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-bottom: 14px;
}
.aboutp-form input{
  border: 1px solid rgba(255,255,255,.14);
  outline: none;
  border-radius: 14px;
  padding: 14px 14px;
  font-weight: 900;
  background: rgba(255,255,255,.10);
  color:#fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.aboutp-form input::placeholder{ color: rgba(255,255,255,.70); }

.aboutp-note{
  color: rgba(255,255,255,.72);
  font-weight: 850;
  font-size: 12px;
  margin-top: 4px;
}

.aboutp-mini-contacts{
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 12px;
  margin-top: 10px;
}
.aboutp-mini-row{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
}
.aboutp-mini-label{
  color: rgba(255,255,255,.72);
  font-weight: 900;
  font-size: 12px;
}
.aboutp-mini-value{
  color:#fff;
  font-weight: 1000;
  text-decoration:none;
}
.aboutp-mini-value:hover{ opacity:.9; }

/* =========================
   SECTIONS
   ========================= */
.aboutp-section{ padding: 56px 0; }

.aboutp-head{
  text-align:center;
  max-width: 860px;
  margin: 0 auto 8px;
}
.aboutp-h2{
  font-size: 32px;
  font-weight: 1000;
  margin: 0 0 10px;
  letter-spacing: -0.35px;
  color: var(--ap-ink);
}
.aboutp-sub2{
  margin: 0;
  color: rgba(7,16,36,.68);
  font-weight: 850;
  line-height: 1.55;
}

/* =========================
   STORY
   ========================= */
.aboutp-story{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: start;
}

.aboutp-block{
  border-radius: var(--ap-r1);
  padding: 16px;
  margin-bottom: 12px;
  background: rgba(255,255,255,.86);
}
.aboutp-block-h{
  font-weight: 1000;
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: -0.15px;
  color: var(--ap-ink);
}
.aboutp-block-p{
  color: rgba(7,16,36,.78);
  line-height: 1.50;
}

.aboutp-points{
  margin-top: 10px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.aboutp-point{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.aboutp-point-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--ap-accent), var(--ap-accent2));
  box-shadow: 0 10px 30px rgba(58,160,255,.22);
}
.aboutp-point-h{
  font-weight: 1000;
  margin-bottom: 2px;
  color: var(--ap-ink);
}
.aboutp-point-p{
  color: rgba(7,16,36,.72);
  line-height: 1.45;
}

/* =========================
   MEDIA (slider + glass)
   ========================= */
.aboutp-media{
  position: sticky;
  top: 84px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.aboutp-slider{
  position: relative;
  width: 100%;
  border-radius: var(--ap-r2);
  overflow: hidden;
  border: 1px solid var(--ap-line);
  box-shadow: var(--ap-shadowSoft);
  background: var(--ap-glassW2);
}
.aboutp-track{
  display:flex;
  transition: transform .55s var(--ap-ease);
  will-change: transform;
}
.aboutp-slide{
  min-width: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
}
.aboutp-slide img{
  width: 100%;
  height: auto;
  max-width: 520px;
  object-fit: contain;
  display:block;
}

.aboutp-arrow{
  position:absolute;
  bottom: 12px;
  background: rgba(7,16,36,.68);
  color:#fff;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  cursor:pointer;
  z-index: 5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--ap-d1) var(--ap-ease), opacity var(--ap-d1) var(--ap-ease);
}
.aboutp-arrow:hover{ opacity:.95; transform: translateY(-1px); }
.aboutp-arrow.left{ left: 12px; }
.aboutp-arrow.right{ right: 12px; }

.aboutp-dots{
  position:absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display:flex;
  gap: 10px;
  z-index: 5;
}
.aboutp-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(7,16,36,.90);
  opacity: .25;
  border: 0;
  cursor:pointer;
}
.aboutp-dot.active{
  opacity: 1;
  background: linear-gradient(135deg, var(--ap-accent), var(--ap-accent2));
}

.aboutp-glass{
  border-radius: var(--ap-r2);
  padding: 16px;
  background: rgba(255,255,255,.84);
}
.aboutp-glass-h{
  font-weight: 1000;
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: -0.15px;
  color: var(--ap-ink);
}
.aboutp-glass-p{
  color: rgba(7,16,36,.72);
  line-height: 1.50;
  margin-bottom: 10px;
}

/* =========================
   ADV
   ========================= */
.aboutp-adv{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.aboutp-adv-card{ padding: 16px; }

.aboutp-adv-top{
  display:flex;
  gap: 10px;
  align-items:center;
  margin-bottom: 10px;
}
.aboutp-adv-ico{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(58,160,255,.14);
  border: 1px solid var(--ap-line);
  box-shadow: 0 18px 60px rgba(58,160,255,.12);
  font-size: 20px;
  color: var(--ap-ink);
}
.aboutp-adv-h{
  font-weight: 1000;
  font-size: 16px;
  letter-spacing: -0.15px;
  color: var(--ap-ink);
}
.aboutp-adv-p{ color: rgba(7,16,36,.72); }

/* =========================
   LEAD SELLING GRID
   ========================= */
.aboutp-lead-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.aboutp-lead-card{ padding: 16px; }
.aboutp-lead-card:hover{ border-color: rgba(58,160,255,.22); }

.aboutp-lead-title{
  font-weight: 1000;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: -0.15px;
  color: var(--ap-ink);
}
.aboutp-lead-text{ color: rgba(7,16,36,.72); }

/* header (fix) */
.aboutp-lead-top{
  display:flex;
  gap: 10px;
  align-items:center;
  margin-bottom: 10px;
}
.aboutp-lead-ico{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(58,160,255,.14);
  border: 1px solid var(--ap-line);
  box-shadow: 0 18px 60px rgba(58,160,255,.12);
  font-size: 20px;
  line-height: 1;
  color: var(--ap-ink);
}
.aboutp-lead-badge{
  font-weight: 1000;
  font-size: 12px;
  letter-spacing: .2px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(58,160,255,.10);
  border: 1px solid var(--ap-line);
  color: var(--ap-ink);
}

/* =========================
   KPI STRIP
   ========================= */
.aboutp-kpi-strip{
  padding: 34px 0;
  border-top: 1px solid var(--ap-line2);
  border-bottom: 1px solid var(--ap-line2);
}
.aboutp-kpi-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.aboutp-kpi{
  padding: 14px 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.aboutp-kpi-num{
  font-weight: 1000;
  font-size: 22px;
  letter-spacing: -0.25px;
  color: var(--ap-ink);
}
.aboutp-kpi-label{
  margin-top: 4px;
  color: rgba(7,16,36,.65);
  font-size: 12px;
}

/* =========================
   TIMELINE
   ========================= */
.aboutp-timeline{
  margin-top: 10px;
  --tl-line: rgba(7,16,36,.10);
  --tl-glow: rgba(58,160,255,.28);
}

.aboutp-tline{
  position: relative;
  display:flex;
  flex-direction:column;
  gap: 14px;
  padding-left: 22px;
}
.aboutp-tline::before{
  content:"";
  position:absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 999px;
  background: var(--tl-line);
}
.aboutp-tline::after{
  content:"";
  position:absolute;
  left: 8px;
  top: 6px;
  width: 4px;
  height: 0%;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--ap-accent), var(--ap-accent2));
  box-shadow: 0 12px 40px var(--tl-glow);
  transform-origin: top;
  transition: height 900ms var(--ap-ease);
}

.aboutp-titem{
  position: relative;
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: start;

  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
  transition:
    opacity var(--ap-d2) var(--ap-ease),
    transform var(--ap-d2) var(--ap-ease),
    filter var(--ap-d2) var(--ap-ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.aboutp-titem::before{
  content:"";
  position:absolute;
  left: -18px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ap-accent), var(--ap-accent2));
  box-shadow: 0 10px 24px rgba(2,10,28,.16), 0 0 0 rgba(58,160,255,0);
  transition: box-shadow var(--ap-d2) var(--ap-ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.aboutp-tyear{
  font-weight: 1000;
  color: var(--ap-ink);
  letter-spacing: -0.15px;
}
.aboutp-tcard{ padding: 14px 16px; }
.aboutp-tcard-h{
  font-weight: 1000;
  margin-bottom: 6px;
  letter-spacing: -0.15px;
  color: var(--ap-ink);
}
.aboutp-tcard-p{ color: rgba(7,16,36,.72); }

.aboutp-timeline.is-inview .aboutp-tline::after{ height: 100%; }
.aboutp-timeline.is-inview .aboutp-titem{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.aboutp-timeline.is-inview .aboutp-titem::before{
  box-shadow: 0 10px 24px rgba(2,10,28,.16), 0 0 0 10px rgba(58,160,255,.10);
}

/* лёгкая пульсация точки */
@media (prefers-reduced-motion: no-preference){
  @keyframes tDotPulse{
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
  }
  .aboutp-timeline.is-inview .aboutp-titem::before{
    animation: tDotPulse 2200ms ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 140ms);
  }
}

/* =========================
   CAPABILITIES GRID
   ========================= */
.aboutp-cap-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}
.aboutp-cap-card{
  display:block;
  text-decoration:none;
  color:inherit;
  overflow:hidden;
}
.aboutp-cap-media{
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.aboutp-cap-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(5,10,20,.65), rgba(5,10,20,0) 70%);
  opacity: .85;
}
.aboutp-cap-body{ padding: 14px 14px 16px; }
.aboutp-cap-title{
  font-weight: 1000;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.15px;
  color: var(--ap-ink);
}
.aboutp-cap-text{
  margin-top: 8px;
  color: rgba(7,16,36,.72);
  font-size: 13px;
  line-height: 1.50;
}
.aboutp-cap-chip{
  margin-top: 12px;
  display:inline-block;
  background: linear-gradient(135deg, var(--ap-accent), var(--ap-accent2));
  color: #07101f;
  font-weight: 1000;
  padding: 9px 11px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 16px 50px rgba(58,160,255,.18);
}
.aboutp-center{ text-align:center; margin-top: 18px; }

/* =========================
   PROCESS STEPS
   ========================= */
.aboutp-process{
  border-top: 1px solid var(--ap-line2);
  border-bottom: 1px solid var(--ap-line2);
}
.aboutp-steps{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}
.aboutp-step{ padding: 16px; }
.aboutp-step-num{
  font-weight: 1000;
  font-size: 12px;
  display:inline-block;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(58,160,255,.12);
  border: 1px solid rgba(7,16,36,.08);
  margin-bottom: 10px;
}
.aboutp-step-h{
  font-weight: 1000;
  margin-bottom: 6px;
  color: var(--ap-ink);
}
.aboutp-step-p{
  color: rgba(7,16,36,.72);
  font-size: 13px;
}


/* =========================
   DOCS GRID
   ========================= */
.aboutp-docs{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.aboutp-doc{
  border:0;
  padding:0;
  cursor:pointer;
  overflow:hidden;
  background:#fff;
  position: relative;
}
.aboutp-doc:hover{ border-color: rgba(58,160,255,.22); }

.aboutp-doc img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  aspect-ratio: 4 / 5;
  transform: scale(1.02);
  transition: transform .25s var(--ap-ease);
}
.aboutp-doc:hover img{ transform: scale(1.08); }

.aboutp-doc-zoom{
  position:absolute;
  right: 12px;
  bottom: 12px;
  background: linear-gradient(135deg, var(--ap-accent), var(--ap-accent2));
  color:#07101f;
  font-weight: 1000;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 16px 50px rgba(58,160,255,.20);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s var(--ap-ease), transform .2s var(--ap-ease);
}
.aboutp-doc:hover .aboutp-doc-zoom{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FINAL CTA CARD
   ========================= */
.aboutp-cta-card{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: stretch;

  border-radius: var(--ap-r2);
  padding: 18px;

  background:
    radial-gradient(900px 420px at 18% 0%, rgba(58,160,255,.12), rgba(58,160,255,0) 60%),
    rgba(255,255,255,.86);

  border: 1px solid var(--ap-line);
  box-shadow: var(--ap-shadowSoft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.aboutp-cta-badge{
  display:inline-block;
  font-weight: 1000;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(58,160,255,.12);
  border: 1px solid var(--ap-line);
  color: var(--ap-ink);
  margin-bottom: 10px;
}
.aboutp-cta-h{
  font-weight: 1000;
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.25px;
  color: var(--ap-ink);
}
.aboutp-cta-p{ color: rgba(7,16,36,.72); }

.aboutp-cta-mini{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.aboutp-cta-mini-item{
  padding: 12px 14px;
  min-width: 260px;
}
.aboutp-cta-mini-label{
  font-weight: 900;
  font-size: 12px;
  color: rgba(7,16,36,.60);
}
.aboutp-cta-mini-val{
  margin-top: 4px;
  font-weight: 1000;
  color: var(--ap-ink);
  text-decoration:none;
}
.aboutp-cta-mini-val:hover{ opacity:.9; }

.aboutp-cta-form{
  background: var(--ap-glassD2);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--ap-r2);
  padding: 16px;
  box-shadow: 0 26px 90px rgba(0,0,0,.22);

  display:flex;
  flex-direction:column;
  gap: 10px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.aboutp-cta-form input,
.aboutp-cta-form textarea{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 14px 14px;
  font-weight: 900;
  outline: none;
  background: rgba(255,255,255,.10);
  color:#fff;
}
.aboutp-cta-form textarea{
  min-height: 90px;
  resize: vertical;
}
.aboutp-cta-form input::placeholder,
.aboutp-cta-form textarea::placeholder{ color: rgba(255,255,255,.70); }

.aboutp-cta-note{
  color: rgba(255,255,255,.72);
  font-weight: 850;
  font-size: 12px;
}

/* ===== TIMELINE: line UNDER dots (fix layering) ===== */

.aboutp-tline{
  position: relative;
  z-index: 0;
}

/* линия — самый нижний слой */
.aboutp-tline::before,
.aboutp-tline::after{
  z-index: 0;
  pointer-events: none;
}

/* айтемы выше линии */
.aboutp-titem{
  position: relative;
  z-index: 1;
}

/* точка — выше всего */
.aboutp-titem::before{
  z-index: 3;
}

/* (опционально) чтобы точка была “чистой” и линия под ней не просвечивала */
.aboutp-titem::before{
  outline: 8px solid rgba(245,247,251,.85); /* подложка = фон секции */
  outline-offset: -8px;
}

/* ===== TIMELINE: active highlight ===== */
.aboutp-titem.is-active .aboutp-tcard{
  border-color: rgba(58,160,255,.22);
  box-shadow: 0 28px 110px rgba(2,10,28,.16);
}

.aboutp-titem.is-active::before{
  box-shadow:
    0 10px 24px rgba(2,10,28,.16),
    0 0 0 10px rgba(58,160,255,.10);
}

/* можно чуть подчеркнуть год */
.aboutp-titem.is-active .aboutp-tyear{
  color: var(--ap-ink);
}

/* pulse (active only) */
@media (prefers-reduced-motion: no-preference){
  .facts-legend-card.is-active::after{
    animation: factsLegendPulse 2.8s ease-in-out infinite;
  }
  .facts-legend-card.is-active::before{
    animation: factsLegendPulse2 3.6s ease-in-out infinite;
  }
  @keyframes factsLegendPulse{
    0%, 100% { opacity: .78; transform: translate3d(0,0,0) scale(1); }
    50%      { opacity: .98; transform: translate3d(0,-2px,0) scale(1.02); }
  }
  @keyframes factsLegendPulse2{
    0%, 100% { opacity: .52; filter: saturate(1) blur(0px); }
    50%      { opacity: .72; filter: saturate(1.15) blur(.2px); }
  }
}

/* drag: без “резины” */
.facts-legend.is-dragging .facts-legend-card{ transition: none !important; }

/* responsive */
@media (max-width: 900px){
  .facts-legend-card{ flex-basis: 280px; height: 400px; }
}
@media (max-width: 560px){
  .facts-legend-track{ padding: 10px 12px 16px; }
  .facts-legend-card{ flex-basis: 86vw; height: 420px; }
}

/* =========================
   RESPONSIVE (page)
   ========================= */
@media (max-width: 1100px){
  .aboutp-hero-grid{ grid-template-columns: 1fr; }
  .aboutp-title{ font-size: 36px; }
  .aboutp-story{ grid-template-columns: 1fr; }
  .aboutp-media{ position: static; }
  .aboutp-adv{ grid-template-columns: 1fr; }

  .aboutp-lead-grid{ grid-template-columns: 1fr; }
  .aboutp-kpi-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aboutp-titem{ grid-template-columns: 1fr; }
  .aboutp-cap-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aboutp-steps{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aboutp-docs{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aboutp-cta-card{ grid-template-columns: 1fr; }

  /* facts2 safety (если есть на странице) */
  .aboutp-facts2-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aboutp-facts2-card{ grid-column: auto; }
  .aboutp-facts2-card--wide{ grid-column: span 2; }
  .aboutp-facts2-card.is-full{ grid-column: span 2; }
}
@media (max-width: 560px){
  .aboutp-title{ font-size: 30px; }
  .aboutp-kpis .kpi{ min-width: 140px; }
  .aboutp-arrow{ width: 42px; height: 42px; }
  .aboutp-cap-grid{ grid-template-columns: 1fr; }
  .aboutp-steps{ grid-template-columns: 1fr; }
  .aboutp-docs{ grid-template-columns: 1fr; }

  .aboutp-facts2-grid{ grid-template-columns: 1fr; }
  .aboutp-facts2-card,
  .aboutp-facts2-card--wide,
  .aboutp-facts2-card.is-full{ grid-column: auto; }
}

/* =========================
   REDUCE MOTION (global)
   ========================= */
@media (prefers-reduced-motion: reduce){
  .aboutp-arrow,
  .aboutp-track,
  .aboutp-adv-card,
  .aboutp-lead-card,
  .aboutp-cap-card,
  .aboutp-doc,
  .aboutp-facts2-card,
  .aboutp-titem,
  .aboutp-tline::after,
  .facts-legend-track,
  .facts-legend-card,
  .facts-legend-arrow,
  .facts-legend-dot{
    transition:none !important;
    animation:none !important;
  }
  .aboutp-facts2-card:hover,
  .aboutp-adv-card:hover,
  .aboutp-lead-card:hover,
  .aboutp-cap-card:hover,
  .aboutp-doc:hover{
    transform:none !important;
  }

  .facts-legend-viewport{ perspective: none; }
  .facts-legend-card{
    transform: none !important;
    filter: none !important;
  }
  .facts-legend-card .facts-legend-title,
  .facts-legend-card .facts-legend-text{
    transform: none !important;
  }
}


/* =========================
   SAFARI PERF GUARD
   Пока скроллим — убираем backdrop-filter (Safari может мерцать)
   ========================= */
.is-scrolling .glass,
.is-scrolling [data-glass],
.is-scrolling .obj-card,
.is-scrolling .objs-toolbar,
.is-scrolling .objs-hero-card,
.is-scrolling .kpi,
.is-scrolling .chip,
.is-scrolling :where(
  .aboutp-block,
  .aboutp-glass,
  .aboutp-adv-card,
  .aboutp-lead-card,
  .aboutp-kpi,
  .aboutp-tcard,
  .aboutp-cap-card,
  .aboutp-step,
  .aboutp-doc,
  .aboutp-cta-mini-item,
  .facts-legend-arrow,
  .facts-legend-card.is-active
){
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.form-note{
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  color: rgba(255,255,255,.65);
}

.form-note[data-state="send"]{ color: rgba(255,255,255,.72); }
.form-note[data-state="ok"]{ color: rgba(120,255,200,.85); }
.form-note[data-state="err"]{ color: rgba(255,120,120,.90); }



/* =========================================================
   FACTS (facts-legend) — SIMPLE DRUM SLIDER
   - без active/не active
   - без blur/opacity/3D
   - стрелки + точки
   - ровные карточки, аккуратный glass dark
   ========================================================= */

/* обёртка секции (если нужно оставить фон секции) */
.aboutp-facts2{
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%),
    radial-gradient(900px 520px at 88% 30%, rgba(107,213,255,.08), rgba(107,213,255,0) 60%),
    linear-gradient(to bottom, #ffffff, #fbfcff);
}

/* full-bleed контейнер */
.facts-fullbleed{
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 clamp(20px, 6vw, 80px);
}

.facts-legend{
  position: relative;
  margin-top: -90px;
}

/* viewport */
.facts-legend-viewport{
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 10px clamp(16px, 4vw, 64px) 18px;

  cursor: grab;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;

  /* без 3D */
  perspective: none;
  transform-style: flat;
}
.facts-legend.is-dragging .facts-legend-viewport{ cursor: grabbing; }


/* track */
.facts-legend-track{
  display: flex;
  gap: 18px;
  padding: 10px 18px 18px;
  will-change: transform;
  transform: translate3d(0,0,0);
}

/* карточка — простая, без аур/blur/active */
.facts-legend-card{
  flex: 0 0 320px;
  height: 420px;

  border-radius: 26px;
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;

  background: rgba(7,16,36,.74);
  border: 1px solid rgba(255,255,255,.12);

  box-shadow:
    0 28px 120px rgba(0,0,0,.18),
    0 1px 0 rgba(255,255,255,.10) inset;

  /* фикс “серости” из старого CSS */
  opacity: 1;
  filter: none;
  transform: none;

  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
}

/* убираем любые декоративные псевдо-слои, если где-то остались */
.facts-legend-card::before,
.facts-legend-card::after{ display:none; }

/* верх карточки */
.facts-legend-top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 12px;
}

/* ИКОНКУ оставляем простой (никаких спец-эффектов) */
.facts-legend-ico{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
  line-height: 1;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 44px rgba(0,0,0,.30);
}

/* бейдж */
.facts-legend-badge{
  font-weight: 1000;
  font-size: 12px;
  letter-spacing: .2px;
  padding: 9px 12px;
  border-radius: 999px;

  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.facts-legend-title{
  margin: 6px 0 10px;
  font-weight: 1000;
  font-size: 18px;
  letter-spacing: -0.2px;
  color: #fff;
}

.facts-legend-text{
  margin: 0;
  font-weight: 850;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
}
.facts-legend-text b{ color: rgba(255,255,255,.96); }

/* стрелки */
.facts-legend-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 18px;

  border: 1px solid rgba(255,255,255,.18);
  background: rgba(7,16,36,.55);
  color:#fff;
  font-size: 30px;

  cursor: pointer;
  opacity: .95;
  -webkit-tap-highlight-color: transparent;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 20px 70px rgba(0,0,0,.30);
  transition: transform 160ms ease, opacity 160ms ease;
}
.facts-legend-arrow:hover{ transform: translateY(-50%) scale(1.05); }
.facts-legend-arrow.left{ left: 8px; }
.facts-legend-arrow.right{ right: 8px; }

/* точки */
.facts-legend-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top: 12px;
}

.facts-legend-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;

  background: rgba(7,16,36,.35);
  opacity: .35;

  transition: opacity 160ms ease, transform 160ms ease;
}
.facts-legend-dot.is-active{
  opacity: 1;
  transform: scale(1.25);
  background: linear-gradient(135deg, rgba(120,90,255,.95), rgba(58,160,255,.85));
}

/* responsive */
@media (max-width: 900px){
  .facts-legend-card{ flex-basis: 280px; height: 400px; }
}
@media (max-width: 560px){
  .facts-legend-track{ padding: 10px 12px 16px; }
  .facts-legend-card{ flex-basis: 86vw; height: 420px; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .facts-legend-arrow,
  .facts-legend-dot{
    transition:none !important;
    animation:none !important;
  }
}


#aboutp-contacts.is-pulse{
  animation: apPulse 900ms ease;
  outline: 2px solid rgba(58,160,255,.45);
  outline-offset: 6px;
}

@keyframes apPulse{
  0%   { transform: translateZ(0) scale(1); box-shadow: 0 0 0 rgba(58,160,255,0); }
  50%  { transform: translateZ(0) scale(1.01); box-shadow: 0 0 0 10px rgba(58,160,255,.12); }
  100% { transform: translateZ(0) scale(1); box-shadow: 0 0 0 rgba(58,160,255,0); }
}

/* =========================
   ABOUT HERO — MOBILE TUNE
   (аккуратнее верх + KPI в 1 ряд)
========================= */

@media (max-width: 560px){

  /* общий ритм секции */
  .aboutp-hero{
    padding: 22px 0 18px;
    min-height: unset;
  }

  .aboutp-crumbs{
    margin-bottom: 10px;
    font-size: 12px;
    opacity: .92;
  }

  .aboutp-pill{
    padding: 8px 10px;
    font-size: 12px;
  }

  .aboutp-title{
    font-size: 30px;
    line-height: 1.08;
    margin: 10px 0 8px;
    /* чтобы заголовок переносился красивее */
    text-wrap: balance;
  }

  .aboutp-sub{
    font-size: 13.5px;
    line-height: 1.45;
    margin: 0 0 12px;
    max-width: 100%;
    color: rgba(255,255,255,.86);
  }

  /* кнопки плотнее */
  .aboutp-cta{
    gap: 10px;
    margin-bottom: 12px;
  }
  .aboutp-cta .btn{
    min-height: 48px;
    border-radius: 18px;
    font-size: 14px;
  }

  /* ✅ KPI В ОДНУ СТРОКУ */
  .aboutp-kpis{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
  }

  .aboutp-kpis .kpi{
    min-width: 0;            /* важно: убираем min-width:150px */
    padding: 10px 8px;
    border-radius: 16px;
    text-align: center;
  }

  .aboutp-kpis .kpi-num{
    font-size: 16px;
    letter-spacing: -0.2px;
    line-height: 1.1;
  }

  .aboutp-kpis .kpi-label{
    font-size: 10.5px;
    line-height: 1.2;
    margin-top: 4px;
    opacity: .92;
  }

  /* правую карточку (форма) делаем компактнее, чтобы верх не выглядел "серым блоком" */
  .aboutp-hero-card{
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .aboutp-form input{
    padding: 12px 12px;
    border-radius: 14px;
  }

  .aboutp-mini-row{
    margin: 8px 0;
  }
}



/* ===== static/css/pages/products-page.css ===== */

/* =========================================================
  products-page.css — PREMIUM (no nesting bugs)
   Dark premium + liquid glass + reveal + tilt
   ========================================================= */

/* =========================
   THEME TOKENS
   ========================= */
:root{
  --glass-blur: 14px;
  --glass-sat: 1.15;

  --p-ink: rgba(255,255,255,.92);
  --p-muted: rgba(255,255,255,.66);
  --p-line: rgba(255,255,255,.10);

  --p-accent: #3aa0ff;
  --p-accent2:#6bd5ff;

  --p-bg-0:#05070d;
  --p-bg-1:#070b14;

  /* hero parallax vars */
  --p-shift: 0px;
  --p-scale: 1.08;

  /* motion */
  --ease-out: cubic-bezier(.18,.88,.18,1);
}

/* mobile performance */
@media (max-width: 900px){
  :root{ --glass-blur: 10px; --glass-sat: 1.08; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  :root{ --glass-blur: 0px; --glass-sat: 1; }
}

/* =========================
   PAGE BACKGROUND
   ========================= */
body{
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(58,160,255,.18), rgba(58,160,255,0) 60%),
    radial-gradient(1000px 520px at 88% 20%, rgba(107,213,255,.12), rgba(107,213,255,0) 60%),
    radial-gradient(900px 520px at 50% 110%, rgba(0,0,0,.55), rgba(0,0,0,0) 65%),
    linear-gradient(180deg, var(--p-bg-0) 0%, var(--p-bg-1) 35%, #05060c 100%);
  color: var(--p-ink);
}

html, body{ overflow-x:hidden; overflow-y:auto; }

/* =========================
   UTIL: glass surface
   ========================= */
.p-glass{
  background: rgba(12,16,26,.56);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(var(--glass-blur)) saturate(calc(var(--glass-sat) * 1.1));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(calc(var(--glass-sat) * 1.1));
  box-shadow:
    0 34px 110px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.10) inset;
}

/* =========================
   HERO
   ========================= */
.prod-hero{
  position:relative;
  padding: 44px 0 26px;
  overflow:hidden;
  min-height: 560px;

  --p-shift: 0px;
  --p-scale: 1.08;
}

.prod-hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  transform: translate3d(0, var(--p-shift), 0) scale(var(--p-scale));
  will-change: transform;
  backface-visibility: hidden;
  transform-origin: center;
}

.prod-hero-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 28%, rgba(0,0,0,.74), rgba(0,0,0,.22) 55%, rgba(0,0,0,.72)),
    linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.26) 55%, rgba(0,0,0,.20) 100%);
}

.prod-hero-inner{ position:relative; z-index:2; }

.prod-crumbs{
  display:flex;
  gap:8px;
  align-items:center;
  color: rgba(255,255,255,.78);
  font-weight:900;
  margin-bottom: 14px;
}
.prod-crumbs a{ color: rgba(255,255,255,.88); text-decoration:none; }
.prod-crumbs a:hover{ opacity:.88; }

.prod-hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 18px;
  align-items: stretch;
}

.prod-pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;

  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);

  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);

  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  font-weight: 1000;
  color:#fff;
}

.prod-pill-dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.95) 60%, rgba(11,47,115,.96));
  box-shadow:
    0 0 0 3px rgba(58,160,255,.14),
    0 18px 70px rgba(58,160,255,.22);
}

.prod-title{
  margin: 14px 0 10px;
  color:#fff;
  font-size: 48px;
  font-weight: 1000;
  line-height: 1.03;
  letter-spacing: .2px;
}

.prod-sub{
  margin:0 0 18px;
  color: rgba(255,255,255,.78);
  font-weight: 800;
  max-width: 760px;
  line-height: 1.35;
}

/* quick stats */
.prod-kpis{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.prod-kpis .kpi{
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 160px;

  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);

  box-shadow: 0 22px 70px rgba(0,0,0,.35);
}
.prod-kpis .kpi-num{
  color:#fff;
  font-weight:1000;
  font-size: 22px;
}
.prod-kpis .kpi-label{
  margin-top: 4px;
  color: rgba(255,255,255,.74);
  font-weight: 800;
  font-size: 12px;
}

/* CTA */
.prod-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.prod-cta .btn{
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 1000;
  letter-spacing: .18px;
}

.btn-blue{
  background:
    radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.95), rgba(58,160,255,.92) 60%, rgba(11,47,115,.96));
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  box-shadow:
    0 20px 70px rgba(58,160,255,.24),
    0 1px 0 rgba(255,255,255,.16) inset;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn-blue:hover{
  transform: translateY(-1px);
  box-shadow:
    0 26px 90px rgba(58,160,255,.28),
    0 1px 0 rgba(255,255,255,.18) inset;
}

.btn-ghost{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
  box-shadow:
    0 16px 44px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.08) inset;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, opacity .18s ease;
}
.btn-ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(58,160,255,.22);
}

/* right hero card */
.prod-hero-card{
  height:100%;
  border-radius: 18px;
  padding: 18px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  position: relative;
  overflow:hidden;
}

.prod-hero-card::before{
  content:"";
  position:absolute;
  left:-40%;
  top:-55%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
  opacity: .55;
  pointer-events:none;
  filter: blur(2px);
}

.prod-hero-card-h{
  color:#fff;
  font-weight:1000;
  font-size: 16px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}
.prod-hero-card-p{
  color: rgba(255,255,255,.78);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.prod-bullets{
  display:grid;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.prod-bullet{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}

.prod-bullet i{
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(58,160,255,.16);
  border: 1px solid rgba(58,160,255,.20);
  box-shadow: 0 0 0 3px rgba(58,160,255,.10);
  display:inline-block;
  position: relative;
  flex: 0 0 22px;
}
.prod-bullet i::after{
  content:"";
  position:absolute;
  inset:5px;
  border-radius: 6px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.9));
}
.prod-bullet span{
  color: rgba(255,255,255,.82);
  font-weight: 900;
  line-height: 1.25;
}

/* =========================
   SECTION SHELL
   ========================= */
.prod-section{
  padding: 26px 0;
}
.prod-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.prod-h{
  font-size: 20px;
  font-weight: 1000;
  color:#fff;
  letter-spacing:.2px;
}
.prod-h-sub{
  color: rgba(255,255,255,.66);
  font-weight: 800;
  line-height: 1.35;
  max-width: 760px;
}

/* =========================
   FEATURE STRIP (capabilities)
   ========================= */
.prod-strip{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}

.strip-card{
  border-radius: 18px;
  padding: 16px;
  position: relative;
  overflow:hidden;
}
.strip-card.p-glass{ background: rgba(12,16,26,.50); }

.strip-title{
  font-weight: 1000;
  color:#fff;
  margin-bottom: 6px;
}
.strip-desc{
  color: rgba(255,255,255,.74);
  font-weight: 800;
  line-height: 1.35;
}

/* =========================
   PRODUCT GRID
   ========================= */
.prod-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;

  content-visibility:auto;
  contain-intrinsic-size: 1200px;
}

.prod-card{
  position: relative;
  overflow:hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(12,16,26,.56);

  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);

  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.08) inset;

  transform: translateZ(0);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
  contain: layout paint style;
}

/* highlight */
.prod-card::before{
  content:"";
  position:absolute;
  left:-40%;
  top:-55%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
  opacity: .55;
  pointer-events:none;
  filter: blur(2px);
}

/* liquid border + subtle blue inner */
.prod-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 22px;
  pointer-events:none;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(58,160,255,.10) inset;
}

.prod-card:hover{
  transform: translateY(-3px);
  box-shadow:
    0 26px 90px rgba(0,0,0,.62),
    0 1px 0 rgba(255,255,255,.10) inset;
}

/* media */
.prod-media{
  position: relative;
  aspect-ratio: 16 / 10;
  overflow:hidden;
  border-radius: 22px 22px 14px 14px;
  background: rgba(255,255,255,.06);
}

.prod-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.03);
  transition: transform .35s var(--ease-out), filter .35s var(--ease-out);
}

.prod-media-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0) 72%),
    radial-gradient(1000px 420px at 20% 0%, rgba(58,160,255,.22), rgba(58,160,255,0) 60%);
  opacity: .85;
  transition: opacity .25s var(--ease-out);
}

/* badge */
.prod-badge{
  position:absolute;
  left: 12px;
  top: 12px;
  background: rgba(8,10,16,.58);
  color: rgba(255,255,255,.92);
  font-weight:1000;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 60px rgba(0,0,0,.36);
}

/* spec pill */
.prod-spec{
  position:absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  font-weight: 1000;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 18px 60px rgba(0,0,0,.38),
    0 1px 0 rgba(255,255,255,.10) inset;

  transform: translateY(6px);
  opacity: 0;
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out);
}

.prod-card:hover .prod-media img{ transform: scale(1.10); filter: contrast(1.06) saturate(1.08); }
.prod-card:hover .prod-media-overlay{ opacity: 1; }
.prod-card:hover .prod-spec{ opacity: 1; transform: translateY(0); }

/* body */
.prod-body{ padding: 14px 14px 16px; }

.prod-name{
  font-weight:1000;
  font-size: 16px;
  line-height: 1.2;
  color: rgba(255,255,255,.92);
}

.prod-desc{
  margin-top: 10px;
  color: rgba(255,255,255,.76);
  font-weight: 800;
  line-height: 1.35;
  font-size: 13px;
}

/* tags */
.prod-tags{
  margin-top: 12px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-tag{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 7px 9px;
  font-weight: 900;
  font-size: 11px;
  color: rgba(255,255,255,.82);
}

/* =========================
   QUALITY / CERTS
   ========================= */
.prod-quals{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  margin-top: 18px;
}

.qual-card{
  border-radius: 22px;
  padding: 16px;
  position: relative;
  overflow:hidden;
}

.qual-title{
  font-weight: 1000;
  color:#fff;
  margin-bottom: 8px;
}
.qual-text{
  color: rgba(255,255,255,.76);
  font-weight: 800;
  line-height: 1.35;
}

.qual-list{
  margin-top: 12px;
  display:grid;
  gap: 10px;
}

.qual-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.qual-item b{
  font-weight: 1000;
  color: rgba(255,255,255,.92);
}
.qual-item span{
  color: rgba(255,255,255,.74);
  font-weight: 800;
  line-height: 1.35;
}

/* =========================
   CTA PANEL
   ========================= */
.prod-cta-panel{
  border-radius: 24px;
  padding: 18px;
  position: relative;
  overflow:hidden;
  margin-top: 18px;
}

.prod-cta-panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(58,160,255,.22), rgba(58,160,255,0) 60%),
    radial-gradient(900px 420px at 90% 100%, rgba(107,213,255,.16), rgba(107,213,255,0) 55%);
  opacity: 1;
  pointer-events:none;
}

.prod-cta-panel-inner{
  position: relative;
  z-index: 2;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.prod-cta-title{
  font-weight: 1000;
  color:#fff;
  font-size: 18px;
}
.prod-cta-text{
  color: rgba(255,255,255,.78);
  font-weight: 800;
  line-height: 1.35;
  max-width: 760px;
  margin-top: 6px;
}

/* =========================
   REVEAL ANIMATIONS
   ========================= */
[data-reveal]{
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(.985);
  filter: blur(6px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out),
    filter .7s var(--ease-out);
  will-change: transform, opacity, filter;
}

[data-reveal].is-in{
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}

/* shimmer edge on hover */
@media (hover:hover){
  .prod-card .shimmer{
    position:absolute;
    inset:-40%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.12) 50%, rgba(255,255,255,0) 60%);
    transform: translateX(-30%) rotate(10deg);
    opacity: 0;
    pointer-events:none;
    transition: opacity .25s var(--ease-out);
  }
  .prod-card:hover .shimmer{
    opacity: .9;
    animation: shimmer-sweep 1.05s var(--ease-out) both;
  }
  @keyframes shimmer-sweep{
    0%{ transform: translateX(-40%) rotate(10deg); }
    100%{ transform: translateX(40%) rotate(10deg); }
  }
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px){
  .prod-hero-grid{ grid-template-columns: 1fr; }
  .prod-title{ font-size: 38px; }
  .prod-strip{ grid-template-columns: 1fr; }
  .prod-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .prod-quals{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .prod-title{ font-size: 30px; }
  .prod-grid{ grid-template-columns: 1fr; }
}

/* =========================
   REDUCED MOTION
   ========================= */
@media (prefers-reduced-motion: reduce){
  [data-reveal]{
    opacity: 1 !important;
    transform:none !important;
    filter:none !important;
    transition:none !important;
  }
  .prod-card,
  .prod-card *{
    transition:none !important;
    animation:none !important;
  }
}


/* =========================================================
   PRODUCTS PAGE — LIGHT THEME ONLY OVERRIDES
   Ничего не удаляет, только адаптирует под светлую тему
========================================================= */

:root[data-theme="light"]{
  --p-ink: rgba(15,23,42,.94);
  --p-muted: rgba(15,23,42,.66);
  --p-line: rgba(15,23,42,.08);

  --p-bg-0: #f6f8fc;
  --p-bg-1: #eef3f9;
}

/* =========================
   PAGE BACKGROUND
========================= */
:root[data-theme="light"] body{
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%),
    radial-gradient(1000px 520px at 88% 20%, rgba(107,213,255,.07), rgba(107,213,255,0) 60%),
    radial-gradient(900px 520px at 50% 110%, rgba(15,23,42,.06), rgba(15,23,42,0) 65%),
    linear-gradient(180deg, var(--p-bg-0) 0%, var(--p-bg-1) 35%, #f4f7fb 100%);
  color: var(--p-ink);
}

/* =========================
   HERO
========================= */
:root[data-theme="light"] .prod-hero-overlay{
  background:
    radial-gradient(circle at 18% 28%, rgba(0,0,0,.58), rgba(0,0,0,.16) 55%, rgba(0,0,0,.48)),
    linear-gradient(90deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.16) 55%, rgba(0,0,0,.12) 100%);
}

:root[data-theme="light"] .prod-crumbs{
  color: rgba(255,255,255,.78);
}
:root[data-theme="light"] .prod-crumbs a{
  color: rgba(255,255,255,.90);
}

:root[data-theme="light"] .prod-pill{
  background: rgba(12,16,26,.46);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.96);
  box-shadow:
    0 18px 48px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .prod-title{
  color: rgba(255,255,255,.96);
  text-shadow: 0 14px 34px rgba(0,0,0,.26);
}

:root[data-theme="light"] .prod-sub{
  color: rgba(255,255,255,.82);
}

:root[data-theme="light"] .prod-kpis .kpi{
  background: rgba(12,16,26,.42);
  border-color: rgba(255,255,255,.10);
  box-shadow:
    0 16px 36px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .prod-kpis .kpi-num{
  color: rgba(255,255,255,.96);
}

:root[data-theme="light"] .prod-kpis .kpi-label{
  color: rgba(255,255,255,.74);
}

:root[data-theme="light"] .prod-cta .btn-ghost{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.94);
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .prod-hero-card{
  background: rgba(12,16,26,.34);
  border-color: rgba(255,255,255,.10);
  box-shadow:
    0 18px 42px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .prod-hero-card-h{
  color: rgba(255,255,255,.94);
}

:root[data-theme="light"] .prod-hero-card-p{
  color: rgba(255,255,255,.80);
}

:root[data-theme="light"] .prod-bullet{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
}

:root[data-theme="light"] .prod-bullet span{
  color: rgba(255,255,255,.88);
}

/* =========================
   SECTION HEADS
========================= */
:root[data-theme="light"] .prod-h{
  color: rgba(15,23,42,.94);
}

:root[data-theme="light"] .prod-h-sub{
  color: rgba(15,23,42,.66);
}

/* =========================
   STRIP
========================= */
:root[data-theme="light"] .strip-card.p-glass{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.64),
    rgba(255,255,255,.46)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .strip-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .strip-desc{
  color: rgba(15,23,42,.72);
}

/* =========================
   PRODUCT GRID / CARDS
========================= */
:root[data-theme="light"] .prod-card{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.64),
    rgba(255,255,255,.46)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.10),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .prod-card::before{
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.34), rgba(255,255,255,0) 55%);
  opacity: .7;
}

:root[data-theme="light"] .prod-card::after{
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 0 0 1px rgba(58,160,255,.06) inset;
}

:root[data-theme="light"] .prod-card:hover{
  box-shadow:
    0 22px 52px rgba(15,23,42,.12),
    0 1px 0 rgba(255,255,255,.96) inset;
}

:root[data-theme="light"] .prod-media{
  background: rgba(255,255,255,.28);
}

:root[data-theme="light"] .prod-media-overlay{
  background:
    linear-gradient(to top, rgba(15,23,42,.38), rgba(15,23,42,0) 72%),
    radial-gradient(1000px 420px at 20% 0%, rgba(58,160,255,.14), rgba(58,160,255,0) 60%);
  opacity: .74;
}

:root[data-theme="light"] .prod-badge{
  background: rgba(255,255,255,.66);
  color: rgba(15,23,42,.90);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

:root[data-theme="light"] .prod-spec{
  background: rgba(255,255,255,.68);
  color: rgba(15,23,42,.90);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 10px 24px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .prod-name{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .prod-desc{
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .p-tag{
  background: rgba(255,255,255,.42);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.78);
}

/* =========================
   QUALITY / CERTS
========================= */
:root[data-theme="light"] .qual-card.p-glass{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.64),
    rgba(255,255,255,.46)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .qual-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .qual-text{
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .qual-item{
  background: rgba(255,255,255,.44);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

:root[data-theme="light"] .qual-item b{
  color: rgba(15,23,42,.90);
}

:root[data-theme="light"] .qual-item span{
  color: rgba(15,23,42,.70);
}

/* =========================
   CTA PANEL
========================= */
:root[data-theme="light"] .prod-cta-panel.p-glass{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.72),
    rgba(255,255,255,.54)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 44px rgba(15,23,42,.10),
    0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .prod-cta-panel::before{
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(58,160,255,.14), rgba(58,160,255,0) 60%),
    radial-gradient(900px 420px at 90% 100%, rgba(107,213,255,.10), rgba(107,213,255,0) 55%);
}

:root[data-theme="light"] .prod-cta-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .prod-cta-text{
  color: rgba(15,23,42,.72);
}

/* =========================
   BUTTONS INSIDE LIGHT SECTIONS
========================= */
:root[data-theme="light"] .btn-ghost{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.88);
  box-shadow:
    0 10px 22px rgba(15,23,42,.07),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .btn-ghost:hover{
  border-color: rgba(58,160,255,.20);
}

/* =========================
   MOBILE LIGHT POLISH
========================= */
@media (max-width: 1100px){
  :root[data-theme="light"] .prod-card{
    box-shadow:
      0 16px 36px rgba(15,23,42,.10),
      0 1px 0 rgba(255,255,255,.95) inset;
  }
}

@media (max-width: 560px){
  :root[data-theme="light"] .prod-title{
    font-size: 30px;
  }

  :root[data-theme="light"] .prod-hero-card{
    box-shadow:
      0 14px 30px rgba(0,0,0,.18),
      0 1px 0 rgba(255,255,255,.10) inset;
  }

  :root[data-theme="light"] .strip-card.p-glass,
  :root[data-theme="light"] .qual-card.p-glass,
  :root[data-theme="light"] .prod-cta-panel.p-glass{
    box-shadow:
      0 14px 30px rgba(15,23,42,.08),
      0 1px 0 rgba(255,255,255,.95) inset;
  }
}

/* =========================================================
   PRODUCTS GRID — remove heavy outer shadow
========================================================= */

/* dark theme */
.prod-card{
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset !important;
}

.prod-card:hover{
  box-shadow:
    0 1px 0 rgba(255,255,255,.10) inset !important;
}

/* light theme */
:root[data-theme="light"] .prod-card{
  box-shadow:
    0 1px 0 rgba(255,255,255,.94) inset !important;
}

:root[data-theme="light"] .prod-card:hover{
  box-shadow:
    0 1px 0 rgba(255,255,255,.96) inset !important;
}

/* ===== static/css/pages/services-page.css ===== */

/* =========================================================
   services-page.css — PREMIUM (YAZVI)
   Dark premium + liquid list + reveal + glow hover
   ========================================================= */

:root{
  --glass-blur: 14px;
  --glass-sat: 1.15;

  --srv-ink: rgba(255,255,255,.92);
  --srv-muted: rgba(255,255,255,.66);
  --srv-line: rgba(255,255,255,.10);

  --srv-accent: #3aa0ff;
  --srv-accent2:#6bd5ff;

  --srv-bg-0:#05070d;
  --srv-bg-1:#070b14;

  --ease-out: cubic-bezier(.18,.88,.18,1);
}

@media (max-width: 900px){
  :root{ --glass-blur: 10px; --glass-sat: 1.08; }
}
@media (prefers-reduced-motion: reduce){
  :root{ --glass-blur: 0px; --glass-sat: 1; }
}

body{
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(58,160,255,.18), rgba(58,160,255,0) 60%),
    radial-gradient(1000px 520px at 88% 20%, rgba(107,213,255,.12), rgba(107,213,255,0) 60%),
    radial-gradient(900px 520px at 50% 110%, rgba(0,0,0,.55), rgba(0,0,0,0) 65%),
    linear-gradient(180deg, var(--srv-bg-0) 0%, var(--srv-bg-1) 35%, #05060c 100%);
  color: var(--srv-ink);
}

html, body{ overflow-x:hidden; overflow-y:auto; }

/* =========================
   HERO
   ========================= */
.srv-hero{
  position:relative;
  padding: 44px 0 26px;
  overflow:hidden;
  min-height: 520px;

  --p-shift: 0px;
  --p-scale: 1.08;
}
.srv-hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  will-change: transform;
  transform: translate3d(0, var(--p-shift), 0) scale(var(--p-scale));
  backface-visibility: hidden;
  transform-origin:center;
}
.srv-hero-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 28%, rgba(0,0,0,.74), rgba(0,0,0,.22) 55%, rgba(0,0,0,.72)),
    linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.26) 55%, rgba(0,0,0,.20) 100%);
}
.srv-hero-inner{ position:relative; z-index:2; }

.srv-crumbs{
  display:flex;
  gap:8px;
  align-items:center;
  color: rgba(255,255,255,.78);
  font-weight:900;
  margin-bottom: 14px;
}
.srv-crumbs a{ color: rgba(255,255,255,.88); text-decoration:none; }
.srv-crumbs a:hover{ opacity:.88; }

.srv-hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 18px;
  align-items: stretch;
}

.srv-pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  font-weight: 1000;
  color:#fff;
}
.srv-pill-dot{
  width: 10px; height: 10px; border-radius: 99px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.95) 60%, rgba(11,47,115,.96));
  box-shadow:
    0 0 0 3px rgba(58,160,255,.14),
    0 18px 70px rgba(58,160,255,.22);
}

.srv-title{
  margin: 14px 0 10px;
  color:#fff;
  font-size: 48px;
  font-weight: 1000;
  line-height: 1.03;
  letter-spacing: .2px;
}
.srv-sub{
  margin:0 0 18px;
  color: rgba(255,255,255,.78);
  font-weight: 800;
  max-width: 760px;
  line-height: 1.35;
}

.srv-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.srv-cta .btn{
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 1000;
  letter-spacing: .18px;
}

.btn-blue{
  background:
    radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.95), rgba(58,160,255,.92) 60%, rgba(11,47,115,.96));
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  box-shadow:
    0 20px 70px rgba(58,160,255,.24),
    0 1px 0 rgba(255,255,255,.16) inset;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn-blue:hover{
  transform: translateY(-1px);
  box-shadow:
    0 26px 90px rgba(58,160,255,.28),
    0 1px 0 rgba(255,255,255,.18) inset;
}

.btn-ghost{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
  box-shadow:
    0 16px 44px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.08) inset;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn-ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(58,160,255,.22);
}

.srv-hero-card{
  height:100%;
  border-radius: 18px;
  padding: 18px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  position: relative;
  overflow:hidden;
}
.srv-hero-card::before{
  content:"";
  position:absolute;
  left:-40%;
  top:-55%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
  opacity: .55;
  pointer-events:none;
  filter: blur(2px);
}
.srv-hero-card-h{
  color:#fff;
  font-weight:1000;
  font-size: 16px;
  margin-bottom: 10px;
  position:relative;
  z-index:2;
}
.srv-hero-card-p{
  color: rgba(255,255,255,.78);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
  position:relative;
  z-index:2;
}
.srv-mini{
  display:grid;
  gap: 10px;
  position:relative;
  z-index:2;
}
.srv-mini-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.srv-mini-item i{
  width: 22px; height: 22px; border-radius: 8px;
  background: rgba(58,160,255,.16);
  border: 1px solid rgba(58,160,255,.20);
  box-shadow: 0 0 0 3px rgba(58,160,255,.10);
  display:inline-block;
  position:relative;
  flex: 0 0 22px;
}
.srv-mini-item i::after{
  content:"";
  position:absolute;
  inset:5px;
  border-radius:6px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.9));
}
.srv-mini-item span{
  color: rgba(255,255,255,.82);
  font-weight: 900;
  line-height: 1.25;
}

/* =========================
   SECTION HEAD
   ========================= */
.srv-section{ padding: 26px 0; }
.srv-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.srv-h{
  font-size: 20px;
  font-weight: 1000;
  color:#fff;
  letter-spacing:.2px;
}
.srv-h-sub{
  color: rgba(255,255,255,.66);
  font-weight: 800;
  line-height: 1.35;
  max-width: 820px;
}

/* =========================
   LIST (premium numbered rows)
   ========================= */
.srv-list{
  border-radius: 22px;
  overflow:hidden;

  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);

  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);

  box-shadow:
    0 34px 110px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.10) inset;
}

/* each row */
.srv-row{
  position:relative;
  display:flex;
  gap: 14px;
  align-items:flex-start;
  padding: 16px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  isolation:isolate;
}

.srv-row:first-child{ border-top:0; }

.srv-row::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(58,160,255,.16), rgba(58,160,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity .22s var(--ease-out);
  pointer-events:none;
  z-index:0;
}

/* shine edge */
.srv-row::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.12) 50%, rgba(255,255,255,0) 60%);
  transform: translateX(-40%) rotate(10deg);
  opacity: 0;
  pointer-events:none;
  z-index:0;
}

.srv-row:hover::before{ opacity: 1; }
@media (hover:hover){
  .srv-row:hover::after{
    opacity: .9;
    animation: srv-shimmer 1.05s var(--ease-out) both;
  }
}
@keyframes srv-shimmer{
  0%{ transform: translateX(-45%) rotate(10deg); }
  100%{ transform: translateX(45%) rotate(10deg); }
}

/* number badge (BLUE glass) */
.srv-num{
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 999px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-weight: 1000;
  color: rgba(255,255,255,.92);

  background:
    radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.55), rgba(58,160,255,.42) 60%, rgba(11,47,115,.42));
  border: 1px solid rgba(255,255,255,.16);

  box-shadow:
    0 18px 70px rgba(58,160,255,.18),
    0 1px 0 rgba(255,255,255,.14) inset;

  transform: translateZ(0);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), filter .22s var(--ease-out);
  position: relative;
  z-index: 1;
}

.srv-row:hover .srv-num{
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 22px 90px rgba(58,160,255,.22),
    0 1px 0 rgba(255,255,255,.16) inset;
}

.srv-content{ position:relative; z-index:1; flex: 1 1 auto; }

.srv-name{
  font-weight: 1000;
  font-size: 16px;
  line-height: 1.25;
  color: rgba(255,255,255,.92);
}

.srv-desc{
  margin-top: 8px;
  color: rgba(255,255,255,.70);
  font-weight: 800;
  line-height: 1.35;
  font-size: 13px;
  max-width: 980px;
}

/* subtle right hint */
.srv-hint{
  margin-left: auto;
  flex: 0 0 auto;
  color: rgba(255,255,255,.52);
  font-weight: 900;
  font-size: 12px;
  padding-top: 4px;
  position:relative;
  z-index:1;
  user-select:none;
  white-space:nowrap;
}
.srv-hint b{
  color: rgba(255,255,255,.82);
  font-weight: 1000;
}

/* =========================
   REVEAL
   ========================= */
[data-reveal]{
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(.985);
  filter: blur(6px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out),
    filter .7s var(--ease-out);
  will-change: transform, opacity, filter;
}
[data-reveal].is-in{
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}

/* =========================
   NEW UX blocks
   ========================= */

/* quick proofs under hero */
.srv-proof{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.srv-proof-item{
  border-radius: 16px;
  padding: 12px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.srv-proof-k{ color:#fff; font-weight:1000; font-size: 13px; }
.srv-proof-v{ color: rgba(255,255,255,.72); font-weight: 900; font-size: 12px; margin-top: 4px; line-height: 1.25; }

@media (max-width: 900px){
  .srv-proof{ grid-template-columns: 1fr; }
}

/* hero card cta */
.srv-hero-card-cta{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.srv-hero-card-cta .btn{ padding: 12px 14px; border-radius: 14px; }

/* directions grid */
.srv-dir-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.srv-dir-card{
  text-decoration:none;
  color: inherit;
  border-radius: 18px;
  padding: 16px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  transition: transform .18s var(--ease-out), border-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
  position: relative;
  overflow:hidden;
}
.srv-dir-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(58,160,255,.20), rgba(58,160,255,0) 55%);
  opacity: .65;
  pointer-events:none;
}
.srv-dir-card:hover{
  transform: translateY(-2px);
  border-color: rgba(58,160,255,.22);
  box-shadow: 0 30px 95px rgba(0,0,0,.55);
}
.srv-dir-top{
  display:flex;
  align-items:center;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.srv-dir-ico{
  width: 34px; height: 34px; border-radius: 12px;
  background: rgba(58,160,255,.14);
  border: 1px solid rgba(58,160,255,.22);
  box-shadow: 0 0 0 3px rgba(58,160,255,.10);
  position: relative;
  flex: 0 0 34px;
}
.srv-dir-ico::after{
  content:"";
  position:absolute;
  inset:8px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.90));
}
.srv-dir-title{ font-weight: 1000; color:#fff; font-size: 15px; line-height: 1.15; }
.srv-dir-lead{ position:relative; z-index:2; margin-top: 10px; color: rgba(255,255,255,.72); font-weight: 850; line-height: 1.35; font-size: 13px; }
.srv-dir-meta{
  position:relative; z-index:2;
  margin-top: 12px;
  display:flex; justify-content:space-between; align-items:center;
  color: rgba(255,255,255,.62);
  font-weight: 950;
  font-size: 12px;
}

@media (max-width: 1100px){
  .srv-dir-grid{ grid-template-columns: 1fr; }
}

/* tools: search + chips */
.srv-tools{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  justify-content:flex-end;
}
.srv-search{
  position:relative;
  min-width: 280px;
  flex: 1 1 280px;
}
.srv-search input{
  width:100%;
  padding: 12px 40px 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.90);
  font-weight: 900;
  outline: none;
  box-shadow: 0 16px 44px rgba(0,0,0,.28);
}
.srv-search input::placeholder{ color: rgba(255,255,255,.45); font-weight: 850; }
.srv-clear{
  position:absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  font-weight: 1000;
  cursor: pointer;
}
.srv-chip{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.84);
  font-weight: 950;
  cursor:pointer;
  transition: transform .16s var(--ease-out), border-color .16s var(--ease-out);
  white-space: nowrap;
}
.srv-chip:hover{ transform: translateY(-1px); border-color: rgba(58,160,255,.22); }
.srv-chip.is-on{
  border-color: rgba(58,160,255,.35);
  box-shadow: 0 18px 60px rgba(58,160,255,.14);
}

/* accordion container */
.srv-acc{
  border-radius: 22px;
  overflow:hidden;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 34px 110px rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.10) inset;
}
.srv-acc-item + .srv-acc-item{ border-top: 1px solid rgba(255,255,255,.08); }

.srv-acc-btn{
  width:100%;
  text-align:left;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: rgba(255,255,255,.92);
  position: relative;
}
.srv-acc-btn:hover{ background: rgba(255,255,255,.03); }

.srv-acc-badge{
  width: 34px; height: 34px;
  border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  font-weight: 1000;
  background: radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.55), rgba(58,160,255,.42) 60%, rgba(11,47,115,.42));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 70px rgba(58,160,255,.16), 0 1px 0 rgba(255,255,255,.14) inset;
}
.srv-acc-title{ font-weight: 1000; font-size: 15px; }
.srv-acc-count{
  margin-left: auto;
  font-weight: 1000;
  font-size: 12px;
  color: rgba(255,255,255,.62);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.srv-acc-chev{
  width: 10px; height: 10px;
  border-right: 2px solid rgba(255,255,255,.70);
  border-bottom: 2px solid rgba(255,255,255,.70);
  transform: rotate(45deg);
  margin-left: 10px;
  transition: transform .18s var(--ease-out);
}
.srv-acc-btn[aria-expanded="true"] .srv-acc-chev{ transform: rotate(225deg); }

.srv-acc-panel{
  padding: 0 14px 16px;
}
.srv-acc-lead{
  color: rgba(255,255,255,.70);
  font-weight: 850;
  line-height: 1.35;
  font-size: 13px;
  margin: 2px 0 12px;
}

/* cards inside panel */
.srv-cards{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.srv-card{
  border-radius: 16px;
  padding: 12px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.srv-card-h{ display:flex; align-items:center; gap: 10px; }
.srv-card-dot{
  width: 10px; height: 10px; border-radius: 99px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.95) 60%, rgba(11,47,115,.96));
  box-shadow: 0 0 0 3px rgba(58,160,255,.12), 0 18px 70px rgba(58,160,255,.18);
  flex: 0 0 10px;
}
.srv-card-title{
  color:#fff;
  font-weight: 1000;
  font-size: 14px;
  line-height: 1.2;
}
.srv-card-desc{
  margin-top: 8px;
  color: rgba(255,255,255,.70);
  font-weight: 850;
  line-height: 1.35;
  font-size: 12px;
}

/* CTA block */
.srv-ask{ margin-top: 16px; }
.srv-ask-card{
  border-radius: 22px;
  padding: 18px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
}
@media (max-width: 900px){
  .srv-tools{ justify-content:flex-start; }
  .srv-cards{ grid-template-columns: 1fr; }
  .srv-ask-card{ flex-direction: column; align-items: stretch; }
}

/* empty state (optional) */
.srv-acc.is-empty::after{
  content:"Ничего не найдено. Попробуйте другой запрос.";
  display:block;
  padding: 14px;
  color: rgba(255,255,255,.70);
  font-weight: 900;
}
/* ================= G E N I U S  S T Y L E ================= */

.srv-genius {
  background: #05070d;
  color: white;
  overflow: hidden;
}

/* HERO */
.srv-hero-genius {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.srv-hero-content {
  position: relative;
  z-index: 2;
}

.srv-hero-genius h1 {
  font-size: 52px;
  font-weight: 1000;
}

.srv-hero-genius h1 span {
  color: #6bd5ff;
}

.srv-hero-genius p {
  margin-top: 20px;
  font-size: 18px;
  opacity: 0.8;
}

#airFlow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* PROCESS */
.srv-process {
  padding: 120px 0;
  text-align: center;
}

.process-line {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.step {
  padding: 14px 22px;
  border-radius: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  font-weight: 900;
}

.step.highlight {
  background: linear-gradient(90deg,#3aa0ff,#6bd5ff);
  color: black;
}

.arrow {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6bd5ff, transparent);
  animation: flow 1.5s linear infinite;
}

@keyframes flow {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* CARDS */
.srv-directions {
  padding: 120px 0;
  text-align: center;
}

.cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px;
}

.card {
  width: 320px;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  transition: 0.4s;
  backdrop-filter: blur(12px);
}

.card:hover {
  transform: translateY(-10px);
  border-color: #3aa0ff;
  box-shadow: 0 20px 60px rgba(58,160,255,.3);
}

/* =========================================================
   SERVICES CATALOG (new UI)
   ========================================================= */

.srv-trust{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.srv-trust-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.srv-trust-ic{
  width: 22px; height: 22px; border-radius: 8px;
  background: rgba(58,160,255,.16);
  border: 1px solid rgba(58,160,255,.22);
  box-shadow: 0 0 0 3px rgba(58,160,255,.10);
  flex: 0 0 22px;
  position:relative;
}
.srv-trust-ic::after{
  content:"";
  position:absolute;
  inset:5px;
  border-radius:6px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.9));
}
.srv-trust-t{ font-weight: 1000; color:#fff; letter-spacing:.2px; }
.srv-trust-d{ margin-top: 2px; color: rgba(255,255,255,.70); font-weight: 800; line-height: 1.25; font-size: 12.5px; }

@media (max-width: 1100px){
  .srv-trust{ grid-template-columns: 1fr; }
}

/* catalog section */
.srv-catalog{ padding: 26px 0 34px; }

.srv-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 14px;
}

.srv-chips{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.srv-chip{
  appearance:none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  font-weight: 1000;
  padding: 10px 12px;
  border-radius: 999px;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
  box-shadow: 0 16px 44px rgba(0,0,0,.22), 0 1px 0 rgba(255,255,255,.08) inset;
}
.srv-chip:hover{ transform: translateY(-1px); border-color: rgba(58,160,255,.22); }
.srv-chip.is-active{
  background:
    radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.55), rgba(58,160,255,.42) 60%, rgba(11,47,115,.42));
  border-color: rgba(255,255,255,.18);
  color:#fff;
  box-shadow: 0 22px 90px rgba(58,160,255,.18), 0 1px 0 rgba(255,255,255,.12) inset;
}

.srv-search{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-left:auto;
}
#srvSearch{
  width: min(420px, 78vw);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(12,16,26,.46);
  color: rgba(255,255,255,.88);
  font-weight: 900;
  outline: none;
  box-shadow: 0 18px 70px rgba(0,0,0,.34);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
#srvSearch::placeholder{ color: rgba(255,255,255,.46); font-weight: 800; }
#srvSearch:focus{
  border-color: rgba(58,160,255,.28);
  box-shadow: 0 22px 90px rgba(58,160,255,.12), 0 18px 70px rgba(0,0,0,.34);
}

.srv-count{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.72);
  font-weight: 1000;
  white-space: nowrap;
}

/* cards grid */
.srv-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1100px){
  .srv-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .srv-grid{ grid-template-columns: 1fr; }
}

.srv-card{
  position:relative;
  border-radius: 18px;
  padding: 16px 16px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 34px 110px rgba(0,0,0,.38), 0 1px 0 rgba(255,255,255,.10) inset;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  overflow:hidden;
  transition: transform .22s var(--ease-out), border-color .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.srv-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.10) 50%, rgba(255,255,255,0) 60%);
  transform: translateX(-45%) rotate(10deg);
  opacity: 0;
  pointer-events:none;
}
@media (hover:hover){
  .srv-card:hover{
    transform: translateY(-2px);
    border-color: rgba(58,160,255,.18);
    box-shadow: 0 40px 120px rgba(0,0,0,.46), 0 1px 0 rgba(255,255,255,.10) inset;
  }
  .srv-card:hover::before{
    opacity: .9;
    animation: srv-shimmer 1.05s var(--ease-out) both;
  }
}

.srv-card.is-hidden{ display:none; }

.srv-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.srv-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
  font-weight: 1000;
  font-size: 12px;
}
.srv-brand{
  color: rgba(255,255,255,.48);
  font-weight: 900;
  font-size: 12px;
  user-select:none;
  white-space:nowrap;
}
.srv-brand b{ color: rgba(255,255,255,.78); font-weight: 1000; }

.srv-card-title{
  margin: 0 0 8px;
  color:#fff;
  font-weight: 1000;
  font-size: 16px;
  line-height: 1.2;
}
.srv-card-lead{
  margin: 0 0 12px;
  color: rgba(255,255,255,.74);
  font-weight: 850;
  line-height: 1.35;
  font-size: 13px;
}

.srv-card-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 8px;
}
.srv-card-list li{
  position:relative;
  padding-left: 16px;
  color: rgba(255,255,255,.78);
  font-weight: 850;
  font-size: 12.8px;
  line-height: 1.2;
}
.srv-card-list li::before{
  content:"";
  position:absolute;
  left: 2px; top: .52em;
  width: 8px; height: 8px;
  border-radius: 99px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.9));
  box-shadow: 0 0 0 3px rgba(58,160,255,.10);
  transform: translateY(-50%);
}

.srv-card-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-top: 14px;
}
.srv-link{
  text-decoration:none;
  font-weight: 1000;
  color: rgba(255,255,255,.92);
  padding: 10px 12px;
  border-radius: 12px;
  background:
    radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.55), rgba(58,160,255,.42) 60%, rgba(11,47,115,.42));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 70px rgba(58,160,255,.14), 0 1px 0 rgba(255,255,255,.10) inset;
  transition: transform .18s ease, box-shadow .18s ease;
}
.srv-link:hover{ transform: translateY(-1px); box-shadow: 0 22px 90px rgba(58,160,255,.16), 0 1px 0 rgba(255,255,255,.12) inset; }

.srv-more{
  appearance:none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  font-weight: 1000;
  padding: 10px 12px;
  border-radius: 12px;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease;
}
.srv-more:hover{ transform: translateY(-1px); border-color: rgba(58,160,255,.22); }

/* accordion inside card */
.srv-acc{
  margin-top: 10px;
  max-height: 0;
  overflow:hidden;
  transition: max-height .28s var(--ease-out);
}
.srv-card.is-open .srv-acc{ max-height: 260px; }

.srv-acc-in{
  margin-top: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.srv-acc-h{
  font-weight: 1000;
  color:#fff;
  margin-bottom: 6px;
}
.srv-acc-p{
  color: rgba(255,255,255,.72);
  font-weight: 850;
  line-height: 1.35;
  font-size: 13px;
  margin-bottom: 10px;
}
.srv-acc-tags{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.srv-acc-tags span{
  font-weight: 1000;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
}

/* CTA block */
.srv-cta-block{
  margin-top: 16px;
  border-radius: 22px;
  padding: 18px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 34px 110px rgba(0,0,0,.38), 0 1px 0 rgba(255,255,255,.10) inset;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.srv-cta-left{ min-width: min(520px, 100%); }


/* =========================
   CORE (tiles)
   ========================= */
.srv-core{ padding: 18px 0 34px; }

.srv-core-head{ margin-bottom: 14px; }
.srv-core-title{
  margin:0 0 6px;
  font-size: 24px;
  font-weight: 1000;
  color:#fff;
  letter-spacing:.2px;
}
.srv-core-sub{
  margin:0;
  color: rgba(255,255,255,.70);
  font-weight: 850;
  line-height: 1.35;
}

.srv-core-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 1100px){
  .srv-core-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .srv-core-grid{ grid-template-columns: 1fr; }
}

.srv-tile{
  position:relative;
  display:block;
  text-decoration:none;
  border-radius: 20px;
  padding: 16px 16px 14px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 34px 110px rgba(0,0,0,.38), 0 1px 0 rgba(255,255,255,.10) inset;
  transition: transform .22s var(--ease-out), border-color .22s var(--ease-out), box-shadow .22s var(--ease-out);
  overflow:hidden;
  min-height: 140px;
}

.srv-tile::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(58,160,255,.18), rgba(58,160,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  opacity:.0;
  transition: opacity .22s var(--ease-out);
  pointer-events:none;
}

@media (hover:hover){
  .srv-tile:hover{
    transform: translateY(-2px);
    border-color: rgba(58,160,255,.20);
    box-shadow: 0 42px 130px rgba(0,0,0,.46), 0 1px 0 rgba(255,255,255,.10) inset;
  }
  .srv-tile:hover::before{ opacity:1; }
}

.srv-tile.is-main{
  border-color: rgba(107,213,255,.22);
  box-shadow: 0 42px 140px rgba(58,160,255,.18), 0 1px 0 rgba(255,255,255,.12) inset;
}

.srv-ic{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background:
    radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.55), rgba(58,160,255,.42) 60%, rgba(11,47,115,.42));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 70px rgba(58,160,255,.16), 0 1px 0 rgba(255,255,255,.12) inset;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 12px;
}
.srv-ic svg{
  width: 22px; height: 22px;
  fill: rgba(255,255,255,.92);
  opacity: .95;
}

.srv-tile-t{
  color:#fff;
  font-weight: 1000;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.srv-tile-d{
  color: rgba(255,255,255,.70);
  font-weight: 850;
  font-size: 13px;
  line-height: 1.35;
  max-width: 34ch;
}
.srv-tile-k{
  position:absolute;
  right: 14px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
  font-weight: 1000;
  font-size: 12px;
}

/* =========================
   SPEC (accordion list)
   ========================= */
.srv-spec{
  margin-top: 14px;
  border-radius: 22px;
  overflow:hidden;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 34px 110px rgba(0,0,0,.34);
}
.srv-spec-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.srv-spec-t{
  font-weight: 1000;
  color:#fff;
  letter-spacing:.2px;
}
.srv-spec-hint{
  color: rgba(255,255,255,.55);
  font-weight: 850;
  font-size: 12px;
}

.srv-acc2-row{
  width:100%;
  text-align:left;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px 16px;
  border:0;
  background: transparent;
  color:#fff;
  cursor:pointer;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.srv-acc2-row:hover{
  background: rgba(255,255,255,.03);
}
.srv-acc2-ic{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 1000;
  color: rgba(255,255,255,.92);
  background:
    radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.45), rgba(58,160,255,.34) 60%, rgba(11,47,115,.34));
  border: 1px solid rgba(255,255,255,.14);
  flex: 0 0 42px;
}
.srv-acc2-name{
  font-weight: 1000;
  color: rgba(255,255,255,.92);
}
.srv-acc2-plus{
  margin-left:auto;
  width: 12px;
  height: 12px;
  position:relative;
  opacity:.85;
}
.srv-acc2-plus::before,
.srv-acc2-plus::after{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
}
.srv-acc2-plus::before{ width: 12px; height: 2px; top:5px; }
.srv-acc2-plus::after{ width: 2px; height: 12px; left:5px; }

.srv-acc2-row.is-open .srv-acc2-plus::after{ display:none; }

.srv-acc2-panel{
  max-height: 0;
  overflow:hidden;
  padding: 0 16px;
  color: rgba(255,255,255,.70);
  font-weight: 850;
  line-height: 1.45;
  font-size: 13px;
  transition: max-height .28s var(--ease-out);
}
.srv-acc2-panel::after{
  content:"";
  display:block;
  height: 14px;
}

/* =========================
   UPGRADE: layout + tech motion
   ========================= */

:root{
  --tech-a: rgba(58,160,255,.40);
  --tech-b: rgba(107,213,255,.35);
  --tech-w: rgba(255,255,255,.12);
}

/* grid: 1 big + 3 small (dashboard vibe) */
.srv-core-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.srv-tile.is-feature{ grid-column: span 1; min-height: 168px; }
@media (max-width: 1100px){
  .srv-core-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srv-tile.is-feature{ grid-column: auto; }
}

/* tile: proper structure */
.srv-tile{
  padding: 18px 18px 16px;
  min-height: 156px;
  display:flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  isolation:isolate;
}

/* tech border (animated) */
.srv-tile::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 20px;
  padding: 1px;
  background:
    conic-gradient(from 180deg,
      rgba(58,160,255,0) 0%,
      rgba(58,160,255,.55) 20%,
      rgba(107,213,255,.45) 40%,
      rgba(255,255,255,.16) 55%,
      rgba(58,160,255,.55) 75%,
      rgba(58,160,255,0) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity:.35;
  pointer-events:none;
  filter: blur(.2px);
}
@media (prefers-reduced-motion:no-preference){
  .srv-tile::after{
    animation: tech-spin 6.5s linear infinite;
  }
}
@keyframes tech-spin{ to{ transform: rotate(360deg); } }

.srv-tile::before{
  opacity: 1; /* включаем фон из твоего before на постоянке */
}

/* hover: lift + glow sweep */
@media (hover:hover){
  .srv-tile:hover{
    transform: translateY(-4px);
    border-color: rgba(58,160,255,.28);
  }
  .srv-tile:hover .srv-ic{
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 24px 90px rgba(58,160,255,.26), 0 1px 0 rgba(255,255,255,.14) inset;
  }
}
.srv-ic{
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), filter .22s var(--ease-out);
}

/* feature tile: stronger */
.srv-tile.is-feature{
  background:
    radial-gradient(900px 360px at 12% 0%, rgba(58,160,255,.18), rgba(58,160,255,0) 60%),
    rgba(12,16,26,.46);
  box-shadow:
    0 46px 160px rgba(58,160,255,.14),
    0 34px 110px rgba(0,0,0,.38),
    0 1px 0 rgba(255,255,255,.10) inset;
}
.srv-tile.is-feature .srv-tile-k{
  background:
    radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.65), rgba(58,160,255,.52) 60%, rgba(11,47,115,.52));
  border-color: rgba(255,255,255,.18);
  color:#fff;
}

/* lock chip to bottom-right always, and make text consistent */
.srv-tile-k{
  margin-top: auto;
  align-self:flex-end;
  position: static;
}

/* typography: less “fat”, more tech */
.srv-tile-t{ font-size: 16px; letter-spacing: .2px; }
.srv-tile-d{
  max-width: none;
  color: rgba(255,255,255,.68);
  font-weight: 800;
}

/* ===== accordion: make it premium ===== */
.srv-spec{ margin-top: 16px; }

.srv-acc2-row{
  position:relative;
  padding: 16px 16px;
  transition: background .2s var(--ease-out), transform .2s var(--ease-out);
}
.srv-acc2-row::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(58,160,255,.16), rgba(58,160,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  opacity:0;
  transition: opacity .22s var(--ease-out);
  pointer-events:none;
}
.srv-acc2-row:hover::before{ opacity:1; }
.srv-acc2-row.is-open{
  background: rgba(255,255,255,.03);
}
.srv-acc2-row.is-open .srv-acc2-ic{
  box-shadow: 0 22px 90px rgba(58,160,255,.22), 0 1px 0 rgba(255,255,255,.12) inset;
}

/* arrow instead of plus */
.srv-acc2-arrow{
  margin-left:auto;
  width: 12px; height: 12px;
  border-right: 2px solid rgba(255,255,255,.75);
  border-bottom: 2px solid rgba(255,255,255,.75);
  transform: rotate(45deg);
  transition: transform .22s var(--ease-out), opacity .22s var(--ease-out);
  opacity:.85;
}
.srv-acc2-row.is-open .srv-acc2-arrow{
  transform: rotate(-135deg);
  opacity: 1;
}

/* panel animation looks “alive” */
.srv-acc2-panel{
  padding: 0 16px;
  transform: translateY(-6px);
  opacity: 0;
  transition: max-height .28s var(--ease-out), opacity .22s var(--ease-out), transform .22s var(--ease-out);
}
.srv-acc2-row.is-open + .srv-acc2-panel{
  opacity: 1;
  transform: translateY(0);
}

/* ===== stagger reveal (less скучно) ===== */
[data-reveal].is-in{ transition-delay: var(--d, 0ms); }
.srv-core-grid > *{ --d: 0ms; }
.srv-core-grid > *:nth-child(1){ --d: 0ms; }
.srv-core-grid > *:nth-child(2){ --d: 80ms; }
.srv-core-grid > *:nth-child(3){ --d: 160ms; }
.srv-core-grid > *:nth-child(4){ --d: 240ms; }

/* ===== subtle tech noise overlay (global for this page) ===== */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  background:
    radial-gradient(circle at 12% 10%, rgba(58,160,255,.10), rgba(58,160,255,0) 35%),
    radial-gradient(circle at 88% 18%, rgba(107,213,255,.08), rgba(107,213,255,0) 40%);
  mix-blend-mode: screen;
  opacity: .35;
  z-index: 0;
}

/* ===== accordion panel content (rich, readable) ===== */
.srv-panel{ padding-top: 12px; }
.srv-panel-row{
  color: rgba(255,255,255,.74);
  font-weight: 850;
  line-height: 1.45;
  font-size: 13px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.srv-panel-row:first-child{ border-top: 0; padding-top: 0; }
.srv-panel-row b{
  color: rgba(255,255,255,.92);
  font-weight: 1000;
}
.srv-panel-note{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(58,160,255,.10);
  border: 1px solid rgba(58,160,255,.18);
  color: rgba(255,255,255,.86);
  font-weight: 950;
  line-height: 1.35;
}

/* small polish */
@media (max-width: 560px){
  .srv-acc2-name{ font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce){
  .srv-card, .srv-chip, .srv-link, .srv-more{ transition:none !important; animation:none !important; }
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px){
  .srv-hero-grid{ grid-template-columns: 1fr; }
  .srv-title{ font-size: 38px; }
}
@media (max-width: 560px){
  .srv-title{ font-size: 30px; }
  .srv-row{ padding: 14px 12px; }
  .srv-num{ width: 42px; height: 42px; }
  .srv-hint{ display:none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1 !important; transform:none !important; filter:none !important; transition:none !important; }
  .srv-row, .srv-num{ transition:none !important; animation:none !important; }
}

/* =========================
   SERVICES HERO — MOBILE COMPACT PATCH
   ========================= */

@media (max-width: 560px){

  /* общий вертикальный ритм */
  .srv-hero{ min-height: unset; }
  .srv-hero-inner{
    padding-top: 16px;
    padding-bottom: 14px;
  }

  /* хлебные крошки компактнее */
  .srv-crumbs{
    font-size: 12px;
    opacity: .88;
    margin-bottom: 10px;
  }

  /* pill (верхняя серая плашка с точкой) */
  .srv-pill{
    padding: 8px 12px;
    border-radius: 999px;
    gap: 8px;
    max-width: 100%;
  }
  .srv-pill span{
    font-size: 13px;
    line-height: 1.2;
  }
  .srv-pill-dot{
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 3px rgba(90,160,255,.18);
    flex: 0 0 8px;
  }

  /* заголовок/подзаголовок компактнее */
  .srv-title{
    margin-top: 10px;
    font-size: clamp(28px, 7.4vw, 38px);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }
  .srv-sub{
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.35;
    opacity: .9;
    max-width: 34ch;
  }

  /* CTA: меньше высота, меньше “воздуха”, аккуратный стек */
  .srv-cta{
    margin-top: 14px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .srv-cta .btn{
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    letter-spacing: .02em;
  }

  /* Trust блок (3 серые плашки) — делаем “чипами” */
  .srv-trust{
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .srv-trust-item{
    padding: 10px 12px;
    border-radius: 18px;
    align-items: center;
    gap: 10px;

    /* если у тебя там уже стекло — оставь,
       иначе этот фон делает их компактнее и аккуратнее */
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px) saturate(1.1);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);
  }
  .srv-trust-ic{
    width: 22px;
    height: 22px;
    border-radius: 10px;
    flex: 0 0 22px;
  }
  .srv-trust-t{
    font-size: 14px;
    line-height: 1.15;
    margin-bottom: 2px;
  }

  /* описание: компактно + обрезка в 1 строку (самое важное!) */
  .srv-trust-d{
    font-size: 12px;
    line-height: 1.2;
    opacity: .78;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* правая карточка в hero — на мобилке обычно лишняя “масса”
     если она у тебя под hero: делаем ее ниже/плотнее */
  .srv-hero-card{
    padding: 14px 14px;
    border-radius: 20px;
  }
  .srv-hero-card-h{ font-size: 14px; }
  .srv-hero-card-p{ font-size: 13px; line-height: 1.35; opacity: .9; }

  .srv-mini{ margin-top: 10px; gap: 8px; }
  .srv-mini-item{ font-size: 12px; }
}

/* =========================
   HERO — MOBILE TYPO TUNE
   ========================= */

@media (max-width: 560px){

  /* Заголовок — заметно компактнее */
  .srv-title{
    font-size: clamp(24px, 6.2vw, 30px);  /* было ~28–38 */
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-top: 8px;
  }

  .srv-sub{
    font-size: 13px;
    line-height: 1.35;
    opacity: .85;
    margin-top: 8px;
    max-width: 100%;     /* вместо 32ch */
  }

}

  /* Чуть меньше вертикального воздуха */
  .srv-hero-inner{
    padding-top: 14px;
    padding-bottom: 12px;
  }

  /* =========================================================
   SERVICES PAGE — LIGHT THEME ONLY OVERRIDES
   Ничего не удаляет, только адаптирует под светлую тему
========================================================= */

:root[data-theme="light"]{
  --srv-ink: rgba(15,23,42,.94);
  --srv-muted: rgba(15,23,42,.66);
  --srv-line: rgba(15,23,42,.08);

  --srv-bg-0: #f6f8fc;
  --srv-bg-1: #eef3f9;
}

/* =========================
   PAGE BACKGROUND
========================= */
:root[data-theme="light"] body{
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%),
    radial-gradient(1000px 520px at 88% 20%, rgba(107,213,255,.07), rgba(107,213,255,0) 60%),
    radial-gradient(900px 520px at 50% 110%, rgba(15,23,42,.06), rgba(15,23,42,0) 65%),
    linear-gradient(180deg, var(--srv-bg-0) 0%, var(--srv-bg-1) 35%, #f4f7fb 100%);
  color: var(--srv-ink);
}

/* global tech glow overlay on body — make softer in light */
:root[data-theme="light"] body::after{
  mix-blend-mode: normal;
  opacity: .12;
}

/* =========================
   HERO — KEEP DARK / READABLE
========================= */
:root[data-theme="light"] .srv-hero-overlay{
  background:
    radial-gradient(circle at 18% 28%, rgba(0,0,0,.58), rgba(0,0,0,.16) 55%, rgba(0,0,0,.48)),
    linear-gradient(90deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.16) 55%, rgba(0,0,0,.12) 100%);
}

:root[data-theme="light"] .srv-crumbs{
  color: rgba(255,255,255,.78);
}
:root[data-theme="light"] .srv-crumbs a{
  color: rgba(255,255,255,.90);
}

:root[data-theme="light"] .srv-pill{
  background: rgba(12,16,26,.46);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.96);
  box-shadow:
    0 18px 48px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .srv-title{
  color: rgba(255,255,255,.96);
  text-shadow: 0 14px 34px rgba(0,0,0,.26);
}

:root[data-theme="light"] .srv-sub{
  color: rgba(255,255,255,.82);
}

:root[data-theme="light"] .srv-cta .btn-ghost{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.94);
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .srv-hero-card{
  background: rgba(12,16,26,.34);
  border-color: rgba(255,255,255,.10);
  box-shadow:
    0 18px 42px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .srv-hero-card-h{
  color: rgba(255,255,255,.94);
}

:root[data-theme="light"] .srv-hero-card-p{
  color: rgba(255,255,255,.80);
}

:root[data-theme="light"] .srv-mini-item{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
}

:root[data-theme="light"] .srv-mini-item span{
  color: rgba(255,255,255,.88);
}

:root[data-theme="light"] .srv-proof-item,
:root[data-theme="light"] .srv-trust-item{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
}

:root[data-theme="light"] .srv-proof-k,
:root[data-theme="light"] .srv-trust-t{
  color: rgba(255,255,255,.94);
}

:root[data-theme="light"] .srv-proof-v,
:root[data-theme="light"] .srv-trust-d{
  color: rgba(255,255,255,.76);
}

/* =========================
   SECTION HEADS
========================= */
:root[data-theme="light"] .srv-h,
:root[data-theme="light"] .srv-core-title,
:root[data-theme="light"] .srv-spec-t{
  color: rgba(15,23,42,.94);
}

:root[data-theme="light"] .srv-h-sub,
:root[data-theme="light"] .srv-core-sub,
:root[data-theme="light"] .srv-spec-hint{
  color: rgba(15,23,42,.66);
}

/* =========================
   LEGACY LIST BLOCK
========================= */
:root[data-theme="light"] .srv-list{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.68),
    rgba(255,255,255,.50)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .srv-row{
  border-top-color: rgba(15,23,42,.06);
}

:root[data-theme="light"] .srv-row::before{
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%),
    linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,0));
}

:root[data-theme="light"] .srv-name{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .srv-desc{
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .srv-hint{
  color: rgba(15,23,42,.48);
}

:root[data-theme="light"] .srv-hint b{
  color: rgba(15,23,42,.78);
}

/* =========================
   TOOLS / SEARCH / CHIPS
========================= */
:root[data-theme="light"] .srv-search input,
:root[data-theme="light"] #srvSearch{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.60);
  color: rgba(15,23,42,.90);
  box-shadow:
    0 10px 22px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .srv-search input::placeholder,
:root[data-theme="light"] #srvSearch::placeholder{
  color: rgba(15,23,42,.46);
}

:root[data-theme="light"] .srv-clear{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.60);
  color: rgba(15,23,42,.74);
}

:root[data-theme="light"] .srv-chip,
:root[data-theme="light"] .srv-count{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.60);
  color: rgba(15,23,42,.84);
  box-shadow:
    0 10px 22px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .srv-chip.is-on,
:root[data-theme="light"] .srv-chip.is-active{
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.72));
  border-color: rgba(58,160,255,.30);
  color: rgba(15,23,42,.92);
  box-shadow:
    0 14px 34px rgba(58,160,255,.10),
    0 0 0 3px rgba(58,160,255,.08),
    0 1px 0 rgba(255,255,255,.96) inset;
}

/* =========================
   DIRECTIONS GRID
========================= */
:root[data-theme="light"] .srv-dir-card{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.64),
    rgba(255,255,255,.46)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .srv-dir-card::before{
  background: radial-gradient(circle at 30% 30%, rgba(58,160,255,.10), rgba(58,160,255,0) 55%);
}

:root[data-theme="light"] .srv-dir-card:hover{
  box-shadow: 0 24px 54px rgba(15,23,42,.10);
}

:root[data-theme="light"] .srv-dir-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .srv-dir-lead{
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .srv-dir-meta{
  color: rgba(15,23,42,.58);
}

/* =========================
   ACCORDION CONTAINERS
========================= */
:root[data-theme="light"] .srv-acc,
:root[data-theme="light"] .srv-spec{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.68),
    rgba(255,255,255,.50)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .srv-acc-item + .srv-acc-item,
:root[data-theme="light"] .srv-spec-head,
:root[data-theme="light"] .srv-acc2-row{
  border-color: rgba(15,23,42,.06);
}

:root[data-theme="light"] .srv-acc-btn,
:root[data-theme="light"] .srv-acc2-row{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .srv-acc-btn:hover,
:root[data-theme="light"] .srv-acc2-row:hover{
  background: rgba(15,23,42,.03);
}

:root[data-theme="light"] .srv-acc-count{
  color: rgba(15,23,42,.58);
  background: rgba(255,255,255,.56);
  border-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .srv-acc-chev{
  border-right-color: rgba(15,23,42,.72);
  border-bottom-color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .srv-acc-lead,
:root[data-theme="light"] .srv-acc-p,
:root[data-theme="light"] .srv-acc2-panel,
:root[data-theme="light"] .srv-panel-row{
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .srv-acc-h,
:root[data-theme="light"] .srv-acc2-name,
:root[data-theme="light"] .srv-panel-row b{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .srv-acc2-plus::before,
:root[data-theme="light"] .srv-acc2-plus::after{
  background: rgba(15,23,42,.74);
}

:root[data-theme="light"] .srv-acc2-arrow{
  border-right-color: rgba(15,23,42,.72);
  border-bottom-color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .srv-acc2-row::before{
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%),
    linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,0));
}

:root[data-theme="light"] .srv-acc2-row.is-open{
  background: rgba(15,23,42,.03);
}

/* =========================
   CARDS INSIDE ACCORDION
========================= */
:root[data-theme="light"] .srv-card{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.64),
    rgba(255,255,255,.46)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .srv-card:hover{
  box-shadow:
    0 22px 52px rgba(15,23,42,.10),
    0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .srv-badge{
  background: rgba(255,255,255,.60);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.78);
}

:root[data-theme="light"] .srv-brand{
  color: rgba(15,23,42,.42);
}
:root[data-theme="light"] .srv-brand b{
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .srv-card-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .srv-card-lead,
:root[data-theme="light"] .srv-card-list li,
:root[data-theme="light"] .srv-card-desc{
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .srv-more{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.58);
  color: rgba(15,23,42,.86);
}

:root[data-theme="light"] .srv-acc-in{
  background: rgba(255,255,255,.42);
  border-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .srv-acc-tags span{
  color: rgba(15,23,42,.78);
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.56);
}

/* =========================
   CORE TILES
========================= */
:root[data-theme="light"] .srv-tile{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.64),
    rgba(255,255,255,.46)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .srv-tile::before{
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%),
    linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,0));
}

:root[data-theme="light"] .srv-tile.is-feature{
  background:
    radial-gradient(900px 360px at 12% 0%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.52));
  box-shadow:
    0 18px 42px rgba(58,160,255,.08),
    0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .srv-tile-t{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .srv-tile-d{
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .srv-tile-k{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.76);
}

:root[data-theme="light"] .srv-tile.is-feature .srv-tile-k{
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.70));
  border-color: rgba(58,160,255,.26);
  color: rgba(15,23,42,.90);
}

/* =========================
   CTA / ASK BLOCKS
========================= */
:root[data-theme="light"] .srv-ask-card,
:root[data-theme="light"] .srv-cta-block{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.72),
    rgba(255,255,255,.54)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 44px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .srv-link{
  color: rgba(255,255,255,.94);
}

:root[data-theme="light"] .btn-ghost{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.88);
  box-shadow:
    0 10px 22px rgba(15,23,42,.07),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .btn-ghost:hover{
  border-color: rgba(58,160,255,.20);
}

/* empty state */
:root[data-theme="light"] .srv-acc.is-empty::after{
  color: rgba(15,23,42,.66);
}

/* =========================
   MOBILE LIGHT POLISH
========================= */
@media (max-width: 560px){
  :root[data-theme="light"] .srv-title{
    font-size: clamp(24px, 6.2vw, 30px);
  }

  :root[data-theme="light"] .srv-card,
  :root[data-theme="light"] .srv-tile,
  :root[data-theme="light"] .srv-dir-card,
  :root[data-theme="light"] .srv-cta-block,
  :root[data-theme="light"] .srv-ask-card{
    box-shadow:
      0 14px 30px rgba(15,23,42,.08),
      0 1px 0 rgba(255,255,255,.95) inset;
  }
}

/* =========================================================
   SERVICES — light theme icons / number badges darker
========================================================= */

/* плитки core */
:root[data-theme="light"] .srv-ic{
  background: linear-gradient(
    180deg,
    rgba(157,214,255,.95),
    rgba(127,192,255,.88)
  );
  border-color: rgba(88,156,255,.18);
  box-shadow:
    0 10px 24px rgba(88,156,255,.12),
    inset 0 1px 0 rgba(255,255,255,.55);
}

:root[data-theme="light"] .srv-ic svg{
  fill: rgba(26,43,77,.88);
  opacity: 1;
}

/* номера в списке */
:root[data-theme="light"] .srv-num,
:root[data-theme="light"] .srv-acc-badge,
:root[data-theme="light"] .srv-acc2-ic{
  background: linear-gradient(
    180deg,
    rgba(157,214,255,.95),
    rgba(127,192,255,.88)
  );
  border-color: rgba(88,156,255,.18);
  color: rgba(26,43,77,.88);
  box-shadow:
    0 10px 24px rgba(88,156,255,.12),
    inset 0 1px 0 rgba(255,255,255,.55);
}

/* иконки-маркеры в hero/right-card и trust-блоках */
:root[data-theme="light"] .srv-mini-item i,
:root[data-theme="light"] .srv-trust-ic,
:root[data-theme="light"] .srv-dir-ico{
  background: linear-gradient(
    180deg,
    rgba(157,214,255,.92),
    rgba(127,192,255,.84)
  );
  border-color: rgba(88,156,255,.18);
  box-shadow:
    0 0 0 3px rgba(88,156,255,.10),
    0 8px 18px rgba(88,156,255,.10);
}

:root[data-theme="light"] .srv-mini-item i::after,
:root[data-theme="light"] .srv-trust-ic::after,
:root[data-theme="light"] .srv-dir-ico::after{
  background: rgba(26,43,77,.88);
  opacity: .92;
}

/* точки в карточках/списках */
:root[data-theme="light"] .srv-card-dot,
:root[data-theme="light"] .srv-card-list li::before{
  background: rgba(67,123,214,.92);
  box-shadow: 0 0 0 3px rgba(88,156,255,.10);
}

/* hover — совсем немного темнее, без белого текста */
@media (hover:hover){
  :root[data-theme="light"] .srv-row:hover .srv-num,
  :root[data-theme="light"] .srv-acc2-row.is-open .srv-acc2-ic,
  :root[data-theme="light"] .srv-tile:hover .srv-ic{
    background: linear-gradient(
      180deg,
      rgba(143,206,255,.98),
      rgba(113,182,248,.92)
    );
    color: rgba(20,36,68,.92);
  }
}


/* ===== static/css/pages/vacancies-page.css ===== */

/* =========================================================
   vacancies-page.css — PREMIUM (YAZVI)
   Dark premium + liquid glass + accordion + reveal
   ========================================================= */

:root{
  --glass-blur: 14px;
  --glass-sat: 1.15;

  --vac-ink: rgba(255,255,255,.92);
  --vac-muted: rgba(255,255,255,.66);
  --vac-line: rgba(255,255,255,.10);

  --vac-accent: #3aa0ff;
  --vac-accent2:#6bd5ff;

  --vac-bg-0:#05070d;
  --vac-bg-1:#070b14;

  --ease-out: cubic-bezier(.18,.88,.18,1);
}

@media (max-width: 900px){
  :root{ --glass-blur: 10px; --glass-sat: 1.08; }
}
@media (prefers-reduced-motion: reduce){
  :root{ --glass-blur: 0px; --glass-sat: 1; }
}

body{
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(58,160,255,.18), rgba(58,160,255,0) 60%),
    radial-gradient(1000px 520px at 88% 20%, rgba(107,213,255,.12), rgba(107,213,255,0) 60%),
    radial-gradient(900px 520px at 50% 110%, rgba(0,0,0,.55), rgba(0,0,0,0) 65%),
    linear-gradient(180deg, var(--vac-bg-0) 0%, var(--vac-bg-1) 35%, #05060c 100%);
  color: var(--vac-ink);
}
html, body{ overflow-x:hidden; overflow-y:auto; }

/* =========================
   HERO
   ========================= */
.vac-hero{
  position:relative;
  padding: 44px 0 26px;
  overflow:hidden;
  min-height: 520px;

  --p-shift: 0px;
  --p-scale: 1.08;
}
.vac-hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  will-change: transform;
  transform: translate3d(0, var(--p-shift), 0) scale(var(--p-scale));
  backface-visibility:hidden;
  transform-origin:center;
}
.vac-hero-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 28%, rgba(0,0,0,.74), rgba(0,0,0,.22) 55%, rgba(0,0,0,.72)),
    linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.26) 55%, rgba(0,0,0,.20) 100%);
}
.vac-hero-inner{ position:relative; z-index:2; }

.vac-crumbs{
  display:flex;
  gap:8px;
  align-items:center;
  color: rgba(255,255,255,.78);
  font-weight:900;
  margin-bottom: 14px;
}
.vac-crumbs a{ color: rgba(255,255,255,.88); text-decoration:none; }
.vac-crumbs a:hover{ opacity:.88; }

.vac-hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 18px;
  align-items: stretch;
}

.vac-pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  font-weight: 1000;
  color:#fff;
}
.vac-pill-dot{
  width: 10px; height: 10px; border-radius: 99px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.95) 60%, rgba(11,47,115,.96));
  box-shadow:
    0 0 0 3px rgba(58,160,255,.14),
    0 18px 70px rgba(58,160,255,.22);
}

.vac-title{
  margin: 14px 0 10px;
  color:#fff;
  font-size: 48px;
  font-weight: 1000;
  line-height: 1.03;
  letter-spacing: .2px;
}
.vac-sub{
  margin:0 0 18px;
  color: rgba(255,255,255,.78);
  font-weight: 800;
  max-width: 780px;
  line-height: 1.35;
}

.vac-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.vac-cta .btn{
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 1000;
  letter-spacing: .18px;
}

.btn-blue{
  background:
    radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.95), rgba(58,160,255,.92) 60%, rgba(11,47,115,.96));
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  box-shadow:
    0 20px 70px rgba(58,160,255,.24),
    0 1px 0 rgba(255,255,255,.16) inset;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn-blue:hover{
  transform: translateY(-1px);
  box-shadow:
    0 26px 90px rgba(58,160,255,.28),
    0 1px 0 rgba(255,255,255,.18) inset;
}

.btn-ghost{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
  box-shadow:
    0 16px 44px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.08) inset;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn-ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(58,160,255,.22);
}

/* right hero card */
.vac-hero-card{
  height:100%;
  border-radius: 18px;
  padding: 18px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  position: relative;
  overflow:hidden;
}
.vac-hero-card::before{
  content:"";
  position:absolute;
  left:-40%;
  top:-55%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
  opacity: .55;
  pointer-events:none;
  filter: blur(2px);
}
.vac-hero-card-h{
  color:#fff;
  font-weight:1000;
  font-size: 16px;
  margin-bottom: 10px;
  position:relative;
  z-index:2;
}
.vac-hero-card-p{
  color: rgba(255,255,255,.78);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
  position:relative;
  z-index:2;
}

.vac-mini{
  display:grid;
  gap: 10px;
  position:relative;
  z-index:2;
}
.vac-mini-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.vac-mini-item i{
  width: 22px; height: 22px; border-radius: 8px;
  background: rgba(58,160,255,.16);
  border: 1px solid rgba(58,160,255,.20);
  box-shadow: 0 0 0 3px rgba(58,160,255,.10);
  display:inline-block;
  position:relative;
  flex: 0 0 22px;
}
.vac-mini-item i::after{
  content:"";
  position:absolute;
  inset:5px;
  border-radius:6px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.9));
}
.vac-mini-item span{
  color: rgba(255,255,255,.82);
  font-weight: 900;
  line-height: 1.25;
}

/* =========================
   SECTION
   ========================= */
.vac-section{ padding: 26px 0 40px; }

.vac-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.vac-h{
  font-size: 20px;
  font-weight: 1000;
  color:#fff;
  letter-spacing:.2px;
}
.vac-h-sub{
  color: rgba(255,255,255,.66);
  font-weight: 800;
  line-height: 1.35;
  max-width: 820px;
}

/* =========================
   GRID
   ========================= */
.vac-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;

  content-visibility:auto;
  contain-intrinsic-size: 1200px;
}

.vac-grid{
  content-visibility: visible;
  contain: none;
}

.vac-grid{
  gap: 26px; /* было 18px */
}

/* =========================
   CARD
   ========================= */
.vac-card{
  position:relative;
  overflow:hidden;
  border-radius: 22px;

  background: rgba(12,16,26,.56);
  border: 1px solid rgba(255,255,255,.10);

  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);

  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.08) inset;

  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
  transform: translateZ(0);
  contain: layout paint style;
}

/* top highlight */
.vac-card::before{
  content:"";
  position:absolute;
  left:-40%;
  top:-55%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
  opacity: .55;
  pointer-events:none;
  filter: blur(2px);
}

/* liquid border */
.vac-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 22px;
  pointer-events:none;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(58,160,255,.10) inset;
}

.vac-card:hover{
  transform: translateY(-3px);
  box-shadow:
    0 26px 90px rgba(0,0,0,.62),
    0 1px 0 rgba(255,255,255,.10) inset;
}

.vac-card-inner{ padding: 16px 16px 14px; position: relative; z-index: 2; }


.vac-top{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  justify-content: space-between;
}

.vac-title2{
  margin: 0;
  font-weight: 1000;
  color: rgba(255,255,255,.95);
  font-size: 18px;
  line-height: 1.15;
}

.vac-date{
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.72);
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

.vac-meta{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.vac-chip{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.vac-chip b{
  display:block;
  color: rgba(255,255,255,.92);
  font-weight: 1000;
  font-size: 12px;
  letter-spacing: .12px;
}
.vac-chip span{
  display:block;
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.2;
}

/* salary glow */
.vac-chip.is-salary{
  border-color: rgba(58,160,255,.22);
  box-shadow:
    0 22px 76px rgba(58,160,255,.18),
    0 1px 0 rgba(255,255,255,.08) inset;
}

/* =========================
   ACCORDION
   ========================= */
.vac-acc{
  margin-top: 12px;
  display:grid;
  gap: 10px;
}

.vac-acc-item{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.vac-acc-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;

  border:0;
  background: transparent;
  color: rgba(255,255,255,.90);

  padding: 12px 12px;
  cursor:pointer;

  font-weight: 1000;
  letter-spacing: .12px;
}

.vac-acc-btn .label{
  display:flex;
  align-items:center;
  gap: 10px;
}
.vac-acc-btn .dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.9));
  box-shadow: 0 0 0 3px rgba(58,160,255,.12);
}

.vac-acc-btn .chev{
  width: 36px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 16px;
  line-height: 1;
  color: rgba(255,255,255,.84);
  transition: transform .22s var(--ease-out), background .22s var(--ease-out);
}

.vac-acc-item[aria-expanded="true"] .vac-acc-btn .chev{
  transform: rotate(180deg);
  background: rgba(58,160,255,.10);
}

.vac-acc-panel{
  max-height: 0px;
  overflow:hidden;
  transition: max-height .36s var(--ease-out);
}

.vac-acc-panel-inner{
  padding: 0 12px 12px;
  color: rgba(255,255,255,.74);
  font-weight: 800;
  line-height: 1.35;
  font-size: 13px;
}

.vac-acc-panel-inner ul{
  margin: 10px 0 0;
  padding-left: 16px;
}
.vac-acc-panel-inner li{ margin: 6px 0; }

/* =========================
   FOOTER / APPLY
   ========================= */
.vac-foot{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vac-apply{
  display:flex;
  gap: 10px;
  align-items:center;
}

.vac-apply .btn{
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 1000;
  letter-spacing: .18px;
}

.vac-note{
  color: rgba(255,255,255,.58);
  font-weight: 900;
  font-size: 12px;
}

/* =========================
   STICKY CONTACT BAR
   ========================= */
.vac-sticky{
  position: sticky;
  bottom: 10px;
  z-index: 50;
  margin-top: 22px;
}

.vac-sticky-inner{
  border-radius: 18px;
  padding: 14px 14px;

  background: rgba(10,14,22,.55);
  border: 1px solid rgba(255,255,255,.10);

  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);

  box-shadow:
    0 28px 90px rgba(0,0,0,.50),
    0 1px 0 rgba(255,255,255,.10) inset;

  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vac-sticky-title{
  font-weight: 1000;
  color:#fff;
  letter-spacing:.2px;
}
.vac-sticky-sub{
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  line-height: 1.35;
}

.vac-phones{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vac-phone{
  display:inline-flex;
  align-items:center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 999px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  text-decoration:none;
  font-weight: 1000;

  box-shadow:
    0 16px 44px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.08) inset;

  transition: transform .18s ease, border-color .18s ease;
}
.vac-phone:hover{
  transform: translateY(-1px);
  border-color: rgba(58,160,255,.22);
}

/* =========================
   REVEAL
   ========================= */
[data-reveal]{
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(.985);
  filter: blur(6px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out),
    filter .7s var(--ease-out);
  will-change: transform, opacity, filter;
}
[data-reveal].is-in{
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}
/* ===== CARD TOP (fixed layout) ===== */
.vac-top{
  display:grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 10px 12px;
  align-items:start;
}

.vac-title2{
  grid-column: 1 / -1;          /* заголовок всегда на всю ширину */
  margin: 0;
  font-weight: 1000;
  color: rgba(255,255,255,.95);
  font-size: 18px;
  line-height: 1.18;
}

.vac-date{
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  justify-self:start;

  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.72);
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

/* HOT badge (always top-right in row 2) */
.vac-hot{
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  justify-self:end;
  align-self:center;

  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:7px 10px;
  border-radius:999px;

  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;

  color:rgba(255,255,255,.94);
  background:linear-gradient(135deg, rgba(255,65,105,.95), rgba(255,140,0,.92));
  box-shadow:
    0 10px 22px rgba(255,80,90,.18),
    inset 0 1px 0 rgba(255,255,255,.22);

  position:relative;
  overflow:hidden;
}

.vac-hot::before{
  content:"";
  position:absolute;
  inset:-40% -20%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent);
  transform:translateX(-120%) rotate(20deg);
  animation:vacHotShine 2.6s ease-in-out infinite;
  pointer-events:none;
}

.vac-hot::after{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(255,255,255,.85);
  box-shadow:0 0 0 4px rgba(255,255,255,.14);
}


.vac-chip{
  min-height: 70px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.vac-acc-btn{
  min-height: 54px;
}



@media (prefers-reduced-motion: reduce){
  .vac-hot::before{ animation:none; }
}

@keyframes vacHotShine{
  0%, 45% { transform:translateX(-120%) rotate(20deg); opacity:.0; }
  55%     { opacity:1; }
  100%    { transform:translateX(120%) rotate(20deg); opacity:0; }
}


/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px){
  .vac-hero-grid{ grid-template-columns: 1fr; }
  .vac-title{ font-size: 38px; }
  .vac-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .vac-title{ font-size: 30px; }
  .vac-meta{ grid-template-columns: 1fr; }
  .vac-date{ display:none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1 !important; transform:none !important; filter:none !important; transition:none !important; }
  .vac-card, .vac-card *{ transition:none !important; animation:none !important; }
}

/* =========================
   HOT CARD — CLEAN PREMIUM (NO DIRTY FILL)
   ========================= */

/* 1) бейдж "Срочно" оставляем, он норм — только чуть спокойнее */
.vac-hot{
  background: linear-gradient(135deg,
    rgba(255, 80, 80, .96),
    rgba(255, 160, 80, .92)
  );
  box-shadow:
    0 10px 22px rgba(255, 90, 80, .16),
    inset 0 1px 0 rgba(255,255,255,.22);
}

/* 2) сама карточка — НЕ заливаем оранжевым, только кайма + glow */
.vac-card.is-hot{
  border-color: rgba(255, 150, 110, .22);
  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.08) inset,
    0 18px 70px rgba(255, 110, 80, .12);
}

/* 3) тёплая каёмка “жидкий огонь” (аккуратно, только по периметру) */
.vac-card.is-hot::after{
  border: 1px solid transparent;
  border-radius: 22px;

  background:
    linear-gradient(135deg,
      rgba(255, 95, 85, .55),
      rgba(255, 175, 90, .45),
      rgba(107, 213, 255, .08)
    ) border-box;

  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  box-shadow: 0 0 0 1px rgba(255, 135, 95, .10) inset;
}

/* 4) лёгкая тёплая подсветка сверху (без “грязи” по всей карточке) */
.vac-card.is-hot::before{
  background:
    radial-gradient(500px 240px at 18% 0%,
      rgba(255, 135, 95, .16),
      rgba(255,255,255,0) 60%
    );
  opacity: .85;
  filter: blur(0px);
}

/* 5) чуть тёплый акцент только на salary-чип (смотрится дорого) */
.vac-card.is-hot .vac-chip.is-salary{
  border-color: rgba(255, 150, 110, .26);
  box-shadow:
    0 22px 76px rgba(255, 120, 90, .14),
    0 1px 0 rgba(255,255,255,.08) inset;
}

/* 6) hover — усиливаем glow, но не превращаем в “пятно” */
.vac-card.is-hot:hover{
  box-shadow:
    0 26px 90px rgba(0,0,0,.62),
    0 1px 0 rgba(255,255,255,.10) inset,
    0 26px 110px rgba(255, 110, 80, .16);
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .vac-hot::before{ animation:none !important; }
}

/* =========================================================
   VACANCIES PAGE — LIGHT THEME ONLY OVERRIDES
   Ничего не удаляет, только адаптирует под светлую тему
========================================================= */

:root[data-theme="light"]{
  --vac-ink: rgba(15,23,42,.94);
  --vac-muted: rgba(15,23,42,.66);
  --vac-line: rgba(15,23,42,.08);

  --vac-bg-0: #f6f8fc;
  --vac-bg-1: #eef3f9;
}

/* =========================
   PAGE BACKGROUND
========================= */
:root[data-theme="light"] body{
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%),
    radial-gradient(1000px 520px at 88% 20%, rgba(107,213,255,.07), rgba(107,213,255,0) 60%),
    radial-gradient(900px 520px at 50% 110%, rgba(15,23,42,.06), rgba(15,23,42,0) 65%),
    linear-gradient(180deg, var(--vac-bg-0) 0%, var(--vac-bg-1) 35%, #f4f7fb 100%);
  color: var(--vac-ink);
}

/* =========================
   HERO — KEEP DARK / READABLE
========================= */
:root[data-theme="light"] .vac-hero-overlay{
  background:
    radial-gradient(circle at 18% 28%, rgba(0,0,0,.58), rgba(0,0,0,.16) 55%, rgba(0,0,0,.48)),
    linear-gradient(90deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.16) 55%, rgba(0,0,0,.12) 100%);
}

:root[data-theme="light"] .vac-crumbs{
  color: rgba(255,255,255,.78);
}
:root[data-theme="light"] .vac-crumbs a{
  color: rgba(255,255,255,.90);
}

:root[data-theme="light"] .vac-pill{
  background: rgba(12,16,26,.46);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.96);
  box-shadow:
    0 18px 48px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .vac-title{
  color: rgba(255,255,255,.96);
  text-shadow: 0 14px 34px rgba(0,0,0,.26);
}

:root[data-theme="light"] .vac-sub{
  color: rgba(255,255,255,.82);
}

:root[data-theme="light"] .vac-cta .btn-ghost{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.94);
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .vac-hero-card{
  background: rgba(12,16,26,.34);
  border-color: rgba(255,255,255,.10);
  box-shadow:
    0 18px 42px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .vac-hero-card-h{
  color: rgba(255,255,255,.94);
}

:root[data-theme="light"] .vac-hero-card-p{
  color: rgba(255,255,255,.80);
}

:root[data-theme="light"] .vac-mini-item{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
}

:root[data-theme="light"] .vac-mini-item span{
  color: rgba(255,255,255,.88);
}

/* =========================
   SECTION HEADS
========================= */
:root[data-theme="light"] .vac-h{
  color: rgba(15,23,42,.94);
}

:root[data-theme="light"] .vac-h-sub{
  color: rgba(15,23,42,.66);
}

/* =========================
   GRID CARDS
========================= */
:root[data-theme="light"] .vac-card{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.64),
    rgba(255,255,255,.46)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.10),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .vac-card::before{
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.34), rgba(255,255,255,0) 55%);
  opacity: .7;
}

:root[data-theme="light"] .vac-card::after{
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 0 0 1px rgba(58,160,255,.06) inset;
}

:root[data-theme="light"] .vac-card:hover{
  box-shadow:
    0 22px 52px rgba(15,23,42,.12),
    0 1px 0 rgba(255,255,255,.96) inset;
}

:root[data-theme="light"] .vac-title2{
  color: rgba(15,23,42,.94);
}

:root[data-theme="light"] .vac-date{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.68);
  box-shadow:
    0 10px 22px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,.94);
}

/* =========================
   META CHIPS
========================= */
:root[data-theme="light"] .vac-chip{
  background: rgba(255,255,255,.52);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 10px 22px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .vac-chip b{
  color: rgba(15,23,42,.90);
}

:root[data-theme="light"] .vac-chip span{
  color: rgba(15,23,42,.74);
}

:root[data-theme="light"] .vac-chip.is-salary{
  border-color: rgba(58,160,255,.22);
  box-shadow:
    0 14px 34px rgba(58,160,255,.10),
    0 1px 0 rgba(255,255,255,.94) inset;
}

/* =========================
   ACCORDION
========================= */
:root[data-theme="light"] .vac-acc-item{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.40);
  box-shadow:
    0 8px 18px rgba(15,23,42,.05),
    0 1px 0 rgba(255,255,255,.92) inset;
}

:root[data-theme="light"] .vac-acc-btn{
  color: rgba(15,23,42,.90);
}

:root[data-theme="light"] .vac-acc-btn .chev{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.60);
  color: rgba(15,23,42,.78);
  box-shadow:
    0 8px 18px rgba(15,23,42,.05),
    inset 0 1px 0 rgba(255,255,255,.94);
}

:root[data-theme="light"] .vac-acc-item[aria-expanded="true"] .vac-acc-btn .chev{
  background: rgba(58,160,255,.10);
}

:root[data-theme="light"] .vac-acc-panel-inner{
  color: rgba(15,23,42,.72);
}

/* =========================
   FOOT / NOTE / APPLY
========================= */
:root[data-theme="light"] .vac-note{
  color: rgba(15,23,42,.52);
}

:root[data-theme="light"] .btn-ghost{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.88);
  box-shadow:
    0 10px 22px rgba(15,23,42,.07),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .btn-ghost:hover{
  border-color: rgba(58,160,255,.20);
}

/* =========================
   STICKY CONTACT BAR
========================= */
:root[data-theme="light"] .vac-sticky-inner{
  background: rgba(255,255,255,.72);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 44px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .vac-sticky-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .vac-sticky-sub{
  color: rgba(15,23,42,.70);
}

:root[data-theme="light"] .vac-phone{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.88);
  box-shadow:
    0 10px 22px rgba(15,23,42,.07),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .vac-phone:hover{
  border-color: rgba(58,160,255,.20);
}

/* =========================
   HOT BADGE / HOT CARD
========================= */
:root[data-theme="light"] .vac-hot{
  color: rgba(255,255,255,.96);
  box-shadow:
    0 10px 22px rgba(255,90,80,.12),
    inset 0 1px 0 rgba(255,255,255,.20);
}

/* hot card in light theme — subtle, not dirty */
:root[data-theme="light"] .vac-card.is-hot{
  border-color: rgba(255,150,110,.18);
  box-shadow:
    0 18px 42px rgba(15,23,42,.10),
    0 1px 0 rgba(255,255,255,.94) inset,
    0 14px 34px rgba(255,110,80,.08);
}

:root[data-theme="light"] .vac-card.is-hot::after{
  box-shadow: 0 0 0 1px rgba(255,135,95,.06) inset;
}

:root[data-theme="light"] .vac-card.is-hot::before{
  background:
    radial-gradient(500px 240px at 18% 0%,
      rgba(255,135,95,.08),
      rgba(255,255,255,0) 60%
    );
  opacity: .9;
}

:root[data-theme="light"] .vac-card.is-hot .vac-chip.is-salary{
  border-color: rgba(255,150,110,.18);
  box-shadow:
    0 12px 28px rgba(255,120,90,.08),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .vac-card.is-hot:hover{
  box-shadow:
    0 22px 52px rgba(15,23,42,.12),
    0 1px 0 rgba(255,255,255,.96) inset,
    0 18px 42px rgba(255,110,80,.10);
}

/* =========================
   MOBILE LIGHT POLISH
========================= */
@media (max-width: 560px){
  :root[data-theme="light"] .vac-title{
    font-size: 30px;
  }

  :root[data-theme="light"] .vac-card,
  :root[data-theme="light"] .vac-sticky-inner{
    box-shadow:
      0 14px 30px rgba(15,23,42,.08),
      0 1px 0 rgba(255,255,255,.95) inset;
  }
}

.vac-card{
  /* УБРАТЬ ЭТО */
  contain: layout paint style;
}

/* ===== static/css/pages/contacts-page.css ===== */

/* =========================================================
   contacts-page.css — PREMIUM (YAZVI)
   Dark premium + liquid glass + map frame + gallery
   ========================================================= */

:root{
  --glass-blur: 14px;
  --glass-sat: 1.15;

  --ct-ink: rgba(255,255,255,.92);
  --ct-muted: rgba(255,255,255,.66);
  --ct-line: rgba(255,255,255,.10);

  --ct-accent: #3aa0ff;
  --ct-accent2:#6bd5ff;

  --ct-bg-0:#05070d;
  --ct-bg-1:#070b14;

  --ease-out: cubic-bezier(.18,.88,.18,1);
}

@media (max-width: 900px){
  :root{ --glass-blur: 10px; --glass-sat: 1.08; }
}
@media (prefers-reduced-motion: reduce){
  :root{ --glass-blur: 0px; --glass-sat: 1; }
}

body{
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(58,160,255,.18), rgba(58,160,255,0) 60%),
    radial-gradient(1000px 520px at 88% 20%, rgba(107,213,255,.12), rgba(107,213,255,0) 60%),
    radial-gradient(900px 520px at 50% 110%, rgba(0,0,0,.55), rgba(0,0,0,0) 65%),
    linear-gradient(180deg, var(--ct-bg-0) 0%, var(--ct-bg-1) 35%, #05060c 100%);
  color: var(--ct-ink);
}
html, body{ overflow-x:hidden; overflow-y:auto; }

/* =========================
   HERO
   ========================= */
.ct-hero{
  position:relative;
  padding: 44px 0 26px;
  overflow:hidden;
  min-height: 520px;

  --p-shift: 0px;
  --p-scale: 1.08;
}
.ct-hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  will-change: transform;
  transform: translate3d(0, var(--p-shift), 0) scale(var(--p-scale));
  backface-visibility:hidden;
  transform-origin:center;
}
.ct-hero-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 28%, rgba(0,0,0,.74), rgba(0,0,0,.22) 55%, rgba(0,0,0,.72)),
    linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.26) 55%, rgba(0,0,0,.20) 100%);
}
.ct-hero-inner{ position:relative; z-index:2; }

.ct-crumbs{
  display:flex;
  gap:8px;
  align-items:center;
  color: rgba(255,255,255,.78);
  font-weight:900;
  margin-bottom: 14px;
}
.ct-crumbs a{ color: rgba(255,255,255,.88); text-decoration:none; }
.ct-crumbs a:hover{ opacity:.88; }

.ct-hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: stretch;
}

.ct-pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  font-weight: 1000;
  color:#fff;
}
.ct-pill-dot{
  width: 10px; height: 10px; border-radius: 99px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.95) 60%, rgba(11,47,115,.96));
  box-shadow:
    0 0 0 3px rgba(58,160,255,.14),
    0 18px 70px rgba(58,160,255,.22);
}

.ct-title{
  margin: 14px 0 10px;
  color:#fff;
  font-size: 48px;
  font-weight: 1000;
  line-height: 1.03;
}
.ct-sub{
  margin:0 0 18px;
  color: rgba(255,255,255,.78);
  font-weight: 800;
  max-width: 800px;
  line-height: 1.35;
}

.ct-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ct-cta .btn{
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 1000;
  letter-spacing: .18px;
}

.btn-blue{
  background:
    radial-gradient(140% 160% at 30% 15%, rgba(107,213,255,.95), rgba(58,160,255,.92) 60%, rgba(11,47,115,.96));
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  box-shadow:
    0 20px 70px rgba(58,160,255,.24),
    0 1px 0 rgba(255,255,255,.16) inset;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-blue:hover{
  transform: translateY(-1px);
  box-shadow:
    0 26px 90px rgba(58,160,255,.28),
    0 1px 0 rgba(255,255,255,.18) inset;
}
.btn-ghost{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
  box-shadow:
    0 16px 44px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.08) inset;
  transition: transform .18s ease, border-color .18s ease;
}
.btn-ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(58,160,255,.22);
}

/* right hero card (quick contacts) */
.ct-hero-card{
  height:100%;
  border-radius: 18px;
  padding: 18px;
  background: rgba(12,16,26,.46);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  position: relative;
  overflow:hidden;
}
.ct-hero-card::before{
  content:"";
  position:absolute;
  left:-40%;
  top:-55%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
  opacity: .55;
  pointer-events:none;
  filter: blur(2px);
}
.ct-hero-card-h{
  color:#fff;
  font-weight:1000;
  font-size: 16px;
  margin-bottom: 10px;
  position:relative;
  z-index:2;
}
.ct-hero-card-p{
  color: rgba(255,255,255,.78);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
  position:relative;
  z-index:2;
}
.ct-mini{
  display:grid;
  gap: 10px;
  position:relative;
  z-index:2;
}
.ct-mini-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.ct-mini-item b{
  display:block;
  font-weight:1000;
  color: rgba(255,255,255,.92);
  font-size: 12px;
  letter-spacing:.12px;
}
.ct-mini-item a{
  color: rgba(255,255,255,.86);
  text-decoration:none;
  font-weight: 1000;
}
.ct-mini-item a:hover{ opacity:.9; }
.ct-mini-item span{
  display:block;
  margin-top: 4px;
  color: rgba(255,255,255,.66);
  font-weight: 800;
  font-size: 12px;
}

/* =========================
   CONTENT GRID
   ========================= */
.ct-section{ padding: 26px 0 40px; }

.ct-grid{
  display:grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 18px;

  content-visibility:auto;
  contain-intrinsic-size: 1200px;
}

/* card base */
.ct-card{
  position:relative;
  overflow:hidden;
  border-radius: 22px;

  background: rgba(12,16,26,.56);
  border: 1px solid rgba(255,255,255,.10);

  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);

  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.08) inset;

  transform: translateZ(0);
}

.ct-card::before{
  content:"";
  position:absolute;
  left:-40%;
  top:-55%;
  width:120%;
  height:120%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
  opacity:.55;
  pointer-events:none;
  filter: blur(2px);
}

.ct-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:22px;
  pointer-events:none;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(58,160,255,.10) inset;
}

.ct-card-inner{ position:relative; z-index:2; padding: 16px 16px 14px; }

.ct-card-h{
  font-weight:1000;
  color:#fff;
  font-size: 16px;
  margin-bottom: 10px;
}

/* info list */
.ct-info{
  display:grid;
  gap: 10px;
}
.ct-info-row{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.ct-ico{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(58,160,255,.14);
  border: 1px solid rgba(58,160,255,.18);
  box-shadow: 0 0 0 3px rgba(58,160,255,.10);
  flex: 0 0 34px;
  position:relative;
}
.ct-ico::after{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:10px;
  background: radial-gradient(circle at 30% 30%, rgba(107,213,255,1), rgba(58,160,255,.9));
}
.ct-info-row b{
  display:block;
  font-weight:1000;
  color: rgba(255,255,255,.92);
  font-size: 12px;
  letter-spacing:.12px;
}
.ct-info-row span{
  display:block;
  margin-top: 4px;
  color: rgba(255,255,255,.76);
  font-weight: 900;
  line-height: 1.25;
}
.ct-note{
  margin-top: 6px;
  color: rgba(255,255,255,.58);
  font-weight: 800;
  font-size: 12px;
}

/* departments */
.ct-deps{ display:grid; gap: 10px; }
.ct-dep{
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.ct-dep h4{
  margin:0;
  font-weight:1000;
  color:#fff;
  font-size: 14px;
}
.ct-dep p{
  margin:8px 0 10px;
  color: rgba(255,255,255,.70);
  font-weight: 800;
  line-height: 1.35;
  font-size: 13px;
}
.ct-dep-links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ct-link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  text-decoration:none;
  font-weight: 1000;
  box-shadow:
    0 16px 44px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.08) inset;
}
.ct-link:hover{ opacity:.92; }

/* map frame */
.ct-map{
  border-radius: 22px;
  aspect-ratio: 16/11;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 28px 90px rgba(0,0,0,.52);
  position: relative; /* важно */
  overflow: hidden;
}

/* если вдруг iframe ещё где-то остался */
.ct-map iframe{
  border:0;
  display:block;
  border-radius: inherit;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index: 1;
}

/* НАСТОЯЩАЯ карта через API */
.ct-map-canvas{
  width:100%;
  height:100%;
  border-radius: inherit;

  /* важно: не надо второй рамки/тени — это делает .ct-map */
  border: 0;
  box-shadow: none;
  overflow:hidden;
  position: absolute;
  inset: 0;
  z-index: 1;
}


.ct-map-top{
  position: absolute;
  left: 12px;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  z-index: 3;         /* выше карты */
  pointer-events: none;
}
.ct-map-title{
  pointer-events:none;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(8,10,16,.58);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  font-weight:1000;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 18px 60px rgba(0,0,0,.36);
}
.ct-map-open{
  color: #0b0f1a;
  pointer-events:auto;
  text-decoration:none;
}

/* gallery */
.ct-gallery{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ct-shot{
  position:relative;
  overflow:hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
  aspect-ratio: 16/10;
  cursor:pointer;
}
.ct-shot img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  transition: transform .25s ease;
}
.ct-shot:hover img{ transform: scale(1.08); }
.ct-shot::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0) 72%);
  opacity:.75;
}
.ct-cap{
  position:absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  z-index:2;
  color: rgba(255,255,255,.92);
  font-weight: 1000;
  font-size: 12px;
}

/* how-to-get */
.ct-steps{ display:grid; gap: 10px; }
.ct-step{
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.ct-step h4{ margin:0; color:#fff; font-weight:1000; font-size: 14px; }
.ct-step p{ margin:8px 0 0; color: rgba(255,255,255,.70); font-weight: 800; line-height:1.35; font-size: 13px; }

/* =========================
   LIGHTBOX (local)
   ========================= */
.ct-lightbox{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.ct-lightbox.is-open{ display:block; }
.ct-lightbox-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.72);
}
.ct-lightbox-dialog{
  position:absolute;
  inset: 40px;
  margin:auto;
  max-width: 1100px;
  max-height: calc(100vh - 80px);

  background: rgba(10,14,22,.82);
  border-radius: 18px;
  overflow:hidden;
  display:flex;
  flex-direction: column;

  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);

  box-shadow: 0 30px 120px rgba(0,0,0,.65);
}
.ct-lightbox-dialog img{
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display:block;
  background: transparent;
}
.ct-lightbox-cap{
  flex: 0 0 auto;
  padding: 12px 14px;
  color: rgba(255,255,255,.88);
  font-weight: 900;
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.08);
}
.ct-lightbox-close{
  position:absolute;
  right: 10px;
  top: 10px;
  width: 44px;
  height: 44px;
  border:0;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  color:#fff;
  font-size: 24px;
  cursor:pointer;

  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

/* =========================
   STICKY CTA
   ========================= */
.ct-sticky{
  position: sticky;
  bottom: 10px;
  z-index: 50;
  margin-top: 18px;
}
.ct-sticky-inner{
  border-radius: 18px;
  padding: 14px 14px;

  background: rgba(10,14,22,.55);
  border: 1px solid rgba(255,255,255,.10);

  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);

  box-shadow:
    0 28px 90px rgba(0,0,0,.50),
    0 1px 0 rgba(255,255,255,.10) inset;

  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ct-sticky-title{ font-weight:1000; color:#fff; }
.ct-sticky-sub{
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  line-height: 1.35;
}
.ct-acts{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ct-act{
  display:inline-flex;
  align-items:center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 999px;

  text-decoration:none;
  font-weight: 1000;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);

  box-shadow:
    0 16px 44px rgba(0,0,0,.28),
    0 1px 0 rgba(255,255,255,.08) inset;

  transition: transform .18s ease, border-color .18s ease;
}
.ct-act:hover{
  transform: translateY(-1px);
  border-color: rgba(58,160,255,.22);
}

/* =========================
   REVEAL
   ========================= */
[data-reveal]{
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(.985);
  filter: blur(6px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out),
    filter .7s var(--ease-out);
  will-change: transform, opacity, filter;
}
[data-reveal].is-in{
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}



/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px){
  .ct-hero-grid{ grid-template-columns: 1fr; }
  .ct-title{ font-size: 38px; }
  .ct-grid{ grid-template-columns: 1fr; }
  .ct-gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .ct-title{ font-size: 30px; }
  .ct-gallery{ grid-template-columns: 1fr; }
  .ct-lightbox-dialog{ inset: 14px; max-height: calc(100vh - 28px); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1 !important; transform:none !important; filter:none !important; transition:none !important; }
  .ct-shot img{ transition:none !important; }
}

/* =========================
   CONTACTS HERO — MOBILE FIX (NO LAYOUT SHIFT)
========================= */

@media (max-width: 560px){

  /* важно: не даём детям раздувать сетку */
  .ct-hero-grid,
  .ct-hero-left,
  .ct-hero-right{
    min-width: 0;
  }

  /* 1) Плашка: 1 строка + троеточие */
  .ct-pill{
    width: 100%;
    max-width: 100%;
    min-width: 0;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    padding: 9px 12px;
  }
  .ct-pill span:last-child{
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 2) CTA: одна строка, но скролл ТОЛЬКО ВНУТРИ */
  .ct-cta{
    width: 100%;
    max-width: 100%;
    min-width: 0;

    display: flex;
    flex-wrap: nowrap;
    gap: 10px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;

    padding: 2px 2px 8px;  /* чтобы тени не резались */
    margin: 0;

    scrollbar-width: none;
  }
  .ct-cta::-webkit-scrollbar{ display:none; }

  .ct-cta .btn{
    flex: 0 0 auto;
    white-space: nowrap;

    padding: 12px 14px;
    border-radius: 16px;
    min-height: 46px;
  }

  /* чуть компактнее верх */
  .ct-title{ margin: 12px 0 8px; }
  .ct-sub{ margin: 0 0 14px; }
}


/* =========================================================
   CONTACTS PAGE — LIGHT THEME ONLY OVERRIDES
   Ничего не удаляет, только адаптирует под светлую тему
========================================================= */

:root[data-theme="light"]{
  --ct-ink: rgba(15,23,42,.94);
  --ct-muted: rgba(15,23,42,.66);
  --ct-line: rgba(15,23,42,.08);

  --ct-bg-0: #f6f8fc;
  --ct-bg-1: #eef3f9;
}

/* =========================
   PAGE BACKGROUND
========================= */
:root[data-theme="light"] body{
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%),
    radial-gradient(1000px 520px at 88% 20%, rgba(107,213,255,.07), rgba(107,213,255,0) 60%),
    radial-gradient(900px 520px at 50% 110%, rgba(15,23,42,.06), rgba(15,23,42,0) 65%),
    linear-gradient(180deg, var(--ct-bg-0) 0%, var(--ct-bg-1) 35%, #f4f7fb 100%);
  color: var(--ct-ink);
}

/* =========================
   HERO — KEEP DARK / READABLE
========================= */
:root[data-theme="light"] .ct-hero-overlay{
  background:
    radial-gradient(circle at 18% 28%, rgba(0,0,0,.58), rgba(0,0,0,.16) 55%, rgba(0,0,0,.48)),
    linear-gradient(90deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.16) 55%, rgba(0,0,0,.12) 100%);
}

:root[data-theme="light"] .ct-crumbs{
  color: rgba(255,255,255,.78);
}
:root[data-theme="light"] .ct-crumbs a{
  color: rgba(255,255,255,.90);
}

:root[data-theme="light"] .ct-pill{
  background: rgba(12,16,26,.46);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.96);
  box-shadow:
    0 18px 48px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .ct-title{
  color: rgba(255,255,255,.96);
  text-shadow: 0 14px 34px rgba(0,0,0,.26);
}

:root[data-theme="light"] .ct-sub{
  color: rgba(255,255,255,.82);
}

:root[data-theme="light"] .ct-cta .btn-ghost{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.94);
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .ct-hero-card{
  background: rgba(12,16,26,.34);
  border-color: rgba(255,255,255,.10);
  box-shadow:
    0 18px 42px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.10);
}

:root[data-theme="light"] .ct-hero-card-h{
  color: rgba(255,255,255,.94);
}

:root[data-theme="light"] .ct-hero-card-p{
  color: rgba(255,255,255,.80);
}

:root[data-theme="light"] .ct-mini-item{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
}

:root[data-theme="light"] .ct-mini-item b{
  color: rgba(255,255,255,.92);
}

:root[data-theme="light"] .ct-mini-item a{
  color: rgba(255,255,255,.88);
}

:root[data-theme="light"] .ct-mini-item span{
  color: rgba(255,255,255,.72);
}

/* =========================
   CONTENT GRID CARDS
========================= */
:root[data-theme="light"] .ct-card{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.64),
    rgba(255,255,255,.46)
  );
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.10),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .ct-card::before{
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.34), rgba(255,255,255,0) 55%);
  opacity: .7;
}

:root[data-theme="light"] .ct-card::after{
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 0 0 1px rgba(58,160,255,.06) inset;
}

:root[data-theme="light"] .ct-card-h{
  color: rgba(15,23,42,.94);
}

/* =========================
   INFO ROWS
========================= */
:root[data-theme="light"] .ct-info-row{
  background: rgba(255,255,255,.52);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 10px 22px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .ct-info-row b{
  color: rgba(15,23,42,.90);
}

:root[data-theme="light"] .ct-info-row span{
  color: rgba(15,23,42,.74);
}

:root[data-theme="light"] .ct-note{
  color: rgba(15,23,42,.52);
}

/* иконки — делаем темнее и контрастнее в light theme */
:root[data-theme="light"] .ct-ico{
  background: linear-gradient(
    180deg,
    rgba(157,214,255,.92),
    rgba(127,192,255,.84)
  );
  border-color: rgba(88,156,255,.18);
  box-shadow:
    0 0 0 3px rgba(88,156,255,.10),
    0 8px 18px rgba(88,156,255,.10);
}

:root[data-theme="light"] .ct-ico::after{
  background: rgba(26,43,77,.88);
  opacity: .92;
}

/* =========================
   DEPARTMENTS
========================= */
:root[data-theme="light"] .ct-dep{
  background: rgba(255,255,255,.46);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 10px 22px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .ct-dep h4{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .ct-dep p{
  color: rgba(15,23,42,.72);
}

:root[data-theme="light"] .ct-link{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.88);
  box-shadow:
    0 10px 22px rgba(15,23,42,.07),
    0 1px 0 rgba(255,255,255,.94) inset;
}

/* =========================
   MAP
========================= */
:root[data-theme="light"] .ct-map{
  background: rgba(255,255,255,.48);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 44px rgba(15,23,42,.10),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .ct-map-title{
  background: rgba(255,255,255,.72);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.90);
  box-shadow:
    0 10px 22px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.95) inset;
}

/* =========================
   GALLERY
========================= */
:root[data-theme="light"] .ct-shot{
  background: rgba(255,255,255,.48);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 42px rgba(15,23,42,.10),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .ct-shot::after{
  background: linear-gradient(to top, rgba(15,23,42,.44), rgba(15,23,42,0) 72%);
  opacity: .72;
}

:root[data-theme="light"] .ct-cap{
  color: rgba(255,255,255,.96);
  text-shadow: 0 8px 18px rgba(0,0,0,.24);
}

/* =========================
   HOW TO GET
========================= */
:root[data-theme="light"] .ct-step{
  background: rgba(255,255,255,.46);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 10px 22px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .ct-step h4{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .ct-step p{
  color: rgba(15,23,42,.72);
}

/* =========================
   LIGHTBOX
========================= */
:root[data-theme="light"] .ct-lightbox-dialog{
  background: rgba(255,255,255,.90);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 24px 60px rgba(15,23,42,.14),
    inset 0 1px 0 rgba(255,255,255,.96);
}

:root[data-theme="light"] .ct-lightbox-cap{
  color: rgba(15,23,42,.88);
  background: rgba(15,23,42,.04);
  border-top-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .ct-lightbox-close{
  background: rgba(255,255,255,.76);
  color: rgba(15,23,42,.88);
  box-shadow:
    0 10px 22px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.96);
}

/* =========================
   STICKY CTA
========================= */
:root[data-theme="light"] .ct-sticky-inner{
  background: rgba(255,255,255,.72);
  border-color: rgba(15,23,42,.08);
  box-shadow:
    0 18px 44px rgba(15,23,42,.08),
    0 1px 0 rgba(255,255,255,.95) inset;
}

:root[data-theme="light"] .ct-sticky-title{
  color: rgba(15,23,42,.92);
}

:root[data-theme="light"] .ct-sticky-sub{
  color: rgba(15,23,42,.70);
}

:root[data-theme="light"] .ct-act{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.88);
  box-shadow:
    0 10px 22px rgba(15,23,42,.07),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .ct-act:hover{
  border-color: rgba(58,160,255,.20);
}

/* =========================
   GLOBAL GHOST BUTTONS IN LIGHT SECTIONS
========================= */
:root[data-theme="light"] .btn-ghost{
  background: rgba(255,255,255,.58);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.88);
  box-shadow:
    0 10px 22px rgba(15,23,42,.07),
    0 1px 0 rgba(255,255,255,.94) inset;
}

:root[data-theme="light"] .btn-ghost:hover{
  border-color: rgba(58,160,255,.20);
}

/* =========================
   MOBILE LIGHT POLISH
========================= */
@media (max-width: 560px){
  :root[data-theme="light"] .ct-title{
    font-size: 30px;
  }

  :root[data-theme="light"] .ct-card,
  :root[data-theme="light"] .ct-map,
  :root[data-theme="light"] .ct-shot,
  :root[data-theme="light"] .ct-sticky-inner{
    box-shadow:
      0 14px 30px rgba(15,23,42,.08),
      0 1px 0 rgba(255,255,255,.95) inset;
  }
}

.ct-grid{
  overflow: visible;        /* ключевое */
  contain: none;            /* убираем clipping */
  content-visibility: visible;
}

.ct-section{
  padding: 40px 0 60px;   /* было мало — тени упирались */
}

.ct-grid{
  gap: 26px;              /* увеличиваем расстояние */
  padding: 8px;           /* чтобы тени не упирались в края */
  margin: -8px;           /* компенсируем */
}

.container{
  overflow: visible;
}


/* ===== static/css/pages/errors.css ===== */

.err-hero{
  position:relative;
  min-height: 72vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding: 56px 0;
}
.err-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 16% 20%, rgba(58,160,255,.22), transparent 60%),
    radial-gradient(900px 520px at 86% 30%, rgba(107,213,255,.16), transparent 60%),
    radial-gradient(900px 520px at 50% 120%, rgba(0,0,0,.65), transparent 65%),
    linear-gradient(180deg, #05070d 0%, #070b14 40%, #05060c 100%);
}
.err-bg.is-warm{
  background:
    radial-gradient(900px 520px at 22% 18%, rgba(255,90,70,.22), transparent 60%),
    radial-gradient(900px 520px at 80% 30%, rgba(255,165,60,.16), transparent 60%),
    radial-gradient(900px 520px at 50% 120%, rgba(0,0,0,.65), transparent 65%),
    linear-gradient(180deg, #05070d 0%, #070b14 40%, #05060c 100%);
}
.err-inner{ position:relative; z-index:2; }

.err-code{
  display:inline-flex;
  font-size: 72px;
  font-weight: 1000;
  letter-spacing: .06em;
  color: rgba(255,255,255,.92);
  text-shadow: 0 30px 90px rgba(0,0,0,.55);
}
.err-title{
  margin: 8px 0 10px;
  font-size: 34px;
  font-weight: 1000;
  color: #fff;
}
.err-sub{
  max-width: 780px;
  color: rgba(255,255,255,.78);
  font-weight: 800;
  line-height: 1.45;
}
.err-actions{
  display:flex;
  gap:12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.err-tip{
  margin-top: 18px;
  color: rgba(255,255,255,.66);
  font-weight: 800;
}
.err-tip a{ color: rgba(107,213,255,.95); text-decoration:none; }

/* ===== static/css/pages/privacy.css ===== */

/* =========================================================
   PRIVACY PAGE — PREMIUM DOCUMENT
   Спокойный glass-документ, высокая читаемость, light theme support
========================================================= */

.privacy-page{
  padding: 120px 0 72px;
  position: relative;
}

.privacy-container{
  max-width: 1080px;
}

/* card */
.privacy-card{
  position: relative;
  overflow: hidden;

  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);

  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)),
    rgba(10,16,34,.78);

  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);

  box-shadow:
    0 24px 90px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.05);

  padding: 28px 28px 34px;
}

/* subtle light spot */
.privacy-card::before{
  content:"";
  position:absolute;
  left:-30%;
  top:-40%;
  width: 80%;
  height: 60%;
  pointer-events:none;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%);
  opacity: .55;
}

/* head */
.privacy-head{
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.privacy-approved{
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.privacy-approved p{
  margin: 0 0 4px;
}

.privacy-title{
  margin: 0;
  color: #fff;
  font-weight: 1000;
  letter-spacing: -.02em;
  line-height: 1.15;
  font-size: clamp(22px, 2.2vw, 30px);
  max-width: 900px;
}

/* content */
.privacy-content{
  position: relative;
  z-index: 2;

  color: rgba(255,255,255,.84);
  font-size: 15px;
  line-height: 1.76;
}

.privacy-content h2{
  margin: 30px 0 14px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.01em;
}

.privacy-content p{
  margin: 0 0 14px;
}

.privacy-content ul{
  margin: 0 0 18px 0;
  padding-left: 20px;
}

.privacy-content li{
  margin-bottom: 8px;
}

.privacy-content strong,
.privacy-content b{
  color: #fff;
  font-weight: 1000;
}

.privacy-content a{
  color: #6bd5ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(107,213,255,.35);
  transition: color .18s ease, border-color .18s ease;
}

.privacy-content a:hover{
  color: #9fe6ff;
  border-color: rgba(159,230,255,.6);
}

/* optional visual separators if hr exists */
.privacy-content hr{
  border: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 24px 0;
}

/* tables if suddenly appear in policy */
.privacy-content table{
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  font-size: 14px;
}

.privacy-content th,
.privacy-content td{
  padding: 10px 12px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.10);
}

.privacy-content th{
  color: #fff;
  background: rgba(255,255,255,.04);
  font-weight: 900;
}

.privacy-content td{
  color: rgba(255,255,255,.78);
}

/* =========================
   LIGHT THEME
========================= */
:root[data-theme="light"] .privacy-page{
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(58,160,255,.08), rgba(58,160,255,0) 60%),
    radial-gradient(1000px 520px at 88% 20%, rgba(107,213,255,.06), rgba(107,213,255,0) 60%);
}

:root[data-theme="light"] .privacy-card{
  border-color: rgba(15,23,42,.08);

  background:
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.68)),
    rgba(255,255,255,.72);

  box-shadow:
    0 18px 44px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.96);
}

:root[data-theme="light"] .privacy-card::before{
  background: radial-gradient(circle at 30% 30%, rgba(58,160,255,.10), rgba(58,160,255,0) 60%);
  opacity: .75;
}

:root[data-theme="light"] .privacy-head{
  border-bottom-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .privacy-approved{
  color: rgba(15,23,42,.58);
}

:root[data-theme="light"] .privacy-title{
  color: rgba(15,23,42,.94);
}

:root[data-theme="light"] .privacy-content{
  color: rgba(15,23,42,.78);
}

:root[data-theme="light"] .privacy-content h2,
:root[data-theme="light"] .privacy-content strong,
:root[data-theme="light"] .privacy-content b{
  color: rgba(15,23,42,.94);
}

:root[data-theme="light"] .privacy-content a{
  color: #2f74d8;
  border-bottom-color: rgba(47,116,216,.28);
}

:root[data-theme="light"] .privacy-content a:hover{
  color: #1f5fc0;
  border-bottom-color: rgba(31,95,192,.42);
}

:root[data-theme="light"] .privacy-content hr{
  border-top-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .privacy-content th,
:root[data-theme="light"] .privacy-content td{
  border-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .privacy-content th{
  color: rgba(15,23,42,.92);
  background: rgba(15,23,42,.04);
}

:root[data-theme="light"] .privacy-content td{
  color: rgba(15,23,42,.74);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 760px){
  .privacy-page{
    padding: 92px 0 56px;
  }

  .privacy-card{
    padding: 18px 16px 22px;
    border-radius: 22px;
  }

  .privacy-head{
    padding-bottom: 16px;
    margin-bottom: 18px;
  }

  .privacy-approved{
    font-size: 13px;
    line-height: 1.55;
  }

  .privacy-title{
    font-size: 22px;
    line-height: 1.15;
  }

  .privacy-content{
    font-size: 14px;
    line-height: 1.68;
  }

  .privacy-content h2{
    font-size: 18px;
    margin: 22px 0 12px;
  }

  .privacy-content table{
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== static/css/pages/blog.css ===== */

:root{
  --bg: #0b1120;
  --bg-soft: #121a2b;
  --surface: rgba(16, 24, 40, 0.82);
  --surface-2: rgba(255,255,255,0.04);
  --text: #f5f7fb;
  --text-soft: rgba(245,247,251,0.72);
  --text-dim: rgba(245,247,251,0.52);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --accent: #7cb6ff;
  --accent-soft: rgba(124,182,255,0.16);
  --shadow: 0 20px 60px rgba(0,0,0,0.22);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

:root[data-theme="light"]{
  --bg: #f4f7fb;
  --bg-soft: #ffffff;
  --surface: rgba(255,255,255,0.92);
  --surface-2: rgba(15,23,42,0.04);
  --text: #0f172a;
  --text-soft: rgba(15,23,42,0.72);
  --text-dim: rgba(15,23,42,0.52);
  --line: rgba(15,23,42,0.08);
  --line-strong: rgba(15,23,42,0.14);
  --accent: #2563eb;
  --accent-soft: rgba(37,99,235,0.10);
  --shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.blog-page{
  padding: 36px 0 84px;
  background: var(--bg);
  color: var(--text);
}

.blog-hero{
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 36px;
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 0% 0%, var(--accent-soft), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
}

.blog-hero__content{
  max-width: 920px;
}

.blog-kicker{
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.blog-title{
  margin: 18px 0 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.04em;
  color: var(--text);
}

.blog-subtitle{
  margin: 16px 0 0;
  max-width: 780px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-soft);
}

.theme-toggle{
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  box-shadow: none;
}

.theme-toggle__sun,
.theme-toggle__moon{
  grid-area: 1 / 1;
  transition: opacity .2s ease, transform .2s ease;
}

:root[data-theme="dark"] .theme-toggle__sun{
  opacity: 1;
  transform: scale(1);
}
:root[data-theme="dark"] .theme-toggle__moon{
  opacity: 0;
  transform: scale(.8);
}
:root[data-theme="light"] .theme-toggle__sun{
  opacity: 0;
  transform: scale(.8);
}
:root[data-theme="light"] .theme-toggle__moon{
  opacity: 1;
  transform: scale(1);
}

.blog-featured{
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 24px;
  padding: 18px;
  margin-bottom: 26px;
  text-decoration: none;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease;
}

.blog-featured:hover{
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.blog-featured-media,
.blog-card-media{
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface-2);
}

.blog-featured-media{
  min-height: 300px;
}

.blog-featured-media img,
.blog-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured-body{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
}

.blog-chip{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  text-transform: capitalize;
}

.blog-featured-title{
  margin: 14px 0 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text);
}

.blog-featured-text{
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

.blog-featured-more{
  margin-top: 18px;
  color: var(--accent);
  font-weight: 800;
}

.blog-toolbar{
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}

.blog-search,
.blog-sort{
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 0 16px;
  font-size: 15px;
  outline: none;
}

.blog-search::placeholder{
  color: var(--text-dim);
}

.blog-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-filter{
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-soft);
  font-weight: 700;
  cursor: pointer;
}

.blog-filter.is-active{
  color: var(--text);
  border-color: rgba(124,182,255,.34);
  background: var(--accent-soft);
}

.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-card-link{
  display: block;
  height: 100%;
  text-decoration: none;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease;
}

.blog-card-link:hover{
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.blog-card-media{
  aspect-ratio: 16 / 10;
}

.blog-card-body{
  padding: 18px;
}

.blog-card-title{
  margin: 14px 0 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.blog-card-text{
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

.blog-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.blog-tag{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
}

.blog-empty{
  padding: 36px 20px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.blog-empty-title{
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.blog-empty-text{
  margin-top: 10px;
  color: var(--text-soft);
}

.blog-pagination{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 18px 0 0;
}

.blog-page-btn,
.blog-page-number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.blog-page-btn.is-disabled{
  opacity: .45;
  pointer-events: none;
}

.blog-page-numbers{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-page-number.is-active{
  background: var(--accent-soft);
  border-color: rgba(124,182,255,.34);
}

.blog-featured{
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 20px;
  padding: 16px;
  margin-bottom: 26px;
  text-decoration: none;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 260px at 0% 0%, var(--accent-soft), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.blog-featured:hover{
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 70px rgba(0,0,0,.20);
}

.blog-featured-media{
  height: 240px;
  min-height: 240px;
  max-height: 240px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface-2);
}

.blog-featured-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured-body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 6px 4px;
}

.blog-featured-topline{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-fresh-badge{
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(37,99,235,.22);
}

.blog-featured-title{
  margin: 14px 0 0;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text);
  max-width: 900px;
}

.blog-featured-text{
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 760px;
}

.blog-featured-more{
  margin-top: 18px;
  color: var(--accent);
  font-weight: 800;
}

.blog-sort-wrap{
  position: relative;
  min-width: 210px;
}

.blog-sort{
  width: 100%;
  height: 56px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    var(--surface);
  color: var(--text);
  padding: 0 52px 0 18px;
  font-size: 15px;
  font-weight: 800;
  outline: none;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  cursor: pointer;
}

.blog-sort:hover{
  border-color: var(--line-strong);
}

.blog-sort:focus{
  border-color: rgba(124,182,255,.34);
  box-shadow:
    0 0 0 4px rgba(124,182,255,.10),
    var(--shadow);
}

.blog-sort-wrap::after{
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  pointer-events: none;
}

:root[data-theme="light"] .blog-sort{
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.70)),
    var(--surface);
}

@media (max-width: 860px){
  .blog-featured{
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 24px;
  }

  .blog-featured-media{
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }

  .blog-featured-topline{
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-featured-title{
    font-size: 28px;
  }

  .blog-featured-text{
    font-size: 14px;
  }
}

@media (max-width: 1180px){
  .blog-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-toolbar{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px){
  .blog-page{
    padding: 20px 0 60px;
  }

  .blog-hero{
    flex-direction: column;
    padding: 22px;
    border-radius: 24px;
  }

  .blog-featured{
    grid-template-columns: 1fr;
  }

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

  .blog-title{
    font-size: 34px;
  }

  .blog-subtitle{
    font-size: 15px;
  }

  .blog-pagination{
    flex-direction: column;
    align-items: stretch;
  }

  .blog-page-numbers{
    justify-content: center;
  }
}


.blog-meta-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* ВОТ ЭТО ГЛАВНОЕ */
  gap: 10px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
}

.blog-chip{
  display: inline-flex;
  align-items: center; /* центр внутри */
  height: 28px; /* фикс вместо min-height */
  padding: 0 10px;
  border-radius: 999px;
}

.blog-meta-row span:not(:last-child)::after{
  content: "•";
  margin-left: 10px;
  color: var(--text-dim);
  opacity: 0.6;
}

.blog-views{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.blog-views__icon{
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  opacity: .78;
}

.blog-views__icon::before{
  content: "";
  position: absolute;
  inset: 2px 1px;
  border: 1.8px solid currentColor;
  border-radius: 10px / 7px;
}

.blog-views__icon::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  margin-top: -2px;
  border-radius: 50%;
  background: currentColor;
}

.blog-meta-row .blog-views{
  margin-left: 2px;
}

.blog-views{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.blog-views__icon{
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  display: inline-block;
  background-color: currentColor;
  opacity: .82;

  -webkit-mask: url("/static/img/icon/view-svgrepo-com.svg") center / contain no-repeat;
  mask: url("/static/img/icon/view-svgrepo-com.svg") center / contain no-repeat;
}


/* ===== static/css/pages/blog-article.css ===== */

.blog-article-page{
  padding: 36px 0 84px;
  background: var(--bg);
  color: var(--text);
}

.blog-article-shell{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.blog-article,
.blog-sidebar-box{
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.blog-article{
  border-radius: 32px;
  padding: 28px 30px 34px;
}

.blog-article-topbar{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.theme-toggle--inline{
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.blog-back{
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.blog-meta-row--article{
  margin-top: 18px;
}

.blog-article-title{
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.04em;
  max-width: 980px;
}

.blog-article-lead{
  margin: 18px 0 0;
  max-width: 880px;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.75;
}

.blog-article-cover{
  overflow: hidden;
  border-radius: 24px;
  margin-top: 24px;
}

.blog-article-cover img{
  display: block;
  width: 100%;
  height: auto;
}

.blog-tags--article{
  margin-top: 16px;
}

.blog-article-content{
  margin-top: 30px;
}

.blog-article-content h2,
.blog-article-content h3{
  color: var(--text);
  letter-spacing: -.03em;
}

.blog-article-content h2{
  margin: 34px 0 14px;
  font-size: 32px;
  line-height: 1.12;
}

.blog-article-content h3{
  margin: 24px 0 12px;
  font-size: 24px;
  line-height: 1.18;
}

.blog-article-content p,
.blog-article-content li{
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.9;
}

.blog-article-content ul{
  padding-left: 20px;
}





.blog-article-content blockquote{
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: var(--surface-2);
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
}

.blog-sidebar{
  align-self: start;
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.blog-sidebar-box{
  border-radius: 24px;
  padding: 20px;
}

.blog-sidebar-title{
  color: var(--text);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
}

.blog-toc{
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.blog-toc-link{
  color: var(--text-soft);
  text-decoration: none;
  line-height: 1.5;
}

.blog-toc-link--lvl3{
  padding-left: 12px;
  font-size: 14px;
}

.blog-related-list{
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.blog-related-card{
  display: block;
  text-decoration: none;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.blog-related-card-title{
  margin-top: 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.blog-related-card-text{
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.blog-article-nav{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.blog-article-nav-card{
  display: block;
  text-decoration: none;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.blog-article-nav-label{
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
}

.blog-article-nav-title{
  margin-top: 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
}

.article-float-rail{
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px) + var(--vv-bottom-offset, 0px));
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  pointer-events: none;
}

.reading-meter{
  position: static;
  transform: none;
  z-index: auto;
  pointer-events: none;
}

.article-float-rail #gTopBtn{
  position: static !important;
  inset: auto !important;
  margin: 0;
  pointer-events: auto;
  flex: 0 0 auto;
}

.reading-meter__inner{
  width: 84px;
  padding: 9px 9px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 10px 30px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.reading-meter__top{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.reading-meter__label{
  color: rgba(255,255,255,.58);
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}

.reading-meter__value{
  color: rgba(255,255,255,.94);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.01em;
  text-align: center;
  white-space: nowrap;
}

.reading-meter__bar{
  position: relative;
  margin-top: 9px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.reading-meter__fill{
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(148,196,255,.92) 0%,
      rgba(108,164,255,.95) 45%,
      rgba(72,127,255,.98) 100%);
  box-shadow:
    0 0 14px rgba(108,164,255,.22),
    0 0 24px rgba(108,164,255,.12);
  transition: width .18s ease;
}

:root[data-theme="light"] .reading-meter__inner{
  border-color: rgba(15,23,42,.08);
  background: rgba(255,255,255,.56);
  box-shadow:
    0 10px 24px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.78);
}

:root[data-theme="light"] .reading-meter__label{
  color: rgba(15,23,42,.48);
}

:root[data-theme="light"] .reading-meter__value{
  color: rgba(15,23,42,.88);
}

:root[data-theme="light"] .reading-meter__bar{
  background: rgba(15,23,42,.08);
}

@media (max-width: 860px){
  .reading-meter{
    top: auto;
    right: 10px;
    bottom: 78px; /* поднимаем выше кнопки "наверх" */
    transform: none;
  }

  .reading-meter__inner{
    width: 74px;
    padding: 8px 8px 7px;
    border-radius: 14px;
  }

  .reading-meter__label{
    font-size: 8px;
  }

  .reading-meter__value{
    font-size: 12px;
  }

  .reading-meter__bar{
    margin-top: 8px;
    height: 4px;
  }
}


.blog-article-figure{
  margin: 28px 0;
}

.blog-article-inline-image{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  background: rgba(255,255,255,.03);
}

.blog-article-figcaption{
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}


@media (max-width: 1100px){
  .blog-article-shell{
    grid-template-columns: 1fr;
  }

  .blog-sidebar{
    position: static;
  }
}

@media (max-width: 860px){
  .blog-article-page{
    padding: 20px 0 60px;
  }

  .blog-article{
    padding: 18px 16px 24px;
    border-radius: 24px;
  }

  .blog-article-title{
    font-size: 34px;
  }

  .blog-article-lead,
  .blog-article-content p,
  .blog-article-content li{
    font-size: 15px;
  }

  .blog-article-content h2{
    font-size: 24px;
  }

  .blog-article-content h3{
    font-size: 20px;
  }

  .blog-article-nav{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px){
  .article-float-rail{
    right: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px) + var(--vv-bottom-offset, 0px));
    gap: 10px;
  }

  .reading-meter__inner{
    width: 74px;
    padding: 8px 8px 7px;
    border-radius: 14px;
  }

  .reading-meter__label{
    font-size: 8px;
  }

  .reading-meter__value{
    font-size: 12px;
  }

  .reading-meter__bar{
    margin-top: 8px;
    height: 4px;
  }
}



.blog-gallery{
  position: relative;
  margin: 28px 0;
}

.blog-gallery__viewport{
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  min-height: 320px;
  box-shadow: none;
}

.blog-gallery__track{
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}

.blog-gallery__slide{
  min-width: 100%;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.blog-gallery__image{
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: transparent;
}

.blog-gallery__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(15,23,42,.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.blog-gallery__nav--prev{
  left: 14px;
}

.blog-gallery__nav--next{
  right: 14px;
}

.blog-gallery__dots{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  min-height: 12px;
}

.blog-gallery__dot{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  box-shadow: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.blog-gallery__dot.is-active{
  background: var(--accent);
  transform: scale(1.08);
}

.blog-article-cover--gallery{
  position: relative;
  margin-top: 24px;
}

.blog-article-cover--gallery .blog-gallery__dots{
  margin-top: 14px;
}

:root[data-theme="light"] .blog-gallery__viewport{
  border-color: rgba(15,23,42,.08);
  background: rgba(15,23,42,.03);
}

:root[data-theme="light"] .blog-gallery__nav{
  background: rgba(255,255,255,.78);
  color: #0f172a;
  border-color: rgba(15,23,42,.08);
}

:root[data-theme="light"] .blog-gallery__dot{
  background: rgba(15,23,42,.16);
}

:root[data-theme="light"] .blog-gallery__dot.is-active{
  background: var(--accent);
}

@media (max-width: 860px){
  .blog-gallery__viewport{
    min-height: 240px;
  }

  .blog-gallery__nav{
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .blog-gallery__nav--prev{
    left: 10px;
  }

  .blog-gallery__nav--next{
    right: 10px;
  }

  .blog-gallery__dot{
    width: 10px;
    height: 10px;
  }
}

.blog-gallery__slide{
  position: relative;
}

.blog-gallery__caption{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;

  padding: 10px 14px;
  border-radius: 14px;

  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;

  color: rgba(255,255,255,0.92);

  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 6px 20px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.08);

  pointer-events: none;
}

:root[data-theme="light"] .blog-gallery__caption{
  color: rgba(15,23,42,.85);

  background: rgba(255,255,255,0.65);

  border: 1px solid rgba(15,23,42,.08);

  box-shadow:
    0 6px 20px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.blog-gallery__caption{
  opacity: 0;
  transform: translateY(6px);
  transition: all .25s ease;
}

.blog-gallery__slide:hover .blog-gallery__caption{
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px){
  .blog-gallery__caption{
    opacity: 1;
    transform: none;
  }
}

.blog-views{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.blog-views__icon{
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  display: inline-block;
  background-color: currentColor;
  opacity: .82;

  -webkit-mask: url("/static/img/icon/view-svgrepo-com.svg") center / contain no-repeat;
  mask: url("/static/img/icon/view-svgrepo-com.svg") center / contain no-repeat;
}

/* ===== static/css/responsive/global.css ===== */

/* static/css/responsive/global.css */

/* <=1100 */
@media (max-width: 1100px){
  .grid-6{ grid-template-columns:repeat(3,1fr); }
  .clients-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:repeat(2,1fr); }
  .banner, .lead{ grid-template-columns:1fr; }
  .cart{ display:none; }

  .hero-bg{ height: 300px; }
  .hero-overlay, .hero-content{ width: 70%; }

  .hero-watermark{
    right:15px;
    bottom:8px;
    font-size:24px;
  }

  /* banner adaptive */
  .banner{ grid-template-columns: 1fr; }
  .banner::before{
    width:100%;
    clip-path:none;
    background: rgba(0,0,0,.18);
  }
  .banner-left{ max-width: 100%; padding-right: 0; }
  .banner-right{ justify-self: stretch; max-width:100%; }
}

/* <=980 about */
@media (max-width: 980px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-divider{ display: none; }
  .about-slider{ margin: 0 auto; }
}

/* <=860 burger режим — ЕДИНЫЙ мобильный header */
@media (max-width: 860px){
  .container{ max-width: calc(100% - 24px); }

  .top-mid,
  .top-right{ display:none !important; }

  .header-top{
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 0 !important;
    gap: 12px !important;
  }

  .brand{ width:auto !important; min-width: 0; align-items:center !important; }
  .brand-logo{ width:52px !important; height:52px !important; flex: 0 0 52px; border-radius: 12px !important; }
  .brand-title{ font-size:18px !important; line-height:1.15 !important; }
  .brand-sub{ font-size:13px !important; margin-top:4px !important; }

  .header-nav{
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 10px 0 14px !important;
  }

  .header-nav .nav{ display:none !important; }
  .header-nav .cart{ display:none !important; }

  .header-nav .btn{
    width:auto !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }

  .burger{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
  }

  /* hero tablet/mobile tuning */
  .hero-bg{ height: 300px; }
  .hero-overlay, .hero-content{ width: 78%; }
  .hero-panel{ padding: 26px 18px 20px 18px; }
  .hero-h{ font-size: 24px; }
  .hero-line{ right: 12px; top: 82px; height: 110px; }
}

/* <=600 */
@media (max-width: 600px){
  .grid-6{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; }
}

/* <=420 */
@media (max-width: 420px){
  .container{ max-width: calc(100% - 20px); }

  .brand-logo{ width: 46px !important; height: 46px !important; flex: 0 0 46px !important; }
  .brand-title{ font-size: 18px !important; line-height: 1.15 !important; }

  .grid-6{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; }

  .hero-bg{ height: 280px; }
  .hero-overlay, .hero-content{ width: 82%; }
  .hero-h{ font-size: 22px; padding: 10px 14px; }
  .hero-list li{ font-size: 13px; margin: 10px 0; }
  .hero-watermark{ font-size: 54px; right: 18px; bottom: 12px; }
}

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

html, body{
  background: var(--bg); /* у тебя --bg: #060B16 */
  margin: 0;
}

body{
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -999;
  background: var(--bg);
}