/*
 * Единая визуальная тема: Onest / Unbounded, фон, шапка, секции, футер.
 * body.site-theme — все страницы; .page-home — только блоки главной.
 */

html {
  /* Якоря (#silovoe …): секция не оказывается под шапкой при переходе из меню */
  scroll-padding-top: 72px;
}

body.site-theme {
  --font-home: "Onest", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Unbounded", "Onest", ui-sans-serif, system-ui, sans-serif;

  font-family: var(--font-home);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  background:
    radial-gradient(ellipse 120% 70% at 50% -15%, rgba(234, 88, 12, 0.06), transparent 45%),
    radial-gradient(ellipse 70% 50% at 100% 50%, rgba(31, 111, 95, 0.05), transparent 50%),
    linear-gradient(180deg, #f6f9fc 0%, #eef2f8 42%, #f4f6f9 100%);
  color: #111620;
}

body.site-theme .logo,
body.site-theme .nav,
body.site-theme .mobile-nav,
body.site-theme .btn,
body.site-theme .footer-col,
body.site-theme .site-footer {
  font-family: var(--font-home);
}

body.site-theme .site-header {
  background: rgba(251, 252, 254, 0.92);
  border-bottom: 1px solid rgba(17, 22, 32, 0.07);
  box-shadow:
    0 1px 0 rgba(249, 115, 22, 0.14),
    0 12px 36px rgba(12, 22, 38, 0.06);
}

/* Полоска доверия над основным блоком шапки */
body.site-theme .site-header__topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(55, 65, 81, 0.92);
  border-bottom: 1px solid rgba(17, 22, 32, 0.06);
}

@media (min-width: 720px) {
  body.site-theme .site-header__topbar {
    display: flex;
  }
}

body.site-theme .site-header__topbar-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

body.site-theme .site-header__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(31, 111, 95, 0.14);
  color: rgba(17, 22, 32, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

body.site-theme .site-header__pill--accent {
  border-color: rgba(234, 88, 12, 0.28);
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.65), rgba(255, 255, 255, 0.95));
}

body.site-theme .site-header__topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

body.site-theme .site-header__topbar-contact a {
  color: rgba(17, 22, 32, 0.78);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.site-theme .site-header__topbar-contact a:hover {
  color: var(--accent);
}

@media (min-width: 1200px) {
  body.site-theme .nav__link:hover,
  body.site-theme .nav__link[aria-current="page"],
  body.site-theme .nav__dropdown-toggle:hover {
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.09), rgba(249, 115, 22, 0.03));
    box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.12);
    color: var(--text);
  }
}

body.site-theme .section__heading h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

body.site-theme .cat-category__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

body.site-theme .section__badge {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(31, 111, 95, 0.1);
  border: 1px solid rgba(31, 111, 95, 0.18);
  padding: 8px 14px;
  border-radius: 999px;
}

body.site-theme .section__badge::before {
  display: none;
}

/* Внутренние страницы: тёмный «герой» в тон главной */
body.site-theme .page-hero:not(.page-hero--light) {
  position: relative;
  isolation: isolate;
  padding-block: clamp(36px, 5vw, 52px) clamp(28px, 4vw, 40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, #0a1628 0%, #162238 48%, #0d1829 100%);
  color: #e8edf4;
}

body.site-theme .page-hero:not(.page-hero--light)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 60% at 92% -5%, rgba(249, 115, 22, 0.35), transparent 52%),
    radial-gradient(ellipse 55% 45% at 5% 100%, rgba(45, 160, 140, 0.18), transparent 48%);
}

body.site-theme .page-hero:not(.page-hero--light) .shell {
  position: relative;
  z-index: 1;
}

body.site-theme .page-hero:not(.page-hero--light) h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
}

body.site-theme .page-hero:not(.page-hero--light) .page-hero__eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(241, 245, 252, 0.86);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

body.site-theme .page-hero:not(.page-hero--light) p:not(.page-hero__eyebrow) {
  margin: 0;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(241, 245, 252, 0.92);
}

body.site-theme .page-hero:not(.page-hero--light) .breadcrumb {
  color: rgba(229, 236, 247, 0.78);
}

body.site-theme .page-hero:not(.page-hero--light) .breadcrumb a {
  color: rgba(255, 255, 255, 0.94);
}

body.site-theme .page-hero:not(.page-hero--light) .breadcrumb a:hover {
  color: rgba(249, 180, 120, 0.98);
}

body.site-theme .page-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(8, 16, 28, 0.1);
  border: 1px solid rgba(17, 22, 32, 0.06);
}

body.site-theme .page-banner img {
  display: block;
}

body.site-theme.page-home .home-hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

body.site-theme.page-home .home-hero__eyebrow {
  letter-spacing: 0.22em;
  font-weight: 600;
  color: #ffedd5;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

body.site-theme.page-home .home-hero__lead {
  font-weight: 400;
  color: rgba(241, 245, 252, 0.94);
}

body.site-theme.page-home .home-hero__facts span {
  font-size: 12px;
  color: rgba(237, 242, 250, 0.85);
  letter-spacing: 0.06em;
}

body.site-theme.page-home .home-hero__bg {
  background: linear-gradient(160deg, #0a1628 0%, #162238 48%, #0d1829 100%);
}

body.site-theme.page-home .home-hero__bg::before {
  background:
    radial-gradient(ellipse 75% 60% at 92% -5%, rgba(249, 115, 22, 0.42), transparent 52%),
    radial-gradient(ellipse 55% 45% at 5% 100%, rgba(45, 160, 140, 0.22), transparent 48%);
}

body.site-theme.page-home .home-hero__figure {
  border-radius: calc(var(--radius-lg) + 4px);
  border-color: rgba(255, 255, 255, 0.18);
}

body.site-theme.page-home .home-brands__label {
  color: rgba(237, 242, 250, 0.82);
}

body.site-theme.page-home .home-brands__pill {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.09);
}

body.site-theme.page-home .home-quick__link {
  border-radius: var(--radius-md);
  border-color: rgba(17, 22, 32, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 24px rgba(15, 28, 45, 0.06);
}

body.site-theme.page-home .home-quick__link svg.ico {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  padding: 11px;
  border-radius: 14px;
  background: rgba(234, 88, 12, 0.11);
  color: var(--accent-dim);
  flex-shrink: 0;
}

body.site-theme.page-home .home-aud-card {
  border-radius: calc(var(--radius-lg) + 2px);
  border-color: rgba(17, 22, 32, 0.07);
  box-shadow: 0 16px 40px rgba(15, 28, 45, 0.07);
}

body.site-theme.page-home .home-split-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block-color: rgba(234, 88, 12, 0.18);
  background:
    radial-gradient(ellipse 90% 120% at 0% 50%, rgba(249, 115, 22, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 90% at 100% 20%, rgba(45, 160, 140, 0.12), transparent 50%),
    linear-gradient(165deg, #fff9f5 0%, #f4f7fb 42%, #eef6f4 100%);
}

body.site-theme.page-home .home-split-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background: radial-gradient(circle at 30% 40%, rgba(255, 180, 120, 0.45), transparent 42%);
}

body.site-theme.page-home .home-split-band__inner {
  position: relative;
  z-index: 1;
}

body.site-theme.page-home .home-quote {
  margin: 0;
  padding: clamp(22px, 4vw, 34px) clamp(22px, 4vw, 36px);
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid rgba(234, 88, 12, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 251, 246, 0.98));
  box-shadow:
    0 18px 46px rgba(15, 28, 45, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

body.site-theme.page-home .home-quote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4rem);
  line-height: 0.85;
  color: rgba(249, 115, 22, 0.55);
  margin-bottom: 8px;
}

body.site-theme.page-home .home-quote p {
  font-size: clamp(1.18rem, 2.2vw, 1.42rem);
  color: #132032;
}

body.site-theme.page-home .home-quote footer {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px dashed rgba(31, 111, 95, 0.22);
  color: rgba(55, 65, 81, 0.82);
}

body.site-theme.page-home .home-split-band .home-kpi {
  border-radius: var(--radius-md);
  border-color: rgba(31, 111, 95, 0.16);
  background: rgba(255, 255, 255, 0.82);
  border-inline-start: 4px solid rgba(249, 115, 22, 0.65);
  box-shadow: 0 12px 32px rgba(15, 28, 45, 0.06);
}

body.site-theme.page-home .home-split-band .home-kpi:nth-child(2) {
  border-inline-start-color: rgba(45, 160, 140, 0.85);
}

body.site-theme.page-home .home-split-band .home-kpi:nth-child(3) {
  border-inline-start-color: rgba(234, 88, 12, 0.55);
}

body.site-theme.page-home .home-split-band .home-kpi strong {
  color: #0f1729;
}

body.site-theme.page-home .home-split-band .home-kpi strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), rgba(45, 160, 140, 0.95));
  vertical-align: middle;
}

body.site-theme .card {
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s, border-color 0.2s;
}

body.site-theme .card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 48px rgba(15, 28, 45, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

body.site-theme.page-home .home-quote p {
  font-family: var(--font-home);
  font-weight: 500;
}

body.site-theme.page-home .timeline-step {
  border-radius: calc(var(--radius-md) + 2px);
  border: 1px solid rgba(17, 22, 32, 0.07);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(15, 28, 45, 0.06);
}

body.site-theme.page-home .timeline-step:nth-child(1) {
  border-top: 3px solid rgba(249, 115, 22, 0.85);
}

body.site-theme.page-home .timeline-step:nth-child(2) {
  border-top: 3px solid rgba(45, 160, 140, 0.85);
}

body.site-theme.page-home .timeline-step:nth-child(3) {
  border-top: 3px solid rgba(59, 130, 246, 0.65);
}

body.site-theme.page-home .timeline-step:nth-child(4) {
  border-top: 3px solid rgba(234, 88, 12, 0.55);
}

body.site-theme.page-home .timeline-step:nth-child(5) {
  border-top: 3px solid rgba(31, 111, 95, 0.78);
}

body.site-theme.page-home .timeline-step__num {
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 55%, #fb923c 100%);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

body.site-theme.page-home .timeline-step:nth-child(2) .timeline-step__num {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  box-shadow: 0 6px 16px rgba(45, 160, 140, 0.35);
}

body.site-theme.page-home .timeline-step:nth-child(3) .timeline-step__num {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

body.site-theme.page-home .timeline-step:nth-child(4) .timeline-step__num {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
}

body.site-theme.page-home .timeline-step:nth-child(5) .timeline-step__num {
  background: linear-gradient(135deg, #134e4a 0%, #0d9488 100%);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.28);
}

body.site-theme.page-home .timeline-step__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.18);
}

body.site-theme.page-home .timeline-step:nth-child(2) .timeline-step__icon {
  background: rgba(45, 160, 140, 0.12);
  border-color: rgba(45, 160, 140, 0.22);
}

body.site-theme.page-home .timeline-step:nth-child(3) .timeline-step__icon {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
}

body.site-theme.page-home .timeline-step:nth-child(4) .timeline-step__icon {
  background: rgba(234, 88, 12, 0.11);
  border-color: rgba(234, 88, 12, 0.2);
}

body.site-theme.page-home .timeline-step:nth-child(5) .timeline-step__icon {
  background: rgba(31, 111, 95, 0.12);
  border-color: rgba(31, 111, 95, 0.22);
}

body.site-theme.page-home .timeline-step__icon .ico {
  color: var(--accent-dim);
}

body.site-theme.page-home .timeline-step:nth-child(2) .timeline-step__icon .ico {
  color: #0f766e;
}

body.site-theme.page-home .timeline-step:nth-child(3) .timeline-step__icon .ico {
  color: #2563eb;
}

body.site-theme.page-home .timeline-step:nth-child(5) .timeline-step__icon .ico {
  color: var(--secondary);
}

/* Внутренние страницы — запасной нейтральный таймлайн */
body.site-theme:not(.page-home) .timeline-step {
  border-radius: calc(var(--radius-md) + 2px);
  border-color: rgba(17, 22, 32, 0.07);
  background: rgba(255, 255, 255, 0.55);
}

body.site-theme:not(.page-home) .timeline-step__num {
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
}

body.site-theme .logo {
  letter-spacing: -0.04em;
  font-weight: 800;
}

body.site-theme .btn {
  letter-spacing: 0.015em;
  border-radius: 10px;
}

body.site-theme .btn--ghost.btn--on-dark {
  border-radius: 11px;
}

body.site-theme .site-footer {
  background: linear-gradient(185deg, #0d1520 0%, #151d2e 55%, #0f1729 100%);
  color: #e8edf4;
  border-top-color: transparent;
}

body.site-theme .site-footer .logo {
  color: #fff;
}

body.site-theme .site-footer p,
body.site-theme .site-footer span,
body.site-theme .site-footer li a {
  color: rgba(232, 237, 244, 0.78);
}

body.site-theme .site-footer li a:hover,
body.site-theme .footer-bottom span {
  color: rgba(255, 255, 255, 0.94);
}

body.site-theme .site-footer .footer-contact-line a {
  color: rgba(255, 255, 255, 0.93);
}

body.site-theme .site-footer .footer-contact-line .ico {
  color: rgba(249, 115, 22, 0.85);
}

body.site-theme .spec-table {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(17, 22, 32, 0.08);
}

body.site-theme .notice {
  border-radius: var(--radius-md);
}

body.site-theme .product-info h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.site-theme .case-card__body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

body.site-theme .product-tile {
  border-radius: calc(var(--radius-md) + 2px);
  border-color: rgba(17, 22, 32, 0.07);
}

body.site-theme .product-buy-card {
  border-color: rgba(17, 22, 32, 0.08);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.96));
  box-shadow:
    0 16px 42px rgba(15, 28, 45, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

body.site-theme .product-buy-card__price-current {
  font-family: var(--font-display);
  font-weight: 600;
}

body.site-theme .product-tile__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
}

body.site-theme .product-tile__specs {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 22, 32, 0.06);
}


