:root {
  --ink: #071511;
  --ink-2: #0c211b;
  --ink-3: #123329;
  --gold: #c59a3f;
  --gold-bright: #e0b751;
  --paper: #f6f7f5;
  --muted: #8fa198;
  --line: rgba(255, 255, 255, .12);
  --max: 1280px;
}

.mega-menu-shell {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 0 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  pointer-events: none;
  transition: opacity .22s ease, transform .32s cubic-bezier(.2,.8,.2,1), visibility .22s;
}

.mega-menu-shell.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu {
  width: min(var(--max), calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px 1fr;
  min-height: 386px;
  background: #ffffff;
  border: 1px solid rgba(24, 42, 35, .14);
  border-top: 2px solid var(--gold);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
  overflow: hidden;
}

.mega-categories {
  padding: 30px 24px;
  background: #ffffff;
  border-right: 1px solid #dde3df;
}

.mega-label {
  display: block;
  margin: 0 0 14px 12px;
  color: #7b8982;
  font: 700 10px/1.2 Inter, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.mega-category {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 14px;
  border: 0;
  border-bottom: 1px solid #e5e9e7;
  background: transparent;
  color: #34463e;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  font: 600 14px/1.3 Rajdhani, Inter, sans-serif;
  letter-spacing: .025em;
  transition: color .2s ease, background .2s ease, padding .2s ease;
}

.mega-category::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform .2s ease;
}

.mega-category.is-active {
  color: #9c7218;
  background: #f7f3e9;
  padding-left: 20px;
}

.mega-category.is-active::before { transform: scaleY(1); }

.mega-arrow { color: var(--gold); font-size: 18px; font-weight: 300; }

.mega-products {
  padding: 30px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mega-products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mega-products-title {
  margin: 0;
  color: #17251f;
  font: 700 17px/1 Rajdhani, Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mega-view-all {
  color: var(--gold);
  font: 700 11px/1 Inter, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  flex: 1;
}

.mega-product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #dce2df;
  color: #17251f;
  text-decoration: none;
  background: #ffffff;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.mega-product:hover {
  transform: translateY(-4px);
  border-color: rgba(197,154,63,.65);
  background: #ffffff;
}

.mega-product-image {
  height: 220px;
  padding: 16px;
  display: grid;
  place-items: center;
  background: #f2f4f3;
  overflow: hidden;
}

.mega-product-image img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  transition: transform .35s ease;
}

.mega-product-image.is-inset img {
  width: 88%;
  height: 88%;
}

.mega-product:hover img { transform: scale(1.035); }

.mega-product-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid #dce2df;
  color: #17251f;
  font: 700 15px/1.25 Rajdhani, Inter, sans-serif;
  letter-spacing: .025em;
}

.mega-product-name span:last-child { color: var(--gold); }

@media (max-width: 900px) { .mega-menu-shell { display: none; } }

/* New product catalog and detail pages */
.catalog-page {
  margin: 0;
  background: var(--ink);
  color: #e9efec;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

.catalog-page *, .catalog-page *::before, .catalog-page *::after { box-sizing: border-box; }
.catalog-page a { color: inherit; }
.catalog-page .mega-category { color: #34463e; }
.catalog-page .mega-category.is-active { color: #9c7218; }
.catalog-page .mega-view-all { color: var(--gold); }
.site-topbar { height: 32px; border-bottom: 1px solid rgba(255,255,255,.06); background: #06110e; color: #82938b; font-size: 12px; }
.site-topbar-inner, .catalog-container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.site-nav-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 0 32px; }
.site-topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-topbar-left, .site-langs { display: flex; gap: 16px; align-items: center; }
/* Hide language switcher (EN/DE/ES/RU) on all viewports until feature is ready */
.site-langs { display: none !important; }
.status-dot { color: #00f58a; }
.site-topbar-left i { margin-right: 4px; }
.site-service-icon { color: var(--gold); }
.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(7,21,17,.96); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.site-nav-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.site-brand img { width: auto; height: 36px; object-fit: contain; }
.site-brand span { margin-left: 8px; padding-left: 8px; border-left: 1px solid rgba(0,245,138,.2); color: #8b9b92; font: 700 12px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.site-links { display: flex; align-items: center; gap: 32px; }
.site-links a { position: relative; text-decoration: none; color: #e2e8f0; font: 600 14px/1 Rajdhani, sans-serif; letter-spacing: .05em; white-space: nowrap; }
.site-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .22s ease; }
.site-links a:hover::after, .site-links a[aria-current="page"]::after { transform: scaleX(1); }
.quote-link { padding: 8px 24px; border: 1px solid var(--gold); color: var(--gold) !important; font-size: 12px !important; letter-spacing: .1em !important; }
.quote-link::after { display: none; }
.mobile-menu { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid rgba(197,154,63,.65); background: transparent; color: white; font-size: 24px; line-height: 1; cursor: pointer; }
.site-mobile-nav { display: none; position: absolute; z-index: 110; top: 100%; right: 0; left: 0; padding: 10px 16px 16px; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(197,154,63,.28); background: rgba(7,21,17,.98); box-shadow: 0 18px 36px rgba(0,0,0,.35); }
.site-mobile-nav.is-open { display: block; }
.site-mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #e2e8f0; font: 700 14px/1 Rajdhani, sans-serif; letter-spacing: .07em; text-decoration: none; }
.site-mobile-nav a:last-child { margin-top: 14px; padding: 13px 16px; border: 1px solid var(--gold); color: var(--gold); text-align: center; font: 700 11px/1 Inter, sans-serif; letter-spacing: .13em; text-transform: uppercase; }

.catalog-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 54px;
  background:
    radial-gradient(circle at 76% 34%, rgba(42, 96, 78, .64), transparent 34%),
    radial-gradient(circle at 50% 120%, rgba(18, 64, 51, .38), transparent 45%),
    linear-gradient(118deg, #061511 0%, #09241c 58%, #0d2f25 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 -1px rgba(197,154,63,.08);
}
.catalog-hero::after {
  content: '';
  position: absolute;
  right: -8%;
  top: -95%;
  width: 48%;
  height: 250%;
  border: 1px solid rgba(197,154,63,.08);
  transform: skewX(-20deg);
  pointer-events: none;
}
.catalog-hero .catalog-container { position: relative; z-index: 1; }
.catalog-eyebrow, .detail-breadcrumb { color: var(--gold); font: 700 11px/1.3 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.catalog-hero h1 { margin: 16px 0 12px; color: #fff; font: 700 clamp(42px,5vw,70px)/.95 Rajdhani, sans-serif; letter-spacing: -.02em; }
.catalog-hero p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.catalog-layout {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 720px;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}
.catalog-layout::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 76% 4%, rgba(34, 91, 71, .11), transparent 34%),
    linear-gradient(180deg, #d7e5df 0%, #e2ebe7 42%, #e9efec 100%);
}
.catalog-sidebar {
  padding: 54px 32px 80px 0;
  border-right: 1px solid rgba(23, 53, 43, .14);
  background: linear-gradient(90deg, rgba(202, 220, 212, .42), rgba(255,255,255,.06));
}
.catalog-sidebar-sticky { position: sticky; top: 116px; }
.catalog-sidebar h2 { margin: 0 0 26px; color: #6f847a; font: 700 10px/1 Rajdhani, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.catalog-filter { position: relative; width: 100%; padding: 17px 18px; border: 0; border-bottom: 1px solid #d8e2dd; background: transparent; color: #30463c; text-align: left; font: 700 15px/1.3 Rajdhani, sans-serif; cursor: pointer; transition: color .2s, padding .2s, background .2s; }
.catalog-filter.is-active { color: #e3bd5c; padding-left: 24px; background: #153a30; }
.catalog-filter.is-active::before { content: ''; position: absolute; left: 0; top: 11px; bottom: 11px; width: 2px; background: var(--gold); }
.catalog-main { padding: 54px 0 90px 48px; }
.catalog-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.catalog-heading-row h2 { margin: 0; color: #17352b; font: 700 30px/1 Rajdhani, sans-serif; }
.catalog-count { color: #73877e; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.product-tile { display: block; min-width: 0; border: 1px solid rgba(18, 55, 44, .24); background: #0d261e; text-decoration: none; box-shadow: 0 14px 34px rgba(9, 38, 29, .12); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.product-tile:hover { transform: translateY(-5px); border-color: rgba(197,154,63,.62); box-shadow: 0 22px 48px rgba(6, 29, 22, .22); }
.product-tile-media { position: relative; height: 340px; padding: 0; display: block; background: linear-gradient(150deg,#f4f5f3,#dfe5e1); overflow: hidden; }
.catalog-page .product-grid .product-tile-media > img { position: absolute; top: 26px; left: 26px; display: block; width: calc(100% - 52px); height: calc(100% - 52px); max-width: none; max-height: none; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.product-tile:hover img { transform: scale(1.035); }
.product-tile-name { min-height: 68px; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; color: #eef3f1; font: 700 20px/1.2 Rajdhani, sans-serif; }
.product-tile-name span:last-child { color: var(--gold); }

.detail-hero { position: relative; overflow: hidden; min-height: 610px; background: radial-gradient(circle at 74% 38%, rgba(41,92,77,.68), transparent 36%), linear-gradient(120deg,#071511 0%,#0b241c 65%,#0a1915 100%); }
.detail-hero::after { content: ''; position: absolute; inset: auto -4% -46% 48%; height: 80%; border: 1px solid rgba(197,154,63,.1); transform: skewX(-22deg); }
.detail-hero-grid { position: relative; z-index: 1; min-height: 610px; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 24px; }
.detail-breadcrumb { margin-bottom: 30px; color: #80938a; }
.detail-breadcrumb a { text-decoration: none; }
.detail-title { margin: 0; color: white; font: 800 clamp(48px,6vw,82px)/.88 Rajdhani, sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.detail-title.is-family-long { font-size: clamp(46px,5vw,68px); }
.detail-title.is-family-extra-long { font-size: clamp(44px,4.2vw,56px); }
.detail-title span { display: block; font-size: .55em; margin-top: 10px; color: #dfe6e2; letter-spacing: .01em; }
.detail-title .detail-model { display: inline; margin: 0; color: white; font-size: 1em; letter-spacing: -.02em; }
.detail-summary { max-width: 540px; margin: 24px 0 32px; color: #a5b3ac; font-size: 14px; line-height: 1.7; }
.hero-model-picker { margin: -8px 0 28px; }
.hero-model-label { display: block; margin-bottom: 10px; color: #80938a; font: 700 9px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.hero-model-options { display: flex; gap: 8px; }
.hero-model-option { min-width: 118px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.025); color: #8ea097; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.hero-model-option strong, .hero-model-option small { display: block; }
.hero-model-option strong { font: 700 15px/1 Rajdhani, sans-serif; letter-spacing: .03em; }
.hero-model-option small { margin-top: 5px; font-size: 9px; letter-spacing: .05em; }
.hero-model-icons { display: flex; gap: 8px; margin-top: 8px; font-size: 14px; color: #8ea097; transition: color .2s ease; }
.hero-model-option:hover .hero-model-icons { color: #e5ece8; }
.hero-model-option.is-active .hero-model-icons { color: var(--gold-bright); }
.hero-model-option:hover { border-color: rgba(197,154,63,.65); color: #e5ece8; }
.hero-model-option.is-active { border-color: var(--gold); background: rgba(197,154,63,.12); color: var(--gold-bright); box-shadow: inset 0 -2px 0 var(--gold); }
.detail-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-bottom: 34px; }
.detail-stat { padding-right: 18px; border-right: 1px solid rgba(255,255,255,.16); min-height: 52px; }
.detail-stat + .detail-stat { padding-left: 18px; }
.detail-stat:last-child { border-right: 0; }
.detail-stat small { display: block; margin-bottom: 7px; color: #74887e; font-size: 8px; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.detail-stat strong { display: block; color: white; font: 700 18px/22px Rajdhani, sans-serif; white-space: nowrap; height: 22px; font-variant-numeric: lining-nums; }
.detail-actions { display: flex; gap: 12px; }
.detail-button { display: inline-flex; align-items: center; justify-content: center; min-width: 178px; padding: 14px 22px; border: 1px solid var(--gold); color: var(--gold); text-decoration: none; font: 700 11px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.detail-button.primary { color: #071511; background: var(--gold); }
.detail-product-image { position: relative; z-index: 2; width: 115%; max-height: 560px; object-fit: contain; transform: translateX(-4%); filter: drop-shadow(0 35px 32px rgba(0,0,0,.48)); }

.detail-section { padding: 66px 0; }
.detail-section.light { background: var(--paper); color: #17241f; }
.detail-section.dark { background: #0b1d18; color: #e8efeb; }
.section-grid { display: grid; grid-template-columns: 270px 1fr; gap: 54px; }
.section-index { display: flex; align-items: flex-start; gap: 18px; }
.section-index strong { color: var(--gold); font: 700 23px/1 Rajdhani, sans-serif; }
.section-index h2 { margin: 0; font: 800 19px/1.2 Rajdhani, sans-serif; letter-spacing: .035em; text-transform: uppercase; }
.section-note { max-width: 210px; margin: 13px 0 0; color: #72867c; font-size: 11px; line-height: 1.6; }
.intro-copy { margin: 0; max-width: 900px; color: #4d5c55; font-size: 14px; line-height: 1.85; }
.detail-applications { margin-top: 32px; max-width: 900px; }
.detail-applications-label { display: block; margin-bottom: 14px; color: var(--gold); font: 700 11px/1.2 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.detail-applications-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-application-tag { display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid rgba(197,154,63,.4); background: rgba(197,154,63,.06); color: #c8d3ce; border-radius: 999px; font: 600 12px/1 Inter, sans-serif; letter-spacing: .01em; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.detail-application-tag:hover { border-color: rgba(197,154,63,.7); background: rgba(197,154,63,.12); color: #eef3f1; }
.parameter-table-wrap { min-width: 0; overflow-x: auto; }
.parameter-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.parameter-table th { padding: 13px 18px; color: var(--gold); font: 700 13px/1 Rajdhani, sans-serif; text-align: center; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid rgba(197,154,63,.5); }
.parameter-table td { padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,.1); color: #c8d3ce; text-align: center; }
.parameter-table td:first-child { width: 40%; color: #7f9389; }
.parameter-table td.parameter-shared { color: #dbe4df; text-align: center; }
.parameter-table th.is-selected { color: #f0c55e; background: rgba(197,154,63,.07); }
.parameter-table td.is-selected { color: #eef3f1; background: rgba(197,154,63,.055); }
.parameter-table .function-tag { display: inline-block; padding: 3px 10px; margin: 2px 3px 2px 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #c8d3ce; font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; line-height: 1.3; transition: background .2s ease, border-color .2s ease; }
.parameter-table td.is-selected .function-tag { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #eef3f1; }
.model-rail { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #d6dcd9; border-bottom: 1px solid #d6dcd9; }
.model-item { min-width: 0; padding: 20px 24px; display: flex; align-items: center; gap: 18px; color: #16241e; text-decoration: none; border-right: 1px solid #d6dcd9; }
.model-item:last-child { border-right: 0; }
.model-item img { width: 96px; height: 58px; object-fit: contain; mix-blend-mode: multiply; }
.model-item span { font: 800 17px/1 Rajdhani, sans-serif; }
.advantages { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: rgba(255,255,255,.1); }
.advantage { padding: 26px; background: #0b1d18; display: grid; grid-template-columns: 42px 1fr; gap: 18px; }
.advantage-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(197,154,63,.65); color: var(--gold); font: 700 18px/1 Rajdhani,sans-serif; }
.advantage h3 { margin: 1px 0 8px; color: var(--gold-bright); font: 700 17px/1.15 Rajdhani,sans-serif; }
.advantage p { margin: 0; color: #81938a; font-size: 12px; line-height: 1.6; }
.site-footer { padding: 34px 0; border-top: 1px solid rgba(255,255,255,.08); color: #71847b; font-size: 11px; }
.site-footer .catalog-container { display: flex; justify-content: space-between; gap: 24px; }

@media (max-width: 1050px) {
  .site-links { gap: 16px; }
  .site-links a { font-size: 12px; }
  .quote-link { display: none; }
  .detail-stats { grid-template-columns: repeat(2,1fr); gap: 18px 0; }
  .detail-stat:nth-child(2) { border-right: 0; }
}

@media (max-width: 800px) {
  .site-topbar { height: 49px; }
  .site-topbar-left span:last-child { display: none; }
  .site-nav-inner, .site-topbar-inner, .catalog-container { width: min(100% - 32px, var(--max)); }
  .site-nav-inner { padding: 0; }
  .site-nav-inner { height: 80px; }
  .site-brand img { width: 148px; }
  .site-brand span, .site-links { display: none; }
  .mobile-menu { display: inline-flex; }
  .catalog-hero { padding: 54px 0 42px; }
  .catalog-layout {
    width: 100%;
    margin-left: 0;
    padding-inline: 16px;
    grid-template-columns: 1fr;
    box-shadow: none;
    clip-path: none;
  }
  .catalog-sidebar { min-width: 0; padding: 24px 0 0; border-right: 0; overflow: hidden; }
  .catalog-sidebar-sticky { position: static; display: block; width: 100%; min-width: 0; }
  .catalog-sidebar h2 { display: none; }
  #catalogFilters { display: flex; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; }
  .catalog-filter { flex: 0 0 auto; width: auto; padding: 13px 16px; white-space: nowrap; border: 1px solid rgba(255,255,255,.09); }
  .catalog-filter.is-active { padding-left: 16px; }
  .catalog-filter.is-active::before { display: none; }
  .catalog-main { min-width: 0; padding: 34px 0 70px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-tile-media { height: 300px; }
  .detail-hero, .detail-hero-grid { min-height: auto; }
  .detail-hero-grid { grid-template-columns: 1fr; padding-top: 48px; }
  .detail-title { font-size: 54px; }
  .hero-model-options { display: grid; grid-template-columns: repeat(var(--model-count,3),minmax(0,1fr)); gap: 6px; }
  .hero-model-option { min-width: 0; width: 100%; padding: 9px 7px; }
  .hero-model-option strong { font-size: 14px; }
  .hero-model-option small { font-size: 8px; }
  .detail-product-image { width: 110%; transform: translateX(-5%); max-height: 370px; }
  .section-grid { grid-template-columns: 1fr; gap: 28px; }
  .model-rail, .advantages { grid-template-columns: 1fr; }
  .model-item { border-right: 0; border-bottom: 1px solid #d6dcd9; }
  .detail-actions { flex-direction: column; }
  .parameter-table { min-width: 720px; }
}

@media (prefers-reduced-motion: reduce) {
  .mega-menu-shell, .mega-category, .mega-product, .mega-product img, .product-tile, .product-tile img { transition: none !important; }
}
