:root {
  --container-max: 1200px;
  --bp-tablet: 1199px;
  --bp-mobile: 767px;
  --header-top-h: 44px;
  --header-bottom-h: 120px;
  --header-sticky-bottom-h: 92px;
  --hero-h-desktop: 580px;
  --hero-h-tight: 680px;
  --hero-pad-x: 40px;
  --hero-pad-y: 68px;
  --hero-content-max: 950px;
  --space-after-hero: 120px;
  --space-section: 100px;
  --space-h1-after: 24px;
  --space-h2-after: 14px;
  --accent: #ff6000;
  --accent-hover: #ff7a26;
  --accent-active: #e65500;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #f5f6f8;
  --btn-primary-hover-text: #111111;
  --btn-primary-active-bg: #eceef2;
  --btn-primary-active-text: #111111;
  --btn-secondary-bg: rgba(255, 255, 255, 0.08);
  --btn-secondary-bg-hover: rgba(255, 255, 255, 0.14);
  --btn-secondary-border: rgba(255, 255, 255, 0.34);
  --hover-bg: rgba(255, 255, 255, 0.08);
  --active-bg: rgba(255, 255, 255, 0.14);
  --chip-bg: rgba(255, 255, 255, 0.08);
  --chip-bg-hover: rgba(255, 255, 255, 0.14);
  --chip-border: rgba(255, 255, 255, 0.24);
  --focus-ring: 0 0 0 3px rgba(255, 96, 0, 0.35);
  --bg-page: #0c0d10;
  --bg-header-scrolled: rgba(12, 12, 14, 0.82);
  --bg-mobile-menu: #111317;
  --bg-mega: rgba(17, 18, 20, 0.98);
  --bg-panel: #121315;
  --bg-panel-soft: #17181b;
  --bg-modal-lead: #ececec;
  --bg-input: rgba(255, 255, 255, 0.08);
  --bg-dropdown: #1b1d21;
  --overlay-base: rgba(0, 0, 0, 0.62);
  --overlay-strong: rgba(0, 0, 0, 0.58);
  --media-overlay-soft: rgba(8, 9, 11, 0.02);
  --media-overlay-strong: rgba(8, 9, 11, 0.72);
  --surface-tint: rgba(255, 255, 255, 0.035);
  --surface-tint-strong: rgba(255, 255, 255, 0.07);
  --border-soft: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.8);
  --text-dim: rgba(255, 255, 255, 0.6);
  --text-nested: rgba(255, 255, 255, 0.6);
  --radius-pill: 50px;
  --shadow-modal: 0 20px 80px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.22);
  --icon-contrast: #ffffff;
  --transition-fast: 0.18s ease;
  --transition-base: 0.24s ease;
  --transition: var(--transition-base);
  --font: "Tilda Sans", Arial, sans-serif;
  --fs-topnav: 12px;
  --fw-topnav: 500;
  --fs-mainnav: 16px;
  --fw-mainnav: 700;
  --fs-phone: 16px;
  --fw-phone: 900;
  --fs-btn: 16px;
  --fw-btn: 700;
  --typo-h1-size: 56px;
  --typo-h1-line-height: 1.06;
  --typo-h1-weight: 600;
  --typo-h2-size: 48px;
  --typo-h2-line-height: 1.12;
  --typo-h2-weight: 600;
  --typo-h3-size: 16px;
  --typo-h3-line-height: 1.25;
  --typo-h3-weight: 500;
  --fs-hero-title: 56px;
  --fs-hero-sub: 20px;
  --fw-hero-sub: 500;
  --mega-col-title: 24px;
  --mega-item: 20px;
  --mega-nested: 14px;
  --nested-scroll-max: 7.5rem;
  --cta-chip-size: 34px;
  --cta-chip-size-sm: 30px;
}

html[data-theme="light"] {
  --btn-primary-hover-bg: #fdfdfd;
  --btn-primary-hover-text: #111111;
  --btn-primary-active-bg: #e65500;
  --btn-primary-active-text: #ffffff;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-bg-hover: #efeffc;
  --btn-secondary-border: rgba(17, 22, 28, 0.22);
  --hover-bg: rgba(17, 22, 28, 0.06);
  --active-bg: rgba(17, 22, 28, 0.1);
  --chip-bg: rgba(17, 22, 28, 0.06);
  --chip-bg-hover: rgba(17, 22, 28, 0.12);
  --chip-border: rgba(17, 22, 28, 0.2);
  --bg-page: #f4f6f9;
  --bg-header-scrolled: rgba(247, 249, 252, 0.86);
  --bg-mobile-menu: #ffffff;
  --bg-mega: rgba(255, 255, 255, 0.98);
  --bg-panel: #ffffff;
  --bg-panel-soft: #f7f9fc;
  --bg-modal-lead: #ffffff;
  --bg-input: rgba(17, 22, 28, 0.06);
  --bg-dropdown: #ffffff;
  --overlay-base: rgba(10, 15, 20, 0.46);
  --overlay-strong: rgba(10, 15, 20, 0.38);
  --media-overlay-soft: rgba(11, 16, 22, 0.02);
  --media-overlay-strong: rgba(11, 16, 22, 0.4);
  --surface-tint: rgba(17, 22, 28, 0.04);
  --surface-tint-strong: rgba(17, 22, 28, 0.08);
  --border-soft: rgba(17, 22, 28, 0.14);
  --border-strong: rgba(17, 22, 28, 0.24);
  --text-primary: #101418;
  --text-muted: rgba(16, 20, 24, 0.78);
  --text-dim: rgba(16, 20, 24, 0.62);
  --text-nested: rgba(16, 20, 24, 0.66);
  --shadow-modal: 0 20px 64px rgba(16, 20, 24, 0.18);
  --shadow-soft: 0 12px 24px rgba(16, 20, 24, 0.12);
  --icon-contrast: #101418;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-primary);
  background: var(--bg-page);
  font-family: "Tilda Sans", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.home-catalog__all-link,
.services__all-link,
.news__all-link,
.site-footer__link,
.site-footer__contact-link:not(.site-footer__contact-link--phone),
.site-footer__legal-link {
  opacity: 0.86;
  transition:
    color var(--transition-base),
    opacity var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base);
}

.home-catalog__all-link:focus-visible,
.services__all-link:focus-visible,
.news__all-link:focus-visible,
.site-footer__link:focus-visible,
.site-footer__contact-link:focus-visible,
.site-footer__legal-link:focus-visible {
  outline: none;
  color: var(--text-primary);
  opacity: 1;
  background: var(--hover-bg);
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .home-catalog__all-link:hover,
  .services__all-link:hover,
  .news__all-link:hover,
  .site-footer__link:hover,
  .site-footer__contact-link:hover,
  .site-footer__legal-link:hover {
    color: var(--text-primary);
    opacity: 1;
  }
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 64px, var(--container-max));
  margin-inline: auto;
}

.site {
  min-height: 100vh;
  background: var(--bg-page);
}

.page-breadcrumbs {
  margin: 12px 0 18px;
}

.page-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-dim);
  font-size: 14px;
}

.page-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
}

.page-breadcrumbs__item + .page-breadcrumbs__item::before {
  content: "›";
  margin-right: 8px;
  color: var(--border-strong);
}

.page-breadcrumbs__link {
  color: var(--text-dim);
  transition: color var(--transition-base);
}

.page-breadcrumbs__current {
  color: var(--text-primary);
}

html[data-theme="light"] .page-breadcrumbs__item + .page-breadcrumbs__item::before {
  color: rgba(16, 20, 24, 0.42);
}

html[data-theme="light"] .page-breadcrumbs__current,
html[data-theme="light"] .info-page__breadcrumbs-current,
html[data-theme="light"] .news-detail__breadcrumbs-current,
html[data-theme="light"] .product-detail__breadcrumbs-current {
  color: #111111;
  font-weight: 500;
}

html[data-theme="light"] .info-page__breadcrumbs-item:not(:last-child)::after,
html[data-theme="light"] .news-detail__breadcrumbs-item:not(:last-child)::after,
html[data-theme="light"] .product-detail__breadcrumbs-list li:not(:last-child)::after {
  color: rgba(16, 20, 24, 0.32);
}

@media (hover: hover) and (pointer: fine) {
  .page-breadcrumbs__link:hover {
    color: var(--text-primary);
  }
}

@media (max-width: 1199px) {
  :root {
    --space-after-hero: 96px;
    --space-section: 80px;
    --space-h1-after: 20px;
    --space-h2-after: 12px;
    --typo-h1-size: 48px;
    --typo-h1-line-height: 1.08;
    --typo-h2-size: 40px;
    --typo-h2-line-height: 1.14;
    --typo-h3-size: 15px;
    --typo-h3-line-height: 1.28;
  }

  .container {
    width: min(100% - 40px, var(--container-max));
  }
}

@media (max-width: 767px) {
  :root {
    --space-after-hero: 72px;
    --space-section: 60px;
    --space-h1-after: 16px;
    --space-h2-after: 10px;
    --typo-h1-size: 40px;
    --typo-h1-line-height: 1.1;
    --typo-h2-size: 32px;
    --typo-h2-line-height: 1.16;
    --typo-h3-size: 14px;
    --typo-h3-line-height: 1.3;
  }

  .container {
    width: min(100% - 24px, var(--container-max));
  }
}
