:root {
  --header-bg: rgba(255, 255, 255, 0.94);
  --page-bg: #fbfbfa;
  --surface: #ffffff;
  --surface-soft: #f6f7f8;
  --text: #15181d;
  --muted: #6d7480;
  --border: #e3e7ed;
  --border-strong: #cfd6df;
  --accent: #d9a22a;
  --accent-hover: #bf8614;
  --accent-soft: #fff5db;
  --accent-contrast: #15110a;
  --accent-hover-contrast: #ffffff;
  --dark: #111820;
  --dark-hover: #26313d;
  --selected-bg: #151b23;
  --selected-text: #ffffff;
  --selected-indicator: #d9a22a;
  --selected-icon-color: #15110a;
  --promo-bg: #151b23;
  --promo-visual-bg: #202a35;
  --icon-tint: #38424e;
  --hero-bg:
    linear-gradient(180deg, rgba(246, 247, 248, 0.72), rgba(255, 255, 255, 0.92)),
    linear-gradient(90deg, rgba(217, 162, 42, 0.1), rgba(21, 27, 35, 0.05));
  --focus-ring: rgba(217, 162, 42, 0.42);
  --brand-pane-one: #bd3942;
  --brand-pane-two: #d7a846;
  --brand-pane-three: #356ba6;
  --brand-mark-border: rgba(17, 24, 32, 0.1);
  --header-rule: rgba(227, 231, 237, 0.75);
  --sticky-shadow: 0 12px 34px rgba(18, 26, 36, 0.08);
  --button-shadow: 0 12px 24px rgba(217, 162, 42, 0.2);
  --button-hover-shadow: 0 16px 28px rgba(191, 134, 20, 0.22);
  --menu-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  --overlay: rgba(13, 18, 25, 0.52);
  --promo-muted: rgba(255, 255, 255, 0.74);
  --promo-text: rgba(255, 255, 255, 0.86);
  --on-dark-border: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 50px rgba(18, 26, 36, 0.14);
  --radius: 8px;
  --header-height: 138px;
  --container: 1560px;
  color-scheme: light;
}

body[data-theme="graphite-gold"] {
  --header-bg: rgba(255, 255, 255, 0.94);
  --page-bg: #fbfbfa;
  --surface: #ffffff;
  --surface-soft: #f6f7f8;
  --text: #15181d;
  --muted: #6d7480;
  --border: #e3e7ed;
  --border-strong: #cfd6df;
  --accent: #d9a22a;
  --accent-hover: #bf8614;
  --accent-soft: #fff5db;
  --accent-contrast: #15110a;
  --accent-hover-contrast: #ffffff;
  --dark: #111820;
  --dark-hover: #26313d;
  --selected-bg: #151b23;
  --selected-text: #ffffff;
  --selected-indicator: #d9a22a;
  --selected-icon-color: #15110a;
  --promo-bg: #151b23;
  --promo-visual-bg: #202a35;
  --icon-tint: #38424e;
  --hero-bg:
    linear-gradient(180deg, rgba(246, 247, 248, 0.72), rgba(255, 255, 255, 0.92)),
    linear-gradient(90deg, rgba(217, 162, 42, 0.1), rgba(21, 27, 35, 0.05));
  --focus-ring: rgba(217, 162, 42, 0.42);
  --brand-pane-one: #bd3942;
  --brand-pane-two: #d7a846;
  --brand-pane-three: #356ba6;
  --brand-mark-border: rgba(17, 24, 32, 0.1);
  --header-rule: rgba(227, 231, 237, 0.75);
  --sticky-shadow: 0 12px 34px rgba(18, 26, 36, 0.08);
  --button-shadow: 0 12px 24px rgba(217, 162, 42, 0.2);
  --button-hover-shadow: 0 16px 28px rgba(191, 134, 20, 0.22);
  --menu-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  --overlay: rgba(13, 18, 25, 0.52);
  --promo-muted: rgba(255, 255, 255, 0.74);
  --promo-text: rgba(255, 255, 255, 0.86);
  --on-dark-border: rgba(255, 255, 255, 0.16);
}

body[data-theme="steel-blue"] {
  --header-bg: rgba(252, 254, 255, 0.95);
  --page-bg: #f4f8fb;
  --surface: #ffffff;
  --surface-soft: #f2f7fa;
  --text: #102436;
  --muted: #667684;
  --border: #dbe6ee;
  --border-strong: #bdd0dc;
  --accent: #2f6f8f;
  --accent-hover: #245973;
  --accent-soft: #eaf4f8;
  --accent-contrast: #ffffff;
  --accent-hover-contrast: #ffffff;
  --dark: #102436;
  --dark-hover: #18344d;
  --selected-bg: #102436;
  --selected-text: #ffffff;
  --selected-indicator: #68b8d5;
  --selected-icon-color: #102436;
  --promo-bg: #102436;
  --promo-visual-bg: #1a3a54;
  --icon-tint: #2f5368;
  --hero-bg:
    linear-gradient(180deg, rgba(244, 248, 251, 0.74), rgba(255, 255, 255, 0.94)),
    linear-gradient(90deg, rgba(47, 111, 143, 0.12), rgba(16, 36, 54, 0.04));
  --focus-ring: rgba(47, 111, 143, 0.36);
  --brand-pane-one: #2f6f8f;
  --brand-pane-two: #9fb9c8;
  --brand-pane-three: #102436;
  --brand-mark-border: rgba(16, 36, 54, 0.12);
  --header-rule: rgba(219, 230, 238, 0.82);
  --sticky-shadow: 0 12px 34px rgba(16, 36, 54, 0.08);
  --button-shadow: 0 12px 24px rgba(47, 111, 143, 0.18);
  --button-hover-shadow: 0 16px 28px rgba(36, 89, 115, 0.22);
  --menu-shadow: 0 30px 80px rgba(16, 36, 54, 0.25);
  --overlay: rgba(9, 24, 37, 0.56);
  --promo-muted: rgba(255, 255, 255, 0.74);
  --promo-text: rgba(255, 255, 255, 0.88);
  --on-dark-border: rgba(255, 255, 255, 0.16);
}

body[data-theme="forest-bronze"] {
  --header-bg: rgba(255, 255, 252, 0.95);
  --page-bg: #f7f6f1;
  --surface: #ffffff;
  --surface-soft: #f3f2ec;
  --text: #172622;
  --muted: #69746e;
  --border: #e2dfd4;
  --border-strong: #cbc4b4;
  --accent: #c28f42;
  --accent-hover: #946a2f;
  --accent-soft: #fbf1df;
  --accent-contrast: #16120b;
  --accent-hover-contrast: #ffffff;
  --dark: #19352f;
  --dark-hover: #24483f;
  --selected-bg: #19352f;
  --selected-text: #ffffff;
  --selected-indicator: #c28f42;
  --selected-icon-color: #16120b;
  --promo-bg: #19352f;
  --promo-visual-bg: #23473f;
  --icon-tint: #31534b;
  --hero-bg:
    linear-gradient(180deg, rgba(247, 246, 241, 0.78), rgba(255, 255, 255, 0.94)),
    linear-gradient(90deg, rgba(25, 53, 47, 0.08), rgba(194, 143, 66, 0.09));
  --focus-ring: rgba(194, 143, 66, 0.38);
  --brand-pane-one: #19352f;
  --brand-pane-two: #c28f42;
  --brand-pane-three: #667a72;
  --brand-mark-border: rgba(25, 53, 47, 0.14);
  --header-rule: rgba(226, 223, 212, 0.86);
  --sticky-shadow: 0 12px 34px rgba(25, 53, 47, 0.08);
  --button-shadow: 0 12px 24px rgba(194, 143, 66, 0.2);
  --button-hover-shadow: 0 16px 28px rgba(148, 106, 47, 0.22);
  --menu-shadow: 0 30px 80px rgba(25, 53, 47, 0.24);
  --overlay: rgba(12, 30, 26, 0.55);
  --promo-muted: rgba(255, 255, 255, 0.73);
  --promo-text: rgba(255, 255, 255, 0.88);
  --on-dark-border: rgba(255, 255, 255, 0.16);
}

body[data-theme="slate-copper"] {
  --header-bg: rgba(252, 250, 247, 0.95);
  --page-bg: #f8f5ef;
  --surface: #ffffff;
  --surface-soft: #f3efe7;
  --text: #1d2528;
  --muted: #6d7472;
  --border: #e3dbcf;
  --border-strong: #cdbfaf;
  --accent: #b96f44;
  --accent-hover: #925232;
  --accent-soft: #faeee7;
  --accent-contrast: #ffffff;
  --accent-hover-contrast: #ffffff;
  --dark: #1d2528;
  --dark-hover: #2d383b;
  --selected-bg: #1d2528;
  --selected-text: #ffffff;
  --selected-indicator: #d89666;
  --selected-icon-color: #1d2528;
  --promo-bg: #1d2528;
  --promo-visual-bg: #2b3639;
  --icon-tint: #5f4b40;
  --hero-bg:
    linear-gradient(180deg, rgba(248, 245, 239, 0.8), rgba(255, 255, 255, 0.94)),
    linear-gradient(90deg, rgba(185, 111, 68, 0.12), rgba(29, 37, 40, 0.05));
  --focus-ring: rgba(185, 111, 68, 0.38);
  --brand-pane-one: #1d2528;
  --brand-pane-two: #b96f44;
  --brand-pane-three: #7d8a88;
  --brand-mark-border: rgba(29, 37, 40, 0.14);
  --header-rule: rgba(227, 219, 207, 0.86);
  --sticky-shadow: 0 12px 34px rgba(29, 37, 40, 0.08);
  --button-shadow: 0 12px 24px rgba(185, 111, 68, 0.2);
  --button-hover-shadow: 0 16px 28px rgba(146, 82, 50, 0.22);
  --menu-shadow: 0 30px 80px rgba(29, 37, 40, 0.24);
  --overlay: rgba(18, 26, 29, 0.55);
  --promo-muted: rgba(255, 255, 255, 0.74);
  --promo-text: rgba(255, 255, 255, 0.88);
  --on-dark-border: rgba(255, 255, 255, 0.16);
}

body[data-theme="midnight-lime"] {
  --header-bg: rgba(249, 251, 252, 0.95);
  --page-bg: #f2f6f5;
  --surface: #ffffff;
  --surface-soft: #eef3f2;
  --text: #111827;
  --muted: #667085;
  --border: #d9e2df;
  --border-strong: #bccbc7;
  --accent: #a5b832;
  --accent-hover: #7f8f22;
  --accent-soft: #f3f7dc;
  --accent-contrast: #14160a;
  --accent-hover-contrast: #ffffff;
  --dark: #111827;
  --dark-hover: #1f2937;
  --selected-bg: #111827;
  --selected-text: #ffffff;
  --selected-indicator: #b8cf3f;
  --selected-icon-color: #111827;
  --promo-bg: #111827;
  --promo-visual-bg: #1f2a37;
  --icon-tint: #3d4d44;
  --hero-bg:
    linear-gradient(180deg, rgba(242, 246, 245, 0.78), rgba(255, 255, 255, 0.94)),
    linear-gradient(90deg, rgba(165, 184, 50, 0.12), rgba(42, 130, 125, 0.08));
  --focus-ring: rgba(165, 184, 50, 0.42);
  --brand-pane-one: #111827;
  --brand-pane-two: #a5b832;
  --brand-pane-three: #2a827d;
  --brand-mark-border: rgba(17, 24, 39, 0.14);
  --header-rule: rgba(217, 226, 223, 0.86);
  --sticky-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
  --button-shadow: 0 12px 24px rgba(165, 184, 50, 0.22);
  --button-hover-shadow: 0 16px 28px rgba(127, 143, 34, 0.24);
  --menu-shadow: 0 30px 80px rgba(17, 24, 39, 0.26);
  --overlay: rgba(8, 13, 24, 0.58);
  --promo-muted: rgba(255, 255, 255, 0.74);
  --promo-text: rgba(255, 255, 255, 0.88);
  --on-dark-border: rgba(255, 255, 255, 0.16);
}

body[data-theme="burgundy-amber"] {
  --header-bg: rgba(255, 251, 250, 0.95);
  --page-bg: #faf5f2;
  --surface: #ffffff;
  --surface-soft: #f7eee9;
  --text: #291719;
  --muted: #766a68;
  --border: #eadbd6;
  --border-strong: #d6bdb5;
  --accent: #d55432;
  --accent-hover: #a63d25;
  --accent-soft: #fff0ea;
  --accent-contrast: #ffffff;
  --accent-hover-contrast: #ffffff;
  --dark: #3a151a;
  --dark-hover: #511e25;
  --selected-bg: #3a151a;
  --selected-text: #ffffff;
  --selected-indicator: #f09b46;
  --selected-icon-color: #3a151a;
  --promo-bg: #3a151a;
  --promo-visual-bg: #55232a;
  --icon-tint: #68353a;
  --hero-bg:
    linear-gradient(180deg, rgba(250, 245, 242, 0.78), rgba(255, 255, 255, 0.94)),
    linear-gradient(90deg, rgba(213, 84, 50, 0.12), rgba(58, 21, 26, 0.08));
  --focus-ring: rgba(213, 84, 50, 0.38);
  --brand-pane-one: #3a151a;
  --brand-pane-two: #d55432;
  --brand-pane-three: #b48a57;
  --brand-mark-border: rgba(58, 21, 26, 0.14);
  --header-rule: rgba(234, 219, 214, 0.88);
  --sticky-shadow: 0 12px 34px rgba(58, 21, 26, 0.08);
  --button-shadow: 0 12px 24px rgba(213, 84, 50, 0.2);
  --button-hover-shadow: 0 16px 28px rgba(166, 61, 37, 0.24);
  --menu-shadow: 0 30px 80px rgba(58, 21, 26, 0.26);
  --overlay: rgba(35, 12, 16, 0.58);
  --promo-muted: rgba(255, 255, 255, 0.74);
  --promo-text: rgba(255, 255, 255, 0.88);
  --on-dark-border: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--page-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  transition: background 180ms ease, color 180ms ease;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(18px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-sticky {
  border-color: var(--border-strong);
  box-shadow: var(--sticky-shadow);
}

.header-main {
  border-bottom: 1px solid var(--header-rule);
}

.header-shell,
.hot-nav,
.mega-menu,
.hero__inner,
.content-band__inner {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.header-shell {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 86px;
  padding-block: 14px;
  transition: min-height 180ms ease, padding 180ms ease;
}

.site-header.is-sticky .header-shell {
  min-height: 72px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-color: var(--brand-mark-border);
  border-radius: 8px;
  background: var(--surface);
}

.brand-mark__pane {
  position: absolute;
  inset: 6px;
  transform: skew(-12deg);
  border-radius: 3px;
}

.brand-mark__pane--one {
  right: 22px;
  background: var(--brand-pane-one);
}

.brand-mark__pane--two {
  left: 15px;
  right: 12px;
  background: var(--brand-pane-two);
}

.brand-mark__pane--three {
  left: 26px;
  background: var(--brand-pane-three);
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-caption {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
}

.brand--compact .brand-name {
  font-size: 18px;
}

.brand--compact .brand-caption {
  font-size: 12px;
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 8px;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 8px;
  padding: 8px 12px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
  font-weight: 720;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.utility-link svg {
  width: 18px;
  height: 18px;
}

.utility-link:hover,
.utility-link:focus-visible {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.utility-link--sale {
  color: var(--accent-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.messenger,
.mobile-phone {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: #fff;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.messenger svg,
.mobile-phone svg {
  width: 19px;
  height: 19px;
}

.messenger:hover,
.mobile-phone:hover,
.messenger:focus-visible,
.mobile-phone:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.messenger--viber {
  background: #7c55a4;
}

.messenger--telegram {
  background: #259bd8;
}

.contact-card {
  position: relative;
  z-index: 5;
}

.contact-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 8px;
  padding: 8px 10px;
  color: var(--text);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.contact-trigger:hover,
.contact-trigger[aria-expanded="true"] {
  background: var(--surface-soft);
}

.contact-trigger__label {
  font-size: 18px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.contact-trigger__more {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.contact-trigger__chevron {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 160ms ease;
}

.contact-trigger[aria-expanded="true"] .contact-trigger__chevron {
  transform: rotate(180deg);
}

.contact-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 10;
  width: min(420px, calc(100vw - 32px));
  padding: 18px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.contact-popover::before {
  content: "";
  position: absolute;
  right: 42px;
  top: -7px;
  width: 12px;
  height: 12px;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  background: var(--surface);
  transform: rotate(45deg);
}

.contact-card.is-open .contact-popover {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.contact-popover__top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-popover h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.22;
}

.popover-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  color: var(--accent-contrast);
  border-radius: var(--radius);
  background: var(--accent);
  font-size: 13px;
  font-weight: 820;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease;
}

.popover-cta:hover,
.popover-cta:focus-visible {
  background: var(--accent-hover);
  color: var(--accent-hover-contrast);
  transform: translateY(-1px);
}

.contact-list {
  display: grid;
  gap: 4px;
  margin-block: 12px;
}

.contact-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius);
  transition: background 160ms ease;
}

.contact-row:hover,
.contact-row:focus-visible {
  background: var(--surface-soft);
}

.contact-row__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--accent-hover);
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-soft);
}

.contact-row__icon svg {
  width: 18px;
  height: 18px;
}

.contact-row strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
}

.contact-row small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.popover-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.popover-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 13px;
  font-weight: 760;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.popover-action:hover,
.popover-action:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.popover-action--viber {
  color: #6d4399;
}

.popover-action--telegram {
  color: #1687bf;
}

.popover-info {
  display: grid;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.info-line {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 9px;
  color: var(--text);
  font-size: 13px;
}

a.info-line:hover {
  color: var(--accent-hover);
}

.info-line svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
  white-space: nowrap;
}

.header-meta svg {
  width: 18px;
  height: 18px;
  color: var(--accent-hover);
}

.header-meta:hover {
  color: var(--text);
}

.mobile-phone {
  display: none;
  background: var(--dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn--primary {
  color: var(--accent-contrast);
  background: var(--accent);
  box-shadow: var(--button-shadow);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: var(--accent-hover-contrast);
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--button-hover-shadow);
}

.btn__mobile {
  display: none;
}

.menu-toggle,
.hot-nav__menu,
.mega-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle {
  gap: 9px;
  min-height: 44px;
  padding: 11px 14px;
  color: var(--selected-text);
  border-radius: var(--radius);
  background: var(--dark);
  font-size: 14px;
  font-weight: 820;
  transition: background 160ms ease, transform 160ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.menu-toggle[aria-expanded="true"] {
  background: var(--dark-hover);
  transform: translateY(-1px);
}

.menu-toggle__icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-toggle__icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hot-nav-wrap {
  background: var(--header-bg);
}

.hot-nav {
  display: grid;
  grid-template-columns: auto repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding-block: 9px;
}

.hot-nav__menu,
.hot-link {
  min-width: 0;
  min-height: 42px;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.1;
  white-space: nowrap;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.hot-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hot-nav__menu {
  color: var(--selected-text);
  border-color: var(--dark);
  background: var(--dark);
}

.hot-nav__menu svg,
.hot-link svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.hot-link:hover,
.hot-link:focus-visible,
.hot-link.is-current {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.hot-nav__menu:hover,
.hot-nav__menu:focus-visible,
.hot-nav__menu[aria-expanded="true"] {
  background: var(--dark-hover);
  transform: translateY(-1px);
}

.menu-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  visibility: hidden;
}

.menu-layer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  transition: opacity 180ms ease;
}

.menu-layer.is-open .menu-backdrop {
  opacity: 1;
}

.mega-menu {
  position: relative;
  max-height: calc(100vh - 32px);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--on-dark-border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--menu-shadow);
  opacity: 0;
  transform: translateY(-12px) scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu-layer.is-open .mega-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mega-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.mega-close {
  width: 44px;
  height: 44px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: background 160ms ease, border-color 160ms ease;
}

.mega-close:hover,
.mega-close:focus-visible {
  border-color: var(--border-strong);
  background: var(--surface-soft);
}

.mega-close svg {
  width: 22px;
  height: 22px;
}

.mega-menu__desktop {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 360px;
  min-height: 520px;
}

.mega-tabs {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 18px;
  border-right: 1px solid var(--border);
  background: var(--surface-soft);
}

.mega-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 10px;
  color: var(--text);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 780;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.mega-tab::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mega-tab__label {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.mega-tab__icon,
.mobile-section__icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--icon-tint);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.mega-tab__icon svg,
.mobile-section__icon svg {
  width: 18px;
  height: 18px;
}

.mega-tab:hover,
.mega-tab:focus-visible {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.mega-tab[aria-selected="true"] {
  color: var(--selected-text);
  border-color: var(--selected-bg);
  background: var(--selected-bg);
  transform: translateX(2px);
}

.mega-tab[aria-selected="true"]::after {
  color: var(--selected-indicator);
  opacity: 1;
  transform: scale(1);
}

.mega-tab[aria-selected="true"] .mega-tab__icon {
  color: var(--selected-icon-color);
  border-color: var(--selected-indicator);
  background: var(--selected-indicator);
}

.mega-content {
  padding: 26px 30px;
  overflow: auto;
}

.mega-content__title {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.1;
}

.mega-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.mega-group h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mega-group ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-group a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease;
}

.mega-group a::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--border-strong);
  transition: background 160ms ease, transform 160ms ease;
}

.mega-group a:hover,
.mega-group a:focus-visible {
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.mega-group a:hover::before,
.mega-group a:focus-visible::before {
  background: var(--accent);
  transform: scale(1.2);
}

.mega-promo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  color: var(--selected-text);
  background: var(--promo-bg);
}

.mega-promo__visual {
  min-height: 152px;
  border: 1px solid var(--on-dark-border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 54px),
    var(--promo-visual-bg);
}

.mega-promo h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.mega-promo p {
  margin: 0;
  color: var(--promo-muted);
}

.mega-promo ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-promo li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: var(--promo-text);
  font-size: 14px;
}

.mega-promo li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.mega-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.mega-promo__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.mega-promo__link--primary {
  color: var(--accent-contrast);
  background: var(--accent);
}

.mega-promo__link--secondary {
  color: var(--selected-text);
  border: 1px solid var(--on-dark-border);
}

.mega-menu__mobile {
  display: none;
}

.demo-page {
  min-height: 140vh;
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding-block: 70px;
  background: var(--hero-bg);
}

.hero__inner {
  max-width: 820px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 20px;
}

.content-band {
  padding-block: 90px;
  background: var(--surface);
}

.content-band--muted {
  background: var(--surface-soft);
}

.theme-switcher {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 28px;
}

.theme-switcher__label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.theme-switcher__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-option {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 10px;
  padding: 9px 12px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.theme-option:hover,
.theme-option:focus-visible,
.theme-option.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.theme-option__swatches {
  display: inline-flex;
  overflow: hidden;
  width: 46px;
  height: 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.theme-option__swatches span {
  flex: 1;
}

.content-band h2 {
  margin: 0 0 12px;
  font-size: 34px;
}

.content-band p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 1540px) {
  .header-meta--time {
    display: none;
  }
}

@media (max-width: 1520px) {
  .header-utility {
    display: none;
  }
}

@media (max-width: 1380px) {
  .header-shell {
    grid-template-columns: minmax(220px, 1fr) minmax(0, auto);
    gap: 18px;
  }
}

@media (max-width: 1180px) {
  .header-shell {
    grid-template-columns: minmax(220px, 1fr) minmax(0, auto);
  }

  .hot-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .hot-nav::-webkit-scrollbar {
    display: none;
  }

  .hot-nav__menu,
  .hot-link {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }

  .header-shell,
  .mega-menu,
  .hero__inner,
  .content-band__inner {
    width: min(100% - 28px, var(--container));
  }

  .header-shell {
    min-height: 76px;
  }

  .hot-nav-wrap {
    display: none;
  }

  .brand-caption,
  .messenger,
  .contact-card {
    display: none;
  }

  .mobile-phone {
    display: inline-grid;
  }

  .mega-menu {
    max-height: calc(100vh - 20px);
    margin-top: 10px;
    overflow: auto;
  }

  .mega-menu__desktop {
    display: none;
  }

  .mega-menu__mobile {
    display: grid;
    gap: 10px;
    padding: 14px;
  }

  .mobile-section {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
  }

  .mobile-section__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    padding: 14px;
    color: var(--text);
    background: var(--surface);
    cursor: pointer;
    font-weight: 820;
  }

  .mobile-section__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .mobile-section__icon {
    width: 34px;
    height: 34px;
    background: var(--surface-soft);
  }

  .mobile-section__button::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 160ms ease;
  }

  .mobile-section__button[aria-expanded="true"]::after {
    transform: rotate(225deg);
  }

  .mobile-section__button[aria-expanded="true"] .mobile-section__icon {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-soft);
  }

  .mobile-section__panel {
    display: none;
    padding: 0 14px 14px;
  }

  .mobile-section__button[aria-expanded="true"] + .mobile-section__panel {
    display: grid;
    gap: 16px;
  }

  .mobile-group h3 {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
  }

  .mobile-group ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-group a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 0;
    color: var(--text);
    font-weight: 650;
  }

  .mobile-promo {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--surface-soft);
  }

  .mobile-promo p {
    margin: 0;
    color: var(--muted);
  }

  .mobile-contact {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .mobile-contact a,
  .mobile-contact div {
    display: flex;
    align-items: center;
    min-height: 38px;
    color: var(--text);
    font-weight: 690;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 70px;
  }

  .header-shell {
    gap: 10px;
    min-height: 70px;
    padding-block: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 17px;
  }

  .header-actions {
    gap: 7px;
  }

  .btn {
    min-height: 40px;
    padding-inline: 12px;
  }

  .btn__desktop {
    display: none;
  }

  .btn__mobile {
    display: inline;
  }

  .menu-toggle {
    width: 42px;
    min-height: 40px;
    padding: 0;
  }

  .menu-toggle span:not(.menu-toggle__icon) {
    font-size: 0;
  }

  .menu-toggle__icon {
    width: 20px;
  }

  .mega-menu {
    width: min(100% - 16px, var(--container));
    max-height: calc(100vh - 16px);
    margin-top: 8px;
    border-radius: 10px;
  }

  .mega-menu__head {
    padding: 12px;
  }

  .brand--compact .brand-caption {
    display: none;
  }

  .hero {
    padding-block: 54px;
  }

  .hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .content-band {
    padding-block: 56px;
  }
}

@media (max-width: 430px) {
  .header-shell {
    width: calc(100% - 20px);
    grid-template-columns: minmax(112px, 1fr) auto;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 7px;
  }

  .brand-name {
    max-width: 92px;
    font-size: 15px;
  }

  .header-actions {
    gap: 6px;
  }

  .mobile-phone {
    width: 38px;
    height: 38px;
  }

  .btn {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .menu-toggle {
    width: 39px;
    min-height: 38px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
