/* ============================================================
   ГЕРА — единый дизайн для всех страниц
   Файл: css/app.css
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root{
  color-scheme: dark;

  --bg: #04070E;
  --bg-soft: #070C17;
  --bg-elev: #0A1020;

  --surface: rgba(255,255,255,.038);
  --surface-2: rgba(255,255,255,.065);
  --surface-3: rgba(255,255,255,.10);

  --stroke: rgba(255,255,255,.075);
  --stroke-strong: rgba(255,255,255,.145);

  --text: #EEF3FB;
  --text-dim: #C7D2E4;
  --muted: #8A98B1;
  --muted-2: #5F6E88;

  --brand: #4B96FF;
  --brand-2: #1FD7EE;
  --brand-3: #7BB6FF;

  --grad: linear-gradient(135deg,#4B96FF 0%,#1FD7EE 100%);
  --grad-soft: linear-gradient(135deg,rgba(75,150,255,.20),rgba(31,215,238,.10));
  --grad-radial: radial-gradient(60% 60% at 50% 0%,rgba(75,150,255,.30),transparent 70%);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 4px 14px -4px rgba(0,0,0,.5);
  --shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  --shadow-lg: 0 40px 100px -30px rgba(0,0,0,.85);
  --glow: 0 24px 80px -20px rgba(75,150,255,.7);

  --ease: cubic-bezier(.22,.85,.25,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);

  --header-h: 78px;
  --bottom-nav-h: 0px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
h1,h2,h3,h4{
  margin: 0;
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 800;
}
p{ margin: 0; }
ul{ margin: 0; padding: 0; list-style: none; }
svg{ display: block; }
::selection{ background: rgba(75,150,255,.35); color: #fff; }

a:focus-visible, button:focus-visible{
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 8px;
}

.container{ width: min(1220px, 100% - 44px); margin-inline: auto; }
.section{ padding: clamp(68px, 8.5vw, 128px) 0; position: relative; }

/* ============================================================
   ICONS
   ============================================================ */
.icon{
  width: 22px; height: 22px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* ============================================================
   TYPO HELPERS
   ============================================================ */
.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-2);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(31,215,238,.28);
  background: rgba(31,215,238,.06);
  backdrop-filter: blur(10px);
}
.eyebrow::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 14px var(--brand-2);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse{
  0%,100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: .55; transform: scale(.85); }
}

.grad-text{
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.section-head{ max-width: 720px; margin-bottom: clamp(40px, 4.5vw, 68px); }
.section-head h2{
  font-size: clamp(30px, 3.8vw, 52px);
  margin: 20px 0 16px;
  letter-spacing: -.03em;
}
.section-head p{ color: var(--muted); font-size: clamp(15px, 1.25vw, 17.5px); }
.section-head.center{ margin-inline: auto; text-align: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 14px;
  font-size: 15px; font-weight: 700; letter-spacing: -.005em;
  white-space: nowrap;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn .icon{ width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon{ transform: translateX(5px); }

.btn-primary{
  color: #04101F;
  background: var(--grad);
  box-shadow:
    0 16px 40px -14px rgba(75,150,255,.85),
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 -2px 0 rgba(0,0,0,.12);
}
.btn-primary::after{
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: 200% 0;
  transition: background-position .8s var(--ease);
  z-index: -1;
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow:
    0 24px 50px -14px rgba(75,150,255,1),
    inset 0 1px 0 rgba(255,255,255,.5),
    inset 0 -2px 0 rgba(0,0,0,.12);
}
.btn-primary:hover::after{ background-position: -100% 0; }

.btn-ghost{
  color: var(--text);
  border: 1px solid var(--stroke-strong);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-2px);
}

.btn-sm{ padding: 11px 20px; font-size: 14px; border-radius: 12px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position: fixed; inset: 0 0 auto; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(4,7,14,.55);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled{
  background: rgba(4,7,14,.88);
  border-bottom-color: var(--stroke);
  box-shadow: 0 20px 46px -26px #000;
}

.header-inner{
  display: flex; align-items: center; gap: 30px;
  width: min(1220px, 100% - 44px);
  margin-inline: auto;
}

.brand{ display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo{
  width: 44px; height: 44px; border-radius: 13px;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px -8px rgba(75,150,255,.9);
  transition: transform .35s var(--ease-spring);
}
.brand:hover .brand-logo{ transform: rotate(-6deg) scale(1.06); }
.brand-logo img{ width: 28px; height: auto; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.08; }
.brand-text strong{ font-size: 17px; font-weight: 800; letter-spacing: .16em; }
.brand-text small{ font-size: 10.5px; color: var(--muted); letter-spacing: .04em; font-weight: 500; max-width: 150px; }

.nav{ margin-left: auto; }
.nav-list{ display: flex; align-items: center; gap: 2px; }
.nav-list > li{ position: relative; }
.nav-link{
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 15px; border-radius: 11px;
  font-size: 14.5px; font-weight: 600; color: var(--text-dim);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-link::after{
  content: "";
  position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 1.5px; border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .3s var(--ease);
}
.nav-link:hover{ color: #fff; background: rgba(255,255,255,.06); }
.nav-link:hover::after,
.nav-link.active::after{ transform: scaleX(1); }
.nav-link.active{ color: #fff; }
.nav-link .icon{ width: 14px; height: 14px; stroke-width: 2.2; opacity: .7; transition: transform .3s var(--ease); }
.has-dropdown:hover .nav-link .icon{ transform: rotate(180deg); }

.dropdown{
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0;
  width: 310px; padding: 10px;
  background: #0B1220;
  border: 1px solid var(--stroke-strong);
  border-radius: 20px;
  box-shadow: 0 46px 90px -22px rgba(0,0,0,.95);
  opacity: 0; visibility: hidden;
  transform: translateY(10px) scale(.97);
  transform-origin: top center;
  transition: all .3s var(--ease);
}
.has-dropdown:hover .dropdown{ opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.dropdown a{
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px; border-radius: 11px;
  font-size: 14px; color: #B9C6DB; font-weight: 500;
  transition: background .2s var(--ease), color .2s var(--ease), padding .25s var(--ease);
}
.dropdown a::before{
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); opacity: .45; flex: none;
  transition: opacity .2s, box-shadow .2s;
}
.dropdown a:hover{
  background: rgba(75,150,255,.12);
  color: #fff;
  padding-left: 18px;
}
.dropdown a:hover::before{ opacity: 1; box-shadow: 0 0 10px var(--brand); }
.dropdown .divider{ height: 1px; background: var(--stroke); margin: 8px 6px; }

.header-actions{ display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 700; color: var(--text);
  transition: color .25s var(--ease);
}
.header-phone:hover{ color: var(--brand-2); }
.header-phone .icon{ width: 17px; height: 17px; color: var(--brand-2); }

.burger{
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--stroke-strong);
  position: relative;
  background: rgba(255,255,255,.04);
}

.theme-toggle{
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  border: 1px solid var(--stroke-strong);
  background: rgba(255,255,255,.04);
  display: grid; place-items: center;
  color: var(--text);
  transition: background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease);
}
.theme-toggle:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-1px) rotate(-15deg);
}
.theme-toggle .icon{ width: 20px; height: 20px; }
.theme-toggle .icon-moon{ display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(50px, 6vw, 100px)) 0 clamp(70px, 8vw, 120px);
  isolation: isolate;
}

.hero::before{
  content: "";
  position: absolute; inset: 0; z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(50% 45% at 82% 6%, rgba(75,150,255,.35), transparent 65%),
    radial-gradient(40% 42% at 4% 82%, rgba(31,215,238,.20), transparent 65%),
    radial-gradient(60% 50% at 50% 100%, rgba(75,150,255,.10), transparent 70%);
  filter: blur(20px);
}

.hero::after{
  content: "";
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(80% 75% at 50% 30%, #000, transparent);
          mask-image: radial-gradient(80% 75% at 50% 30%, #000, transparent);
}

.hero-grid{
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.hero h1{
  font-size: clamp(34px, 5.4vw, 72px);
  margin: 24px 0 22px;
  letter-spacing: -.035em;
  line-height: 1.04;
  font-weight: 800;
}
.hero-sub{
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
  max-width: 52ch;
  line-height: 1.65;
}

.hero-cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 4.5vw, 60px);
  padding-top: clamp(28px, 3vw, 38px);
  border-top: 1px solid var(--stroke);
}
.hero-stats > li{
  padding: 0 clamp(12px, 1.6vw, 26px);
  border-left: 1px solid var(--stroke);
}
.hero-stats > li:first-child{ padding-left: 0; border-left: 0; }
.hero-stats > li:last-child{ padding-right: 0; }
.hero-stats b{
  display: block;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-stats span{
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.35;
}

.hero-visual{
  position: relative;
  display: grid; place-items: center;
  isolation: isolate;
  min-height: 520px;
}

.hero-orbit{
  position: absolute;
  width: 130%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(75,150,255,.22);
  pointer-events: none;
  animation: spin 44s linear infinite;
}
.hero-orbit-2{
  width: 108%;
  border-color: rgba(31,215,238,.16);
  border-style: solid;
  border-width: 1px;
  animation: spin 32s linear infinite reverse;
}

.hero-visual::before{
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(75,150,255,.55), transparent 55%);
  filter: blur(60px);
  opacity: .8;
  z-index: -1;
  animation: spin 18s linear infinite;
}

.hero-card{
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1 / .94;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #FAFCFF 0%, #DCE6F6 100%);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow:
    0 60px 140px -40px rgba(75,150,255,.85),
    0 0 0 1px rgba(255,255,255,.10),
    inset 0 1px 0 #fff;
  display: grid; place-items: center;
  padding: 30px;
  animation: float 7s ease-in-out infinite;
  z-index: 2;
}
.hero-card::before{
  content: "";
  position: absolute; inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(75,150,255,.35), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: .8;
}
.hero-card img{
  max-height: 100%; max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(10,25,50,.30));
}

.hero-badge{
  position: absolute; top: -18px; right: -10px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #0B1220;
  border: 1px solid rgba(31,215,238,.42);
  font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-2);
  box-shadow: 0 22px 46px -14px rgba(31,215,238,.7);
  z-index: 3;
  animation: badgeFloat 5s ease-in-out infinite;
}
.hero-badge .icon{ width: 15px; height: 15px; }
@keyframes badgeFloat{
  0%,100%{ transform: translateY(0) rotate(-2deg); }
  50%{ transform: translateY(-6px) rotate(-2deg); }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust{
  position: relative;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background:
    linear-gradient(90deg, rgba(75,150,255,.06), rgba(31,215,238,.04)),
    var(--bg-soft);
}
.trust-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: var(--stroke);
}
.trust-list li{
  background: var(--bg);
  padding: 26px 24px;
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 600; color: var(--text-dim);
  min-width: 0;
  overflow-wrap: anywhere;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.trust-list li .icon{ flex: none; }
.trust-list li:hover{ background: var(--bg-elev); color: var(--text); }

/* ============================================================
   TRUST MARQUEE — бегущая строка
   ============================================================ */
.trust-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.trust-track {
  display: flex;
  width: max-content;
  animation: trust-marquee-scroll 32s linear infinite;
}
.trust-track:hover { animation-play-state: paused; }

@keyframes trust-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.trust .trust-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  padding: 0 48px 0 0;
  margin: 0;
  list-style: none;
  flex: 0 0 auto;
  width: max-content;
}
.trust .trust-group li { white-space: nowrap; }

@media (max-width: 640px) {
  .trust .trust-group { gap: 32px; padding-right: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; }
  .trust-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .trust-group[aria-hidden="true"] { display: none; }
}

/* ============================================================
   CATALOG
   ============================================================ */
.catalog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product{
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: transform .5s var(--ease-out),
              border-color .5s var(--ease),
              background .5s var(--ease),
              box-shadow .5s var(--ease);
}
.product::before{
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, transparent, rgba(75,150,255,.5), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.product:hover{
  transform: translateY(-10px);
  background: var(--surface-2);
  box-shadow: 0 50px 90px -50px rgba(75,150,255,.6);
}
.product:hover::before{ opacity: 1; }

.product-media{
  position: relative;
  aspect-ratio: 5/4;
  margin: 10px;
  border-radius: 15px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(75,150,255,.10), transparent 60%),
    linear-gradient(160deg, #FAFCFF, #D9E4F5);
  display: grid; place-items: center;
  padding: 16px;
}
.product-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.5) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: 200% 0;
  transition: background-position 1s var(--ease);
  pointer-events: none;
}
.product:hover .product-media::after{ background-position: -100% 0; }

.product-media img{
  max-height: 100%;
  max-width: 70%;
  width: auto; height: auto;
  object-fit: contain;
  transition: transform .65s var(--ease-out);
  filter: drop-shadow(0 18px 24px rgba(10,25,50,.22));
  position: relative; z-index: 2;
  cursor: zoom-in;
}
.product:hover .product-media img{ transform: scale(1.08) rotate(-2deg); }

.tag{
  position: absolute; top: 12px; left: 12px; z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  background: rgba(4,7,14,.82);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}
.tag.accent{
  background: var(--grad);
  color: #04101F;
  border-color: transparent;
  box-shadow: 0 8px 20px -6px rgba(75,150,255,.7);
}

.product-body{
  padding: 8px 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.product-body h3{
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.015em;
}
.product-body p{
  color: var(--muted);
  font-size: 14px;
  flex: 1;
  line-height: 1.55;
}
.product-link{
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-size: 14px; font-weight: 700;
  color: var(--brand-2);
  transition: gap .3s var(--ease);
}
.product-link .icon{ width: 16px; height: 16px; transition: transform .3s var(--ease); }
.product:hover .product-link .icon{ transform: translateX(6px); }

.catalog-wide{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.wide-card{
  position: relative;
  display: flex; align-items: center; gap: 26px;
  padding: 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(75,150,255,.13), rgba(31,215,238,.06)),
    var(--surface);
  border: 1px solid var(--stroke);
  transition: transform .5s var(--ease-out), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.wide-card:hover{
  transform: translateY(-6px);
  border-color: rgba(75,150,255,.45);
  box-shadow: 0 40px 80px -50px rgba(75,150,255,.8);
}
.wide-media{
  width: 128px; flex: none;
  aspect-ratio: 1;
  border-radius: 18px;
  background: linear-gradient(160deg, #FAFCFF, #D9E4F5);
  display: grid; place-items: center;
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.wide-media img{
  object-fit: contain;
  max-height: 100%; max-width: 80%;
  width: auto; height: auto;
  filter: drop-shadow(0 10px 16px rgba(10,25,50,.2));
}
.wide-card h3{ font-size: 18px; margin-bottom: 6px; letter-spacing: -.01em; }
.wide-card p{ color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ============================================================
   FEATURES
   ============================================================ */
.features{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature{
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
  overflow: hidden;
  transition: transform .5s var(--ease-out),
              border-color .5s var(--ease),
              background .5s var(--ease);
}
.feature::before{
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease);
}
.feature:hover{
  transform: translateY(-8px);
  border-color: rgba(31,215,238,.4);
  background: var(--surface-2);
}
.feature:hover::before{ transform: scaleX(1); }

.feature-icon{
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(75,150,255,.28), rgba(31,215,238,.14));
  border: 1px solid rgba(75,150,255,.3);
  color: var(--brand-2);
  transition: transform .4s var(--ease-spring);
}
.feature:hover .feature-icon{ transform: scale(1.08) rotate(-4deg); }
.feature-icon .icon{ width: 26px; height: 26px; }
.feature h3{ font-size: 17.5px; margin-bottom: 10px; letter-spacing: -.01em; }
.feature p{ color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ============================================================
   PROMO
   ============================================================ */
.promo{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(38px, 5vw, 68px);
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(31,215,238,.28), transparent 60%),
    radial-gradient(70% 120% at 5% 100%, rgba(75,150,255,.32), transparent 60%),
    #080E1D;
  border: 1px solid rgba(75,150,255,.32);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 44px;
  align-items: center;
}
.promo::before{
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60% 100% at 20% 50%, #000, transparent);
          mask-image: radial-gradient(60% 100% at 20% 50%, #000, transparent);
}
.promo > *{ position: relative; z-index: 2; }
.promo h2{
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 16px 0 16px;
  letter-spacing: -.03em;
}
.promo p{ color: #B9C8DE; max-width: 46ch; line-height: 1.6; }
.promo-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.promo-note{
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 20px;
}

.promo-visual{ display: grid; place-items: center; }
.promo-visual .ring{
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(31,215,238,.45);
  display: grid; place-items: center;
  animation: spin 32s linear infinite;
}
.promo-visual .ring::before{
  content: "";
  position: absolute; inset: 28px;
  border-radius: 50%;
  background: linear-gradient(160deg, #FAFCFF, #D4E0F2);
  box-shadow: 0 50px 100px -30px rgba(31,215,238,.9);
}
.promo-visual .ring img{
  position: relative; z-index: 2;
  width: 62%;
  object-fit: contain;
  animation: spin 32s linear infinite reverse;
  filter: drop-shadow(0 20px 26px rgba(10,25,50,.25));
}

/* ============================================================
   ACTION CARDS
   ============================================================ */
.split{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.action-card{
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.5vw, 46px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--stroke);
  transition: transform .5s var(--ease-out),
              border-color .5s var(--ease),
              background .5s var(--ease);
  display: block;
}
.action-card:hover{
  transform: translateY(-8px);
  border-color: rgba(75,150,255,.5);
  background: var(--surface-2);
}
.action-card .glow{
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  right: -90px; top: -90px;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.action-card:hover .glow{ opacity: .85; }
.action-card.wa .glow{ background: #25D366; }
.action-card.tg .glow{ background: #2AABEE; }

.action-icon{
  width: 60px; height: 60px;
  border-radius: 17px;
  display: grid; place-items: center;
  margin-bottom: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--stroke-strong);
  transition: transform .4s var(--ease-spring);
}
.action-card:hover .action-icon{ transform: scale(1.08) rotate(-6deg); }
.action-icon .icon{ width: 28px; height: 28px; }
.action-card h3{ font-size: 21px; margin-bottom: 10px; letter-spacing: -.015em; }
.action-card p{
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 26px;
  max-width: 38ch;
  line-height: 1.55;
}

/* ============================================================
   OFFERS
   ============================================================ */
.offers{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer{
  position: relative;
  padding: 34px 30px 34px 38px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
  overflow: hidden;
  transition: transform .5s var(--ease-out),
              border-color .5s var(--ease),
              background .5s var(--ease);
}
.offer::before{
  content: "";
  position: absolute; left: 0; top: 28px; bottom: 28px;
  width: 3px; border-radius: 3px;
  background: var(--grad);
  transition: top .4s var(--ease), bottom .4s var(--ease);
}
.offer:hover{
  transform: translateY(-8px);
  border-color: rgba(31,215,238,.42);
  background: var(--surface-2);
}
.offer:hover::before{ top: 16px; bottom: 16px; }
.offer-num{
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: .55;
  margin-bottom: 18px;
  transition: opacity .4s var(--ease);
}
.offer:hover .offer-num{ opacity: .95; }
.offer h3{ font-size: 17.5px; margin-bottom: 10px; letter-spacing: -.01em; }
.offer p{ color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(44px, 5.5vw, 76px) clamp(28px, 4vw, 60px);
  text-align: center;
  background:
    radial-gradient(70% 100% at 20% 0%, rgba(255,255,255,.25), transparent 60%),
    linear-gradient(135deg, #1D5FD1 0%, #4B96FF 45%, #1FD7EE 100%);
  box-shadow: 0 60px 140px -50px rgba(75,150,255,1);
}
.cta-band::before{
  content: "";
  position: absolute; inset: 0;
  opacity: .18;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
          mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}
.cta-band > *{ position: relative; z-index: 2; }
.cta-band h2{
  font-size: clamp(26px, 3.6vw, 44px);
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,.1);
}
.cta-band p{
  color: rgba(255,255,255,.92);
  font-size: clamp(15px, 1.2vw, 17px);
  max-width: 56ch;
  margin-inline: auto;
  line-height: 1.6;
}
.cta-band .btn-primary{
  background: #0B1220;
  color: #fff;
  box-shadow: 0 22px 46px -16px rgba(0,0,0,.7);
}
.cta-band .btn-primary:hover{ background: #04070E; }
.cta-band .btn-ghost{
  border-color: rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.14);
}
.cta-band .btn-ghost:hover{ background: rgba(255,255,255,.24); }
.cta-actions{
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{
  position: relative;
  border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(10,17,32,.4), rgba(4,7,14,1));
  padding-top: clamp(60px, 7vw, 96px);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
}
.footer h4{
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
  font-weight: 800;
}
.footer p, .footer a{ font-size: 14px; color: var(--muted); }
.footer-links li{ margin-bottom: 12px; }
.footer-links a{
  position: relative;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
  display: inline-block;
}
.footer-links a:hover{ color: var(--brand-2); padding-left: 8px; }

.footer-brand{
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.footer-brand .brand-logo{
  width: 52px; height: 52px;
  border-radius: 15px;
}
.footer-brand .brand-logo img{ width: 32px; }
.footer-brand strong{ font-size: 16px; letter-spacing: .16em; }
.footer-brand small{
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .05em;
}

.hours li{
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,.09);
  font-size: 14px; color: #B7C4D8;
}
.hours li:last-child{ border: 0; }
.hours span{ color: #fff; font-weight: 700; }

.contact-line{
  display: flex; align-items: center; gap: 11px;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--text-dim);
  font-weight: 600;
  transition: color .25s var(--ease);
}
.contact-line:hover{ color: var(--brand-2); }
.contact-line .icon{ width: 18px; height: 18px; color: var(--brand-2); }

.footer-bottom{
  margin-top: clamp(48px, 6vw, 80px);
  padding: 28px 0;
  border-top: 1px solid var(--stroke);
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  font-size: 13px;
  color: var(--muted-2);
}
.footer-bottom a{ color: #B7C4D8; transition: color .25s var(--ease); }
.footer-bottom a:hover{ color: var(--brand-2); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-18px); }
}
@keyframes spin{
  to{ transform: rotate(360deg); }
}

[data-reveal]{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: transform, opacity;
}
[data-reveal].in{
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce){
  *{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html{ scroll-behavior: auto; }
  [data-reveal]{ opacity: 1; transform: none; }
}

/* ============================================================
   MOBILE BOTTOM NAV — по умолчанию скрыта
   ============================================================ */
.mobile-bottom-nav,
.mobile-sheet{
  display: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px){
  .catalog-grid{ grid-template-columns: repeat(2, 1fr); }
  .features{ grid-template-columns: repeat(2, 1fr); }
  .offers{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 980px){
  :root{
    --header-h: 66px;
    --bottom-nav-h: 64px;
  }

  body{
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  }

  .site-header{
    height: var(--header-h);
    flex-direction: row;
    align-items: center;
  }
  .header-inner{
    padding: 10px 16px;
    width: 100%;
    height: var(--header-h);
    gap: 10px;
    margin: 0;
  }

  .header-phone,
  .burger,
  .nav{ display: none; }
  .brand-text small{ display: none; }
  .header-actions{ margin-left: auto; gap: 8px; }

  .hero-grid{ grid-template-columns: 1fr; text-align: left; }
  .hero-visual{ order: -1; margin-bottom: 20px; min-height: 420px; }
  .hero-card{ width: min(400px, 100%); }
  .hero-orbit{ width: 100%; }
  .hero-orbit-2{ width: 82%; }

  .promo{ grid-template-columns: 1fr; text-align: left; }
  .promo-visual{ order: -1; }

  .mobile-bottom-nav{
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 850;
    height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
    padding: 0 4px env(safe-area-inset-bottom, 0px);
    background: rgba(5,9,18,.94);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    border-top: 1px solid var(--stroke);
    box-shadow: 0 -22px 46px -26px rgba(0,0,0,.95);
    align-items: stretch;
    justify-content: space-between;
  }

  .mobile-tab{
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 2px 6px;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: -.01em;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: color .22s var(--ease);
  }

  .mobile-tab .icon{
    width: 22px;
    height: 22px;
    stroke-width: 1.9;
    transition: transform .28s var(--ease-spring);
  }

  .mobile-tab:active .icon{
    transform: scale(.88);
  }

  .mobile-tab.active,
  .mobile-tab.sheet-active{
    color: var(--brand-2);
  }

  .mobile-tab.active .icon,
  .mobile-tab.sheet-active .icon{
    filter: drop-shadow(0 0 8px rgba(31,215,238,.6));
  }

  .mobile-tab.active::before,
  .mobile-tab.sheet-active::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    background: var(--grad);
    border-radius: 0 0 2px 2px;
    box-shadow: 0 0 12px var(--brand-2);
  }

  .mobile-sheet{
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    visibility: hidden;
  }
  .mobile-sheet.open{
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-sheet-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .3s var(--ease);
    border: 0;
    padding: 0;
    width: 100%;
    cursor: pointer;
  }
  .mobile-sheet.open .mobile-sheet-backdrop{ opacity: 1; }

  .mobile-sheet-content{
    position: absolute;
    left: 0; right: 0; bottom: 0;
    max-height: calc(100dvh - 40px);
    background: var(--bg-elev);
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    border-top: 1px solid var(--stroke-strong);
    box-shadow: 0 -34px 90px -20px rgba(0,0,0,.95);
    transform: translateY(100%);
    transition: transform .4s var(--ease-out);
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overflow: hidden;
  }
  .mobile-sheet.open .mobile-sheet-content{
    transform: translateY(0);
  }

  .mobile-sheet-handle{
    width: 42px;
    height: 4px;
    border-radius: 2px;
    background: var(--stroke-strong);
    margin: 10px auto 4px;
    flex-shrink: 0;
  }

  .mobile-sheet-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px 14px;
    border-bottom: 1px solid var(--stroke);
    flex-shrink: 0;
  }
  .mobile-sheet-header h3{
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
  }
  .mobile-sheet-close{
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--stroke);
    display: grid;
    place-items: center;
    color: var(--text);
    cursor: pointer;
    transition: background .2s var(--ease), border-color .2s var(--ease);
  }
  .mobile-sheet-close:hover{ background: rgba(255,255,255,.12); }
  .mobile-sheet-close .icon{ width: 18px; height: 18px; }

  .mobile-sheet-body{
    overflow-y: auto;
    padding: 12px 14px 20px;
    -webkit-overflow-scrolling: touch;
    flex: 1;
  }

  .mobile-sheet-section{ margin-bottom: 14px; }
  .mobile-sheet-section:last-child{ margin-bottom: 0; }
  .mobile-sheet-section-title{
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 6px 8px 10px;
  }

  .mobile-sheet-list{
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-sheet-item{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--stroke);
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
    text-decoration: none;
  }
  .mobile-sheet-item:hover,
  .mobile-sheet-item:active{
    background: rgba(75,150,255,.10);
    border-color: rgba(75,150,255,.3);
    color: var(--text);
  }
  .mobile-sheet-item .icon{
    width: 18px;
    height: 18px;
    color: var(--brand-2);
    flex-shrink: 0;
  }
  .mobile-sheet-item .chev{
    margin-left: auto;
    width: 14px;
    height: 14px;
    color: var(--muted-2);
    opacity: .8;
    flex-shrink: 0;
  }

  .mobile-sheet-item.is-active{
    background: rgba(31,215,238,.10);
    border-color: rgba(31,215,238,.35);
    color: var(--brand-2);
  }
}

@media (max-width: 760px){
  .container{ width: calc(100% - 32px); }
  .header-inner{ padding: 10px 14px; }

  .hero-stats{ grid-template-columns: repeat(2, 1fr); gap: 0; }
  .hero-stats > li{
    padding: 18px 16px;
    border-left: 1px solid var(--stroke);
    border-top: 1px solid var(--stroke);
  }
  .hero-stats > li:nth-child(1),
  .hero-stats > li:nth-child(2){ border-top: 0; }
  .hero-stats > li:nth-child(odd){ padding-left: 0; border-left: 0; }
  .hero-stats > li:nth-child(even){ padding-right: 0; }

  .catalog-grid,
  .features,
  .offers,
  .split,
  .catalog-wide{ grid-template-columns: 1fr; }

  .wide-card{ flex-direction: column; text-align: center; align-items: center; }
  .hero-cta .btn,
  .cta-actions .btn{ flex: 1 1 100%; }
  .footer-grid{ grid-template-columns: 1fr; }
  .offer{ padding: 28px 24px 28px 30px; }
  .trust-list li{ padding: 18px 22px; font-size: 13.5px; }

  .header-actions .btn-sm{
    padding: 9px 12px;
    font-size: 12px;
    border-radius: 10px;
  }
}

@media (max-width: 520px){
  .brand-text{ display: none; }
  .brand-logo{ width: 38px; height: 38px; border-radius: 11px; }
  .brand-logo img{ width: 24px; }
  .theme-toggle{ width: 38px; height: 38px; border-radius: 10px; }
  .theme-toggle .icon{ width: 18px; height: 18px; }

  .mobile-tab{ font-size: 10px; }
  .mobile-tab .icon{ width: 20px; height: 20px; }
}

@media (max-width: 380px){
  .header-actions .btn-sm{
    font-size: 11px;
    padding: 8px 10px;
    border-radius: 10px;
    white-space: normal;
    text-align: center;
    line-height: 1.1;
  }
  .mobile-tab{ font-size: 9.5px; gap: 2px; }
  .mobile-tab .icon{ width: 19px; height: 19px; }
}

/* ============================================================
   LIGHT THEME
   ============================================================ */
[data-theme="light"]{
  color-scheme: light;

  --bg: #F4F7FC;
  --bg-soft: #FFFFFF;
  --bg-elev: #FFFFFF;

  --surface: #FFFFFF;
  --surface-2: #EDF3FC;
  --surface-3: #E0EAFA;

  --stroke: rgba(15,35,70,.10);
  --stroke-strong: rgba(15,35,70,.20);

  --text: #0C1A2E;
  --text-dim: #33445F;
  --muted: #5B6B84;
  --muted-2: #8090A8;

  --brand: #2E7CF0;
  --brand-2: #0891B2;
  --brand-3: #5A9EF5;

  --grad: linear-gradient(135deg,#2E7CF0 0%,#0891B2 100%);
  --grad-soft: linear-gradient(135deg,rgba(46,124,240,.14),rgba(8,145,178,.08));

  --shadow: 0 30px 80px -30px rgba(15,35,70,.18);
  --shadow-lg: 0 40px 100px -30px rgba(15,35,70,.28);
  --glow: 0 24px 80px -20px rgba(46,124,240,.45);
}

[data-theme="light"] .site-header{
  background: rgba(248,251,255,.72);
  border-bottom-color: transparent;
}
[data-theme="light"] .site-header.is-scrolled{
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--stroke);
  box-shadow: 0 20px 46px -26px rgba(15,35,70,.18);
}
[data-theme="light"] .nav-link{ color: #3C4C66; }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active{ color: var(--text); background: rgba(15,35,70,.06); }
[data-theme="light"] .dropdown{
  background: #FFFFFF;
  border-color: var(--stroke-strong);
  box-shadow: 0 46px 90px -22px rgba(15,35,70,.22);
}
[data-theme="light"] .dropdown a{ color: #3C4C66; }
[data-theme="light"] .dropdown a:hover{ background: rgba(46,124,240,.10); color: var(--text); }
[data-theme="light"] .theme-toggle{
  background: rgba(15,35,70,.04);
  border-color: var(--stroke-strong);
}
[data-theme="light"] .theme-toggle:hover{
  background: rgba(15,35,70,.08);
  border-color: rgba(15,35,70,.3);
}
[data-theme="light"] .theme-toggle .icon-sun{ display: none; }
[data-theme="light"] .theme-toggle .icon-moon{ display: block; }

[data-theme="light"] .hero::before{
  background:
    radial-gradient(50% 45% at 82% 6%, rgba(46,124,240,.22), transparent 65%),
    radial-gradient(40% 42% at 4% 82%, rgba(8,145,178,.15), transparent 65%),
    radial-gradient(60% 50% at 50% 100%, rgba(46,124,240,.08), transparent 70%);
}
[data-theme="light"] .hero::after{
  opacity: .5;
  background-image:
    linear-gradient(rgba(15,35,70,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,35,70,.055) 1px, transparent 1px);
}
[data-theme="light"] .hero-visual::before{ opacity: .40; }
[data-theme="light"] .hero-card{
  background: linear-gradient(160deg, #FFFFFF 0%, #E2ECFA 100%);
  border-color: rgba(15,35,70,.08);
  box-shadow:
    0 60px 140px -40px rgba(46,124,240,.5),
    inset 0 1px 0 #fff;
}
[data-theme="light"] .hero-badge{
  background: #FFFFFF;
  border-color: rgba(8,145,178,.35);
  color: var(--brand-2);
  box-shadow: 0 22px 46px -14px rgba(8,145,178,.35);
}
[data-theme="light"] .eyebrow{
  border-color: rgba(8,145,178,.3);
  background: rgba(8,145,178,.08);
}

[data-theme="light"] .trust{
  background:
    linear-gradient(90deg, rgba(46,124,240,.06), rgba(8,145,178,.04)),
    #F4F7FC;
}
[data-theme="light"] .trust-list li{ color: #33445F; }
[data-theme="light"] .trust-list li:hover{ background: #FFFFFF; }

[data-theme="light"] .tag{
  background: rgba(255,255,255,.92);
  color: #0C1A2E;
  border-color: rgba(15,35,70,.16);
}
[data-theme="light"] .tag.accent{
  background: var(--grad);
  color: #04101F;
  border-color: transparent;
}

[data-theme="light"] .btn-ghost{
  background: rgba(15,35,70,.03);
  color: var(--text);
  border-color: var(--stroke-strong);
}
[data-theme="light"] .btn-ghost:hover{
  background: rgba(15,35,70,.07);
  border-color: rgba(15,35,70,.3);
}

[data-theme="light"] .product-media{
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(46,124,240,.10), transparent 60%),
    linear-gradient(160deg, #FFFFFF, #DCE7F5);
}
[data-theme="light"] .wide-media{
  background: linear-gradient(160deg, #FFFFFF, #DCE7F5);
}

[data-theme="light"] .promo{
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(8,145,178,.16), transparent 60%),
    radial-gradient(70% 120% at 5% 100%, rgba(46,124,240,.18), transparent 60%),
    #FFFFFF;
  border-color: rgba(46,124,240,.22);
}
[data-theme="light"] .promo::before{
  opacity: .5;
  background-image:
    linear-gradient(rgba(15,35,70,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,35,70,.05) 1px, transparent 1px);
}
[data-theme="light"] .promo p{ color: #44546E; }
[data-theme="light"] .promo-note{ color: #8090A8; }

[data-theme="light"] .action-card .glow{ opacity: .28; }
[data-theme="light"] .action-card:hover .glow{ opacity: .45; }
[data-theme="light"] .action-icon{
  background: rgba(15,35,70,.05);
  border-color: var(--stroke-strong);
}

[data-theme="light"] .footer{
  background: linear-gradient(180deg, #EAF1FB 0%, #F4F7FC 100%);
}
[data-theme="light"] .footer h4{ color: var(--text); }
[data-theme="light"] .hours li{
  color: #3C4C66;
  border-bottom-color: rgba(15,35,70,.12);
}
[data-theme="light"] .hours span{ color: var(--text); }
[data-theme="light"] .contact-line{ color: #33445F; }
[data-theme="light"] .footer-bottom{ color: #5B6B84; }
[data-theme="light"] .footer-bottom a{ color: #33445F; }

[data-theme="light"] .cta-band .btn-ghost{
  border-color: rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.14);
}
[data-theme="light"] .cta-band .btn-ghost:hover{ background: rgba(255,255,255,.24); }
[data-theme="light"] .cta-band .btn-primary{ background: #0B1220; color: #fff; }

@media (max-width: 980px){
  [data-theme="light"] .mobile-bottom-nav{
    background: rgba(255,255,255,.94);
    border-top-color: var(--stroke);
    box-shadow: 0 -22px 46px -26px rgba(15,35,70,.22);
  }
  [data-theme="light"] .mobile-tab{ color: #8090A8; }
  [data-theme="light"] .mobile-tab.active,
  [data-theme="light"] .mobile-tab.sheet-active{ color: var(--brand-2); }

  [data-theme="light"] .mobile-sheet-content{
    background: #FFFFFF;
    border-top-color: var(--stroke-strong);
    box-shadow: 0 -34px 90px -20px rgba(15,35,70,.35);
  }
  [data-theme="light"] .mobile-sheet-handle{ background: rgba(15,35,70,.16); }
  [data-theme="light"] .mobile-sheet-header{ border-bottom-color: var(--stroke); }
  [data-theme="light"] .mobile-sheet-close{
    background: rgba(15,35,70,.05);
    border-color: var(--stroke);
    color: var(--text);
  }
  [data-theme="light"] .mobile-sheet-close:hover{ background: rgba(15,35,70,.10); }
  [data-theme="light"] .mobile-sheet-item{
    background: rgba(15,35,70,.03);
    border-color: var(--stroke);
    color: #3C4C66;
  }
  [data-theme="light"] .mobile-sheet-item:hover,
  [data-theme="light"] .mobile-sheet-item:active{
    background: rgba(46,124,240,.10);
    border-color: rgba(46,124,240,.25);
    color: var(--text);
  }
  [data-theme="light"] .mobile-sheet-item.is-active{
    background: rgba(8,145,178,.10);
    border-color: rgba(8,145,178,.3);
    color: var(--brand-2);
  }
  [data-theme="light"] .mobile-sheet-backdrop{ background: rgba(15,35,70,.4); }
}

/* ============================================================
   ТАБЛИЦЫ
   ============================================================ */
.table{
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 20px 0;
  border: 1px solid var(--stroke);
}
.table th, .table td{
  padding: 12px 14px;
  border-bottom: 1px solid var(--stroke);
  text-align: left;
  font-size: 14px;
  color: var(--text-dim);
  vertical-align: top;
}
.table th{
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
}
.table tr:hover td{ background: var(--surface-2); }
.table tr:last-child td{ border-bottom: 0; }
.table-responsive{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
}
[data-theme="light"] .table{ background: #FFFFFF; }
[data-theme="light"] .table th{ background: #EDF3FC; color: #0C1A2E; }
[data-theme="light"] .table td{ color: #33445F; }
[data-theme="light"] .table tr:hover td{ background: #F4F7FC; }

/* ============================================================
   IMAGE GALLERY
   ============================================================ */
.image-gallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.image-gallery .single-image{
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #FAFCFF, #D9E4F5);
  padding: 20px;
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px solid var(--stroke);
}
.image-gallery .single-image img{
  max-width: 100%;
  max-height: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .5s var(--ease-out);
}
.image-gallery .single-image:hover img{ transform: scale(1.06); }
@media (max-width: 760px){
  .image-gallery{ grid-template-columns: 1fr; }
}

/* ============================================================
   Bottom sheet — плавность и свайп
   ============================================================ */
.mobile-sheet {
  transition: visibility 0s linear .4s;
}
.mobile-sheet.open {
  transition: visibility 0s linear 0s;
}
.mobile-sheet-content {
  will-change: transform;
  touch-action: pan-y;
}
.mobile-sheet-handle {
  cursor: grab;
}
.mobile-sheet-handle:active {
  cursor: grabbing;
}
.mobile-sheet-body {
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.mobile-sheet-item {
  touch-action: manipulation;
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ============================================================
   ЛАЙТБОКС — полноэкранный просмотр изображений
   ============================================================ */
body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .2s ease;
  cursor: zoom-out;
  -webkit-tap-highlight-color: transparent;
}
.lightbox.open {
  display: flex;
  opacity: 1;
}
.lightbox img {
  max-width: 95vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  cursor: default;
  background: #fff;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
  z-index: 2;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .26); }
.lightbox-close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  display: block;
}

@media (max-width: 640px) {
  .lightbox { padding: 8px; }
  .lightbox img { max-width: 100vw; max-height: 88vh; border-radius: 8px; }
  .lightbox-close { top: 10px; right: 10px; width: 42px; height: 42px; }
}