* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --page-bg: #dfe3e6;
  --ivory: rgba(241, 240, 236, 0.86);
  --ivory-strong: rgba(247, 247, 244, 0.95);
  --ink: #171514;
  --ink-soft: rgba(23, 21, 20, 0.7);
  --line: rgba(22, 24, 28, 0.11);
  --line-strong: rgba(22, 24, 28, 0.2);
  --shadow-soft: 0 16px 34px rgba(16, 20, 26, 0.12);
  --shadow-strong: 0 24px 54px rgba(16, 20, 26, 0.18);
  --accent-red: #972a32;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--page-bg);
  overflow-x: hidden;
}

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

.page {
  width: 100%;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 88px 12px 12px;
  overflow: hidden;
}

/* Фоновая композиция:
   слева большой блок,
   по центру сетка 3x3,
   справа большой блок
*/
.hero-bg-layout {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.95fr 2.05fr;
  gap: 10px;
  padding: 12px;
  z-index: 1;
}

.hero-bg,
.hero-mini-grid .bg-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.48) contrast(1.03) saturate(0.88);
  transform: scale(1);
  transition:
    transform 0.65s ease,
    filter 0.65s ease,
    box-shadow 0.45s ease;
}

.hero-bg::after,
.hero-mini-grid .bg-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 20, 24, 0.22),
    rgba(17, 20, 24, 0.38)
  );
  transition: background 0.45s ease;
  pointer-events: none;
}

.hero-bg:hover,
.hero-mini-grid .bg-item:hover {
  transform: scale(1.035);
  filter: brightness(0.62) contrast(1.04) saturate(0.94);
  box-shadow: 0 16px 34px rgba(12, 16, 22, 0.16);
  z-index: 2;
}

.hero-bg:hover::after,
.hero-mini-grid .bg-item:hover::after {
  background: linear-gradient(
    to bottom,
    rgba(17, 20, 24, 0.12),
    rgba(17, 20, 24, 0.24)
  );
}

/* Левые и правые большие */
.hero-bg-left,
.hero-bg-right {
  min-height: 0;
}

.hero-bg-left {
  grid-column: 1;
  grid-row: 1;
  min-height: calc((100vh - 124px) / 2);
}

.hero-bg-right {
  grid-column: 1;
  grid-row: 2;
  min-height: calc((100vh - 124px) / 2);
}

/* Центральная сетка 3x3 */
.hero-mini-grid {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  min-height: calc(100vh - 124px);
}

/* общий затемняющий слой */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(240, 246, 252, 0.1), transparent 36%),
    linear-gradient(to bottom, rgba(18, 22, 28, 0.18), rgba(18, 22, 28, 0.3));
  pointer-events: none;
  z-index: 2;
}

/* ================= TOP CONTROLS ================= */

.top-bar {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 7;
}

.lang-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  min-width: 252px;
  padding: 4px;
  background: rgba(17, 20, 24, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 24px rgba(12, 16, 22, 0.18);
}

.lang-switch-single {
  grid-template-columns: 1fr;
  min-width: 138px;
}

.lang-btn {
  display: grid;
  gap: 2px;
  justify-items: start;
  min-height: 48px;
  padding: 7px 12px 8px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.lang-code {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.76;
}

.lang-name {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-btn:hover,
.lang-btn.active {
  background: rgba(244, 246, 248, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(12, 16, 22, 0.12);
}

.lang-btn.active .lang-code,
.lang-btn:hover .lang-code {
  opacity: 0.5;
}

.lang-btn:hover {
  transform: translateY(-1px);
}

/* ================= BRANDS ================= */

.brands-top {
  position: absolute;
  top: 18px;
  left: 12px;
  right: 12px;
  z-index: 6;
}

.brands-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  align-items: stretch;
  background: rgba(241, 242, 244, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 24px rgba(12, 16, 22, 0.1);
  backdrop-filter: blur(10px);
}

.brands-marquee {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  border-radius: 0;
  padding: 12px 16px;
  box-shadow: none;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.brands-track img {
  height: 58px;
  width: auto;
  object-fit: contain;
  opacity: 0.98;
  filter: grayscale(100%) contrast(1.42) brightness(0.42);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}

.brands-track img:hover {
  opacity: 1;
  filter: grayscale(0%) contrast(1.08) brightness(0.9);
  transform: scale(1.06);
}

.brands-lang-switch {
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  background: rgba(17, 20, 24, 0.72);
}

/* ================= PANELS ================= */

.hero-panels {
  position: relative;
  z-index: 4;
  min-height: calc(100vh - 124px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  grid-template-areas:
    "intro intro"
    "contacts map";
  gap: 28px 32px;
  width: min(980px, calc(100% - 64px));
  margin: 18px auto 0;
  padding: 38px 34px 34px;
  align-content: start;
  background: rgba(241, 240, 236, 0.76);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: 0 28px 60px rgba(16, 20, 26, 0.18);
}

.hero-card {
  width: auto;
  max-width: none;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.hero-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.hero-card-intro {
  grid-area: intro;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.hero-card-contact-panel {
  grid-area: contacts;
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.hero-card-map-panel {
  grid-area: map;
}


.brand-title {
  font-family: var(--sans);
  font-size: 50px;
  line-height: 0.94;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 12px;
}

.brand-logo {
  width: min(320px, 74%);
  margin-bottom: 12px;
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-subtitle {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.62);
  margin-bottom: 12px;
}

.lang-block {
  display: none;
}

.lang-block.active {
  display: block;
}

.status-badge {
  display: flex;
  align-items: center;
  width: auto;
  min-height: 44px;
  min-width: 408px;
  padding: 0 20px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: rgba(244, 246, 248, 0.84);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-main-copy {
  column-count: 2;
  column-gap: 34px;
  max-width: none;
}

.hero-main-copy p {
  break-inside: avoid;
  margin-bottom: 14px;
}

.hero-card .lang-block p {
  font-size: 17px;
  line-height: 1.74;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.hero-contacts {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  gap: 12px;
  line-height: 1.8;
  font-size: 15px;
  color: var(--ink-soft);
}

.hero-main-accents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-main-accents div {
  line-height: 1.45;
}

.hero-showroom-section {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(248px, 0.76fr);
  gap: 22px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  align-items: start;
}

.hero-section-heading {
  font-family: var(--sans);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-showroom-copy {
  display: grid;
  gap: 12px;
}

.hero-showroom-copy p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.hero-map-frame {
  height: 100%;
  border: 1px solid var(--line);
  background: rgba(246, 247, 248, 0.28);
  overflow: hidden;
}

.hero-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 390px;
  height: 100%;
  border: 0;
}

.contact-address {
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.contact-phones {
  display: grid;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 28px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-phone-secondary {
  font-size: 23px;
  font-weight: 600;
  color: rgba(23, 21, 20, 0.88);
}

.hero-socials {
  display: grid;
  gap: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.social-cluster,
.social-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.social-cluster,
.social-link-card {
  border-bottom: 1px solid var(--line);
}

.social-link-card:last-child {
  border-bottom: 0;
}

.social-link-card:hover,
.social-link-pill:hover {
  transform: translateY(-1px);
}

.social-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 128px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.social-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: rgba(244, 246, 248, 0.68);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 6px 12px rgba(12, 16, 22, 0.05);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.social-link-pill:hover,
.social-link-card:hover {
  border-color: var(--line-strong);
  background: rgba(244, 246, 248, 0.78);
}

.social-link-card {
  justify-content: flex-start;
  color: var(--ink);
  position: relative;
  padding-right: 20px;
}

.social-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: auto;
}

.social-card-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.social-card-note {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--ink-soft);
}

.social-icon {
  width: 24px;
  height: 24px;
  border-radius: 0;
  object-fit: cover;
  flex: 0 0 auto;
}

.social-link-card::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-top: 1px solid rgba(23, 21, 20, 0.8);
  border-right: 1px solid rgba(23, 21, 20, 0.8);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.hero-card-showroom h2 {
  font-family: var(--sans);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.showroom-copy {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
}

.showroom-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink-soft);
}

.showroom-copy-accent {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.showroom-cta {
  margin-top: 0;
  padding: 14px;
  border-radius: 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(249, 250, 251, 0.38), rgba(236, 238, 241, 0.78)),
    rgba(246, 247, 248, 0.34);
  box-shadow: var(--shadow-soft);
}

.showroom-cta-stack {
  display: grid;
  gap: 12px;
}

.showroom-cta-bbq {
  background:
    linear-gradient(145deg, rgba(255, 247, 236, 0.96), rgba(236, 243, 228, 0.9)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(32, 24, 18, 0.1);
}

.showroom-map {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: rgba(246, 247, 248, 0.26);
  min-height: 228px;
  overflow: hidden;
}

.showroom-map iframe {
  display: block;
  width: 100%;
  height: 228px;
  border: 0;
}

.cta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.54);
  margin-bottom: 12px;
}

.cta-title {
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 0;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--ivory-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 600;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.cta-btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.cta-btn-accent {
  justify-content: space-between;
  background: #171516;
  color: #f4f5f7;
  border-color: #171516;
  box-shadow:
    0 16px 28px rgba(17, 20, 24, 0.22),
    inset 0 0 0 1px rgba(151, 42, 50, 0.32);
}

.cta-btn-accent::after {
  content: "→";
  width: auto;
  height: auto;
  background: none;
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
}

.cta-btn-accent:hover {
  background: #1c1714;
  color: #fff9f2;
}

.cta-btn-bbq {
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(54, 64, 36, 0.98), rgba(24, 27, 19, 0.98));
  border-color: rgba(194, 155, 83, 0.42);
  color: #fff;
  box-shadow:
    0 16px 28px rgba(22, 28, 18, 0.24),
    inset 0 0 0 1px rgba(194, 155, 83, 0.24);
}

.cta-btn-bbq::after {
  content: "→";
  width: auto;
  height: auto;
  background: none;
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
}

.cta-btn-bbq:hover {
  background: linear-gradient(135deg, rgba(68, 82, 43, 1), rgba(28, 33, 21, 1));
  border-color: rgba(194, 155, 83, 0.58);
  color: #fff;
}

.cta-note {
  margin-top: 10px;
  max-width: 30ch;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(23, 19, 16, 0.64);
}

.offer-page-body {
  background: var(--page-bg);
}

.offer-page {
  position: relative;
  min-height: 100vh;
  padding: 88px 18px 18px;
  overflow: visible;
}

.offer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.42) saturate(0.86);
}

.offer-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(240, 246, 252, 0.08), transparent 36%),
    linear-gradient(to bottom, rgba(18, 22, 28, 0.3), rgba(18, 22, 28, 0.42));
  z-index: 1;
}

.offer-shell {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 106px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 12px 32px;
}

.offer-card {
  position: relative;
  width: min(1320px, 100%);
  display: block;
  background: rgba(241, 240, 236, 0.76);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 34px 30px 30px;
  box-shadow: 0 28px 60px rgba(16, 20, 26, 0.18);
}

.offer-card .lang-block {
  display: none;
  position: relative;
  z-index: 1;
}

.offer-card .lang-block.active {
  display: block;
}

.offer-card::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 18px;
  width: 250px;
  height: 192px;
  display: none;
  pointer-events: none;
  z-index: 0;
}

.offer-card .lang-block > :is(.offer-eyebrow, .status-badge, .offer-title, .offer-text, .offer-period) {
  max-width: 100%;
}

.offer-eyebrow {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.46);
  margin-bottom: 16px;
}

.offer-eyebrow-logo {
  width: 150px;
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
}

.offer-eyebrow-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.offer-title {
  font-family: var(--sans);
  font-size: 46px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.offer-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: none;
}

.offer-period {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid rgba(151, 42, 50, 0.18);
  background: rgba(151, 42, 50, 0.06);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-red);
}

.offer-catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 28px;
  margin-top: 24px;
  align-items: start;
}

.offer-main {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.offer-sections {
  display: grid;
  gap: 26px;
}

.offer-section {
  scroll-margin-top: 120px;
}

.offer-section-head {
  display: grid;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--line-strong);
}

.offer-section-kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.48);
}

.offer-section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.offer-section-title {
  font-family: var(--sans);
  font-size: 31px;
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.offer-section-count {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.54);
}

.offer-section-text {
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.66;
  color: var(--ink-soft);
}

.offer-section .offer-grid {
  margin-top: 16px;
}

.offer-nav {
  position: sticky;
  top: 108px;
  align-self: start;
}

.offer-nav-inner {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(249, 250, 251, 0.46), rgba(236, 238, 241, 0.82)),
    rgba(246, 247, 248, 0.34);
  box-shadow: 0 14px 28px rgba(16, 20, 26, 0.08);
}

.offer-nav-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.5);
}

.offer-nav-list {
  display: grid;
  gap: 8px;
}

.offer-nav-link {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.34);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.offer-nav-link-title {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
}

.offer-nav-link-count {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.5);
}

.offer-nav-link:hover,
.offer-nav-link.active {
  transform: translateY(-1px);
  background: #171516;
  border-color: #171516;
  color: #f6f4f1;
  box-shadow:
    0 14px 24px rgba(17, 20, 24, 0.16),
    inset 0 0 0 1px rgba(151, 42, 50, 0.16);
}

.offer-nav-link:hover .offer-nav-link-count,
.offer-nav-link.active .offer-nav-link-count {
  color: rgba(246, 244, 241, 0.66);
}

.offer-nav-link--bbq {
  background:
    linear-gradient(180deg, rgba(95, 106, 74, 0.16), rgba(57, 64, 43, 0.2)),
    rgba(255, 255, 255, 0.34);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.offer-product {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(249, 250, 251, 0.44), rgba(236, 238, 241, 0.82)),
    rgba(246, 247, 248, 0.36);
  box-shadow: 0 12px 24px rgba(16, 20, 26, 0.06);
}

.offer-product-media {
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(249, 250, 252, 0.26), rgba(243, 245, 248, 0.08));
}

.offer-product-media::before {
  content: "";
  position: absolute;
  inset: -6px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.96) 34%, rgba(255, 255, 255, 0.78) 58%, rgba(248, 249, 251, 0.34) 78%, rgba(248, 249, 251, 0) 100%);
  filter: blur(14px);
  transform: scale(1.04);
  opacity: 0.96;
  pointer-events: none;
}

.offer-product-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(22, 26, 32, 0.08));
}

.offer-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(151, 42, 50, 0.22);
  background:
    linear-gradient(180deg, rgba(28, 22, 21, 0.98), rgba(16, 16, 17, 0.92)),
    #171516;
  box-shadow:
    0 10px 20px rgba(17, 20, 24, 0.14),
    inset 0 0 0 1px rgba(151, 42, 50, 0.18);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f6f4f1;
}

.offer-product-body {
  display: grid;
  grid-template-rows: minmax(32px, auto) auto minmax(88px, auto) auto minmax(34px, auto) auto;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.offer-product-code {
  display: -webkit-box;
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.48);
  min-height: 26px;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.offer-product-brand {
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.82);
}

.offer-product-title {
  display: grid;
  gap: 5px;
  align-content: start;
}

.offer-product-name {
  display: -webkit-box;
  font-size: 18px;
  line-height: 1.14;
  font-weight: 700;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.offer-product-name-detail {
  display: -webkit-box;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(23, 19, 16, 0.58);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.offer-product-prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.offer-product-old {
  font-size: 15px;
  font-weight: 700;
  color: rgba(23, 19, 16, 0.78);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.offer-product-new {
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-red);
}

.offer-product-price {
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(23, 19, 16, 0.92);
}

.offer-product-note {
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.offer-product-note-empty {
  visibility: hidden;
}

.offer-product-swatches-block {
  display: grid;
  gap: 8px;
}

.offer-product-swatches-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.52);
}

.offer-product-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.offer-swatch {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(22, 24, 28, 0.16);
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.offer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cta-btn-secondary {
  width: auto;
  min-width: 240px;
  background: rgba(244, 246, 248, 0.52);
  border-color: var(--line-strong);
}

.offer-state {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 0;
  background: rgba(18, 22, 28, 0.06);
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.offer-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(23, 19, 16, 0.5);
}

.offer-panel {
  display: none;
}

.offer-placeholder {
  margin-top: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(249, 250, 251, 0.38), rgba(236, 238, 241, 0.78)),
    rgba(246, 247, 248, 0.34);
  padding: 18px;
}

.offer-placeholder-title {
  font-family: var(--sans);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.offer-placeholder-text {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.offer-placeholder-list {
  margin-top: 18px;
  display: grid;
  border-top: 1px solid var(--line);
}

.offer-placeholder-item {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 2px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 21, 20, 0.78);
}

/* ================= ANIMATION ================= */

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1400px) {
  .hero-panels {
    width: min(940px, calc(100% - 40px));
    padding: 38px 34px;
  }

  .brand-title {
    font-size: 46px;
  }
}

@media (max-width: 1200px) {
  .brands-track img {
    height: 50px;
  }

  .brands-track {
    gap: 18px;
  }

  .brand-title {
    font-size: 42px;
  }

  .hero-panels {
    width: min(900px, calc(100% - 24px));
    gap: 24px;
    margin-top: 14px;
    padding: 34px 28px 30px;
  }

  .hero-showroom-section {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
    gap: 24px;
  }

  .offer-title {
    font-size: 50px;
  }

  .offer-card {
    padding: 32px 28px;
  }

  .offer-catalog {
    grid-template-columns: minmax(0, 1fr) 214px;
    gap: 22px;
  }

  .offer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 76px 10px 10px;
  }

  .hero-bg-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px;
    padding: 10px;
  }

  .hero-bg-left,
  .hero-bg-right {
    min-height: 220px;
  }

  .hero-mini-grid {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 140px);
    min-height: auto;
    gap: 8px;
  }

  .bg11 {
    display: none;
  }

  .brands-top {
    left: 10px;
    right: 10px;
    top: 10px;
  }

  .brands-marquee {
    padding: 10px 12px;
    border-radius: 0;
  }

  .brands-header {
    grid-template-columns: 1fr;
  }

  .brands-lang-switch {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .brands-track {
    gap: 16px;
    animation: marquee 15s linear infinite;
  }

  .brands-track img {
    height: 38px;
  }

  .hero-panels {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "contacts"
      "map";
    gap: 24px;
    width: min(640px, calc(100% - 20px));
    margin-top: 12px;
    padding: 26px 20px;
  }

  .hero-card {
    max-width: none;
    width: auto;
    padding: 0;
  }

  .hero-card-intro {
    padding-bottom: 22px;
  }

  .hero-card-contact-panel,
  .hero-card-map-panel {
    padding-right: 0;
    padding-top: 24px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .brand-title {
    font-size: 38px;
  }

  .brand-logo {
    width: min(280px, 82%);
    margin-bottom: 4px;
  }

  .brand-subtitle {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .hero-card .lang-block p {
    font-size: 16px;
  }

  .hero-main-copy {
    column-count: 1;
    column-gap: 0;
  }

  .hero-main-copy p {
    margin-bottom: 12px;
  }

  .hero-main-accents {
    grid-template-columns: 1fr;
    margin-top: 16px;
    padding-top: 16px;
    font-size: 12px;
  }

  .hero-showroom-section {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 22px;
    padding-top: 20px;
  }

  .hero-section-heading {
    font-size: 24px;
  }

  .hero-showroom-copy p {
    font-size: 14px;
  }

  .hero-phone {
    font-size: 25px;
  }

  .hero-phone-secondary {
    font-size: 21px;
  }

  .social-cluster {
    flex-direction: column;
    align-items: stretch;
  }

  .social-platform {
    min-width: 0;
  }

  .showroom-cta {
    padding: 18px;
    border-radius: 0;
  }

  .hero-map-frame iframe {
    min-height: 250px;
  }

  .cta-title {
    font-size: 24px;
  }

  .offer-page {
    padding: 76px 10px 10px;
  }

  .offer-card {
    padding: 26px 18px 22px;
    border-radius: 0;
  }

  .offer-card::after {
    display: none;
  }

  .offer-card .lang-block > :is(.offer-eyebrow, .status-badge, .offer-title, .offer-text, .offer-period) {
    max-width: none;
  }

  .offer-eyebrow-logo {
    width: 132px;
    margin-bottom: 14px;
  }

  .offer-title {
    font-size: 34px;
  }

  .offer-text {
    font-size: 15px;
  }

  .offer-period {
    min-height: 40px;
    padding: 0 12px;
    font-size: 11px;
  }

  .offer-catalog {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 20px;
  }

  .offer-sections {
    gap: 22px;
  }

  .offer-main {
    order: 1;
  }

  .offer-section-title {
    font-size: 24px;
  }

  .offer-section-text {
    font-size: 13px;
  }

  .offer-nav {
    order: 2;
    position: static;
    top: auto;
    z-index: 4;
    margin-top: 4px;
  }

  .offer-nav-inner {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .offer-nav-label {
    margin-bottom: 2px;
  }

  .offer-nav-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .offer-nav-link {
    min-width: max-content;
    padding: 10px 12px;
    background: rgba(244, 246, 248, 0.8);
  }

  .offer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
  }

  .offer-product {
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: none;
  }

  .offer-product-media {
    aspect-ratio: auto;
    min-height: 108px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 12px;
  }

  .offer-product-body {
    padding: 14px;
    gap: 8px;
    grid-template-rows: minmax(28px, auto) auto minmax(78px, auto) auto minmax(30px, auto) auto;
  }

  .offer-product-name {
    font-size: 15px;
  }

  .offer-product-name-detail {
    font-size: 10px;
  }

  .offer-product-new {
    font-size: 21px;
  }

  .offer-product-price {
    font-size: 21px;
  }

  .offer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn-secondary {
    width: 100%;
    min-width: 0;
  }

  .status-badge {
    min-width: 0;
    width: 100%;
  }

  .offer-placeholder-title {
    font-size: 24px;
  }
}
