﻿:root {
  --bg: #070809;
  --bg-soft: #121416;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #f3f4f6;
  --muted: #a0a6ad;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #b9a58d;
  --accent-strong: #d5c4af;
  --radius-lg: 24px;
  --container: 1200px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --accent-ember: #db8052;
  --accent-meadow: #7ea87b;
  --accent-frost: #95aabd;
  --accent-steel: #8f98a7;
  --accent-timber: #92735e;
  --accent-coal: #d86f4c;
  --accent-emerald: #4f7c66;
  --header-offset: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background:
    radial-gradient(circle at top, rgba(134, 140, 148, 0.18), transparent 35%),
    linear-gradient(180deg, #090a0b 0%, #050607 100%);
}

body {
  margin: 0;
  color: var(--text);
  background: transparent;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  background:
    linear-gradient(30deg, transparent 0 47%, rgba(255, 255, 255, 0.02) 47.5%, transparent 48%) 0 0 / 220px 160px repeat,
    linear-gradient(-30deg, transparent 0 47%, rgba(255, 255, 255, 0.02) 47.5%, transparent 48%) 0 0 / 220px 160px repeat;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  overflow: visible;
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 9, 0.72);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.site-header__messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.028);
  color: var(--text);
  transition: 180ms ease;
}

.site-header__messenger:hover,
.site-header__contact-inline:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.site-header__messenger svg {
  width: 16px;
  height: 16px;
  display: block;
}

.site-header__messenger--max span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-header__inner {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(140px, auto) 1fr minmax(280px, auto);
  grid-template-areas: "brand nav actions";
  align-items: center;
  gap: 24px;
}

.site-header__actions,
.site-header__contact-row,
.site-header__cta-row,
.site-header__contact-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__actions {
  margin-left: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  justify-self: end;
}

.site-header__contacts {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.site-header__contact-row,
.site-header__cta-row {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.site-header__contact-inline {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0;
  color: var(--text);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: 180ms ease;
}

.site-header__contact-socials {
  justify-content: flex-end;
  gap: 6px;
}

.site-header__cta-row .button {
  min-width: 0;
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.site-header__contact-row .site-header__contact-inline--email {
  margin-left: 22px;
}

.site-header__cta-row .site-header__messenger {
  width: 28px;
  height: 28px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.site-header__cta-row .site-header__messenger svg {
  width: 13px;
  height: 13px;
}

.site-header__cta-row .site-header__messenger--max span {
  font-size: 11px;
}

.brand {
  display: inline-flex;
  align-items: center;
  grid-area: brand;
}

.brand--logo img {
  display: block;
  width: auto;
  height: 46px;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.site-nav {
  grid-area: nav;
  justify-self: center;
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  gap: 30px;
  color: var(--muted);
  align-items: center;
}

.site-nav a {
  position: relative;
  font-size: 15px;
  line-height: 1;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213, 196, 175, 0.72), transparent);
  opacity: 0;
  transform: scaleX(0.55);
  transition: 180ms ease;
}

.site-nav a:hover,
.site-footer__links a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-main {
  min-height: calc(100vh - 160px);
  padding-top: var(--header-offset);
}

.site-main--home {
  padding-top: 0;
}

.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 72px 0 48px;
  position: relative;
  overflow: clip;
}

.hero--compact {
  padding-bottom: 16px;
}

.hero--premium {
  padding-top: 28px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-brandmark {
  position: absolute;
  right: 2%;
  top: 18px;
  width: min(42vw, 620px);
  opacity: 0.048;
  filter: blur(0.2px) drop-shadow(0 18px 48px rgba(0, 0, 0, 0.26));
  transform: rotate(-8deg);
}

.hero-brandmark img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-orb,
.hero-grid-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
}

.hero-orb--silver {
  width: 320px;
  height: 320px;
  top: -60px;
  right: 18%;
  background: radial-gradient(circle, rgba(180, 190, 204, 0.22), rgba(180, 190, 204, 0));
}

.hero-orb--brass {
  width: 260px;
  height: 260px;
  bottom: 20px;
  left: 12%;
  background: radial-gradient(circle, rgba(190, 163, 120, 0.18), rgba(190, 163, 120, 0));
}

.hero-grid-glow {
  inset: 90px auto auto 50%;
  width: 440px;
  height: 440px;
  transform: translateX(-10%);
  background:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle, rgba(0,0,0,0.9), transparent 72%);
  opacity: 0.15;
  border-radius: 32px;
  filter: none;
}

.hero--line {
  position: relative;
}

.hero--line::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
}

.hero--line.hero--immersive {
  position: sticky;
  top: var(--header-offset);
  z-index: 0;
}

.hero--immersive {
  overflow: hidden;
}

.hero--immersive .hero__grid {
  position: relative;
  grid-template-columns: 1fr;
  align-items: end;
  min-height: calc(100vh - var(--header-offset));
  padding-top: 0;
  padding-bottom: 0;
}

.hero--immersive .hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.94;
  transform: scale(1.02);
}

.hero--immersive .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.62) 0%, rgba(5, 6, 8, 0.28) 20%, rgba(5, 6, 8, 0.32) 54%, rgba(5, 6, 8, 0.88) 100%),
    linear-gradient(90deg, rgba(5, 6, 8, 0.58) 0%, rgba(5, 6, 8, 0.28) 34%, rgba(5, 6, 8, 0.10) 58%, rgba(5, 6, 8, 0.16) 100%),
    radial-gradient(circle at left bottom, rgba(0, 0, 0, 0.62), transparent 42%);
}

.hero--catalog-visual.hero--immersive .hero__bg::before {
  opacity: 0.99;
}

.hero--catalog-visual.hero--immersive .hero__bg::after {
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.12) 0%, rgba(5, 6, 8, 0.04) 18%, rgba(5, 6, 8, 0.06) 52%, rgba(5, 6, 8, 0.18) 100%),
    linear-gradient(90deg, rgba(5, 6, 8, 0.12) 0%, rgba(5, 6, 8, 0.04) 34%, rgba(5, 6, 8, 0.02) 58%, rgba(5, 6, 8, 0.06) 100%);
}

.hero--immersive .hero__content--premium {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 28px 32px 26px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.52), rgba(10, 12, 16, 0.24));
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.hero--immersive .hero__content--premium::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%);
  pointer-events: none;
}

.hero--immersive .hero__content--premium h1,
.hero--immersive .hero__content--premium p,
.hero--immersive .hero__content--premium li,
.hero--immersive .hero__content--premium span,
.hero--immersive .hero__content--premium a {
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.48);
  position: relative;
  z-index: 1;
}

.hero--immersive .hero__lead {
  max-width: 760px;
  color: rgba(247, 249, 252, 0.92);
}

.hero--immersive .hero__panel {
  display: none;
}

.hero__grid--image-only {
  min-height: calc(100vh - var(--header-offset));
}

.hero--immersive .hero__metrics li,
.hero--immersive .hero-card__chips span {
  background: rgba(10, 11, 15, 0.24);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(245, 247, 250, 0.92);
  backdrop-filter: blur(5px);
}

.hero--immersive .button--primary {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.hero--immersive .button--ghost,
.hero--immersive .button--secondary {
  background: rgba(9, 9, 12, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
}

.hero--immersive .button--accented {
  backdrop-filter: blur(7px);
}

.hero--immersive.hero--ember .eyebrow,
.hero--immersive.hero--ember .hero-card__label,
.hero--immersive.hero--ember .hero-card__title { color: var(--accent-ember); }
.hero--immersive.hero--ember .hero__metrics li,
.hero--immersive.hero--ember .hero-card__chips span {
  border-color: rgba(219, 128, 82, 0.34);
  background: rgba(219, 128, 82, 0.08);
}
.hero--immersive.hero--ember .button--primary {
  background: linear-gradient(135deg, rgba(219, 128, 82, 0.96), #f0c49b);
}
.hero--immersive.hero--ember .button--accented,
.line-intro__panel--ember .button--accented {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 20%, rgba(255,255,255,0.01) 100%),
    rgba(219, 128, 82, 0.16);
  border-color: rgba(219, 128, 82, 0.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 34px rgba(219, 128, 82, 0.16);
}

.hero--immersive.hero--meadow .eyebrow,
.hero--immersive.hero--meadow .hero-card__label,
.hero--immersive.hero--meadow .hero-card__title { color: var(--accent-meadow); }
.hero--immersive.hero--meadow .hero__metrics li,
.hero--immersive.hero--meadow .hero-card__chips span {
  border-color: rgba(126, 168, 123, 0.34);
  background: rgba(126, 168, 123, 0.08);
}
.hero--immersive.hero--meadow .button--primary {
  background: linear-gradient(135deg, rgba(126, 168, 123, 0.96), #b9d7b5);
}
.hero--immersive.hero--meadow .button--accented,
.line-intro__panel--meadow .button--accented {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 20%, rgba(255,255,255,0.01) 100%),
    rgba(126, 168, 123, 0.16);
  border-color: rgba(126, 168, 123, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 34px rgba(126, 168, 123, 0.14);
}

.hero--immersive.hero--frost .eyebrow,
.hero--immersive.hero--frost .hero-card__label,
.hero--immersive.hero--frost .hero-card__title { color: var(--accent-frost); }
.hero--immersive.hero--frost .hero__metrics li,
.hero--immersive.hero--frost .hero-card__chips span {
  border-color: rgba(149, 170, 189, 0.34);
  background: rgba(149, 170, 189, 0.08);
}
.hero--immersive.hero--frost .button--primary {
  background: linear-gradient(135deg, rgba(149, 170, 189, 0.96), #d6e1ee);
}
.hero--immersive.hero--frost .button--accented,
.line-intro__panel--frost .button--accented {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 20%, rgba(255,255,255,0.01) 100%),
    rgba(149, 170, 189, 0.16);
  border-color: rgba(149, 170, 189, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 34px rgba(149, 170, 189, 0.14);
}

.hero--immersive.hero--steel .eyebrow,
.hero--immersive.hero--steel .hero-card__label,
.hero--immersive.hero--steel .hero-card__title { color: var(--accent-steel); }
.hero--immersive.hero--steel .hero__metrics li,
.hero--immersive.hero--steel .hero-card__chips span {
  border-color: rgba(143, 152, 167, 0.34);
  background: rgba(143, 152, 167, 0.08);
}
.hero--immersive.hero--steel .button--primary {
  background: linear-gradient(135deg, rgba(143, 152, 167, 0.96), #ccd4df);
}
.hero--immersive.hero--steel .button--accented,
.line-intro__panel--steel .button--accented {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 20%, rgba(255,255,255,0.01) 100%),
    rgba(143, 152, 167, 0.16);
  border-color: rgba(143, 152, 167, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 34px rgba(143, 152, 167, 0.15);
}

.hero--immersive.hero--timber .eyebrow,
.hero--immersive.hero--timber .hero-card__label,
.hero--immersive.hero--timber .hero-card__title { color: var(--accent-timber); }
.hero--immersive.hero--timber .hero__metrics li,
.hero--immersive.hero--timber .hero-card__chips span {
  border-color: rgba(146, 115, 94, 0.34);
  background: rgba(146, 115, 94, 0.08);
}
.hero--immersive.hero--timber .button--primary {
  background: linear-gradient(135deg, rgba(146, 115, 94, 0.96), #c8ac92);
}
.hero--immersive.hero--timber .button--accented,
.line-intro__panel--timber .button--accented {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 20%, rgba(255,255,255,0.01) 100%),
    rgba(146, 115, 94, 0.16);
  border-color: rgba(146, 115, 94, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 34px rgba(146, 115, 94, 0.14);
}

.hero--immersive.hero--coal .eyebrow,
.hero--immersive.hero--coal .hero-card__label,
.hero--immersive.hero--coal .hero-card__title { color: var(--accent-coal); }
.hero--immersive.hero--coal .hero__metrics li,
.hero--immersive.hero--coal .hero-card__chips span {
  border-color: rgba(216, 111, 76, 0.34);
  background: rgba(216, 111, 76, 0.08);
}
.hero--immersive.hero--coal .button--primary {
  background: linear-gradient(135deg, rgba(216, 111, 76, 0.96), #efb08f);
}
.hero--immersive.hero--coal .button--accented,
.line-intro__panel--coal .button--accented {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 20%, rgba(255,255,255,0.01) 100%),
    rgba(216, 111, 76, 0.16);
  border-color: rgba(216, 111, 76, 0.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 34px rgba(216, 111, 76, 0.16);
}

.hero--immersive .project-breadcrumbs,
.hero--immersive .project-breadcrumbs a,
.hero--immersive .project-breadcrumbs span {
  color: rgba(244, 247, 251, 0.92);
}

.hero--immersive .project-breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
}

.hero--immersive .eyebrow {
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}

.line-story-shell {
  position: relative;
  z-index: 1;
  margin-top: clamp(-34px, -2.5vw, -18px);
  padding-top: clamp(72px, 6vw, 94px);
  border-radius: 40px 40px 0 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 11, 0.86) 0%, rgba(7, 8, 11, 0.96) 88px, rgba(7, 8, 11, 1) 180px),
    radial-gradient(circle at top center, rgba(255,255,255,0.05), transparent 38%);
  box-shadow:
    0 -24px 70px rgba(0, 0, 0, 0.24),
    0 -1px 0 rgba(255,255,255,0.05);
  overflow: clip;
}

.line-story-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 190px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 28%),
    radial-gradient(circle at top center, rgba(196, 207, 221, 0.08), transparent 56%);
}

.line-intro {
  position: relative;
  z-index: 3;
  margin-top: clamp(-74px, -6vw, -38px);
  padding-top: 0;
}

.line-intro__panel {
  position: relative;
  max-width: 980px;
  padding: 28px 32px 26px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(14, 16, 22, 0.44), rgba(14, 16, 22, 0.16)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(18px);
  box-shadow:
    0 28px 68px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero--catalog-visual .line-intro__panel {
  background:
    linear-gradient(180deg, rgba(14, 16, 22, 0.54), rgba(14, 16, 22, 0.26)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.line-intro__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), transparent 24%),
    radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 34%);
  opacity: 0.9;
}

.line-intro__panel h1,
.line-intro__panel p,
.line-intro__panel li,
.line-intro__panel span,
.line-intro__panel a {
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.46);
  position: relative;
  z-index: 1;
}

.line-intro__panel .project-breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero--ember::before { background: radial-gradient(circle at top right, var(--accent-ember), transparent 45%); }
.hero--meadow::before { background: radial-gradient(circle at top right, var(--accent-meadow), transparent 45%); }
.hero--frost::before { background: radial-gradient(circle at top right, var(--accent-frost), transparent 45%); }
.hero--steel::before { background: radial-gradient(circle at top right, var(--accent-steel), transparent 45%); }
.hero--timber::before { background: radial-gradient(circle at top right, var(--accent-timber), transparent 45%); }
.hero--coal::before { background: radial-gradient(circle at top right, var(--accent-coal), transparent 45%); }

.section-heading--accent {
  position: relative;
  padding-left: 18px;
}

.section-heading--accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 999px;
  opacity: 0.92;
}

.section-heading--ember::before { background: linear-gradient(180deg, rgba(219, 128, 82, 0.98), rgba(219, 128, 82, 0.18)); }
.section-heading--meadow::before { background: linear-gradient(180deg, rgba(126, 168, 123, 0.98), rgba(126, 168, 123, 0.18)); }
.section-heading--frost::before { background: linear-gradient(180deg, rgba(149, 170, 189, 0.98), rgba(149, 170, 189, 0.18)); }
.section-heading--steel::before { background: linear-gradient(180deg, rgba(143, 152, 167, 0.98), rgba(143, 152, 167, 0.18)); }
.section-heading--timber::before { background: linear-gradient(180deg, rgba(146, 115, 94, 0.98), rgba(146, 115, 94, 0.18)); }
.section-heading--coal::before { background: linear-gradient(180deg, rgba(216, 111, 76, 0.98), rgba(216, 111, 76, 0.18)); }

.section-heading--ember .eyebrow { color: var(--accent-ember); }
.section-heading--meadow .eyebrow { color: var(--accent-meadow); }
.section-heading--frost .eyebrow { color: var(--accent-frost); }
.section-heading--steel .eyebrow { color: var(--accent-steel); }
.section-heading--timber .eyebrow { color: var(--accent-timber); }
.section-heading--coal .eyebrow { color: var(--accent-coal); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero__panel {
  display: grid;
  gap: 22px;
  align-content: start;
  min-width: 0;
}

.hero__content,
.hero-card,
.line-card,
.stub-box {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 42px;
  border-radius: 32px;
  position: relative;
  z-index: 1;
}

.hero__content--premium::after,
.hero-card--floating::before {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
  transform: rotate(18deg);
  opacity: 0.4;
  pointer-events: none;
}

.hero-card {
  width: 100%;
  padding: 32px;
  border-radius: 32px;
  position: relative;
  z-index: 1;
}

.hero-card--hero {
  min-height: auto;
  background:
    radial-gradient(circle at top right, rgba(213, 196, 175, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

.hero-card__title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-card__chips span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
}

.hero-card--accent {
  position: relative;
  overflow: hidden;
}

.hero-card--accent::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(12px);
}

.hero-card--map {
  background:
    radial-gradient(circle at top right, rgba(79, 124, 102, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

.home-hero-slider {
  position: relative;
  margin-top: 0;
  padding: 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.07), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.home-hero-slider__viewport {
  position: relative;
  height: clamp(340px, 34vw, 430px);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(8, 10, 14, 0.78);
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 720ms ease, visibility 720ms ease, transform 900ms ease;
  transform: scale(1.02);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 28%),
    linear-gradient(180deg, rgba(14, 16, 20, 0.98), rgba(9, 11, 15, 1));
}

.home-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.home-hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  align-self: stretch;
}

.home-hero-slide__overlay {
  position: relative;
  inset: auto;
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(18, 21, 26, 0.98), rgba(10, 12, 16, 0.98)),
    linear-gradient(135deg, rgba(255,255,255,0.05), transparent 60%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.home-hero-slide__overlay .eyebrow {
  margin-bottom: 8px;
  color: rgba(223, 208, 186, 0.92);
}

.home-hero-slide__overlay p {
  margin: 0;
  color: rgba(243, 246, 251, 0.9);
  font-size: 15px;
  line-height: 1.55;
}

.home-hero-slider__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-inline: 4px;
}

.home-hero-slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-hero-slider__dot.is-active {
  transform: scale(1.15);
  background: rgba(213, 196, 175, 0.82);
  border-color: rgba(213, 196, 175, 0.92);
}

@media (max-width: 900px) {
  .hero__panel {
    gap: 18px;
  }

  .home-hero-slider__viewport {
    height: clamp(280px, 52vw, 360px);
  }

  .home-hero-slide__overlay {
    min-height: 108px;
  }
}

@media (max-width: 640px) {
  .home-hero-slider {
    padding: 12px;
    border-radius: 24px;
  }

  .home-hero-slider__viewport {
    height: 244px;
    border-radius: 18px;
  }

  .home-hero-slide__overlay {
    padding: 14px 14px 16px;
    min-height: 122px;
  }

  .home-hero-slide__overlay p {
    font-size: 14px;
    line-height: 1.5;
  }

  .home-hero-slider__dots {
    gap: 8px;
    margin-top: 12px;
  }

  .exhibition-map-frame__canvas,
  .exhibition-map-frame__canvas iframe {
    min-height: 320px;
    height: 320px;
  }

  .project-breadcrumbs {
    font-size: 13px;
    gap: 8px;
  }
}

.hero-prism {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 180px;
  height: 180px;
  perspective: 1000px;
}

.hero-prism__core {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02)),
    radial-gradient(circle at top, rgba(185, 165, 141, 0.18), transparent 55%);
  box-shadow: 0 36px 70px rgba(0,0,0,0.35);
  transform: rotateX(62deg) rotateZ(38deg);
}

.hero-card__label,
.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.hero h1,
.stub-box h1,
.section-heading h2 {
  margin: 0 0 16px;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  max-width: 850px;
}

.hero__lead,
.hero-card__text,
.line-card p,
.section-heading p,
.stub-box p,
.site-footer__text {
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #111316;
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.12) 16%, rgba(255, 255, 255, 0.02) 18%, transparent 42%),
    linear-gradient(135deg, #f1f4f7 0%, #c8d0d8 18%, #a5afb9 42%, #d7dde3 62%, #8d98a4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(74, 82, 92, 0.34),
    0 14px 26px rgba(0, 0, 0, 0.26);
}

.button--primary::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.34), rgba(255,255,255,0.02) 28%, rgba(255,255,255,0.14) 54%, rgba(255,255,255,0.04) 100%);
  opacity: 0.75;
  pointer-events: none;
  transform: translateX(-135%) skewX(-14deg);
}

.button--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), transparent 38%, rgba(30, 35, 41, 0.1) 100%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.button--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -1px 0 rgba(74, 82, 92, 0.38),
    0 18px 30px rgba(0, 0, 0, 0.3);
}

.button--primary:hover::before,
.button--primary:focus-visible::before {
  opacity: 0.92;
  animation: button-shimmer 1.35s linear infinite;
}

@keyframes button-shimmer {
  0% {
    transform: translateX(-135%) skewX(-14deg);
  }

  100% {
    transform: translateX(135%) skewX(-14deg);
  }
}

.button--secondary,
.button--ghost {
  background: rgba(255, 255, 255, 0.03);
}

.button--accented {
  color: #f4f1eb;
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02) 22%, rgba(255,255,255,0.01) 100%),
    rgba(9, 11, 15, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.button--accented:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 20px 34px rgba(0, 0, 0, 0.28);
}

.button--danger {
  background: rgba(176, 82, 82, 0.14);
  border-color: rgba(210, 109, 109, 0.3);
  color: #ffd2d2;
}

.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.hero__metrics li,
.line-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero__metric--price {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(10, 12, 16, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 30px rgba(0, 0, 0, 0.22);
}

.section {
  padding: 48px 0 64px;
}

.section--compact-top {
  padding-top: 8px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.line-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.line-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 26px;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.line-card__media {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: 0 0 16px;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  min-height: 0;
  max-height: 180px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.line-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 22%, rgba(5,5,7,0.34) 100%),
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 30%);
  pointer-events: none;
}

.line-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
  background: rgba(12, 14, 18, 0.98);
}

.line-card:hover .line-card__media img {
  transform: scale(1.02);
}

.line-card--premium,
.advantage-card--premium,
.showcase-panel--premium,
.cta-band--premium,
[data-tilt] {
  will-change: transform;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

[data-tilt] {
  --glow-x: 50%;
  --glow-y: 18%;
  --float-x: 0px;
  --float-y: 0px;
  position: relative;
}

[data-tilt].is-tilting {
  transform: translate3d(var(--float-x), calc(var(--float-y) * -0.25), 0) translateY(-4px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.14);
}

.line-card--premium:hover,
.advantage-card--premium:hover,
.showcase-panel--premium:hover,
.cta-band--premium:hover {
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
}

.accent-frame {
  position: relative;
}

.accent-frame::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  opacity: 0.9;
  background: linear-gradient(90deg, var(--frame-accent), transparent 72%);
  pointer-events: none;
  z-index: 2;
}

.accent-frame::after {
  content: "";
  position: absolute;
  top: -46px;
  right: -24px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--frame-glow), transparent 66%);
  pointer-events: none;
  filter: blur(12px);
  opacity: 0.42;
  z-index: 0;
}

.accent-frame--ember { --frame-accent: rgba(219, 128, 82, 0.92); --frame-glow: rgba(219, 128, 82, 0.18); }
.accent-frame--meadow { --frame-accent: rgba(126, 168, 123, 0.92); --frame-glow: rgba(126, 168, 123, 0.18); }
.accent-frame--frost { --frame-accent: rgba(149, 170, 189, 0.92); --frame-glow: rgba(149, 170, 189, 0.18); }
.accent-frame--steel { --frame-accent: rgba(143, 152, 167, 0.92); --frame-glow: rgba(143, 152, 167, 0.18); }
.accent-frame--timber { --frame-accent: rgba(146, 115, 94, 0.92); --frame-glow: rgba(146, 115, 94, 0.18); }
.accent-frame--coal { --frame-accent: rgba(216, 111, 76, 0.92); --frame-glow: rgba(216, 111, 76, 0.18); }

.line-card--ember { border-color: rgba(219, 128, 82, 0.38); }
.line-card--meadow { border-color: rgba(126, 168, 123, 0.38); }
.line-card--frost { border-color: rgba(149, 170, 189, 0.38); }
.line-card--steel { border-color: rgba(143, 152, 167, 0.38); }
.line-card--timber { border-color: rgba(146, 115, 94, 0.38); }
.line-card--coal { border-color: rgba(216, 111, 76, 0.38); }

.line-card--ember {
  background:
    radial-gradient(circle at top right, rgba(219, 128, 82, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.line-card--meadow {
  background:
    radial-gradient(circle at top right, rgba(126, 168, 123, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.line-card--frost {
  background:
    radial-gradient(circle at top right, rgba(149, 170, 189, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.line-card--steel {
  background:
    radial-gradient(circle at top right, rgba(143, 152, 167, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.line-card--timber {
  background:
    radial-gradient(circle at top right, rgba(146, 115, 94, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.line-card--coal {
  background:
    radial-gradient(circle at top right, rgba(216, 111, 76, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.line-card--ember .line-card__badge { color: var(--accent-ember); border-color: rgba(219, 128, 82, 0.22); background: rgba(219, 128, 82, 0.08); }
.line-card--meadow .line-card__badge { color: var(--accent-meadow); border-color: rgba(126, 168, 123, 0.22); background: rgba(126, 168, 123, 0.08); }
.line-card--frost .line-card__badge { color: var(--accent-frost); border-color: rgba(149, 170, 189, 0.22); background: rgba(149, 170, 189, 0.08); }
.line-card--steel .line-card__badge { color: var(--accent-steel); border-color: rgba(143, 152, 167, 0.22); background: rgba(143, 152, 167, 0.08); }
.line-card--timber .line-card__badge { color: var(--accent-timber); border-color: rgba(146, 115, 94, 0.22); background: rgba(146, 115, 94, 0.08); }
.line-card--coal .line-card__badge { color: var(--accent-coal); border-color: rgba(216, 111, 76, 0.22); background: rgba(216, 111, 76, 0.08); }

.line-card--ember h2,
.line-card--ember h3,
.line-card--ember .line-card__meta { color: #efc5a8; }
.line-card--meadow h2,
.line-card--meadow h3,
.line-card--meadow .line-card__meta { color: #bad6b8; }
.line-card--frost h2,
.line-card--frost h3,
.line-card--frost .line-card__meta { color: #d1deea; }
.line-card--steel h2,
.line-card--steel h3,
.line-card--steel .line-card__meta { color: #cbd3df; }
.line-card--timber h2,
.line-card--timber h3,
.line-card--timber .line-card__meta { color: #d0b49b; }
.line-card--coal h2,
.line-card--coal h3,
.line-card--coal .line-card__meta { color: #efb08f; }

.line-card--ember .line-card__signals li::before { background: var(--accent-ember); }
.line-card--meadow .line-card__signals li::before { background: var(--accent-meadow); }
.line-card--frost .line-card__signals li::before { background: var(--accent-frost); }
.line-card--steel .line-card__signals li::before { background: var(--accent-steel); }
.line-card--timber .line-card__signals li::before { background: var(--accent-timber); }
.line-card--coal .line-card__signals li::before { background: var(--accent-coal); }

.line-card--ember .line-card__media::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 22%, rgba(5,5,7,0.34) 100%),
    radial-gradient(circle at top right, rgba(219, 128, 82, 0.16), transparent 32%);
}

.line-card--meadow .line-card__media::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 22%, rgba(5,5,7,0.34) 100%),
    radial-gradient(circle at top right, rgba(126, 168, 123, 0.16), transparent 32%);
}

.line-card--frost .line-card__media::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 22%, rgba(5,5,7,0.34) 100%),
    radial-gradient(circle at top right, rgba(149, 170, 189, 0.16), transparent 32%);
}

.line-card--steel .line-card__media::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 22%, rgba(5,5,7,0.34) 100%),
    radial-gradient(circle at top right, rgba(143, 152, 167, 0.16), transparent 32%);
}

.line-card--timber .line-card__media::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 22%, rgba(5,5,7,0.34) 100%),
    radial-gradient(circle at top right, rgba(146, 115, 94, 0.16), transparent 32%);
}

.line-card--coal .line-card__media::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 22%, rgba(5,5,7,0.34) 100%),
    radial-gradient(circle at top right, rgba(216, 111, 76, 0.16), transparent 32%);
}

.line-card--ember .button { border-color: rgba(219, 128, 82, 0.26); }
.line-card--meadow .button { border-color: rgba(126, 168, 123, 0.26); }
.line-card--frost .button { border-color: rgba(149, 170, 189, 0.26); }
.line-card--steel .button { border-color: rgba(143, 152, 167, 0.26); }
.line-card--timber .button { border-color: rgba(146, 115, 94, 0.26); }
.line-card--coal .button { border-color: rgba(216, 111, 76, 0.26); }

.line-card--ember .button--primary { background: linear-gradient(135deg, rgba(219, 128, 82, 0.96), #f0c49b); }
.line-card--meadow .button--primary { background: linear-gradient(135deg, rgba(126, 168, 123, 0.96), #b9d7b5); }
.line-card--frost .button--primary { background: linear-gradient(135deg, rgba(149, 170, 189, 0.96), #d6e1ee); }
.line-card--steel .button--primary { background: linear-gradient(135deg, rgba(143, 152, 167, 0.96), #ccd4df); }
.line-card--timber .button--primary { background: linear-gradient(135deg, rgba(146, 115, 94, 0.96), #c8ac92); }
.line-card--coal .button--primary { background: linear-gradient(135deg, rgba(216, 111, 76, 0.96), #efb08f); }

.line-card--ember .button--ghost { background: rgba(219, 128, 82, 0.08); }
.line-card--meadow .button--ghost { background: rgba(126, 168, 123, 0.08); }
.line-card--frost .button--ghost { background: rgba(149, 170, 189, 0.08); }
.line-card--steel .button--ghost { background: rgba(143, 152, 167, 0.08); }
.line-card--timber .button--ghost { background: rgba(146, 115, 94, 0.08); }
.line-card--coal .button--ghost { background: rgba(216, 111, 76, 0.08); }

.line-card h3 {
  margin: 16px 0 10px;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.18;
  min-height: 2.4em;
}

.line-card h2 {
  margin: 16px 0 10px;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.2;
  min-height: 2.5em;
}

.line-card__summary {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  min-height: 5.2em;
}

.line-card__segment-label {
  margin: 0 0 10px;
  color: rgba(237, 231, 220, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.line-card__meta {
  margin: 0 0 18px;
  display: flex;
  align-items: flex-start;
  color: var(--accent-strong);
  font-size: 15px;
  line-height: 1.45;
  min-height: 3.1em;
}

.line-card__signals {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  min-height: 78px;
}

.line-card__signals li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.line-card__signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

.line-card__availability-note,
.line-page__note,
.product-page__expansion-note {
  color: var(--muted);
}

.line-card__availability-note {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  min-height: 2.6em;
}

.line-card__facts,
.product-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.line-card__facts {
  margin: auto 0 14px;
  min-height: 106px;
  align-content: flex-start;
}

.fact-pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(7, 9, 13, 0.72);
  color: rgba(241, 244, 249, 0.9);
  font-size: 15px;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.fact-pill--price {
  padding-inline: 20px;
  color: #f8fbff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08)),
    rgba(8, 10, 15, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 16px 34px rgba(0, 0, 0, 0.26);
}

.catalog-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.catalog-guide__card {
  position: relative;
  padding: 22px 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  overflow: hidden;
}

.catalog-guide__label {
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.05em;
  font-weight: 300;
}

.catalog-guide__card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.catalog-guide__card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.line-card .button {
  width: 100%;
  margin-top: 0;
  min-height: 58px;
}

.line-page__note {
  margin: 0 0 20px;
  max-width: 760px;
}

.line-passport {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.product-page__expansion-note {
  margin: 0 0 18px;
  max-width: 720px;
}

.product-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.advantage-card,
.showcase-panel,
.cta-band {
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.advantage-card {
  padding: 28px;
}

.advantage-card__number {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.advantage-card h3 {
  margin: 0 0 12px;
}

.advantage-card p {
  margin: 0;
  color: var(--muted);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.home-forms-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-forms-grid > div {
  display: flex;
}

.home-forms-grid .lead-form-box {
  width: 100%;
  height: 100%;
}

.exhibition-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  gap: 28px;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(79, 124, 102, 0.1), transparent 30%),
    radial-gradient(circle at bottom left, rgba(185, 165, 141, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(22, 24, 29, 0.96), rgba(10, 11, 15, 0.98));
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.42);
}

.exhibition-showcase__content {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.exhibition-showcase__content h3,
.exhibition-map-frame__top h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.06;
}

.exhibition-showcase__lead {
  margin: 0;
  max-width: 42rem;
  color: rgba(236, 239, 243, 0.92);
  font-size: 20px;
  line-height: 1.55;
}

.exhibition-showcase__list {
  margin-top: 8px;
}

.exhibition-showcase__actions {
  margin: 8px 0 0;
}

.exhibition-showcase__map {
  display: flex;
  min-width: 0;
}

.exhibition-map-frame {
  width: 100%;
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(18, 21, 26, 0.98), rgba(8, 10, 13, 0.99)),
    linear-gradient(135deg, rgba(177, 188, 201, 0.08), transparent 42%, rgba(255,255,255,0.02));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    inset 0 -1px 0 rgba(255,255,255,0.03),
    0 28px 58px rgba(0, 0, 0, 0.42);
}

.exhibition-map-frame__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.exhibition-map-frame__top h3 {
  margin: 8px 0 10px;
}

.exhibition-map-frame__top p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.6;
}

.exhibition-map-frame__button {
  flex-shrink: 0;
}

.exhibition-map-frame__canvas {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.06), transparent 34%),
    linear-gradient(180deg, rgba(10, 12, 16, 0.98), rgba(4, 5, 7, 1));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(255,255,255,0.025);
}

.exhibition-map-frame__canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 5, 7, 0.34), rgba(4, 5, 7, 0.06) 18%, rgba(4, 5, 7, 0.04) 52%, rgba(4, 5, 7, 0.3) 100%),
    linear-gradient(135deg, rgba(255,255,255,0.06), transparent 22%),
    radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 26%);
}

.exhibition-map-frame__canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 22px 36px rgba(0, 0, 0, 0.18),
    inset 0 -24px 38px rgba(0, 0, 0, 0.22);
}

.exhibition-map-frame__canvas iframe {
  display: block;
  width: 100%;
  height: 430px;
  filter: saturate(0.88) contrast(1.06) brightness(0.94) grayscale(0.04);
  transform: scale(1.012);
  transform-origin: center;
}

.showcase-panel {
  padding: 34px;
}

.showcase-panel--map {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(126, 168, 123, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.showcase-panel--metal {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
}

.showcase-panel--accent {
  background:
    radial-gradient(circle at top right, rgba(185, 165, 141, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.03));
}

.hero--contact .hero__content {
  background:
    radial-gradient(circle at top left, rgba(79, 124, 102, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.showcase-list {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.showcase-list li + li {
  margin-top: 10px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.flash {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.flash--success {
  background: rgba(90, 151, 110, 0.16);
  border-color: rgba(126, 168, 123, 0.36);
  color: #d7f0dc;
}

.flash--error {
  background: rgba(176, 82, 82, 0.16);
  border-color: rgba(210, 109, 109, 0.36);
  color: #ffd2d2;
}

.auth-box {
  max-width: 560px;
}

.auth-box__flash {
  margin-top: 18px;
  text-align: left;
}

.auth-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
  margin: 24px auto 0;
  text-align: left;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.button--compact {
  min-height: 48px;
  padding: 0 14px;
  white-space: nowrap;
}

.auth-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.admin-table-wrap {
  overflow: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--accent-strong);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.03);
}

.admin-table__details td {
  color: var(--muted);
  font-size: 14px;
  background: rgba(255,255,255,0.02);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 168, 123, 0.36);
  background: rgba(126, 168, 123, 0.14);
  color: #d5efd8;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-form {
  margin: 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
}

.cta-band h2 {
  margin: 0;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-grid-cards--single {
  grid-template-columns: minmax(0, 1fr);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 22px;
}

.video-feature--compact {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.video-feature--editorial {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 24px;
  align-items: stretch;
}

.video-feature__aside {
  display: grid;
  gap: 18px;
}

.video-feature__main {
  padding: 30px;
}

.video-feature__main--editorial {
  padding: 36px 38px 38px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.022));
}

.video-feature__main h3 {
  margin: 0 0 14px;
  max-width: 18ch;
}

.video-feature__main p {
  color: var(--muted);
}

.video-feature__deck {
  margin: 0;
  max-width: 58rem;
  color: rgba(236, 240, 244, 0.9);
  font-size: 18px;
  line-height: 1.72;
}

.video-feature__list {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.video-feature__list li + li {
  margin-top: 10px;
}

.video-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.video-pillars span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.028);
  color: rgba(243, 244, 246, 0.86);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.video-plan {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.video-plan li {
  position: relative;
  min-height: 56px;
  padding: 14px 16px 14px 40px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.024);
  color: rgba(233, 236, 240, 0.9);
  line-height: 1.5;
}

.video-plan li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(203, 211, 223, 0.94);
  box-shadow: 0 0 18px rgba(203, 211, 223, 0.22);
}

.video-plan--editorial {
  gap: 12px 18px;
  margin-bottom: 6px;
}

.video-plan--editorial li {
  min-height: 0;
  padding: 0 0 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(233, 236, 240, 0.86);
  line-height: 1.58;
}

.video-plan--editorial li::before {
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: rgba(211, 218, 228, 0.92);
  box-shadow: 0 0 16px rgba(211, 218, 228, 0.14);
}

.video-mini-card {
  position: relative;
  padding: 24px 24px 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-mini-card--editorial {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 26px 28px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
}

.video-mini-card--quote {
  min-height: 0;
  padding-top: 22px;
  justify-content: end;
}

.video-mini-card__number {
  margin-bottom: 14px;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #cbd3df;
}

.video-mini-card h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.18;
}

.video-mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.story-card,
.article-card {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.story-card {
  padding: 28px;
}

.story-card h2 {
  margin: 16px 0 12px;
}

.story-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
  color: var(--muted);
}

.story-card__cta-note {
  margin: 0 0 18px;
  color: var(--muted);
}

.story-card__meta span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.article-card {
  padding: 34px;
}

.article-card__body {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.article-card--legal h2 {
  margin: 0 0 8px;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-table-wrap {
  overflow: auto;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 240px;
  color: var(--accent-strong);
}

.contact-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.map-embed--premium {
  margin-top: 22px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  min-height: 340px;
}

.map-embed--premium iframe {
  width: 100%;
  min-height: 340px;
  display: block;
}

.product-card,
.offer-card,
.gallery-card,
.sidebar-box {
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
}

.product-card {
  padding: 24px;
}

.line-model-card {
  min-height: 100%;
}

.line-model-card__lead {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.product-card--premium,
.offer-card--premium,
.gallery-card--premium,
.sidebar-box--premium {
  position: relative;
  overflow: hidden;
}

.product-card--premium::after,
.offer-card--premium::after,
.gallery-card--premium::after,
.sidebar-box--premium::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 40%);
  opacity: 0.7;
}

.product-card__status {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-strong);
}

.product-card h3 {
  margin: 0 0 10px;
}

.product-card__details {
  justify-content: flex-start;
  gap: 16px;
  margin: 18px 0;
  color: var(--muted);
}

.product-card__submeta {
  margin: -2px 0 10px;
  color: var(--accent-strong);
  font-size: 14px;
}

.product-card__details strong {
  color: var(--text);
  font-weight: 700;
}

.product-card--ember,
.offer-card--ember,
.gallery-card--ember { border-color: rgba(219, 128, 82, 0.34); }
.product-card--meadow,
.offer-card--meadow,
.gallery-card--meadow { border-color: rgba(126, 168, 123, 0.34); }
.product-card--frost,
.offer-card--frost,
.gallery-card--frost { border-color: rgba(149, 170, 189, 0.34); }
.product-card--steel,
.offer-card--steel,
.gallery-card--steel { border-color: rgba(143, 152, 167, 0.34); }
.product-card--timber,
.offer-card--timber,
.gallery-card--timber { border-color: rgba(146, 115, 94, 0.34); }
.product-card--coal,
.offer-card--coal,
.gallery-card--coal { border-color: rgba(216, 111, 76, 0.34); }

.offer-card {
  padding: 28px;
}

.offer-card__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.offer-card__row strong {
  text-align: right;
}

.offer-card__row--price {
  align-items: center;
}

.offer-card__value--price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08)),
    rgba(10, 12, 17, 0.92);
  color: #fbfdff;
  font-size: 18px;
  line-height: 1.1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 18px 36px rgba(0, 0, 0, 0.24);
}

.line-card--ember .fact-pill--price,
.offer-card--ember .offer-card__value--price,
.hero--ember .hero__metric--price { border-color: rgba(219, 128, 82, 0.34); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 18px 36px rgba(219, 128, 82, 0.12); }
.line-card--meadow .fact-pill--price,
.offer-card--meadow .offer-card__value--price,
.hero--meadow .hero__metric--price { border-color: rgba(126, 168, 123, 0.34); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 18px 36px rgba(126, 168, 123, 0.12); }
.line-card--frost .fact-pill--price,
.offer-card--frost .offer-card__value--price,
.hero--frost .hero__metric--price { border-color: rgba(149, 170, 189, 0.34); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 18px 36px rgba(149, 170, 189, 0.12); }
.line-card--steel .fact-pill--price,
.offer-card--steel .offer-card__value--price,
.hero--steel .hero__metric--price { border-color: rgba(143, 152, 167, 0.34); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 18px 36px rgba(143, 152, 167, 0.14); }
.line-card--timber .fact-pill--price,
.offer-card--timber .offer-card__value--price,
.hero--timber .hero__metric--price { border-color: rgba(146, 115, 94, 0.34); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 18px 36px rgba(146, 115, 94, 0.12); }
.line-card--coal .fact-pill--price,
.offer-card--coal .offer-card__value--price,
.hero--coal .hero__metric--price { border-color: rgba(216, 111, 76, 0.34); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 18px 36px rgba(216, 111, 76, 0.12); }

.offer-card__row:last-child {
  border-bottom: 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid--premium {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 220ms ease, background 220ms ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
}

.gallery-box {
  display: grid;
  gap: 20px;
}

.visual-story {
  display: grid;
  gap: 24px;
}

.visual-story__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-hero-media {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018));
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.34);
}

.product-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.14), transparent 32%),
    linear-gradient(180deg, transparent 15%, rgba(7, 7, 10, 0.12) 55%, rgba(7, 7, 10, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.product-hero-media__frame {
  position: relative;
  min-height: 420px;
}

.product-hero-media__image {
  display: block;
  width: 100%;
  height: clamp(360px, 46vw, 560px);
  object-fit: cover;
  transform: scale(1.01);
}

.product-hero-media__overlay {
  position: absolute;
  inset: auto 24px 24px 24px;
  z-index: 2;
  max-width: 540px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16,16,20,0.34), rgba(16,16,20,0.78));
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.product-hero-media__overlay--compact {
  max-width: 500px;
}

.product-hero-media__overlay h2,
.product-hero-media__overlay h3 {
  margin: 0 0 10px;
}

.product-hero-media__overlay p {
  margin: 0;
  color: rgba(233, 235, 239, 0.78);
}

.gallery-card__image {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin-bottom: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 28px;
  color: var(--accent-strong);
}

.gallery-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 30%, rgba(0,0,0,0.28) 100%),
    radial-gradient(circle at top right, rgba(255,255,255,0.14), transparent 30%);
  pointer-events: none;
}

.gallery-card__image img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 22px;
  transition: transform 260ms ease;
}

.gallery-card:hover .gallery-card__image img {
  transform: scale(1.035);
}

.gallery-card__caption {
  color: rgba(233, 235, 239, 0.8);
  font-size: 15px;
  line-height: 1.6;
  padding: 0 4px 2px;
}

.gallery-card--strip .gallery-card__caption {
  display: none;
}

.gallery-strip--modules {
  gap: 14px;
}

.gallery-card--modules {
  flex: 0 0 calc((100% - 14px) / 2);
  min-width: calc((100% - 14px) / 2);
  max-width: calc((100% - 14px) / 2);
  padding: 4px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(20, 22, 27, 0.62);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  scroll-snap-align: start;
}

.gallery-card__image--modules {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(200px, 18vw, 270px);
  margin-bottom: 0;
  padding: 4px;
  border-radius: 12px;
  background: rgba(17, 19, 24, 0.58);
}

.gallery-card__image--modules::after {
  display: none;
}

.gallery-card__image--modules img {
  width: 100%;
  height: clamp(192px, 17vw, 252px);
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: transparent;
}

.gallery-card--modules:hover .gallery-card__image--modules img {
  transform: none;
}

.gallery-strip-shell--modules::after {
  display: none;
}

.gallery-card__image.is-lightbox-trigger {
  cursor: zoom-in;
}

.gallery-card__image.is-lightbox-trigger:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 0 0 6px rgba(201, 210, 222, 0.08);
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 36px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(211, 218, 228, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(6, 7, 10, 0.84), rgba(6, 7, 10, 0.94));
  backdrop-filter: blur(18px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(1320px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
}

.lightbox__frame {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.07), transparent 28%),
    linear-gradient(180deg, rgba(20, 23, 30, 0.92), rgba(8, 10, 14, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.lightbox__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 18%);
}

.lightbox__toolbar,
.lightbox__caption-wrap {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
}

.lightbox__toolbar {
  top: 0;
}

.lightbox__caption-wrap {
  bottom: 0;
  align-items: end;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0), rgba(8, 10, 14, 0.74) 58%, rgba(8, 10, 14, 0.92));
}

.lightbox__counter {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(7, 8, 12, 0.42);
  color: rgba(247, 249, 252, 0.88);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.lightbox__image-wrap {
  display: grid;
  place-items: center;
  min-height: min(76vh, 920px);
  padding: clamp(56px, 4vw, 84px) clamp(26px, 4vw, 44px) clamp(92px, 6vw, 118px);
}

.lightbox__image {
  display: block;
  max-width: 100%;
  max-height: min(70vh, 860px);
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
  transform: scale(0.96);
  transition: transform 320ms ease;
}

.lightbox.is-open .lightbox__image {
  transform: scale(1);
}

.lightbox__caption {
  max-width: min(760px, 100%);
  color: rgba(244, 247, 251, 0.9);
  font-size: 15px;
  line-height: 1.65;
}

.lightbox__nav,
.lightbox__close {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(8, 10, 14, 0.42);
  color: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.lightbox__nav {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  font-size: 34px;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.lightbox__nav:hover:not(:disabled),
.lightbox__close:hover {
  transform: translateY(-2px);
  background: rgba(210, 217, 227, 0.16);
  border-color: rgba(255,255,255,0.22);
}

.lightbox__nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

@media (max-width: 900px) {
  .lightbox {
    padding: 12px;
  }

  .lightbox__dialog {
    width: min(100vw - 24px, 100%);
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lightbox__nav {
    position: absolute;
    bottom: 18px;
    z-index: 3;
    width: 48px;
    height: 48px;
    font-size: 28px;
  }

  .lightbox__nav--prev {
    left: 18px;
  }

  .lightbox__nav--next {
    right: 18px;
  }

  .lightbox__image-wrap {
    min-height: min(72vh, 760px);
    padding: 60px 16px 96px;
  }

  .lightbox__image {
    max-height: 62vh;
  }

  .lightbox__caption {
    font-size: 14px;
  }
}

.gallery-grid--cinematic {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scenario-card {
  position: relative;
  min-height: 220px;
  padding: 28px 28px 30px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scenario-card__number {
  margin-bottom: 22px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
}

.scenario-card h3 {
  max-width: 18ch;
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.18;
}

.scenario-card p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.scenario-card--ember .scenario-card__number,
.scenario-card--ember h3 { color: #efc5a8; }
.scenario-card--meadow .scenario-card__number,
.scenario-card--meadow h3 { color: #bad6b8; }
.scenario-card--frost .scenario-card__number,
.scenario-card--frost h3 { color: #d1deea; }
.scenario-card--steel .scenario-card__number,
.scenario-card--steel h3 { color: #cbd3df; }
.scenario-card--timber .scenario-card__number,
.scenario-card--timber h3 { color: #d0b49b; }
.scenario-card--coal .scenario-card__number,
.scenario-card--coal h3 { color: #efb08f; }

.product-sidebar {
  display: grid;
  gap: 16px;
}

.line-cta-band {
  border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-box {
  padding: 22px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 10px;
}

.feature-list--compact {
  padding-left: 18px;
}

.feature-list--compact li + li {
  margin-top: 8px;
}

.messenger-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.messenger-list--wrap .messenger-pill {
  min-width: 104px;
}

.messenger-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
}

.lead-form-box {
  padding: 30px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(185, 165, 141, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.lead-form-box__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 24px;
  align-items: start;
}

.lead-form-box__meta {
  display: grid;
  gap: 10px;
}

.lead-form-box__meta-card {
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255,255,255,0.03);
}

.lead-form-box__meta-card strong {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 225, 214, 0.96);
}

.lead-form-box__meta-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.lead-form-box h2 {
  margin: 0 0 10px;
}

.lead-form-box p {
  color: var(--muted);
}

.lead-form {
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  color: var(--muted);
  font-size: 14px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.form-field select[data-custom-select] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(241, 244, 249, 0.9) 50%),
    linear-gradient(135deg, rgba(241, 244, 249, 0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.custom-select {
  position: relative;
}

.custom-select__native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select__trigger {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.028));
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.custom-select__trigger:hover {
  border-color: rgba(213, 196, 175, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.034));
}

.custom-select__trigger:focus-visible,
.custom-select.is-open .custom-select__trigger {
  outline: none;
  border-color: rgba(213, 196, 175, 0.38);
  box-shadow: 0 0 0 3px rgba(213, 196, 175, 0.08), 0 18px 34px rgba(0, 0, 0, 0.18);
}

.custom-select__label {
  flex: 1;
  min-width: 0;
  color: var(--text);
}

.custom-select__label.is-placeholder {
  color: rgba(243, 244, 246, 0.72);
}

.custom-select__icon {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: rgba(241, 244, 249, 0.88);
  transition: transform 180ms ease;
}

.custom-select.is-open .custom-select__icon {
  transform: rotate(180deg);
}

.custom-select__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(185, 165, 141, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(18, 20, 24, 0.98), rgba(9, 10, 13, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.custom-select.is-open .custom-select__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.custom-select__option {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: rgba(243, 244, 246, 0.9);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.custom-select__option.is-selected {
  background: linear-gradient(135deg, rgba(213, 196, 175, 0.2), rgba(255,255,255,0.06));
  border-color: rgba(213, 196, 175, 0.22);
  color: #fff7ed;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(213, 196, 175, 0.38);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(213, 196, 175, 0.08);
}

.form-field textarea {
  resize: vertical;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field--hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.lead-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.lead-form__submit {
  display: grid;
  gap: 10px;
}

.lead-form__status {
  min-height: 20px;
  font-size: 14px;
  color: var(--muted);
}

.lead-form__status.is-success {
  color: #d7f0dc;
}

.lead-form__status.is-error {
  color: #ffd2d2;
}

.lead-form__note {
  max-width: 520px;
  margin: 0;
  font-size: 13px;
}

.lead-form__note a {
  color: var(--accent-strong);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
}

.form-checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section--stub {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.stub-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 32px;
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(180px, 1fr));
  gap: 24px;
  align-items: start;
  padding: 28px 0;
}

.site-footer__brand {
  max-width: 32rem;
}

.site-footer__title {
  font-size: 20px;
  font-weight: 700;
}

.site-footer__label {
  margin-bottom: 10px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(213, 196, 175, 0.82);
}

.site-footer__links {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.story-grid--premium {
  gap: 1.5rem;
}

.story-grid--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.pain-card {
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.pain-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.pain-card p {
  margin: 0;
  color: var(--muted);
}

.section-heading--home-intro,
.section-heading--catalog-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: end;
}

.section-heading--home-intro > :first-child,
.section-heading--catalog-overview > :first-child {
  max-width: 34rem;
}

.section-heading--home-intro > p,
.section-heading--catalog-overview > p {
  max-width: 40rem;
  margin-left: auto;
}

.pain-grid--home-intro {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pain-grid--home-intro .pain-card {
  min-height: 100%;
  padding: 26px 22px 24px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(18, 20, 24, 0.92), rgba(11, 13, 17, 0.82));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.pain-grid--home-intro .pain-card strong {
  margin-bottom: 14px;
  line-height: 1.18;
}

.pain-grid--home-intro .pain-card p {
  line-height: 1.6;
}

.comparison-board {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.07), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-row + .comparison-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-row--head {
  background: rgba(255, 255, 255, 0.03);
}

.comparison-cell {
  padding: 18px 22px;
  color: var(--muted);
}

.comparison-cell + .comparison-cell {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.comparison-cell--label {
  font-weight: 700;
  color: var(--text);
}

.audience-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.audience-item {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.audience-item strong {
  display: block;
  margin-bottom: 6px;
}

.audience-item span {
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-card {
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text);
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.story-card--premium {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(22, 24, 29, 0.96), rgba(10, 11, 15, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.story-card--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(193, 161, 118, 0.16), transparent 45%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.story-card--premium > * {
  position: relative;
  z-index: 1;
}

.story-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.story-card__city {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.story-card__meta--premium {
  color: var(--text);
}

.story-card--editorial::before {
  background: linear-gradient(135deg, rgba(168, 178, 196, 0.18), transparent 45%, rgba(255, 255, 255, 0.04));
}

.hero--showcase::before,
.hero--editorial::before {
  opacity: 0.85;
}

.showcase-panel--premium {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.article-card--premium {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(21, 23, 28, 0.96), rgba(10, 11, 15, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.article-card--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(156, 165, 180, 0.14), transparent 45%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.article-card--premium > * {
  position: relative;
  z-index: 1;
}

.stub-box--premium {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(22, 24, 29, 0.96), rgba(10, 11, 15, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.stub-box--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(193, 161, 118, 0.14), transparent 45%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.stub-box--premium > * {
  position: relative;
  z-index: 1;
}

.map-embed__fallback {
  display: grid;
  gap: 1rem;
  place-items: start;
  min-height: 260px;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(61, 126, 104, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(18, 21, 24, 0.96), rgba(10, 11, 15, 0.98));
}

.map-embed__fallback p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.map-card--premium {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(20, 22, 27, 0.97), rgba(11, 12, 16, 0.99));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

.map-card--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(193, 161, 118, 0.1), transparent 42%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.map-card--premium > * {
  position: relative;
  z-index: 1;
}

.map-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.map-card__head h3 {
  margin: 6px 0 0;
}

.map-card__text {
  margin: 0 0 18px;
  color: var(--muted);
}

.map-card__frame {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 320px;
}

.map-card__frame iframe {
  display: block;
  width: 100%;
  height: 320px;
}

.map-card__actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

.works-empty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  text-align: left;
}

.works-empty-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.works-empty-card strong {
  color: var(--text);
}

.works-empty-card span,
.project-breadcrumbs {
  color: var(--muted);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.editorial-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.07), transparent 36%),
    linear-gradient(180deg, rgba(21, 23, 28, 0.96), rgba(10, 11, 15, 0.99));
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.38);
}

.editorial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(193, 161, 118, 0.12), transparent 44%, rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.editorial-card > * {
  position: relative;
  z-index: 1;
}

.editorial-card__number {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(213, 196, 175, 0.92);
}

.editorial-card h3 {
  margin-bottom: 12px;
}

.editorial-card p {
  margin: 0;
  color: var(--muted);
}

.project-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  row-gap: 6px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.project-breadcrumbs a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  :root {
    --header-offset: 112px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header__inner {
    min-height: auto;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "brand actions"
      "nav nav";
    gap: 10px 16px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-nav,
  .site-header__actions {
    margin-left: 0;
  }

  .site-nav {
    width: 100%;
    justify-self: stretch;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-header__actions {
    width: auto;
    justify-self: end;
  }

  .site-header__contacts {
    justify-items: end;
  }

  .site-header__contact-row,
  .site-header__cta-row,
  .site-header__contact-socials {
    justify-content: flex-end;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 22px;
  }

  .line-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-guide {
    grid-template-columns: 1fr;
  }

  .advantage-grid,
  .product-summary-grid,
  .showcase-grid,
  .exhibition-showcase,
  .contact-columns,
  .map-grid,
  .works-empty-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .video-feature,
  .video-feature--compact {
    grid-template-columns: 1fr;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero--immersive .hero__grid {
    min-height: 430px;
    padding-top: 88px;
    padding-bottom: 28px;
  }

  .hero--line.hero--immersive {
    position: relative;
    top: auto;
  }

  .hero--immersive .hero__bg::before {
    background-attachment: scroll;
  }

  .line-story-shell {
    margin-top: -14px;
    padding-top: 42px;
    border-radius: 28px 28px 0 0;
  }

  .line-intro {
    margin-top: -30px;
  }

  .line-intro__panel {
    padding: 22px 20px 20px;
    border-radius: 24px;
  }

  .visual-story__facts {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .product-hero-media__overlay {
    inset: auto 18px 18px 18px;
  }

  .form-grid,
  .lead-form__footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .lead-form-box__intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-offset: 108px;
  }

  .site-header {
    padding-top: max(0px, env(safe-area-inset-top));
  }

  .hero {
    padding-top: 34px;
  }

  body::before {
    opacity: 0.08;
    background-size: 160px 120px, 160px 120px;
  }

  .hero-brandmark {
    width: 82vw;
    right: -8%;
    top: 34px;
    opacity: 0.04;
    transform: rotate(-10deg);
  }

  .brand--logo img {
    height: 32px;
    max-width: 136px;
  }

  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "brand actions"
      "nav";
    align-items: start;
    justify-items: stretch;
    gap: 8px 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-header__actions {
    width: auto;
    justify-self: end;
    justify-content: flex-end;
  }

  .site-header__contacts {
    width: auto;
    gap: 4px;
    justify-items: end;
  }

  .site-header__contact-row,
  .site-header__cta-row,
  .site-header__contact-socials {
    width: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .site-header__contact-row .site-header__contact-inline--email {
    margin-left: 10px;
  }

  .site-header__contact-inline {
    font-size: 10px;
    line-height: 1.1;
  }

  .site-header__cta-row {
    gap: 8px;
  }

  .site-header__cta-row .button {
    min-height: 26px;
    padding: 0 10px;
    font-size: 10px;
    border-radius: 999px;
  }

  .site-header__cta-row .site-header__messenger {
    width: 24px;
    height: 24px;
  }

  .site-header__cta-row .site-header__messenger svg {
    width: 11px;
    height: 11px;
  }

  .site-header__cta-row .site-header__messenger--max span {
    font-size: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    font-size: 0.85rem;
    padding-top: 2px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .site-nav a::after {
    bottom: -8px;
  }

  .catalog-guide__card {
    padding: 20px;
  }

  .hero__content,
  .hero-card,
  .stub-box,
  .showcase-panel,
  .exhibition-showcase,
  .cta-band,
  .advantage-card,
  .lead-form-box {
    padding: 24px;
  }

  .hero__content h1 {
    font-size: clamp(2.2rem, 9vw, 3.3rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .section {
    padding: 36px 0 48px;
  }

  .section-heading {
    gap: 14px;
    margin-bottom: 18px;
  }

  .hero__metrics {
    gap: 10px;
  }

  .hero__metrics li {
    width: 100%;
    justify-content: center;
  }

  .hero__actions {
    gap: 10px;
    margin: 22px 0 18px;
  }

  .hero__actions .button {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero__panel,
  .hero__panel > * {
    min-width: 0;
  }

  .hero-card .hero__actions,
  .map-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card .hero__actions .button,
  .map-card__actions .button {
    width: 100%;
  }

  .showcase-panel h2,
  .story-card h2,
  .article-card--legal h2,
  .editorial-card h3 {
    line-height: 1.2;
  }

  .story-card__meta {
    gap: 8px;
    margin: 16px 0 20px;
  }

  .article-card {
    padding: 26px;
  }

  .article-card__body {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.7;
  }

  .legal-stack {
    gap: 14px;
  }

  .cta-band__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cta-band__actions .button {
    width: 100%;
  }

  .line-card__facts,
  .product-card__details {
    gap: 8px;
  }

  .line-card__facts .fact-pill,
  .product-card__details .fact-pill {
    width: 100%;
    justify-content: center;
  }

  .home-hero-slider__dots {
    justify-content: center;
  }

  .home-hero-slide__overlay {
    min-height: 0;
  }

  .map-embed--premium,
  .map-embed--premium iframe,
  .map-card__frame,
  .map-card__frame iframe {
    min-height: 280px;
    height: 280px;
  }

  .line-grid {
    grid-template-columns: 1fr;
  }

  .product-grid-cards,
  .story-grid,
  .gallery-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .story-grid--triple,
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-cell + .comparison-cell {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .gallery-grid--premium {
    grid-template-columns: 1fr;
  }

  .gallery-grid--cinematic {
    grid-template-columns: 1fr;
  }

  .exhibition-map-frame {
    padding: 16px;
    border-radius: 22px;
  }

  .exhibition-map-frame__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .exhibition-map-frame__canvas,
  .exhibition-map-frame__canvas iframe {
    min-height: 320px;
    height: 320px;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .line-card,
  .scenario-card,
  .gallery-card,
  .sidebar-box,
  .offer-card,
  .product-card {
    padding: 20px;
  }

  .contact-item {
    padding: 12px 0;
  }

  .map-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-card__actions .button {
    width: 100%;
  }

  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    padding-bottom: 4px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }

  .site-footer__links {
    gap: 8px;
  }

  .line-card__summary,
  .line-card__availability-note,
  .line-card__meta,
  .gallery-card__caption,
  .scenario-card p,
  .lead-form-box__meta-card span {
    font-size: 14px;
    line-height: 1.55;
  }

  .scenario-card {
    min-height: 0;
  }

  .scenario-card__number {
    margin-bottom: 16px;
    font-size: 32px;
  }

  .scenario-card h3 {
    font-size: 24px;
    max-width: none;
  }

  .offer-card__row {
    padding: 12px 0;
  }

  .lead-form-box__meta-card {
    min-height: 0;
  }

  .lead-form__footer {
    gap: 14px;
  }

  .lead-form__submit,
  .lead-form__submit .button {
    width: 100%;
  }

  .lead-form__submit .button {
    min-height: 46px;
  }

  .hero--immersive .hero__content--premium {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 28px 32px 26px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.52), rgba(10, 12, 16, 0.24));
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

@media (max-width: 520px) {
  :root {
    --header-offset: 104px;
  }

  .brand--logo img {
    height: 28px;
    max-width: 118px;
  }

  .site-header__inner {
    gap: 6px 10px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .site-header__contact-inline {
    font-size: 9px;
  }

  .site-header__contact-row .site-header__contact-inline--email {
    margin-left: 8px;
  }

  .site-header__contact-row {
    gap: 4px 10px;
    flex-wrap: wrap;
  }

  .site-header__cta-row .button {
    min-height: 24px;
    padding: 0 9px;
    font-size: 9px;
  }

  .hero-card__title {
    font-size: 22px;
    line-height: 1.2;
  }

  .showcase-panel h2,
  .story-card h2 {
    font-size: 1.65rem;
  }

  .editorial-card h3,
  .article-card--legal h2 {
    font-size: 1.3rem;
  }

  .story-card,
  .showcase-panel,
  .article-card,
  .editorial-card {
    padding: 22px;
  }

  .story-card__topline {
    gap: 8px;
  }

  .story-card__meta span,
  .hero__metrics li {
    width: 100%;
    justify-content: center;
  }

  .hero__content .hero__metrics,
  .hero__content .hero__actions {
    align-items: stretch;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero-card__chips {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-card__chips span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .home-hero-slider__viewport {
    height: 260px;
  }

  .home-hero-slide__overlay {
    padding: 12px 12px 14px;
  }

  .home-hero-slide__overlay .eyebrow {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .catalog-guide__card h2 {
    font-size: 18px;
  }

  .catalog-guide__card p,
  .line-card__summary,
  .line-card__meta {
    font-size: 14px;
  }

  .map-embed--premium,
  .map-embed--premium iframe,
  .map-card__frame,
  .map-card__frame iframe {
    min-height: 250px;
    height: 250px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero__content,
  .hero-card,
  .stub-box,
  .showcase-panel,
  .exhibition-showcase,
  .cta-band,
  .advantage-card,
  .lead-form-box,
  .line-card,
  .scenario-card,
  .gallery-card,
  .sidebar-box,
  .offer-card,
  .product-card {
    padding: 18px;
    border-radius: 20px;
  }

  .hero__content h1 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .hero__lead,
  .section-heading p,
  .line-page__note,
  .product-page__expansion-note {
    font-size: 0.95rem;
  }

  .showcase-list,
  .contact-item span,
  .contact-item strong,
  .map-card__text,
  .site-footer__text {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__metrics li {
    justify-content: flex-start;
    text-align: left;
  }

  .line-card h2,
  .product-card h3,
  .advantage-card h3 {
    font-size: 20px;
  }

  .gallery-card__image,
  .gallery-card__image img {
    height: 220px;
    min-height: 220px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .lead-form-box__meta-card {
    min-height: 0;
    padding: 10px 12px;
  }

  .lead-form-box__meta-card span {
    font-size: 12px;
  }

  .exhibition-showcase__content h3,
  .exhibition-map-frame__top h3 {
    font-size: 24px;
  }

  .exhibition-showcase__lead {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  :root {
    --header-offset: 100px;
  }

  .hero__metrics li,
  .line-card__badge {
    padding: 7px 10px;
    font-size: 12px;
  }

  .catalog-guide__label,
  .advantage-card__number,
  .scenario-card__number {
    font-size: 28px;
  }

  .lead-form-box__intro {
    gap: 16px;
  }

  .site-header__contact-inline {
    font-size: 8.5px;
  }

  .site-header__cta-row {
    gap: 6px;
  }

  .site-header__cta-row .button {
    min-height: 23px;
    padding: 0 8px;
    font-size: 8.5px;
  }

  .cta-band__actions .button,
  .map-card__head .button,
  .hero__actions .button {
    width: 100%;
  }
}


}

.lightbox__stage {
  width: min(100%, 1180px);
  height: min(70vh, 860px);
  border-radius: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

@media (max-width: 900px) {
  .lightbox__stage {
    height: 62vh;
  }
}

.media-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.media-video-grid--portrait {
  grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 0.86fr));
  align-items: start;
}

.gallery-strip-heading > div {
  display: none;
}

.gallery-strip-heading {
  margin-bottom: 0;
}

.gallery-strip__heading {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.gallery-strip__intro {
  margin: 0 0 18px;
  color: rgba(233, 235, 239, 0.78);
}

html[data-theme="light"] .gallery-strip__intro {
  color: rgba(48, 54, 61, 0.88);
}

.gallery-strip-shell {
  --gallery-visible: 3;
  --gallery-gap: 18px;
  display: grid;
  gap: 14px;
  overflow: hidden;
  position: relative;
}

.gallery-strip-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 8, 9, 0), rgba(7, 8, 9, 1));
}

.gallery-strip__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.gallery-strip__nav {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 17, 22, 0.74);
  color: rgba(247, 249, 252, 0.92);
  font-size: 26px;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.gallery-strip__nav:disabled {
  opacity: 0.36;
  cursor: default;
  transform: none;
}

.gallery-strip__nav:hover {
  transform: translateY(-2px);
  background: rgba(210, 217, 227, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
}

.gallery-strip__nav:disabled:hover {
  background: rgba(15, 17, 22, 0.74);
  border-color: rgba(255, 255, 255, 0.14);
}

.gallery-strip {
  display: flex;
  gap: var(--gallery-gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  margin-bottom: -8px;
  padding-right: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none !important;
  scrollbar-color: transparent transparent;
  -ms-overflow-style: none;
}

.gallery-strip::-webkit-scrollbar {
  height: 0;
  display: none;
}

.gallery-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.gallery-card--strip {
  flex: 0 0 calc((100% - (var(--gallery-visible) - 1) * var(--gallery-gap)) / var(--gallery-visible));
  scroll-snap-align: start;
  min-width: 0;
  padding: 12px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.gallery-card--strip .gallery-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(240px, 24vw, 320px);
  min-height: clamp(240px, 24vw, 320px);
  padding: 14px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 8, 12, 0.82), rgba(10, 12, 16, 0.58)),
    radial-gradient(circle at top, rgba(255,255,255,0.06), transparent 48%);
}

.gallery-card--strip .gallery-card__image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
}

.gallery-card--strip .gallery-card__caption {
  display: block;
  margin-top: 14px;
  color: rgba(231, 235, 241, 0.78);
  font-size: 13px;
  line-height: 1.5;
  min-height: 2.8em;
}

.station-hotspots {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: 36px;
  align-items: start;
}

.station-hotspots__stage,
.station-hotspots__panel {
  padding: 16px;
  border-radius: 28px;
  background: rgba(18, 18, 20, 0.8);
}

.station-hotspots__stage {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.station-hotspots__image-wrap {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  aspect-ratio: 1.12 / 0.9;
  min-height: clamp(380px, 41vw, 610px);
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.995), rgba(249, 249, 247, 0.985) 36%, rgba(241, 242, 244, 0.96) 100%);
  padding: clamp(10px, 1.4vw, 16px);
  box-shadow:
    inset 0 0 0 1px rgba(223, 226, 231, 0.82),
    0 14px 30px rgba(0, 0, 0, 0.1);
}

.station-hotspots__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.18));
}

.station-hotspots__pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(247, 249, 252, 0.96);
  cursor: pointer;
}

.station-hotspots__pin::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  width: var(--pin-line-size, 38px);
  height: 1px;
  background: rgba(31, 35, 43, 0.16);
}

.station-hotspots__pin--left {
  flex-direction: row-reverse;
}

.station-hotspots__pin--left::before {
  left: auto;
  right: calc(100% + 8px);
}

.station-hotspots__pin--top {
  flex-direction: column-reverse;
  gap: 10px;
}

.station-hotspots__pin--top::before {
  top: auto;
  bottom: calc(100% + 8px);
  left: 50%;
  width: 1px;
  height: var(--pin-line-size, 44px);
  transform: translateX(-50%);
}

.station-hotspots__pin-dot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 10, 14, 0.88);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.22),
    0 0 0 0 rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.station-hotspots__pin-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 14, 18, 0.78);
  backdrop-filter: blur(14px);
  white-space: nowrap;
  font-size: 14px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
  transform: translate(var(--pin-offset-x, 0px), var(--pin-offset-y, 0px));
}

.station-hotspots__pin--top .station-hotspots__pin-label {
  min-height: 32px;
  padding: 0 12px;
}

.station-hotspots__pin[aria-pressed="true"] .station-hotspots__pin-label,
.station-hotspots__pin.is-active .station-hotspots__pin-label {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(236, 239, 244, 0.12);
}

.station-hotspots__panels {
  position: relative;
  min-height: 100%;
  width: 100%;
  max-width: 410px;
  justify-self: end;
}

.station-hotspots__panel {
  display: none;
  gap: 16px;
  position: sticky;
  top: 118px;
  margin-left: 0;
}

.station-hotspots__panel.is-active {
  display: grid;
}

.station-hotspots__panel-media {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.station-hotspots__panel-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.station-hotspots__panel-body {
  display: grid;
  gap: 10px;
}

.station-hotspots__panel-body h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.station-hotspots__panel-body p {
  margin: 0;
  color: rgba(233, 235, 239, 0.82);
}

.media-video-card {
  padding: 18px;
  background: rgba(18, 18, 20, 0.78);
  border-radius: 28px;
}

.media-video-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  cursor: pointer;
}

.media-video-inline {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.media-video-inline__player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

.media-video-inline__expand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(10, 12, 16, 0.68);
  color: rgba(247, 249, 252, 0.96);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.media-video-inline__expand:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.26);
  background: rgba(20, 23, 30, 0.84);
}

.media-video-trigger__surface {
  position: relative;
  display: block;
  overflow: hidden;
  padding-top: 56.25%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42)),
    var(--video-poster, linear-gradient(135deg, rgba(32, 34, 40, 0.96), rgba(18, 20, 25, 0.98)));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.media-video-trigger__surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 28%),
    linear-gradient(180deg, transparent 22%, rgba(0,0,0,0.18) 58%, rgba(0,0,0,0.46) 100%);
}

.media-video-trigger__play {
  position: absolute;
  inset: auto auto 18px 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10, 12, 16, 0.66);
  color: rgba(247, 249, 252, 0.96);
  backdrop-filter: blur(14px);
}

.media-video-frame iframe,
.video-lightbox__frame iframe,
.video-lightbox__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 36px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.video-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(211, 218, 228, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(6, 7, 10, 0.84), rgba(6, 7, 10, 0.94));
  backdrop-filter: blur(16px);
}

.video-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 48px));
}

.video-lightbox__panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.07), transparent 28%),
    linear-gradient(180deg, rgba(20, 23, 30, 0.92), rgba(8, 10, 14, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.video-lightbox__frame {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  background: rgba(0, 0, 0, 0.35);
}

.video-lightbox__frame--file {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(88vh, 980px);
  padding-top: 0;
  background: #000;
}

.video-lightbox__frame--portrait {
  min-height: min(88vh, 980px);
}

.video-lightbox__player {
  position: relative;
  inset: auto;
  width: auto;
  max-width: 100%;
  height: min(86vh, 920px);
  max-height: 86vh;
  object-fit: contain;
  background: #000;
}

.video-lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 22px;
}

.video-lightbox__title {
  color: rgba(247, 249, 252, 0.94);
  font-size: 18px;
  font-weight: 600;
}

.video-lightbox__hint {
  font-size: 13px;
  color: rgba(233, 235, 239, 0.7);
}

.video-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(8, 10, 14, 0.42);
  color: rgba(247, 249, 252, 0.9);
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(14px);
}

.media-video-title {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-primary);
}

.media-video-card--portrait {
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(12, 13, 16, 0.92);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.media-video-card--portrait.is-featured {
  grid-row: span 2;
}

.media-video-card--portrait .media-video-inline {
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.8);
}

.media-video-card--portrait .media-video-inline__player {
  aspect-ratio: 9 / 16;
  min-height: 420px;
  object-fit: contain;
}

.media-video-card--portrait.is-featured .media-video-inline__player {
  min-height: 720px;
}

.media-video-card--portrait .media-video-title {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .gallery-strip-shell {
    --gallery-visible: 2;
    --gallery-gap: 14px;
  }

  .gallery-strip {
    gap: 14px;
  }

  .gallery-card--strip {
    flex-basis: calc((100% - var(--gallery-gap)) / 2);
  }

  .gallery-card--modules {
    flex: 0 0 calc((100% - var(--gallery-gap)) / 2);
    min-width: calc((100% - var(--gallery-gap)) / 2);
    max-width: calc((100% - var(--gallery-gap)) / 2);
    padding: 10px;
  }

  .gallery-card__image--modules {
    min-height: 210px;
    height: 210px;
    padding: 10px;
  }

  .gallery-card__image--modules img {
    max-height: 190px;
  }

  .media-video-grid {
    grid-template-columns: 1fr;
  }

  .media-video-grid--portrait {
    grid-template-columns: 1fr;
  }

  .media-video-card--portrait.is-featured {
    grid-row: auto;
  }

  .media-video-card--portrait .media-video-inline__player,
  .media-video-card--portrait.is-featured .media-video-inline__player {
    min-height: 0;
    max-height: min(78vh, 760px);
  }

  .station-hotspots {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .station-hotspots__image-wrap {
    aspect-ratio: 1 / 0.96;
    min-height: clamp(320px, 102vw, 500px);
    padding: 10px;
  }

  .line-intro__panel,
  .hero__content,
  .hero-card,
  .showcase-panel,
  .offer-card,
  .product-card {
    border-radius: 26px;
  }

  .station-hotspots__panels {
    max-width: none;
  }

  .station-hotspots__panel {
    position: static;
    top: auto;
  }

  .station-hotspots__pin {
    gap: 8px;
  }

  .station-hotspots__pin::before {
    display: none;
  }

  .station-hotspots__pin-label {
    display: none;
    min-height: 30px;
    padding: 0 11px;
    font-size: 11px;
    transform: none;
  }

  .station-hotspots__pin.is-active .station-hotspots__pin-label {
    display: inline-flex;
  }

  .video-lightbox {
    padding: 12px;
  }

  .video-lightbox__dialog {
    width: min(100vw - 24px, 100%);
  }

  .video-lightbox__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .gallery-strip-shell {
    --gallery-visible: 2;
    --gallery-gap: 12px;
  }

  .gallery-card--strip {
    flex-basis: calc((100% - var(--gallery-gap)) / 2);
    padding: 8px;
    border-radius: 22px;
  }

  .gallery-card--strip .gallery-card__image {
    min-height: 170px;
    height: 170px;
    padding: 8px;
    border-radius: 18px;
  }

  .gallery-card--strip .gallery-card__caption {
    margin-top: 10px;
    font-size: 12px;
    min-height: 3.2em;
  }

  .line-intro {
    margin-top: -18px;
  }

  .line-intro__panel {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .hero__metrics {
    gap: 8px;
  }

  .hero__metrics li,
  .line-card__facts .fact-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .line-card__facts {
    grid-template-columns: 1fr;
  }

  .showcase-panel--map {
    padding: 14px;
  }

  .exhibition-map-frame {
    padding: 14px;
    border-radius: 20px;
  }

  .exhibition-map-frame__canvas,
  .exhibition-map-frame__canvas iframe {
    min-height: 280px;
    height: 280px;
  }
}

@media (max-width: 640px) {
  .station-hotspots__image-wrap {
    aspect-ratio: 1 / 0.98;
    min-height: 290px;
  }

  .station-hotspots__panel {
    padding: 14px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide,
  .home-hero-slider__dot,
  .gallery-strip__nav,
  .button {
    transition: none;
  }
}

@supports (content-visibility: auto) {
  .pain-grid,
  .line-grid,
  .showcase-grid,
  .contact-columns,
  .map-grid,
  .gallery-strip-shell,
  .station-hotspots,
  .media-video-grid,
  .lead-form-box,
  .article-card,
  .editorial-grid,
  .faq-grid,
  .comparison-row {
    content-visibility: auto;
    contain-intrinsic-size: 1px 920px;
  }

  .gallery-strip-shell,
  .media-video-grid,
  .station-hotspots,
  .map-grid {
    contain-intrinsic-size: 1px 720px;
  }

  .lead-form-box {
    contain-intrinsic-size: 1px 760px;
  }
}

/* Theme foundation: restrained geometry, dual light/dark palette */
:root {
  --bg: #0e1012;
  --bg-soft: #171a1e;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --text: #f0f1f3;
  --muted: #a6acb4;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #9b8466;
  --accent-strong: #b39977;
  --button-primary-bg: #d4d7db;
  --button-primary-text: #16181b;
  --button-secondary-bg: rgba(255, 255, 255, 0.03);
  --button-secondary-text: #eef0f2;
  --header-bg: rgba(12, 14, 17, 0.84);
  --page-gradient-start: #1a1d21;
  --page-gradient-end: #0b0d10;
  --radius-md: 6px;
  --radius-lg: 18px;
  --shadow: 0 22px 68px rgba(0, 0, 0, 0.28);
  --accent-ember: #b86f49;
  --accent-meadow: #6b8669;
  --accent-frost: #8597a9;
  --accent-steel: #7f8997;
  --accent-timber: #89705d;
  --accent-coal: #b66b4d;
}

html {
  color-scheme: dark;
  background: linear-gradient(180deg, var(--page-gradient-start) 0%, var(--page-gradient-end) 100%);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f3ee;
  --bg-soft: #ebe6de;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: #1d2126;
  --muted: #505860;
  --line: rgba(29, 33, 38, 0.16);
  --accent: #8b6f53;
  --accent-strong: #74583d;
  --button-primary-bg: #23272d;
  --button-primary-text: #f4f1eb;
  --button-secondary-bg: rgba(29, 33, 38, 0.06);
  --button-secondary-text: #23272d;
  --header-bg: rgba(245, 243, 238, 0.86);
  --page-gradient-start: #f7f4ef;
  --page-gradient-end: #ece7df;
  --shadow: 0 20px 54px rgba(70, 56, 42, 0.08);
}

body::before {
  opacity: 0.08;
  background:
    linear-gradient(0deg, transparent 0 95%, rgba(255, 255, 255, 0.022) 95% 100%) 0 0 / 100% 132px repeat,
    linear-gradient(90deg, transparent 0 95%, rgba(255, 255, 255, 0.018) 95% 100%) 0 0 / 132px 100% repeat;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 84%);
}

html[data-theme="light"] body::before {
  background:
    linear-gradient(0deg, transparent 0 95%, rgba(24, 27, 31, 0.025) 95% 100%) 0 0 / 100% 132px repeat,
    linear-gradient(90deg, transparent 0 95%, rgba(24, 27, 31, 0.022) 95% 100%) 0 0 / 132px 100% repeat;
  opacity: 0.05;
}

.site-header {
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.site-header__actions {
  gap: 14px;
}

.site-header__messenger {
  border-radius: var(--radius-md);
}

.site-header__cta-row .button,
.site-header__cta-row .site-header__messenger {
  flex-shrink: 0;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-md) + 2px);
  background: rgba(255, 255, 255, 0.03);
}

.theme-switch__button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.theme-switch__button:hover,
.theme-switch__button:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

.theme-switch__button.is-active,
.theme-switch__button[aria-pressed="true"] {
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
}

.hero-orb,
.hero-grid-glow {
  filter: blur(18px);
  opacity: 0.58;
}

.hero-orb {
  border-radius: 20px;
}

.hero-orb--silver {
  background: radial-gradient(circle, rgba(146, 156, 168, 0.16), rgba(146, 156, 168, 0));
}

.hero-orb--brass {
  background: radial-gradient(circle, rgba(152, 128, 92, 0.14), rgba(152, 128, 92, 0));
}

.hero-grid-glow {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  opacity: 0.1;
}

.button {
  min-height: 48px;
  border-radius: var(--radius-md);
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  box-shadow: none;
}

.button::before,
.button::after {
  content: none;
}

.button:hover {
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.button--primary {
  color: var(--button-primary-text);
  border-color: transparent;
  background: var(--button-primary-bg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.button--secondary,
.button--ghost {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
}

.button--accented {
  color: #f4f1eb;
  border-color: transparent;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .button--accented {
  color: #f6f2ea;
}

html[data-theme="light"] .brand--logo img {
  filter: brightness(0.12) saturate(0.2) contrast(1.15);
}

html[data-theme="light"] .button--secondary,
html[data-theme="light"] .button--ghost {
  border-color: rgba(29, 33, 38, 0.14);
  background: rgba(29, 33, 38, 0.06);
  color: #23272d;
}

.line-card--ember .button--primary { background: var(--accent-ember); color: #f7f2ec; }
.line-card--meadow .button--primary { background: var(--accent-meadow); color: #f4f6f2; }
.line-card--frost .button--primary { background: var(--accent-frost); color: #11161c; }
.line-card--steel .button--primary { background: var(--accent-steel); color: #f3f5f8; }
.line-card--timber .button--primary { background: var(--accent-timber); color: #f5efe9; }
.line-card--coal .button--primary { background: var(--accent-coal); color: #f7f0e9; }

@media (max-width: 980px) {
  .site-header__actions {
    gap: 10px;
  }

  .theme-switch {
    justify-self: end;
  }

  .theme-switch__button {
    min-height: 28px;
    padding: 0 9px;
  }
}

@media (max-width: 720px) {
  .site-header__actions {
    width: 100%;
    align-items: flex-start;
    gap: 8px;
  }

  .site-header__contacts {
    gap: 6px;
  }

  .theme-switch {
    gap: 3px;
    padding: 2px;
  }

  .theme-switch__button {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  .site-header__cta-row .button {
    border-radius: var(--radius-md);
  }
}

@media (max-width: 520px) {
  .site-header__actions,
  .site-header__contacts,
  .site-header__contact-row,
  .site-header__cta-row {
    width: 100%;
  }

  .site-header__contact-row,
  .site-header__cta-row {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .theme-switch {
    margin-left: auto;
  }
}

/* Home page structural cleanup for the new industrial style */
.hero--premium .hero__content--premium,
.hero-card,
.home-hero-slider,
.line-card,
.showcase-panel,
.cta-band,
.pain-card,
.audience-item,
.exhibition-map-frame,
.lead-form-box,
.advantage-card,
.catalog-guide__card {
  border-radius: 10px;
}

.hero--premium .hero__content--premium {
  padding: 34px 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(18, 20, 24, 0.92), rgba(12, 14, 18, 0.84));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .hero--premium .hero__content--premium {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 241, 235, 0.86));
  box-shadow: 0 16px 40px rgba(80, 64, 45, 0.08);
}

.hero--premium .hero__content--premium::after,
.hero-card--floating::before,
.accent-frame::before,
.accent-frame::after {
  display: none;
}

.hero__metrics li,
.hero-card__chips span,
.fact-pill {
  min-height: 42px;
  border-radius: var(--radius-md);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

html[data-theme="light"] .hero__metrics li,
html[data-theme="light"] .hero-card__chips span,
html[data-theme="light"] .fact-pill {
  background: rgba(29, 33, 38, 0.035);
  color: rgba(39, 44, 50, 0.92);
}

.hero-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(16, 18, 22, 0.9), rgba(12, 14, 17, 0.84));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .hero-card {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 240, 234, 0.84));
  box-shadow: 0 14px 32px rgba(80, 64, 45, 0.07);
}

html[data-theme="light"] .hero__lead,
html[data-theme="light"] .hero-card__text,
html[data-theme="light"] .line-card p,
html[data-theme="light"] .section-heading p,
html[data-theme="light"] .stub-box p,
html[data-theme="light"] .site-footer__text,
html[data-theme="light"] .line-page__note,
html[data-theme="light"] .line-page__note-list,
html[data-theme="light"] .offer-card__row span,
html[data-theme="light"] .product-card p,
html[data-theme="light"] .gallery-card__caption,
html[data-theme="light"] .article-card__body,
html[data-theme="light"] .story-card__cta-note,
html[data-theme="light"] .video-mini-card p,
html[data-theme="light"] .editorial-card p,
html[data-theme="light"] .faq-card p,
html[data-theme="light"] .home-visit__copy p,
html[data-theme="light"] .home-visit__location span,
html[data-theme="light"] .home-map-footer__intro p {
  color: rgba(52, 58, 65, 0.88);
}

html[data-theme="light"] .project-breadcrumbs,
html[data-theme="light"] .project-breadcrumbs a,
html[data-theme="light"] .project-breadcrumbs span,
html[data-theme="light"] .product-card__submeta,
html[data-theme="light"] .product-card__status,
html[data-theme="light"] .site-footer__label,
html[data-theme="light"] .story-card__city,
html[data-theme="light"] .lightbox__counter,
html[data-theme="light"] .video-lightbox__hint {
  color: rgba(72, 78, 86, 0.9);
}

.site-header__menu-toggle,
.site-header__mobile-panel {
  display: none;
}

.site-header__mobile-panel[hidden] {
  display: none !important;
}

.hero-card__label,
.line-card__badge,
.eyebrow {
  letter-spacing: 0.16em;
}

.hero-card__title {
  font-size: clamp(2rem, 2.6vw, 2.7rem);
  line-height: 1.08;
}

.hero-card__text {
  color: var(--muted);
}

.home-hero-slider {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(17, 19, 23, 0.92), rgba(12, 14, 18, 0.86));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .home-hero-slider {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 237, 230, 0.86));
  box-shadow: 0 14px 34px rgba(80, 64, 45, 0.08);
}

.home-hero-slider__viewport,
.home-hero-slide img,
.home-hero-slide__overlay,
.line-card__media,
.exhibition-map-frame__canvas,
.exhibition-map-frame__canvas iframe {
  border-radius: 8px;
}

.home-hero-slide__overlay {
  gap: 10px;
  padding: 18px 20px 20px;
  background: transparent;
}

.home-hero-slide__overlay .eyebrow {
  color: var(--accent);
}

.home-hero-slide__overlay p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}

.home-hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.home-hero-slider__dot.is-active {
  background: var(--accent);
}

.pain-card,
.showcase-panel,
.cta-band,
.advantage-card,
.catalog-guide__card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(17, 19, 23, 0.9), rgba(12, 14, 18, 0.84));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .pain-card,
html[data-theme="light"] .showcase-panel,
html[data-theme="light"] .cta-band,
html[data-theme="light"] .advantage-card,
html[data-theme="light"] .catalog-guide__card {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 237, 230, 0.84));
  box-shadow: 0 14px 32px rgba(80, 64, 45, 0.07);
}

.line-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(17, 19, 23, 0.92), rgba(12, 14, 18, 0.88));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .line-card {
  border-color: rgba(29, 33, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(242, 237, 230, 0.86));
  box-shadow: 0 14px 34px rgba(80, 64, 45, 0.08);
}

.line-card--ember,
.line-card--meadow,
.line-card--frost,
.line-card--steel,
.line-card--timber,
.line-card--coal {
  background: linear-gradient(180deg, rgba(17, 19, 23, 0.92), rgba(12, 14, 18, 0.88));
}

html[data-theme="light"] .line-card--ember,
html[data-theme="light"] .line-card--meadow,
html[data-theme="light"] .line-card--frost,
html[data-theme="light"] .line-card--steel,
html[data-theme="light"] .line-card--timber,
html[data-theme="light"] .line-card--coal {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(242, 237, 230, 0.86));
}

.line-card--ember h2,
.line-card--ember h3,
.line-card--ember .line-card__meta,
.line-card--meadow h2,
.line-card--meadow h3,
.line-card--meadow .line-card__meta,
.line-card--frost h2,
.line-card--frost h3,
.line-card--frost .line-card__meta,
.line-card--steel h2,
.line-card--steel h3,
.line-card--steel .line-card__meta,
.line-card--timber h2,
.line-card--timber h3,
.line-card--timber .line-card__meta,
.line-card--coal h2,
.line-card--coal h3,
.line-card--coal .line-card__meta {
  color: var(--text);
}

.line-card__badge {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
}

.line-card__media::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent 28%, rgba(0, 0, 0, 0.18) 100%);
}

.line-card__summary {
  color: var(--muted);
}

.line-card__meta {
  color: var(--text);
  opacity: 0.88;
}

.line-card__facts {
  min-height: 0;
  margin-bottom: 16px;
}

.fact-pill {
  padding: 10px 16px;
  color: var(--text);
}

.fact-pill--price {
  font-size: 16px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

html[data-theme="light"] .fact-pill--price {
  background: rgba(29, 33, 38, 0.08);
  border-color: rgba(29, 33, 38, 0.12);
}

.line-card .button {
  min-height: 52px;
}

.showcase-panel--metal,
.showcase-panel--accent,
.showcase-panel--map {
  background: linear-gradient(180deg, rgba(17, 19, 23, 0.92), rgba(12, 14, 18, 0.86));
}

html[data-theme="light"] .showcase-panel--metal,
html[data-theme="light"] .showcase-panel--accent,
html[data-theme="light"] .showcase-panel--map {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 237, 230, 0.86));
}

.audience-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

html[data-theme="light"] .audience-item {
  border-color: rgba(29, 33, 38, 0.08);
  background: rgba(29, 33, 38, 0.025);
}

.exhibition-map-frame {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(18, 20, 24, 0.92), rgba(12, 14, 18, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

html[data-theme="light"] .exhibition-map-frame {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(242, 237, 230, 0.88));
}

.exhibition-map-frame__top {
  gap: 18px;
}

.exhibition-map-frame__top h3 {
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.12;
}

.exhibition-map-frame__top p {
  color: var(--muted);
}

.exhibition-map-frame__canvas {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 11, 14, 0.9);
}

html[data-theme="light"] .exhibition-map-frame__canvas {
  border-color: rgba(29, 33, 38, 0.08);
  background: rgba(237, 232, 224, 0.92);
}

.exhibition-map-frame__canvas::before,
.exhibition-map-frame__canvas::after {
  display: none;
}

@media (max-width: 720px) {
  .hero--premium .hero__content--premium,
  .hero-card,
  .home-hero-slider,
  .line-card,
  .showcase-panel,
  .cta-band,
  .pain-card,
  .audience-item,
  .exhibition-map-frame,
  .lead-form-box,
  .advantage-card,
  .catalog-guide__card {
    border-radius: 8px;
  }

  .hero--premium .hero__content--premium,
  .hero-card,
  .showcase-panel,
  .line-card,
  .lead-form-box {
    padding: 20px;
  }

  .home-hero-slider {
    padding: 12px;
  }

  .line-card__badge,
  .hero__metrics li,
  .hero-card__chips span,
  .fact-pill {
    min-height: 38px;
    padding: 8px 12px;
  }
}

/* Catalog line pages cleanup for the new restrained style */
.hero--line.hero--immersive .hero__bg::after {
  background:
    linear-gradient(180deg, rgba(6, 8, 10, 0.14) 0%, rgba(6, 8, 10, 0.08) 22%, rgba(6, 8, 10, 0.14) 56%, rgba(6, 8, 10, 0.36) 100%),
    linear-gradient(90deg, rgba(6, 8, 10, 0.18) 0%, rgba(6, 8, 10, 0.08) 34%, rgba(6, 8, 10, 0.04) 100%);
}

.hero--line.hero--immersive .project-breadcrumbs,
.line-intro__panel .project-breadcrumbs {
  padding: 9px 12px;
  border-radius: var(--radius-md);
  background: rgba(12, 14, 17, 0.34);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.line-story-shell {
  margin-top: clamp(-18px, -1.8vw, -8px);
  padding-top: clamp(58px, 5vw, 76px);
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 15, 0.9) 0%, rgba(10, 12, 15, 0.98) 110px, rgba(10, 12, 15, 1) 220px);
  box-shadow:
    0 -16px 42px rgba(0, 0, 0, 0.16),
    0 -1px 0 rgba(255, 255, 255, 0.03);
}

.line-story-shell::before,
.line-intro__panel::before,
.product-card--premium::after,
.offer-card--premium::after,
.gallery-card--premium::after,
.sidebar-box--premium::after {
  display: none;
}

.line-intro {
  margin-top: clamp(-46px, -4vw, -22px);
}

.line-intro__panel {
  max-width: 940px;
  padding: 26px 30px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(15, 17, 21, 0.9), rgba(10, 12, 15, 0.82));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .line-story-shell {
  background: linear-gradient(180deg, rgba(239, 234, 226, 0.94) 0%, rgba(245, 242, 236, 0.98) 110px, rgba(245, 242, 236, 1) 220px);
  box-shadow:
    0 -14px 36px rgba(80, 64, 45, 0.06),
    0 -1px 0 rgba(29, 33, 38, 0.04);
}

html[data-theme="light"] .line-intro__panel {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 238, 231, 0.86));
  box-shadow: 0 16px 40px rgba(80, 64, 45, 0.08);
}

html[data-theme="light"] .hero--line.hero--immersive .project-breadcrumbs,
html[data-theme="light"] .line-intro__panel .project-breadcrumbs {
  background: rgba(255, 255, 255, 0.74);
}

.product-card,
.offer-card,
.gallery-card,
.sidebar-box,
.lead-form-box,
.media-video-card,
.station-hotspots__stage,
.station-hotspots__panel,
.gallery-strip-shell,
.line-cta-band {
  border-radius: 10px;
}

.product-card,
.offer-card,
.gallery-card,
.sidebar-box,
.media-video-card,
.lead-form-box,
.station-hotspots__stage,
.station-hotspots__panel,
.gallery-strip-shell {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(16, 18, 22, 0.92), rgba(11, 13, 16, 0.86));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .product-card,
html[data-theme="light"] .offer-card,
html[data-theme="light"] .gallery-card,
html[data-theme="light"] .sidebar-box,
html[data-theme="light"] .media-video-card,
html[data-theme="light"] .lead-form-box,
html[data-theme="light"] .station-hotspots__stage,
html[data-theme="light"] .station-hotspots__panel,
html[data-theme="light"] .gallery-strip-shell {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 238, 231, 0.88));
  box-shadow: 0 14px 32px rgba(80, 64, 45, 0.08);
}

.product-card {
  padding: 22px;
}

.product-card__status,
.video-pillars span,
.messenger-pill {
  border-radius: var(--radius-md);
}

.product-card__status {
  min-height: 38px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.offer-card__row {
  padding: 12px 0;
}

.offer-card__value--price {
  min-height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

html[data-theme="light"] .offer-card__value--price {
  background: rgba(29, 33, 38, 0.08);
}

.gallery-strip-shell {
  padding: 18px;
}

.gallery-strip__nav {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.gallery-strip__nav:hover {
  background: rgba(255, 255, 255, 0.08);
}

.gallery-card {
  padding: 14px;
}

.gallery-card__image,
.gallery-card__image img,
.gallery-card__image--modules,
.gallery-card__image--modules img {
  border-radius: 8px;
}

.gallery-card__caption {
  color: var(--muted);
}

.station-hotspots__image-wrap,
.station-hotspots__panel-media,
.station-hotspots__panel-media img,
.media-video-inline,
.media-video-inline__player,
.media-video-trigger,
.media-video-trigger__surface,
.video-lightbox__panel,
.lightbox__frame,
.product-hero-media,
.product-hero-media__overlay {
  border-radius: 10px;
}

.station-hotspots__pin-label {
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  background: rgba(14, 16, 20, 0.88);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}

.station-hotspots__pin-dot {
  box-shadow:
    0 0 0 4px rgba(10, 12, 16, 0.38),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.media-video-card {
  padding: 16px;
}

.media-video-inline__expand,
.media-video-trigger__play,
.video-lightbox__close,
.lightbox__nav,
.lightbox__close {
  border-radius: var(--radius-md);
}

.lead-form-box {
  padding: 24px;
}

.lead-form-box__meta-card {
  min-height: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .lead-form-box__meta-card {
  background: rgba(29, 33, 38, 0.03);
}

.form-field input,
.form-field select,
.form-field textarea,
.custom-select__trigger {
  border-radius: 8px;
}

@media (max-width: 980px) {
  .line-story-shell {
    padding-top: 48px;
    border-radius: 14px 14px 0 0;
  }

  .line-intro {
    margin-top: -28px;
  }

  .line-intro__panel {
    padding: 22px 22px 20px;
  }
}

@media (max-width: 720px) {
  .line-intro__panel,
  .product-card,
  .offer-card,
  .gallery-card,
  .sidebar-box,
  .lead-form-box,
  .media-video-card,
  .station-hotspots__stage,
  .station-hotspots__panel,
  .gallery-strip-shell {
    border-radius: 8px;
  }

  .line-story-shell {
    margin-top: -8px;
    padding-top: 38px;
  }

  .line-intro {
    margin-top: -18px;
  }

  .line-intro__panel,
  .lead-form-box,
  .product-card,
  .offer-card {
    padding: 18px;
  }

  .gallery-strip-shell {
    padding: 14px;
  }
}

/* Product model and mobile polish */
.product-page__expansion-note,
.product-page__points,
.line-page__note,
.line-page__note-list {
  color: var(--muted);
}

.product-layout,
.showcase-grid,
.product-grid-cards {
  align-items: start;
}

.product-card,
.offer-card,
.sidebar-box,
.lead-form-box,
.gallery-card,
.media-video-card,
.story-card,
.article-card,
.map-card--premium,
.works-empty-card,
.editorial-card,
.faq-card,
.scenario-card,
.video-mini-card {
  border-radius: 10px;
}

.product-card h3,
.offer-card__row strong,
.story-card h2,
.article-card--legal h2,
.editorial-card h3,
.scenario-card h3 {
  line-height: 1.14;
}

.product-card__submeta,
.product-card__status,
.site-footer__label,
.story-card__city,
.lightbox__counter,
.video-lightbox__hint {
  letter-spacing: 0.1em;
}

.product-card__details,
.video-pillars,
.messenger-list,
.story-card__meta {
  gap: 8px;
}

.offer-card__row span,
.product-card p,
.story-card__cta-note,
.article-card__body,
.video-mini-card p,
.editorial-card p,
.faq-card p {
  color: var(--muted);
}

.product-hero-media {
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.product-hero-media::before {
  background:
    linear-gradient(180deg, transparent 14%, rgba(7, 7, 10, 0.08) 54%, rgba(7, 7, 10, 0.34) 100%);
}

.product-hero-media__overlay {
  padding: 18px 20px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(14, 16, 20, 0.54), rgba(14, 16, 20, 0.82));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .product-hero-media {
  box-shadow: 0 14px 34px rgba(80, 64, 45, 0.08);
}

html[data-theme="light"] .product-hero-media__overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(243, 238, 231, 0.92));
}

.gallery-card:hover,
.story-card:hover,
.scenario-card:hover,
.editorial-card:hover,
.works-empty-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
}

.gallery-card__image.is-lightbox-trigger:focus-visible {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16), 0 0 0 4px rgba(201, 210, 222, 0.06);
}

.lightbox__backdrop,
.video-lightbox__backdrop {
  background:
    linear-gradient(180deg, rgba(8, 10, 13, 0.84), rgba(8, 10, 13, 0.94));
}

.lightbox__frame,
.video-lightbox__panel {
  border-radius: 10px;
  border-color: rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(19, 22, 27, 0.94), rgba(10, 12, 15, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.lightbox__frame::after {
  display: none;
}

.lightbox__toolbar,
.lightbox__caption-wrap,
.video-lightbox__meta {
  padding: 14px 16px;
}

.lightbox__counter,
.lightbox__nav,
.lightbox__close,
.video-lightbox__close,
.media-video-inline__expand,
.media-video-trigger__play {
  border-radius: var(--radius-md);
}

.lightbox__nav,
.lightbox__close,
.video-lightbox__close {
  box-shadow: none;
}

.lightbox__image {
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.media-video-card--portrait {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.media-video-title {
  color: var(--text);
}

.messenger-pill,
.video-pillars span,
.story-card__meta span,
.works-empty-card,
.faq-card,
.comparison-board,
.map-embed__fallback,
.map-card__frame {
  border-radius: 8px;
}

.messenger-pill,
.video-pillars span,
.story-card__meta span {
  background: rgba(255,255,255,0.03);
}

html[data-theme="light"] .messenger-pill,
html[data-theme="light"] .video-pillars span,
html[data-theme="light"] .story-card__meta span {
  background: rgba(29, 33, 38, 0.03);
}

.custom-select__trigger,
.custom-select__menu,
.custom-select__option,
.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 8px;
}

.custom-select__trigger,
.form-field input,
.form-field select,
.form-field textarea {
  min-height: 52px;
  background: rgba(255,255,255,0.035);
}

.form-field textarea {
  min-height: 132px;
}

html[data-theme="light"] .custom-select__trigger,
html[data-theme="light"] .form-field input,
html[data-theme="light"] .form-field select,
html[data-theme="light"] .form-field textarea {
  background: rgba(255, 255, 255, 0.88);
  color: rgba(29, 33, 38, 0.94);
  border-color: rgba(29, 33, 38, 0.14);
}

.custom-select__menu {
  background: linear-gradient(180deg, rgba(18, 20, 24, 0.98), rgba(9, 10, 13, 0.98));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .custom-select__menu {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 238, 231, 0.99));
  border-color: rgba(29, 33, 38, 0.12);
  box-shadow: 0 16px 34px rgba(88, 73, 48, 0.12);
}

.custom-select__option.is-selected {
  background: rgba(155, 132, 102, 0.14);
  color: var(--text);
}

html[data-theme="light"] .custom-select__label.is-placeholder,
html[data-theme="light"] .form-field input::placeholder,
html[data-theme="light"] .form-field textarea::placeholder {
  color: rgba(89, 96, 104, 0.82);
}

html[data-theme="light"] .custom-select__icon,
html[data-theme="light"] .form-field span,
html[data-theme="light"] .lead-form-box p,
html[data-theme="light"] .lead-form__note,
html[data-theme="light"] .lead-form__status,
html[data-theme="light"] .lead-form-box__meta-card span {
  color: rgba(72, 79, 87, 0.9);
}

html[data-theme="light"] .lead-form-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 241, 233, 0.9));
}

html[data-theme="light"] .lead-form-box__meta-card {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(29, 33, 38, 0.08);
}

html[data-theme="light"] .custom-select__option {
  color: rgba(29, 33, 38, 0.9);
}

html[data-theme="light"] .custom-select__option:hover,
html[data-theme="light"] .custom-select__option:focus-visible {
  background: rgba(29, 33, 38, 0.05);
  border-color: rgba(29, 33, 38, 0.08);
}

html[data-theme="light"] .custom-select__option.is-selected {
  background: rgba(155, 132, 102, 0.14);
  border-color: rgba(155, 132, 102, 0.18);
  color: rgba(29, 33, 38, 0.96);
}

html[data-theme="light"] .form-field input:focus,
html[data-theme="light"] .form-field select:focus,
html[data-theme="light"] .form-field textarea:focus,
html[data-theme="light"] .custom-select__trigger:focus-visible,
html[data-theme="light"] .custom-select.is-open .custom-select__trigger {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(155, 132, 102, 0.26);
  box-shadow: 0 0 0 3px rgba(155, 132, 102, 0.08), 0 10px 22px rgba(88, 73, 48, 0.08);
}

html[data-theme="light"] .form-field input:-webkit-autofill,
html[data-theme="light"] .form-field input:-webkit-autofill:hover,
html[data-theme="light"] .form-field input:-webkit-autofill:focus,
html[data-theme="light"] .form-field textarea:-webkit-autofill,
html[data-theme="light"] .form-field textarea:-webkit-autofill:hover,
html[data-theme="light"] .form-field textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: rgba(29, 33, 38, 0.94);
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.96) inset;
  transition: background-color 9999s ease-in-out 0s;
}

html[data-theme="light"] .product-card,
html[data-theme="light"] .offer-card,
html[data-theme="light"] .line-intro__panel,
html[data-theme="light"] .gallery-strip-shell,
html[data-theme="light"] .gallery-card,
html[data-theme="light"] .media-video-card,
html[data-theme="light"] .sidebar-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 241, 233, 0.84));
}

html[data-theme="light"] .product-card__details .fact-pill,
html[data-theme="light"] .offer-card .fact-pill,
html[data-theme="light"] .line-intro__panel .fact-pill {
  background: rgba(255, 255, 255, 0.84);
  color: rgba(40, 45, 52, 0.92);
  border-color: rgba(29, 33, 38, 0.1);
}

.lead-form__note a {
  color: var(--accent);
}

@media (max-width: 980px) {
  .product-hero-media__overlay {
    inset: auto 16px 16px 16px;
  }

  .product-grid-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .product-card,
  .offer-card,
  .sidebar-box,
  .lead-form-box,
  .gallery-card,
  .media-video-card,
  .story-card,
  .article-card,
  .map-card--premium,
  .works-empty-card,
  .editorial-card,
  .faq-card,
  .scenario-card,
  .video-mini-card,
  .product-hero-media,
  .product-hero-media__overlay,
  .lightbox__frame,
  .video-lightbox__panel {
    border-radius: 8px;
  }

  .product-hero-media__frame {
    min-height: 300px;
  }

  .product-hero-media__image {
    height: clamp(260px, 62vw, 360px);
  }

  .product-hero-media__overlay {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .product-card__details,
  .messenger-list,
  .video-pillars,
  .story-card__meta {
    gap: 6px;
  }

  .product-card__details > *,
  .story-card__meta span,
  .messenger-pill,
  .video-pillars span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .custom-select__trigger,
  .form-field input,
  .form-field select,
  .form-field textarea {
    min-height: 48px;
  }

  .lightbox__toolbar,
  .lightbox__caption-wrap,
  .video-lightbox__meta {
    padding: 12px;
  }

  .lightbox__image-wrap {
    padding: 52px 12px 86px;
  }

  .lightbox__caption,
  .video-lightbox__hint,
  .product-page__expansion-note,
  .product-page__points li {
    font-size: 14px;
    line-height: 1.55;
  }
}

@media (max-width: 520px) {
  .product-card,
  .offer-card,
  .sidebar-box,
  .lead-form-box,
  .gallery-card,
  .media-video-card,
  .story-card,
  .article-card,
  .map-card--premium,
  .works-empty-card,
  .editorial-card,
  .faq-card,
  .scenario-card,
  .video-mini-card {
    padding: 16px;
  }

  .product-card h3,
  .story-card h2,
  .editorial-card h3,
  .scenario-card h3 {
    font-size: 20px;
  }

  .gallery-card__image,
  .gallery-card__image img {
    height: 210px;
    min-height: 210px;
  }

  .gallery-card__image--modules,
  .gallery-card__image--modules img {
    height: auto;
    min-height: 180px;
  }

  .video-lightbox__dialog {
    width: min(100vw - 20px, 100%);
  }
}

/* Secondary pages: contacts, works, blog, legal */
.stub-box,
.story-card,
.article-card,
.cta-band,
.comparison-board,
.faq-card,
.map-card--premium,
.works-empty-card,
.editorial-card,
.map-embed__fallback,
.video-mini-card {
  border-radius: 10px;
}

.stub-box,
.story-card,
.article-card,
.cta-band,
.comparison-board,
.faq-card,
.map-card--premium,
.works-empty-card,
.editorial-card,
.map-embed__fallback,
.video-mini-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(16, 18, 22, 0.92), rgba(11, 13, 16, 0.86));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .stub-box,
html[data-theme="light"] .story-card,
html[data-theme="light"] .article-card,
html[data-theme="light"] .cta-band,
html[data-theme="light"] .comparison-board,
html[data-theme="light"] .faq-card,
html[data-theme="light"] .map-card--premium,
html[data-theme="light"] .works-empty-card,
html[data-theme="light"] .editorial-card,
html[data-theme="light"] .map-embed__fallback,
html[data-theme="light"] .video-mini-card {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 238, 231, 0.88));
  box-shadow: 0 14px 30px rgba(80, 64, 45, 0.08);
}

.story-card--premium::before,
.article-card--premium::before,
.stub-box--premium::before,
.map-card--premium::before,
.editorial-card::before {
  display: none;
}

.story-card__topline,
.map-card__head {
  gap: 12px;
}

.story-card__city,
.site-footer__label,
.editorial-card__number {
  color: var(--accent);
}

.story-card__meta span,
.works-empty-card,
.faq-card,
.map-card__frame,
.map-embed__fallback {
  border-radius: 8px;
}

.map-card__frame,
.map-embed--premium {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 11, 14, 0.9);
}

html[data-theme="light"] .map-card__frame,
html[data-theme="light"] .map-embed--premium {
  border-color: rgba(29, 33, 38, 0.08);
  background: rgba(237, 232, 224, 0.92);
}

.map-card__actions,
.cta-band__actions {
  gap: 10px;
}

.map-embed__fallback {
  min-height: 240px;
  padding: 22px;
}

.comparison-board {
  overflow: hidden;
}

.comparison-row--head {
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .comparison-row--head {
  background: rgba(29, 33, 38, 0.04);
}

.comparison-cell,
.works-empty-card span,
.editorial-card p,
.article-card__body,
.map-card__text,
.site-footer__text {
  color: var(--muted);
}

.works-empty-card {
  padding: 16px;
}

.editorial-card,
.video-mini-card,
.faq-card {
  padding: 22px;
}

.faq-card summary {
  line-height: 1.35;
}

.legal-table th,
.legal-table td {
  padding: 12px 0;
}

.legal-table th {
  color: var(--accent);
}

.contact-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .contact-item {
  border-bottom-color: rgba(29, 33, 38, 0.08);
}

.stub-box--premium,
.story-card--premium,
.article-card--premium,
.map-card--premium {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

@media (max-width: 720px) {
  .stub-box,
  .story-card,
  .article-card,
  .cta-band,
  .comparison-board,
  .faq-card,
  .map-card--premium,
  .works-empty-card,
  .editorial-card,
  .map-embed__fallback,
  .video-mini-card {
    border-radius: 8px;
  }

  .map-card__head,
  .story-card__topline,
  .cta-band__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-card__actions .button,
  .cta-band__actions .button,
  .works-empty-card .button {
    width: 100%;
  }

  .legal-table th,
  .legal-table td {
    padding: 10px 0;
  }
}

@media (max-width: 520px) {
  .stub-box,
  .story-card,
  .article-card,
  .cta-band,
  .comparison-board,
  .faq-card,
  .map-card--premium,
  .works-empty-card,
  .editorial-card,
  .map-embed__fallback,
  .video-mini-card {
    padding: 16px;
  }

  .editorial-card__number {
    font-size: 1.8rem;
  }
}

/* Final mobile UX pass */
@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .project-breadcrumbs {
    font-size: 12px;
    gap: 6px;
    row-gap: 4px;
  }

  .project-breadcrumbs span,
  .project-breadcrumbs a {
    line-height: 1.35;
  }

  .hero__actions,
  .cta-band__actions,
  .map-card__actions,
  .site-header__cta-row,
  .messenger-list {
    width: 100%;
  }

  .hero__actions .button,
  .cta-band__actions .button,
  .map-card__actions .button,
  .lead-form__submit .button,
  .site-header__cta-row .button {
    width: 100%;
  }

  .hero__metrics li,
  .fact-pill,
  .story-card__meta span,
  .messenger-pill,
  .video-pillars span {
    min-height: 36px;
  }

  .hero__metrics li,
  .fact-pill,
  .product-card__details > *,
  .story-card__meta span,
  .messenger-pill,
  .video-pillars span {
    justify-content: center;
    text-align: center;
  }

  .site-header__inner {
    gap: 10px;
  }

  .site-header__actions,
  .site-header__contacts {
    width: 100%;
    justify-self: stretch;
  }

  .site-header__contact-row,
  .site-header__cta-row,
  .site-header__contact-socials {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-header__contact-row .site-header__contact-inline--email {
    margin-left: 0;
  }

  .theme-switch {
    margin-left: 0;
  }

  .site-nav {
    gap: 12px;
    padding-bottom: 0;
  }

  .hero h1,
  .line-intro__panel h1 {
    font-size: clamp(1.95rem, 9vw, 2.8rem);
    line-height: 1.02;
  }

  .hero__lead,
  .line-page__note,
  .product-page__expansion-note,
  .gallery-strip__intro,
  .section-heading p {
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-card__title,
  .section-heading h2,
  .showcase-panel h2,
  .story-card h2,
  .article-card--legal h2,
  .editorial-card h3,
  .product-card h3,
  .line-card h2 {
    font-size: 1.45rem;
    line-height: 1.14;
  }

  .gallery-strip-shell {
    --gallery-visible: 1;
    --gallery-gap: 12px;
  }

  .gallery-card--strip {
    flex-basis: 100%;
  }

  .gallery-card--strip .gallery-card__image {
    height: 232px;
    min-height: 232px;
    padding: 10px;
  }

  .gallery-card--strip .gallery-card__caption {
    min-height: 0;
    margin-top: 10px;
  }

  .media-video-grid,
  .media-video-grid--portrait,
  .station-hotspots,
  .contact-columns,
  .map-grid,
  .editorial-grid,
  .works-empty-grid,
  .pain-grid,
  .faq-grid,
  .story-grid,
  .product-grid-cards {
    grid-template-columns: 1fr;
  }

  .media-video-card--portrait.is-featured {
    grid-row: auto;
  }

  .media-video-card--portrait .media-video-inline__player,
  .media-video-card--portrait.is-featured .media-video-inline__player {
    min-height: 420px;
  }

  .station-hotspots__panels {
    max-width: none;
    justify-self: stretch;
  }

  .station-hotspots__panel {
    position: relative;
    top: auto;
  }

  .map-card__frame,
  .map-card__frame iframe,
  .map-embed--premium,
  .map-embed--premium iframe,
  .exhibition-map-frame__canvas,
  .exhibition-map-frame__canvas iframe {
    min-height: 240px;
    height: 240px;
  }

  .legal-table-wrap {
    overflow: visible;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr {
    display: block;
    width: 100%;
  }

  .legal-table tr + tr {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
  }

  .legal-table td {
    margin-top: 4px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .site-header__contact-inline {
    font-size: 9px;
  }

  .site-header__cta-row .button,
  .site-header__cta-row .site-header__messenger {
    min-height: 28px;
  }

  .theme-switch {
    width: 100%;
    justify-content: space-between;
  }

  .theme-switch__button {
    flex: 1 1 0;
    justify-content: center;
  }

  .hero__content,
  .hero-card,
  .showcase-panel,
  .line-card,
  .product-card,
  .offer-card,
  .article-card,
  .story-card,
  .editorial-card,
  .lead-form-box,
  .gallery-strip-shell,
  .media-video-card,
  .station-hotspots__panel {
    padding: 14px;
  }

  .hero h1,
  .line-intro__panel h1 {
    font-size: clamp(1.8rem, 10vw, 2.45rem);
  }

  .gallery-card--strip .gallery-card__image,
  .gallery-card__image,
  .gallery-card__image img {
    height: 208px;
    min-height: 208px;
  }

  .media-video-card--portrait .media-video-inline__player,
  .media-video-card--portrait.is-featured .media-video-inline__player {
    min-height: 360px;
  }
}

/* Neutral catalog preview cards */
.line-grid .line-card {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(16, 18, 22, 0.94), rgba(11, 13, 16, 0.9));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .line-grid .line-card {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 238, 231, 0.9));
  box-shadow: 0 14px 30px rgba(80, 64, 45, 0.08);
}

.line-grid .line-card--ember,
.line-grid .line-card--meadow,
.line-grid .line-card--frost,
.line-grid .line-card--steel,
.line-grid .line-card--timber,
.line-grid .line-card--coal {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(16, 18, 22, 0.94), rgba(11, 13, 16, 0.9));
}

html[data-theme="light"] .line-grid .line-card--ember,
html[data-theme="light"] .line-grid .line-card--meadow,
html[data-theme="light"] .line-grid .line-card--frost,
html[data-theme="light"] .line-grid .line-card--steel,
html[data-theme="light"] .line-grid .line-card--timber,
html[data-theme="light"] .line-grid .line-card--coal {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 238, 231, 0.9));
}

.line-grid .line-card__media::after,
.line-grid .line-card--ember .line-card__media::after,
.line-grid .line-card--meadow .line-card__media::after,
.line-grid .line-card--frost .line-card__media::after,
.line-grid .line-card--steel .line-card__media::after,
.line-grid .line-card--timber .line-card__media::after,
.line-grid .line-card--coal .line-card__media::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), transparent 30%, rgba(0,0,0,0.18) 100%);
}

.line-grid .line-card__badge,
.line-grid .line-card--ember .line-card__badge,
.line-grid .line-card--meadow .line-card__badge,
.line-grid .line-card--frost .line-card__badge,
.line-grid .line-card--steel .line-card__badge,
.line-grid .line-card--timber .line-card__badge,
.line-grid .line-card--coal .line-card__badge {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

html[data-theme="light"] .line-grid .line-card__badge,
html[data-theme="light"] .line-grid .line-card--ember .line-card__badge,
html[data-theme="light"] .line-grid .line-card--meadow .line-card__badge,
html[data-theme="light"] .line-grid .line-card--frost .line-card__badge,
html[data-theme="light"] .line-grid .line-card--steel .line-card__badge,
html[data-theme="light"] .line-grid .line-card--timber .line-card__badge,
html[data-theme="light"] .line-grid .line-card--coal .line-card__badge {
  border-color: rgba(29, 33, 38, 0.1);
  background: rgba(29, 33, 38, 0.035);
}

.line-grid .line-card h2,
.line-grid .line-card h3,
.line-grid .line-card__meta,
.line-grid .line-card--ember h2,
.line-grid .line-card--ember h3,
.line-grid .line-card--ember .line-card__meta,
.line-grid .line-card--meadow h2,
.line-grid .line-card--meadow h3,
.line-grid .line-card--meadow .line-card__meta,
.line-grid .line-card--frost h2,
.line-grid .line-card--frost h3,
.line-grid .line-card--frost .line-card__meta,
.line-grid .line-card--steel h2,
.line-grid .line-card--steel h3,
.line-grid .line-card--steel .line-card__meta,
.line-grid .line-card--timber h2,
.line-grid .line-card--timber h3,
.line-grid .line-card--timber .line-card__meta,
.line-grid .line-card--coal h2,
.line-grid .line-card--coal h3,
.line-grid .line-card--coal .line-card__meta {
  color: var(--text);
}

.line-grid .line-card__meta {
  opacity: 0.84;
}

.line-grid .fact-pill {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  box-shadow: none;
}

html[data-theme="light"] .line-grid .fact-pill {
  border-color: rgba(29, 33, 38, 0.1);
  background: rgba(29, 33, 38, 0.03);
}

.line-grid .fact-pill--price,
.line-grid .line-card--ember .fact-pill--price,
.line-grid .line-card--meadow .fact-pill--price,
.line-grid .line-card--frost .fact-pill--price,
.line-grid .line-card--steel .fact-pill--price,
.line-grid .line-card--timber .fact-pill--price,
.line-grid .line-card--coal .fact-pill--price {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  box-shadow: none;
}

html[data-theme="light"] .line-grid .fact-pill--price,
html[data-theme="light"] .line-grid .line-card--ember .fact-pill--price,
html[data-theme="light"] .line-grid .line-card--meadow .fact-pill--price,
html[data-theme="light"] .line-grid .line-card--frost .fact-pill--price,
html[data-theme="light"] .line-grid .line-card--steel .fact-pill--price,
html[data-theme="light"] .line-grid .line-card--timber .fact-pill--price,
html[data-theme="light"] .line-grid .line-card--coal .fact-pill--price {
  background: rgba(29, 33, 38, 0.08);
  border-color: rgba(29, 33, 38, 0.12);
}

.line-grid .button,
.line-grid .line-card--ember .button,
.line-grid .line-card--meadow .button,
.line-grid .line-card--frost .button,
.line-grid .line-card--steel .button,
.line-grid .line-card--timber .button,
.line-grid .line-card--coal .button {
  border-color: rgba(255, 255, 255, 0.1);
}

.line-grid .button--primary,
.line-grid .line-card--ember .button--primary,
.line-grid .line-card--meadow .button--primary,
.line-grid .line-card--frost .button--primary,
.line-grid .line-card--steel .button--primary,
.line-grid .line-card--timber .button--primary,
.line-grid .line-card--coal .button--primary {
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  border-color: transparent;
  box-shadow: none;
}

.line-grid .button--primary:hover,
.line-grid .line-card--ember .button--primary:hover,
.line-grid .line-card--meadow .button--primary:hover,
.line-grid .line-card--frost .button--primary:hover,
.line-grid .line-card--steel .button--primary:hover,
.line-grid .line-card--timber .button--primary:hover,
.line-grid .line-card--coal .button--primary:hover {
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

/* Final neutralization of legacy accent coloring */
.hero--immersive.hero--ember .eyebrow,
.hero--immersive.hero--ember .hero-card__label,
.hero--immersive.hero--ember .hero-card__title,
.hero--immersive.hero--meadow .eyebrow,
.hero--immersive.hero--meadow .hero-card__label,
.hero--immersive.hero--meadow .hero-card__title,
.hero--immersive.hero--frost .eyebrow,
.hero--immersive.hero--frost .hero-card__label,
.hero--immersive.hero--frost .hero-card__title,
.hero--immersive.hero--steel .eyebrow,
.hero--immersive.hero--steel .hero-card__label,
.hero--immersive.hero--steel .hero-card__title,
.hero--immersive.hero--timber .eyebrow,
.hero--immersive.hero--timber .hero-card__label,
.hero--immersive.hero--timber .hero-card__title,
.hero--immersive.hero--coal .eyebrow,
.hero--immersive.hero--coal .hero-card__label,
.hero--immersive.hero--coal .hero-card__title {
  color: var(--accent);
}

.hero--immersive.hero--ember .hero__metrics li,
.hero--immersive.hero--ember .hero-card__chips span,
.hero--immersive.hero--meadow .hero__metrics li,
.hero--immersive.hero--meadow .hero-card__chips span,
.hero--immersive.hero--frost .hero__metrics li,
.hero--immersive.hero--frost .hero-card__chips span,
.hero--immersive.hero--steel .hero__metrics li,
.hero--immersive.hero--steel .hero-card__chips span,
.hero--immersive.hero--timber .hero__metrics li,
.hero--immersive.hero--timber .hero-card__chips span,
.hero--immersive.hero--coal .hero__metrics li,
.hero--immersive.hero--coal .hero-card__chips span {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .hero--immersive.hero--ember .hero__metrics li,
html[data-theme="light"] .hero--immersive.hero--ember .hero-card__chips span,
html[data-theme="light"] .hero--immersive.hero--meadow .hero__metrics li,
html[data-theme="light"] .hero--immersive.hero--meadow .hero-card__chips span,
html[data-theme="light"] .hero--immersive.hero--frost .hero__metrics li,
html[data-theme="light"] .hero--immersive.hero--frost .hero-card__chips span,
html[data-theme="light"] .hero--immersive.hero--steel .hero__metrics li,
html[data-theme="light"] .hero--immersive.hero--steel .hero-card__chips span,
html[data-theme="light"] .hero--immersive.hero--timber .hero__metrics li,
html[data-theme="light"] .hero--immersive.hero--timber .hero-card__chips span,
html[data-theme="light"] .hero--immersive.hero--coal .hero__metrics li,
html[data-theme="light"] .hero--immersive.hero--coal .hero-card__chips span {
  border-color: rgba(29, 33, 38, 0.12);
  background: rgba(29, 33, 38, 0.03);
}

/* Text blocks differentiation and restrained reveal motion */
.hero__metrics li,
.hero-card__chips span,
.fact-pill,
.line-card__badge,
.story-card__meta span {
  position: relative;
  align-items: flex-start;
  min-height: 0;
  padding: 10px 14px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
  color: rgba(230, 233, 238, 0.82);
  box-shadow: none;
}

.hero__metrics li::before,
.hero-card__chips span::before,
.fact-pill::before,
.line-card__badge::before,
.story-card__meta span::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero__metrics li,
.hero-card__chips span {
  letter-spacing: 0.01em;
}

.hero__metrics li {
  font-size: 0.97rem;
}

.hero-card__chips span,
.story-card__meta span {
  font-size: 0.95rem;
}

.fact-pill,
.line-card__badge {
  font-size: 0.94rem;
  font-weight: 500;
}

.fact-pill--price,
.hero__metric--price {
  color: var(--text);
  font-weight: 600;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.028);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.button,
.button--secondary,
.button--ghost,
.button--accented {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

html[data-theme="light"] .hero__metrics li,
html[data-theme="light"] .hero-card__chips span,
html[data-theme="light"] .fact-pill,
html[data-theme="light"] .line-card__badge,
html[data-theme="light"] .story-card__meta span {
  border-color: rgba(29, 33, 38, 0.1);
  background:
    linear-gradient(180deg, rgba(29, 33, 38, 0.02), rgba(29, 33, 38, 0.01)),
    rgba(29, 33, 38, 0.018);
  color: rgba(59, 66, 74, 0.86);
}

html[data-theme="light"] .hero__metrics li::before,
html[data-theme="light"] .hero-card__chips span::before,
html[data-theme="light"] .fact-pill::before,
html[data-theme="light"] .line-card__badge::before,
html[data-theme="light"] .story-card__meta span::before {
  background: linear-gradient(90deg, rgba(29, 33, 38, 0.16), rgba(29, 33, 38, 0));
}

html[data-theme="light"] .fact-pill--price,
html[data-theme="light"] .hero__metric--price {
  background:
    linear-gradient(180deg, rgba(29, 33, 38, 0.05), rgba(29, 33, 38, 0.016)),
    rgba(29, 33, 38, 0.03);
  border-color: rgba(29, 33, 38, 0.12);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(7px);
  transition:
    opacity 0.82s cubic-bezier(0.2, 0.68, 0.18, 1),
    transform 0.82s cubic-bezier(0.2, 0.68, 0.18, 1),
    filter 0.82s cubic-bezier(0.2, 0.68, 0.18, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal[data-reveal="soft"] {
  transform: translate3d(0, 18px, 0);
  filter: blur(4px);
}

.reveal[data-reveal="media"] {
  transform: translate3d(0, 20px, 0) scale(0.985);
  filter: blur(5px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.reveal-parent [data-reveal-child] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(5px);
  transition:
    opacity 0.72s cubic-bezier(0.2, 0.68, 0.18, 1),
    transform 0.72s cubic-bezier(0.2, 0.68, 0.18, 1),
    filter 0.72s cubic-bezier(0.2, 0.68, 0.18, 1);
  transition-delay: calc(var(--reveal-index, 0) * 90ms);
}

.reveal-parent.is-visible [data-reveal-child] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@media (max-width: 900px) {
  .hero__metrics li,
  .hero-card__chips span,
  .fact-pill,
  .line-card__badge,
  .story-card__meta span {
    border-radius: 10px;
    padding: 9px 12px 10px;
  }

  .reveal {
    transform: translate3d(0, 16px, 0);
    filter: blur(4px);
    transition-duration: 0.62s;
  }

  .reveal[data-reveal="soft"],
  .reveal[data-reveal="media"] {
    transform: translate3d(0, 12px, 0) scale(1);
    filter: blur(3px);
  }

  .reveal-parent [data-reveal-child] {
    transform: translate3d(0, 14px, 0);
    filter: blur(3px);
    transition-duration: 0.58s;
    transition-delay: calc(var(--reveal-index, 0) * 70ms);
  }
}

@media (max-width: 720px) {
  [data-tilt],
  [data-tilt].is-tilting,
  .line-card--premium:hover,
  .advantage-card--premium:hover,
  .showcase-panel--premium:hover,
  .cta-band--premium:hover,
  .line-card:hover .line-card__media img,
  .button:hover,
  .button:focus-visible {
    transform: none !important;
    box-shadow: none;
    will-change: auto;
  }

  .reveal,
  .reveal[data-reveal="soft"],
  .reveal[data-reveal="media"],
  .reveal.is-visible,
  .reveal-parent [data-reveal-child],
  .reveal-parent.is-visible [data-reveal-child] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    will-change: auto;
  }

  .hero--immersive .project-breadcrumbs,
  .hero--immersive .eyebrow,
  .line-intro__panel h1,
  .line-intro__panel p,
  .line-intro__panel li,
  .line-intro__panel span,
  .line-intro__panel a {
    text-shadow: none !important;
  }

  .hero__content,
  .hero-card,
  .line-intro__panel,
  .product-card,
  .offer-card,
  .gallery-card,
  .sidebar-box,
  .lead-form-box,
  .gallery-strip-shell,
  .station-hotspots__panel,
  .station-hotspots__stage {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-parent [data-reveal-child] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* Media presentation refinement */
.home-hero-slider {
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(16, 18, 22, 0.64), rgba(10, 12, 16, 0.44));
}

.home-hero-slider__viewport {
  background: rgba(8, 10, 14, 0.1);
}

.home-hero-slide {
  transform: scale(1.006);
  transition:
    opacity 680ms cubic-bezier(0.2, 0.68, 0.18, 1),
    visibility 680ms cubic-bezier(0.2, 0.68, 0.18, 1),
    transform 980ms cubic-bezier(0.2, 0.68, 0.18, 1);
}

.home-hero-slide img {
  width: 100%;
  height: clamp(220px, 26vw, 320px);
  object-fit: contain;
  object-position: center;
  transform: scale(1.02);
  transition: transform 1400ms cubic-bezier(0.2, 0.68, 0.18, 1);
}

.home-hero-slide.is-active img {
  transform: scale(1);
}

.home-hero-slide__overlay {
  position: relative;
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(14, 16, 20, 0.68), rgba(10, 12, 16, 0.5));
}

.home-hero-slide__overlay::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 56px;
  border-top: 1px solid rgba(221, 225, 231, 0.2);
  pointer-events: none;
}

.home-hero-slide__overlay .eyebrow,
.home-hero-slide__overlay p {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 520ms cubic-bezier(0.2, 0.68, 0.18, 1),
    transform 520ms cubic-bezier(0.2, 0.68, 0.18, 1);
}

.home-hero-slide__overlay p {
  transition-delay: 90ms;
}

.home-hero-slide.is-active .home-hero-slide__overlay .eyebrow,
.home-hero-slide.is-active .home-hero-slide__overlay p {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-hero-slider__dots {
  gap: 8px;
  align-items: center;
}

.home-hero-slider__dot {
  position: relative;
  width: 26px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.home-hero-slider__dot::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(232, 236, 242, 0.9);
}

.home-hero-slider__dot.is-active {
  transform: none;
  background: rgba(255, 255, 255, 0.12);
}

.home-hero-slider__dot.is-active::after {
  width: 100%;
  animation: home-hero-dot-progress 4.2s linear;
}

html[data-theme="light"] .home-hero-slider__dot {
  background: rgba(29, 33, 38, 0.14);
}

html[data-theme="light"] .home-hero-slider__dot::after {
  background: rgba(29, 33, 38, 0.78);
}

html[data-theme="light"] .home-hero-slider {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(247, 241, 233, 0.1));
}

html[data-theme="light"] .home-hero-slider__viewport {
  background: rgba(255, 255, 255, 0.02);
}

html[data-theme="light"] .home-hero-slide__overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(247, 241, 233, 0.16));
  border-top-color: rgba(29, 33, 38, 0.08);
}

html[data-theme="light"] .home-hero-slide__overlay .eyebrow {
  color: rgba(142, 107, 68, 0.96);
}

html[data-theme="light"] .home-hero-slide__overlay p {
  color: rgba(44, 50, 58, 0.9);
}

.gallery-card,
.showcase-panel,
.video-mini-card,
.media-video-card,
.media-video-card--portrait {
  overflow: hidden;
}

.gallery-card {
  padding: 14px;
  transition:
    transform 240ms cubic-bezier(0.2, 0.68, 0.18, 1),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.gallery-card__image {
  margin-bottom: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}

.gallery-card__image::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 28%, rgba(0,0,0,0.14) 100%);
}

.gallery-card__image img {
  border-radius: 8px;
}

.gallery-card:hover .gallery-card__image img {
  transform: scale(1.018);
}

.gallery-card__caption {
  margin-top: 12px;
  padding: 0 2px 2px;
  color: rgba(226, 231, 238, 0.74);
  font-size: 14px;
  line-height: 1.52;
}

.gallery-card--strip .gallery-card__caption {
  display: block;
  min-height: 44px;
}

.media-video-inline {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.024);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.media-video-inline__expand,
.media-video-trigger__play {
  min-height: 38px;
  padding-inline: 14px;
  border-radius: 8px;
  border-color: rgba(255,255,255,0.14);
  background: rgba(11, 13, 17, 0.74);
  backdrop-filter: blur(10px);
}

.media-video-inline__expand:hover,
.media-video-trigger__play:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.22);
  background: rgba(17, 20, 25, 0.88);
}

.showcase-panel,
.video-mini-card {
  transition:
    transform 240ms cubic-bezier(0.2, 0.68, 0.18, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.showcase-panel:hover,
.video-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .gallery-card__image {
  background: rgba(29, 33, 38, 0.024);
}

html[data-theme="light"] .gallery-card__caption {
  color: rgba(63, 70, 78, 0.76);
}

html[data-theme="light"] .media-video-inline {
  background: rgba(29, 33, 38, 0.02);
  box-shadow: inset 0 0 0 1px rgba(29, 33, 38, 0.06);
}

html[data-theme="light"] .media-video-inline__expand,
html[data-theme="light"] .media-video-trigger__play {
  border-color: rgba(29, 33, 38, 0.12);
  background: rgba(250, 248, 244, 0.92);
  color: rgba(31, 36, 42, 0.92);
}

@keyframes home-hero-dot-progress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .home-hero-slide__overlay {
    padding: 14px 16px 16px;
  }

  .home-hero-slider__dot {
    width: 22px;
  }

  .gallery-card--strip .gallery-card__caption {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .home-hero-slider {
    padding: 10px;
  }

  .home-hero-slide__overlay {
    padding: 12px 14px 14px;
  }

  .home-hero-slide__overlay p {
    font-size: 13px;
    line-height: 1.48;
  }

  .home-hero-slider__dots {
    gap: 7px;
  }

  .home-hero-slider__dot {
    width: 18px;
    height: 3px;
  }

  .gallery-card {
    padding: 10px;
  }

  .gallery-card__caption {
    margin-top: 10px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide,
  .home-hero-slide img,
  .home-hero-slide__overlay .eyebrow,
  .home-hero-slide__overlay p,
  .home-hero-slider__dot.is-active::after,
  .gallery-card,
  .gallery-card__image img,
  .showcase-panel,
  .video-mini-card {
    transition: none;
    animation: none;
    transform: none;
  }
}

/* Hero layout fix and stronger separation between CTA and text pills */
.hero--premium .hero__grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
}

.hero--premium .hero__content--premium {
  padding: 26px 28px 28px;
}

.hero--premium .hero__content--premium h1 {
  max-width: 10.8ch;
  font-size: clamp(2.35rem, 3.8vw, 4.05rem);
  line-height: 0.94;
  margin-bottom: 12px;
  text-wrap: balance;
}

.hero__title-line {
  display: block;
}

.hero--premium .hero__lead {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.58;
}

.hero--premium .hero-card--hero {
  padding: 20px 20px 22px;
}

.hero--premium .hero-card__title {
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  line-height: 1.12;
}

.hero--premium .home-hero-slider__viewport {
  height: clamp(230px, 22vw, 292px);
}

.hero--premium .home-hero-slide__overlay {
  padding: 12px 14px 14px;
}

.hero--home-rebuild .hero-card__label {
  margin-bottom: 14px;
}

.hero--home-rebuild .hero-card__title {
  margin-bottom: 16px;
}

.hero--home-rebuild .hero-card__text {
  margin-bottom: 18px;
  line-height: 1.56;
}

.hero--home-rebuild .home-hero-slider {
  padding: 14px;
}

.hero--home-rebuild .home-hero-slider__dots {
  margin-top: 12px;
  padding-inline: 4px;
}

.hero--premium .hero__metrics,
.hero--premium .hero-card__chips {
  gap: 10px 16px;
}

.hero--premium .hero__metrics li,
.hero--premium .hero-card__chips span,
.line-intro__panel .hero__metrics li,
.product-page .hero__metrics li,
.product-page .hero-card__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0 0 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(223, 228, 236, 0.82);
  position: relative;
}

.hero--premium .hero__metrics li::before,
.hero--premium .hero-card__chips span::before,
.line-intro__panel .hero__metrics li::before,
.product-page .hero__metrics li::before,
.product-page .hero-card__chips span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.24em;
  bottom: 0.24em;
  width: 1px;
  height: auto;
  background: linear-gradient(180deg, rgba(222, 226, 232, 0.62), rgba(222, 226, 232, 0.14));
}

.hero--premium .hero__metrics li::after,
.hero--premium .hero-card__chips span::after,
.line-intro__panel .hero__metrics li::after,
.product-page .hero__metrics li::after,
.product-page .hero-card__chips span::after {
  display: none;
}

.hero--premium .hero__metric--price,
.line-intro__panel .hero__metric--price,
.product-page .hero__metric--price {
  font-weight: 600;
  color: var(--text);
}

html[data-theme="light"] .hero--premium .hero__metrics li,
html[data-theme="light"] .hero--premium .hero-card__chips span,
html[data-theme="light"] .line-intro__panel .hero__metrics li,
html[data-theme="light"] .product-page .hero__metrics li,
html[data-theme="light"] .product-page .hero-card__chips span {
  color: rgba(52, 59, 66, 0.84);
}

html[data-theme="light"] .hero--premium .hero__metrics li::before,
html[data-theme="light"] .hero--premium .hero-card__chips span::before,
html[data-theme="light"] .line-intro__panel .hero__metrics li::before,
html[data-theme="light"] .product-page .hero__metrics li::before,
html[data-theme="light"] .product-page .hero-card__chips span::before {
  background: linear-gradient(180deg, rgba(45, 51, 58, 0.5), rgba(45, 51, 58, 0.14));
}

@media (max-width: 1280px) {
  .hero--premium .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  }

  .hero--premium .hero__content--premium h1 {
    font-size: clamp(2.8rem, 4.5vw, 4.7rem);
  }
}

@media (max-width: 900px) {
  .hero--premium .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero--premium .hero__content--premium {
    padding: 24px 22px 26px;
  }

  .hero--premium .hero__content--premium h1 {
    max-width: none;
    font-size: clamp(2.2rem, 9.2vw, 3.3rem);
    line-height: 1;
  }

  .hero--premium .hero__metrics,
  .hero--premium .hero-card__chips {
    gap: 8px;
  }

  .hero--premium .hero__metrics li,
  .hero--premium .hero-card__chips span,
  .line-intro__panel .hero__metrics li,
  .product-page .hero__metrics li,
  .product-page .hero-card__chips span {
    width: 100%;
    justify-content: flex-start;
    padding-left: 12px;
  }
}

/* Homepage visit/map/footer refinement */
.home-visit__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(18, 20, 24, 0.92), rgba(12, 14, 18, 0.86));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.home-visit__copy,
.home-visit__meta {
  display: grid;
  align-content: start;
  gap: 14px;
}

.home-visit__copy h2,
.home-map-footer__intro h2 {
  margin: 0;
}

.home-visit__copy p,
.home-visit__location span,
.home-map-footer__intro p {
  color: var(--muted);
}

.home-visit__location {
  display: grid;
  gap: 8px;
  padding: 0 0 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-visit__location strong {
  color: var(--text);
  font-size: 1.05rem;
}

.home-visit__facts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-visit__facts li {
  position: relative;
  padding-left: 14px;
  color: rgba(226, 231, 238, 0.82);
}

.home-visit__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 1px;
  background: linear-gradient(180deg, rgba(222, 226, 232, 0.62), rgba(222, 226, 232, 0.14));
}

.home-map-footer {
  position: relative;
  margin-top: 24px;
}

.home-map-footer__surface {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.05), transparent 26%),
    linear-gradient(180deg, rgba(14, 16, 19, 0.98), rgba(8, 10, 12, 1));
}

.home-map-footer__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding-top: 32px;
  padding-bottom: 22px;
}

.home-map-footer__intro {
  max-width: 52rem;
}

.home-map-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.home-map-footer__canvas {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 13, 16, 0.92);
}

.home-map-footer__canvas iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
  filter: saturate(0.9) contrast(1.02);
}

.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(18, 20, 23, 0.98), rgba(11, 13, 16, 1));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 221, 230, 0.34), transparent);
  pointer-events: none;
}

.site-footer__inner {
  padding: 34px 0 30px;
}

.site-footer__title {
  letter-spacing: 0.03em;
}

html[data-theme="light"] .home-visit__panel {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 240, 234, 0.9));
}

html[data-theme="light"] .home-visit__location {
  border-bottom-color: rgba(29, 33, 38, 0.08);
}

html[data-theme="light"] .home-visit__facts li {
  color: rgba(52, 59, 66, 0.82);
}

html[data-theme="light"] .home-visit__facts li::before {
  background: linear-gradient(180deg, rgba(45, 51, 58, 0.5), rgba(45, 51, 58, 0.14));
}

html[data-theme="light"] .home-map-footer__surface,
html[data-theme="light"] .site-footer {
  background:
    radial-gradient(circle at top center, rgba(29, 33, 38, 0.04), transparent 24%),
    linear-gradient(180deg, rgba(250, 248, 244, 0.98), rgba(241, 236, 228, 1));
}

html[data-theme="light"] .home-map-footer__canvas {
  border-top-color: rgba(29, 33, 38, 0.08);
}

@media (max-width: 900px) {
  .section-heading--home-intro,
  .section-heading--catalog-overview,
  .home-visit__panel,
  .home-map-footer__head {
    grid-template-columns: 1fr;
  }

  .section-heading--home-intro > p,
  .section-heading--catalog-overview > p {
    max-width: none;
    margin-left: 0;
  }

  .home-map-footer__actions {
    justify-content: flex-start;
  }

  .home-map-footer__canvas,
  .home-map-footer__canvas iframe {
    min-height: 360px;
    height: 360px;
  }
}

@media (max-width: 640px) {
  .pain-grid--home-intro {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pain-grid--home-intro .pain-card {
    padding: 20px 18px 18px;
  }

  .home-visit__panel {
    padding: 20px 18px;
    gap: 18px;
  }

  .home-map-footer {
    margin-top: 12px;
  }

  .home-map-footer__head {
    padding-top: 22px;
    padding-bottom: 16px;
  }

  .home-map-footer__canvas,
  .home-map-footer__canvas iframe {
    min-height: 300px;
    height: 300px;
  }
}

/* Mobile/header/home polish after map/footer rebuild */
@media (max-width: 900px) {
  .site-header {
    padding-block: 8px;
  }

  .site-header__inner {
    min-height: 0;
    gap: 14px;
  }

  .brand--logo img {
    height: 40px;
    max-width: 168px;
  }

  .site-nav {
    gap: 10px;
    padding-bottom: 2px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero--premium {
    padding-top: 16px;
  }

  .hero--premium .hero__content--premium {
    padding: 20px 18px 22px;
  }

  .hero--premium .hero__content--premium h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 0.98;
    max-width: 11.2ch;
  }

  .hero--premium .hero__lead {
    font-size: 14px;
    line-height: 1.52;
    max-width: 32rem;
  }

  .hero--premium .hero-card--hero {
    padding: 16px 16px 18px;
  }

  .hero--premium .hero-card__title {
    font-size: 1.3rem;
    line-height: 1.14;
  }

  .hero--premium .home-hero-slider {
    padding: 8px;
  }

  .hero--premium .home-hero-slider__viewport {
    height: 216px;
  }

  .home-visit__location strong {
    font-size: 1rem;
  }

  .home-map-footer__intro {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-main {
    padding-top: calc(var(--header-offset) - 10px);
  }

  .site-header__inner {
    gap: 10px;
  }

  .brand--logo img {
    height: 34px;
    max-width: 148px;
  }

  .site-nav {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .site-nav a {
    white-space: nowrap;
    font-size: 12px;
  }

  .hero--premium .hero__content--premium h1 {
    font-size: clamp(1.72rem, 8vw, 2.35rem);
    line-height: 0.98;
    max-width: 11.8ch;
  }

  .hero--premium .hero__lead {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero--premium .home-hero-slider__viewport {
    height: 198px;
  }

  .hero--premium .home-hero-slide__overlay {
    padding: 10px 12px 12px;
  }

  .hero--premium .home-hero-slide__overlay .eyebrow {
    margin-bottom: 4px;
    font-size: 11px;
  }

  .hero--premium .home-hero-slide__overlay p {
    font-size: 12.5px;
    line-height: 1.42;
  }

  .home-visit__facts {
    gap: 8px;
  }

  .home-map-footer__actions,
  .home-visit__meta .hero__actions {
    width: 100%;
  }

  .home-map-footer__actions .button,
  .home-visit__meta .hero__actions .button {
    width: 100%;
  }

  .site-footer__inner {
    padding: 26px 0 24px;
    gap: 18px;
  }

  .site-footer__title {
    font-size: 18px;
  }

  .site-footer__label {
    margin-bottom: 8px;
    letter-spacing: 0.12em;
  }
}

.hero--immersive.hero--ember .button--primary,
.hero--immersive.hero--meadow .button--primary,
.hero--immersive.hero--frost .button--primary,
.hero--immersive.hero--steel .button--primary,
.hero--immersive.hero--timber .button--primary,
.hero--immersive.hero--coal .button--primary,
.line-intro__panel--ember .button--accented,
.line-intro__panel--meadow .button--accented,
.line-intro__panel--frost .button--accented,
.line-intro__panel--steel .button--accented,
.line-intro__panel--timber .button--accented,
.line-intro__panel--coal .button--accented {
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  border-color: transparent;
  box-shadow: none;
}

.section-heading--ember::before,
.section-heading--meadow::before,
.section-heading--frost::before,
.section-heading--steel::before,
.section-heading--timber::before,
.section-heading--coal::before {
  background: linear-gradient(180deg, rgba(180, 184, 190, 0.82), rgba(180, 184, 190, 0.18));
}

.section-heading--ember .eyebrow,
.section-heading--meadow .eyebrow,
.section-heading--frost .eyebrow,
.section-heading--steel .eyebrow,
.section-heading--timber .eyebrow,
.section-heading--coal .eyebrow {
  color: var(--accent);
}

/* Final mobile header and clarity pass */
@media (max-width: 720px) {
  :root {
    --header-offset: 76px;
  }

  body::before,
  .hero-brandmark,
  .hero-grid-glow,
  .hero-orb {
    display: none;
  }

  .site-header {
    padding-top: max(0px, env(safe-area-inset-top));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 8, 9, 0.96);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  }

  html[data-theme="light"] .site-header {
    background: rgba(247, 244, 239, 0.98);
    box-shadow: 0 8px 18px rgba(80, 64, 45, 0.08);
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions";
    min-height: 56px;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    align-items: center;
  }

  .brand--logo img {
    height: 30px;
    max-width: 124px;
  }

  .site-nav {
    display: none;
  }

  .site-header__actions {
    width: auto;
    gap: 8px;
    align-items: center;
    justify-self: end;
  }

  .site-header__contacts {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-items: unset;
  }

  .site-header__contact-row,
  .site-header__cta-row {
    width: auto;
    gap: 6px;
    align-items: center;
  }

  .site-header__contact-inline {
    min-height: 0;
    font-size: 11px;
    line-height: 1;
  }

  .site-header__contact-row .site-header__contact-inline--email,
  .site-header__cta-row .button {
    display: none;
  }

  .site-header__cta-row {
    display: flex;
  }

  .site-header__contact-socials {
    gap: 4px;
  }

  .site-header__cta-row .site-header__messenger {
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }

  .theme-switch {
    gap: 2px;
    padding: 2px;
  }

  .theme-switch__button {
    min-height: 24px;
    padding: 0 7px;
    font-size: 10px;
  }

  .site-header__menu-toggle {
    display: inline-grid;
    grid-template-columns: 14px auto;
    align-items: center;
    gap: 8px 10px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
  }

  html[data-theme="light"] .site-header__menu-toggle {
    background: rgba(29, 33, 38, 0.04);
  }

  .site-header__menu-toggle span:nth-child(-n+3) {
    display: block;
    width: 14px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    grid-column: 1;
  }

  .site-header__menu-toggle span:nth-child(1) { transform: translateY(0); }
  .site-header__menu-toggle span:nth-child(2) { transform: translateY(0); }
  .site-header__menu-toggle span:nth-child(3) { transform: translateY(0); }

  .site-header__menu-label {
    grid-column: 2;
    grid-row: 1 / span 3;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.04em;
  }

  .site-header.is-menu-open .site-header__menu-toggle span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.is-menu-open .site-header__menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .site-header__menu-toggle span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-header.is-menu-open .site-header__mobile-panel {
    display: block;
  }

  .site-header__mobile-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0 0 12px;
    background: inherit;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  }

  .site-header__mobile-panel-inner {
    display: grid;
    gap: 12px;
    padding-top: 12px;
  }

  .site-header__mobile-nav,
  .site-header__mobile-extra {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
  }

  html[data-theme="light"] .site-header__mobile-nav,
  html[data-theme="light"] .site-header__mobile-extra {
    background: rgba(29, 33, 38, 0.035);
  }

  .site-header__mobile-nav a,
  .site-header__mobile-extra a {
    font-size: 14px;
    line-height: 1.3;
  }

  .mobile-menu-open {
    overflow: hidden;
  }

  .hero--immersive .hero__bg::before {
    background-attachment: scroll;
    transform: none;
  }

  .hero--premium .hero__content--premium,
  .hero-card,
  .home-hero-slider,
  .line-intro__panel,
  .gallery-strip-shell,
  .lead-form-box,
  .product-card,
  .offer-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  html[data-theme="light"] .hero--premium .hero__content--premium,
  html[data-theme="light"] .hero-card,
  html[data-theme="light"] .home-hero-slider,
  html[data-theme="light"] .line-intro__panel,
  html[data-theme="light"] .gallery-strip-shell,
  html[data-theme="light"] .lead-form-box,
  html[data-theme="light"] .product-card,
  html[data-theme="light"] .offer-card {
    background: #f9f5ef;
  }

  .hero--premium .hero__content--premium {
    padding: 18px 16px 20px;
  }

  .hero--premium .hero__content--premium h1 {
    max-width: 10.6ch;
    font-size: clamp(1.9rem, 8vw, 2.7rem);
    line-height: 0.98;
  }

  .hero--premium .hero__lead {
    max-width: none;
    font-size: 14px;
    line-height: 1.58;
  }
}

.accent-frame--ember,
.accent-frame--meadow,
.accent-frame--frost,
.accent-frame--steel,
.accent-frame--timber,
.accent-frame--coal {
  --frame-accent: rgba(176, 181, 188, 0.72);
  --frame-glow: rgba(176, 181, 188, 0.08);
}

.product-card--ember,
.offer-card--ember,
.gallery-card--ember,
.product-card--meadow,
.offer-card--meadow,
.gallery-card--meadow,
.product-card--frost,
.offer-card--frost,
.gallery-card--frost,
.product-card--steel,
.offer-card--steel,
.gallery-card--steel,
.product-card--timber,
.offer-card--timber,
.gallery-card--timber,
.product-card--coal,
.offer-card--coal,
.gallery-card--coal {
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .product-card--ember,
html[data-theme="light"] .offer-card--ember,
html[data-theme="light"] .gallery-card--ember,
html[data-theme="light"] .product-card--meadow,
html[data-theme="light"] .offer-card--meadow,
html[data-theme="light"] .gallery-card--meadow,
html[data-theme="light"] .product-card--frost,
html[data-theme="light"] .offer-card--frost,
html[data-theme="light"] .gallery-card--frost,
html[data-theme="light"] .product-card--steel,
html[data-theme="light"] .offer-card--steel,
html[data-theme="light"] .gallery-card--steel,
html[data-theme="light"] .product-card--timber,
html[data-theme="light"] .offer-card--timber,
html[data-theme="light"] .gallery-card--timber,
html[data-theme="light"] .product-card--coal,
html[data-theme="light"] .offer-card--coal,
html[data-theme="light"] .gallery-card--coal {
  border-color: rgba(29, 33, 38, 0.08);
}

.offer-card--ember .offer-card__value--price,
.offer-card--meadow .offer-card__value--price,
.offer-card--frost .offer-card__value--price,
.offer-card--steel .offer-card__value--price,
.offer-card--timber .offer-card__value--price,
.offer-card--coal .offer-card__value--price,
.hero--ember .hero__metric--price,
.hero--meadow .hero__metric--price,
.hero--frost .hero__metric--price,
.hero--steel .hero__metric--price,
.hero--timber .hero__metric--price,
.hero--coal .hero__metric--price {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

html[data-theme="light"] .offer-card--ember .offer-card__value--price,
html[data-theme="light"] .offer-card--meadow .offer-card__value--price,
html[data-theme="light"] .offer-card--frost .offer-card__value--price,
html[data-theme="light"] .offer-card--steel .offer-card__value--price,
html[data-theme="light"] .offer-card--timber .offer-card__value--price,
html[data-theme="light"] .offer-card--coal .offer-card__value--price,
html[data-theme="light"] .hero--ember .hero__metric--price,
html[data-theme="light"] .hero--meadow .hero__metric--price,
html[data-theme="light"] .hero--frost .hero__metric--price,
html[data-theme="light"] .hero--steel .hero__metric--price,
html[data-theme="light"] .hero--timber .hero__metric--price,
html[data-theme="light"] .hero--coal .hero__metric--price {
  border-color: rgba(29, 33, 38, 0.12);
  background: rgba(29, 33, 38, 0.08);
}

/* Home page rebuild */

.hero--home-rebuild {
  position: relative;
  min-height: calc(100svh - 24px);
  overflow: hidden;
}

.hero--home-rebuild .hero__bg--photo {
  position: absolute;
  inset: 0;
}

.hero--home-rebuild .hero__bg--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero--home-rebuild .hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero--home-rebuild .hero__grid {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 24px);
  padding-top: clamp(92px, 10vh, 128px);
  padding-bottom: 56px;
  align-items: end;
}

.home-hero__content {
  max-width: 760px;
  background: linear-gradient(180deg, rgba(13, 15, 18, 0.28), rgba(9, 10, 12, 0.12));
  backdrop-filter: blur(8px);
}

.home-hero__content h1 {
  max-width: 11ch;
}

.home-hero__sublead {
  max-width: 60ch;
  margin: -10px 0 0;
  color: rgba(243, 244, 246, 0.82);
  font-size: 15px;
}

.home-hero__metrics {
  max-width: 760px;
}

.home-hero__panel {
  width: min(100%, 420px);
}

.home-section-heading p {
  max-width: 62ch;
}

.home-benefits__grid,
.home-process__grid,
.home-production__grid,
.home-audience__grid,
.home-custom__grid,
.home-works__grid,
.home-faq__grid {
  display: grid;
  gap: 20px;
}


/* Final override: homepage hero + 4-card scenarios */

.hero--home-story {
  position: relative;
  min-height: 360svh;
  isolation: isolate;
}

.hero--home-story .container {
  position: relative;
  z-index: 2;
  min-height: 100svh;
}

.hero--home-story .hero__bg--photo {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: clip;
}

.hero--home-story .hero__bg--photo img {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  object-fit: cover;
  object-position: center center;
  transform: scale(var(--home-hero-scale));
  transition: transform 180ms linear;
}

.hero--home-story .hero__bg-overlay,
html[data-theme="light"] .hero--home-story .hero__bg-overlay,
.hero--home-story.is-story-blank .hero__bg-overlay,
html[data-theme="light"] .hero--home-story.is-story-blank .hero__bg-overlay {
  background:
    linear-gradient(180deg, rgba(6, 8, 12, 0.02) 0%, rgba(6, 8, 12, 0.04) 52%, rgba(6, 8, 12, 0.08) 100%),
    linear-gradient(90deg, rgba(6, 8, 12, 0.04) 0%, rgba(6, 8, 12, 0.012) 36%, rgba(6, 8, 12, 0.012) 66%, rgba(6, 8, 12, 0.04) 100%);
}

.home-hero-story-blankcue {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 100svh;
  display: grid;
  place-items: end start;
  padding: clamp(96px, 8vw, 118px) 0 clamp(36px, 4vw, 50px);
  pointer-events: none;
}

.home-hero-story-blankcue span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 16, 0.3);
  color: rgba(246, 247, 248, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-hero-story {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-areas:
    "title"
    "panel";
  gap: 16px;
  width: min(100%, 820px);
  max-width: 100%;
  align-self: end;
  padding-bottom: clamp(8px, 1.5vw, 20px);
}

.home-hero-story-stack {
  grid-area: panel;
  position: relative;
  width: min(100%, 620px);
  min-height: 330px;
}

.home-hero-story-shell {
  position: sticky;
  top: 0;
  z-index: 4;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(96px, 8vw, 118px) 0 clamp(36px, 4vw, 50px);
  overflow: clip;
}

.hero--home-story .home-hero-story-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.85s cubic-bezier(.19,1,.22,1),
    transform 0.85s cubic-bezier(.19,1,.22,1),
    visibility 0.85s step-end;
}

.hero--home-story.is-story-ready .home-hero-story-card.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.home-hero-story-card {
  width: min(100%, 620px);
  padding: clamp(20px, 2vw, 28px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 13, 17, 0.56), rgba(8, 10, 14, 0.34));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.home-hero-story-card--main,
.home-hero-story-card--title {
  grid-area: title;
  width: min(100%, 820px);
  padding: clamp(24px, 2.6vw, 34px);
  background: linear-gradient(180deg, rgba(10, 13, 17, 0.48), rgba(8, 10, 14, 0.26));
}

.home-hero-story-card--main h1 {
  max-width: 10.5ch;
  margin: 0;
  color: #f7f8fa;
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-hero-story-card--main .hero__lead {
  max-width: 42ch;
  margin: 18px 0 0;
  color: rgba(246, 247, 248, 0.98);
  font-size: clamp(1.06rem, 1.34vw, 1.28rem);
  line-height: 1.55;
}

.home-hero-story-card--main .home-hero__sublead {
  max-width: 54ch;
  margin: 14px 0 0;
  color: rgba(232, 236, 241, 0.9);
  font-size: 0.98rem;
  line-height: 1.64;
}

.home-hero-story-card--step {
  position: absolute;
  inset: 0;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.home-hero-story-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 999px;
  border: 1px solid rgba(198, 170, 136, 0.28);
  background: rgba(198, 170, 136, 0.08);
  color: rgba(231, 205, 169, 0.98);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-hero-story-card--step h2 {
  margin: 0;
  color: #f7f8fa;
  font-size: clamp(1.76rem, 2.36vw, 2.5rem);
  line-height: 0.98;
}

.home-hero-story-card--step p {
  margin: 16px 0 0;
  max-width: 30ch;
  color: rgba(241, 243, 247, 0.94);
  font-size: clamp(0.98rem, 1.14vw, 1.05rem);
  line-height: 1.58;
}

.home-hero-story-card--actions .hero__actions {
  margin-top: 22px;
  gap: 12px;
}

.home-hero-story-card--actions .button {
  min-height: 52px;
  padding-inline: 22px;
}

.home-hero-story-card--accent {
  background: linear-gradient(180deg, rgba(24, 18, 12, 0.38), rgba(10, 10, 10, 0.22));
}

.home-scenarios__panel {
  padding: clamp(18px, 2vw, 26px);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(182, 153, 119, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(12, 14, 18, 0.84), rgba(10, 12, 16, 0.76));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

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

.home-scenario-card {
  min-width: 0;
}

.home-scenario-card__link {
  display: grid;
  grid-template-rows: minmax(280px, 22vw) auto;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 17, 21, 0.96), rgba(10, 12, 16, 0.9));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.16);
  color: inherit;
  text-decoration: none;
}

.home-scenario-card__media {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.home-scenario-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 300ms ease;
}

.home-scenario-card__body {
  display: grid;
  gap: 10px;
  padding: 22px 22px 24px;
}

.home-scenario-card__body strong {
  color: var(--text-primary);
  font-size: clamp(1.42rem, 1.8vw, 1.82rem);
  line-height: 1.06;
}

.home-scenario-card__body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.62;
}

html[data-theme="light"] .home-hero-story-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(10, 13, 17, 0.52), rgba(8, 10, 14, 0.32));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .home-hero-story-card--main,
html[data-theme="light"] .home-hero-story-card--title {
  background: linear-gradient(180deg, rgba(10, 13, 17, 0.46), rgba(8, 10, 14, 0.24));
}

html[data-theme="light"] .home-hero-story-card--main h1,
html[data-theme="light"] .home-hero-story-card--step h2 {
  color: #f7f8fa;
}

html[data-theme="light"] .home-hero-story-card--main .hero__lead,
html[data-theme="light"] .home-hero-story-card--main .home-hero__sublead,
html[data-theme="light"] .home-hero-story-card--step p {
  color: rgba(241, 243, 247, 0.94);
}

html[data-theme="light"] .home-hero-story-card--actions .button--primary {
  color: #f7f3eb;
  background: #20252c;
  border-color: #20252c;
}

html[data-theme="light"] .home-hero-story-card--actions .button--secondary {
  color: rgba(22, 28, 36, 0.96);
  background: rgba(255, 252, 247, 0.3);
  border-color: rgba(39, 30, 18, 0.12);
}

html[data-theme="light"] .home-hero-story-blankcue span {
  border-color: rgba(39, 30, 18, 0.12);
  background: rgba(255, 252, 247, 0.36);
  color: rgba(31, 37, 43, 0.9);
}

html[data-theme="light"] .home-scenarios__panel {
  border-color: rgba(39, 30, 18, 0.08);
  background:
    radial-gradient(circle at top left, rgba(182, 153, 119, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.78), rgba(248, 244, 236, 0.72));
}

html[data-theme="light"] .home-scenario-card__link {
  border-color: rgba(39, 30, 18, 0.08);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(249, 246, 240, 0.92));
  box-shadow: 0 18px 40px rgba(94, 76, 50, 0.08);
}

@media (max-width: 1080px) {
  .hero--home-story {
    min-height: 320svh;
  }

  .home-scenarios__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero--home-story {
    min-height: auto;
  }

  .hero--home-story .hero__bg--photo {
    position: absolute;
    inset: 0;
    min-height: 100%;
  }

  .hero--home-story .hero__bg--photo img {
    min-height: 100%;
  }

  .home-hero-story-blankcue {
    display: none;
  }

  .home-hero-story-shell {
    position: relative;
    min-height: auto;
    padding: 24px 0 12px;
  }

  .home-hero-story {
    gap: 12px;
    width: 100%;
  }

  .home-hero-story-stack {
    width: 100%;
    min-height: auto;
  }

  .home-hero-story-card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    width: 100%;
    border-radius: 22px;
    padding: 22px 20px;
  }

  .home-hero-story-card--main,
  .home-hero-story-card--title {
    width: 100%;
  }

  .home-hero-story-card--main h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 4.4rem);
    line-height: 0.94;
  }

  .home-hero-story-card--main .hero__actions,
  .home-hero-story-card--actions .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-story-card--main .hero__actions .button,
  .home-hero-story-card--actions .hero__actions .button {
    width: 100%;
    justify-content: center;
  }

  .home-hero-story-card--step h2 {
    font-size: 1.38rem;
  }

  .home-hero-story-card--step p {
    max-width: none;
    font-size: 0.98rem;
  }

  .home-hero-story-card--step {
    position: relative;
    inset: auto;
    min-height: auto;
  }

  .home-scenario-card__link {
    grid-template-rows: minmax(220px, 54vw) auto;
  }
}

/* Home rebuild: prompt-based homepage */
.home-hero-lite {
  min-height: min(100svh, 980px);
}

.home-hero-lite .hero__bg-overlay {
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.18) 0%, rgba(8, 10, 14, 0.12) 45%, rgba(8, 10, 14, 0.2) 100%);
}

.home-hero-lite__inner {
  padding: clamp(96px, 9vw, 148px) 0 clamp(48px, 7vw, 88px);
}

.home-hero-lite__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 420px);
  gap: 24px;
  align-items: end;
}

.home-hero-lite__content {
  width: min(100%, 820px);
  padding: clamp(26px, 2.7vw, 38px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.72), rgba(10, 12, 16, 0.48));
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-hero-lite__content h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 5.1vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.home-hero-lite__content .hero__lead {
  max-width: 39rem;
  margin-top: 18px;
  color: rgba(244, 246, 249, 0.94);
}

.home-hero-lite__trust {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.home-hero-lite__trust li {
  position: relative;
  padding-left: 18px;
  color: rgba(240, 226, 203, 0.92);
  line-height: 1.5;
}

.home-hero-lite__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(214, 181, 139, 0.94);
}

.home-hero-lite__aside {
  display: flex;
  align-items: stretch;
}

.home-hero-lite__aside-card {
  width: 100%;
  padding: 24px 24px 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(11, 13, 17, 0.68), rgba(11, 13, 17, 0.44));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-hero-steps {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.home-hero-steps li {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-hero-steps li:first-child {
  padding-top: 0;
  border-top: 0;
}

.home-hero-steps strong {
  color: var(--text-primary);
  font-size: 1.04rem;
  line-height: 1.35;
}

.home-hero-steps span {
  color: var(--text-secondary);
  line-height: 1.55;
}

.home-hero-lite__aside-actions {
  margin-top: 20px;
}

.home-section-heading {
  align-items: end;
}

.home-section-heading p {
  max-width: 42rem;
}

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

.home-lines-grid__item {
  min-height: 100%;
}

.home-why__cards--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-why__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(226, 205, 174, 0.94);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-work-card {
  min-height: 100%;
}

.home-work-card__link {
  display: grid;
  overflow: hidden;
  min-height: 100%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(11, 13, 17, 0.82), rgba(10, 12, 16, 0.78));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home-work-card__link:hover,
.home-work-card__link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(214, 181, 139, 0.24);
  box-shadow: 0 30px 58px rgba(0, 0, 0, 0.22);
  outline: none;
}

.home-work-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.04);
}

.home-work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-work-card__body {
  display: grid;
  gap: 10px;
  padding: 20px 20px 22px;
}

.home-work-card__body strong {
  color: var(--text-primary);
  font-size: 1.3rem;
  line-height: 1.1;
}

.home-work-card__body p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.56;
}

.home-final-cta__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

html[data-theme="light"] .home-hero-lite__content {
  border-color: rgba(47, 38, 22, 0.1);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.78), rgba(250, 245, 237, 0.6));
  box-shadow: 0 22px 52px rgba(94, 76, 50, 0.1);
}

html[data-theme="light"] .home-hero-lite__content h1,
html[data-theme="light"] .home-work-card__body strong {
  color: #17202a;
}

html[data-theme="light"] .home-hero-lite__content .hero__lead,
html[data-theme="light"] .home-hero-steps span,
html[data-theme="light"] .home-work-card__body p {
  color: #52606d;
}

html[data-theme="light"] .home-hero-lite__trust li {
  color: #7f5f38;
}

html[data-theme="light"] .home-hero-lite__aside-card {
  border-color: rgba(47, 38, 22, 0.1);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.72), rgba(250, 245, 237, 0.54));
  box-shadow: 0 22px 52px rgba(94, 76, 50, 0.08);
}

html[data-theme="light"] .home-hero-steps li {
  border-top-color: rgba(47, 38, 22, 0.08);
}

html[data-theme="light"] .home-hero-steps strong {
  color: #17202a;
}

html[data-theme="light"] .home-why__index {
  border-color: rgba(47, 38, 22, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: #8f6a41;
}

html[data-theme="light"] .home-work-card__link {
  border-color: rgba(29, 33, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 240, 232, 0.92));
  box-shadow: 0 18px 36px rgba(80, 64, 45, 0.08);
}

@media (max-width: 1180px) {
  .home-hero-lite__layout,
  .home-works-grid,
  .home-why__cards--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-lite__layout {
    align-items: stretch;
  }

  .home-final-cta__panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .home-hero-lite {
    min-height: auto;
  }

  .home-hero-lite__inner {
    padding: 104px 0 28px;
  }

  .home-hero-lite__layout,
  .home-lines-grid,
  .home-works-grid,
  .home-why__cards--grid {
    grid-template-columns: 1fr;
  }

  .home-hero-lite__content,
  .home-hero-lite__aside-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .home-hero-lite__content h1 {
    max-width: none;
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  .home-hero-lite__trust {
    gap: 8px;
  }
}

/* Hard stop override for hero visibility logic */

.hero--home-story .home-hero-story-stack {
  grid-area: panel !important;
  position: relative !important;
  width: min(100%, 620px) !important;
  min-height: 330px !important;
}

.hero--home-story .home-hero-story-card {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate3d(0, 28px, 0) !important;
}

.hero--home-story.is-story-ready .home-hero-story-card.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate3d(0, 0, 0) !important;
}

.hero--home-story .home-hero-story-card:not(.is-visible) *,
.hero--home-story.is-story-blank .home-hero-story-card * {
  opacity: 0 !important;
}

.hero--home-story .home-hero-story-card.is-visible * {
  opacity: 1 !important;
}

.hero--home-story .home-hero-story-card--step {
  position: absolute !important;
  inset: 0 !important;
  min-height: 330px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.hero--home-story .home-hero-story-card--main,
.hero--home-story .home-hero-story-card--title {
  position: relative !important;
}

@media (max-width: 720px) {
  .hero--home-story .home-hero-story-card,
  .hero--home-story .home-hero-story-card:not(.is-visible) *,
  .hero--home-story.is-story-blank .home-hero-story-card * {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .hero--home-story .home-hero-story-card--step {
    position: relative !important;
    inset: auto !important;
    min-height: auto !important;
  }

  .hero--home-story .home-hero-story-stack {
    width: 100% !important;
    min-height: auto !important;
  }
}

/* Light redesign baseline: header, hero, featured models */

.home-hero-lite {
  position: relative;
  min-height: min(92svh, 880px);
  display: grid;
  align-items: center;
  overflow: clip;
}

.home-hero-lite .hero__bg--photo {
  position: absolute;
  inset: 0;
}

.home-hero-lite .hero__bg--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-hero-lite .hero__bg-overlay {
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.32) 0%, rgba(8, 10, 14, 0.12) 45%, rgba(8, 10, 14, 0.06) 100%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.1) 0%, rgba(8, 10, 14, 0.14) 100%);
}

.home-hero-lite__inner {
  position: relative;
  z-index: 2;
  padding: clamp(120px, 12vw, 176px) 0 clamp(48px, 7vw, 88px);
}

.home-hero-lite__content {
  width: min(100%, 680px);
  padding: clamp(26px, 2.8vw, 36px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.58), rgba(10, 12, 16, 0.34));
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-hero-lite__content h1 {
  margin: 0;
  max-width: 11ch;
  color: #f7f8fa;
  font-size: clamp(2.9rem, 5.6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-hero-lite__content .hero__lead {
  max-width: 42ch;
  margin: 18px 0 0;
  color: rgba(244, 246, 249, 0.96);
  font-size: clamp(1.04rem, 1.3vw, 1.2rem);
  line-height: 1.58;
}

.home-hero-lite__content .hero__actions {
  gap: 12px;
  margin-top: 24px;
}

.home-hero-lite__trust {
  margin: 16px 0 0;
  color: rgba(231, 205, 169, 0.96);
  font-size: 0.92rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.catalog-tabs__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.catalog-tabs__tab.is-active,
.catalog-tabs__tab:hover,
.catalog-tabs__tab:focus-visible {
  color: var(--text-primary);
  border-color: rgba(182, 153, 119, 0.32);
  background: rgba(182, 153, 119, 0.08);
  outline: none;
}

.line-grid--products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.line-grid--products .line-card {
  display: flex;
  flex-direction: column;
}

.line-grid--products .line-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.36rem, 1.7vw, 1.7rem);
  line-height: 1.06;
}

.line-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.line-card__actions .button {
  flex: 1 1 0;
  min-height: 46px;
  justify-content: center;
}

html[data-theme="light"] .home-hero-lite__content {
  border-color: rgba(39, 30, 18, 0.08);
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.84), rgba(249, 245, 239, 0.72));
  box-shadow: 0 24px 56px rgba(94, 76, 50, 0.1);
}

html[data-theme="light"] .home-hero-lite__content h1 {
  color: #1c222a;
}

html[data-theme="light"] .home-hero-lite__content .hero__lead {
  color: #51606d;
}

html[data-theme="light"] .catalog-tabs__tab {
  background: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1180px) {
  .line-grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-hero-lite {
    min-height: auto;
  }

  .home-hero-lite__inner {
    padding: 112px 0 28px;
  }

  .home-hero-lite__content {
    width: 100%;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .home-hero-lite__content h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10.5vw, 3.2rem);
  }

  .home-hero-lite__content .hero__lead {
    font-size: 1rem;
  }

  .home-hero-lite__content .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-lite__content .hero__actions .button {
    width: 100%;
  }

  .catalog-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-inline: -2px;
  }

  .catalog-tabs__tab {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .line-grid--products {
    grid-template-columns: 1fr;
  }

  .line-card__actions {
    flex-direction: column;
  }
}
.home-scenarios__panel {
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(182, 153, 119, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(12, 14, 18, 0.82), rgba(10, 12, 16, 0.74));
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.2);
}

.home-scenarios__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-custom-project {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.home-custom-project__content {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .home-custom-project__content {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(96, 79, 55, 0.08);
}

.home-custom-project__content h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.7rem, 2.3vw, 2.4rem);
  line-height: 1.08;
}

.home-custom-project__content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.64;
}

.home-custom-project__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-custom-project__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .home-custom-project__media {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(96, 79, 55, 0.08);
}

.home-custom-project__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.home-scenario-card {
  min-width: 0;
}

.home-scenario-card__link {
  display: grid;
  grid-template-rows: minmax(260px, 30vw) auto;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(14, 17, 21, 0.94), rgba(10, 12, 16, 0.88));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-scenario-card__link:hover,
.home-scenario-card__link:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(182, 153, 119, 0.32);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.24);
  outline: none;
}

.home-scenario-card__media {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.home-scenario-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0), rgba(10, 12, 16, 0.18));
  pointer-events: none;
}

.home-scenario-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 360ms ease;
}

.home-scenario-card__link:hover .home-scenario-card__media img,
.home-scenario-card__link:focus-visible .home-scenario-card__media img {
  transform: scale(1.035);
}

.home-scenario-card__body {
  display: grid;
  gap: 10px;
  padding: 22px 22px 24px;
}

.home-scenario-card__body strong {
  color: var(--text-primary);
  font-size: clamp(1.34rem, 1.8vw, 1.72rem);
  line-height: 1.05;
}

.home-scenario-card__body p {
  margin: 0;
  max-width: 34ch;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.home-parallax {
  position: relative;
  overflow: hidden;
}

.home-parallax__bg {
  position: absolute;
  inset: 0;
  background: url("../uploads/home-slider/grill-station-hero.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.home-parallax__panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 40px);
  background: linear-gradient(180deg, rgba(14, 16, 20, 0.2), rgba(10, 12, 15, 0.08));
  backdrop-filter: blur(6px);
}

.home-process__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-process__card,
.home-production__card,
.home-audience__card,
.home-custom__card {
  min-height: 100%;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.home-process__step {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-process__card h3,
.home-production__card h3,
.home-audience__card h3,
.home-custom__card h3,
.home-work-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.15;
}

.home-process__card p,
.home-production__card p,
.home-audience__card p,
.home-custom__card p,
.home-work-card p {
  margin: 0;
  color: var(--muted);
}

.home-production__grid,
.home-audience__grid,
.home-custom__grid,
.home-works__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-work-card {
  overflow: hidden;
}

.home-work-card .story-card__media {
  aspect-ratio: 1.12;
}

.home-work-card .story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-work-card .story-card__body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.home-custom__cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-faq__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-faq__card {
  min-height: 100%;
}

html[data-theme="light"] .hero--home-rebuild .hero__bg-overlay {
  background: transparent;
}

html[data-theme="light"] .home-hero__content,
html[data-theme="light"] .home-parallax__panel,
html[data-theme="light"] .home-scenario-card__link,
html[data-theme="light"] .home-process__card,
html[data-theme="light"] .home-production__card,
html[data-theme="light"] .home-audience__card,
html[data-theme="light"] .home-custom__card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(248, 244, 237, 0.16));
}

html[data-theme="light"] .home-hero__sublead {
  color: #49515a;
}

html[data-theme="light"] .home-scenarios__panel {
  border-color: rgba(29, 33, 38, 0.08);
  background:
    radial-gradient(circle at top left, rgba(182, 153, 119, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 231, 0.92));
  box-shadow: 0 24px 52px rgba(80, 64, 45, 0.08);
}

html[data-theme="light"] .hero--home-rebuild .hero-card--hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(247, 241, 233, 0.14));
  box-shadow: 0 18px 44px rgba(92, 76, 52, 0.08);
}

html[data-theme="light"] .hero--home-rebuild .home-hero-slider {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(247, 241, 233, 0.14));
}

html[data-theme="light"] .hero--home-rebuild .home-hero-slider__viewport {
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .hero--home-rebuild .home-hero-slide__overlay {
  border-top-color: rgba(29, 33, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(247, 241, 233, 0.18));
}

html[data-theme="light"] .hero--home-rebuild .home-hero-slide__overlay::before {
  border-top-color: rgba(29, 33, 38, 0.12);
}

html[data-theme="light"] .hero--home-rebuild .home-hero-slide__overlay .eyebrow {
  color: rgba(142, 107, 68, 0.96);
}

html[data-theme="light"] .hero--home-rebuild .home-hero-slide__overlay p {
  color: rgba(38, 43, 50, 0.88);
}

html[data-theme="light"] .hero--home-rebuild .hero-card__label {
  color: rgba(142, 107, 68, 0.96);
}

html[data-theme="light"] .hero--home-rebuild .hero-card__title {
  color: rgba(27, 31, 36, 0.96);
}

html[data-theme="light"] .hero--home-rebuild .hero-card__text,
html[data-theme="light"] .hero--home-rebuild .hero__lead,
html[data-theme="light"] .hero--home-rebuild .hero__sublead,
html[data-theme="light"] .home-section-heading p,
html[data-theme="light"] .home-scenario-card__body p,
html[data-theme="light"] .home-process__card p,
html[data-theme="light"] .home-production__card p,
html[data-theme="light"] .home-audience__card p,
html[data-theme="light"] .home-custom__card p,
html[data-theme="light"] .home-work-card p,
html[data-theme="light"] .offer-card__row span,
html[data-theme="light"] .product-card p,
html[data-theme="light"] .product-card__submeta,
html[data-theme="light"] .product-card__status {
  color: rgba(64, 72, 80, 0.9);
}

html[data-theme="light"] .hero--home-rebuild .hero__metrics li,
html[data-theme="light"] .hero--home-rebuild .hero-card__chips span {
  color: rgba(73, 81, 90, 0.92);
}

html[data-theme="light"] .hero--home-rebuild .hero__metrics li::before,
html[data-theme="light"] .hero--home-rebuild .hero-card__chips span::before {
  background: rgba(142, 107, 68, 0.42);
}

@media (max-width: 1180px) {
  .home-scenarios__grid,
  .home-benefits__grid,
  .home-production__grid,
  .home-audience__grid,
  .home-custom__grid,
  .home-works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero--home-rebuild .hero__grid {
    min-height: auto;
    padding-top: 84px;
    gap: 24px;
  }

  .home-hero__content h1 {
    max-width: none;
  }

  .home-scenarios__grid,
  .home-benefits__grid,
  .home-process__grid,
  .home-production__grid,
  .home-audience__grid,
  .home-custom__grid,
  .home-works__grid,
  .home-faq__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__panel {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero--home-rebuild .hero__bg-overlay {
    background: transparent;
  }

  .home-hero__content {
    padding: 24px 20px;
    background: linear-gradient(180deg, rgba(13, 15, 18, 0.22), rgba(9, 10, 12, 0.08));
    backdrop-filter: blur(5px);
  }

  .home-hero__sublead {
    font-size: 14px;
    margin-top: 0;
  }

  .home-scenario-card__body,
  .home-process__card,
  .home-production__card,
  .home-audience__card,
  .home-custom__card {
    padding: 20px;
  }

  .home-parallax__bg {
    background-attachment: scroll;
  }

  .home-parallax__panel {
    background: linear-gradient(180deg, rgba(14, 16, 20, 0.18), rgba(10, 12, 15, 0.06));
    backdrop-filter: blur(4px);
  }

  .home-custom__cta,
  .home-parallax__panel .hero__actions {
    flex-direction: column;
  }

  .home-custom__cta .button,
  .home-parallax__panel .button {
    width: 100%;
  }

  .hero--home-rebuild .hero-card--hero,
  .hero--home-rebuild .home-hero-slider {
    background: linear-gradient(180deg, rgba(14, 16, 20, 0.18), rgba(10, 12, 15, 0.06));
    backdrop-filter: blur(4px);
  }

  .hero--home-rebuild .home-hero-slider__viewport {
    background: rgba(8, 10, 14, 0.03);
  }

  .hero--home-rebuild .home-hero-slide__overlay {
    padding: 10px 12px 12px;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.2), rgba(10, 12, 16, 0.1));
  }
}

@media (max-width: 720px) {
  html[data-theme="light"] .hero--home-rebuild .hero__bg-overlay {
    background: transparent;
  }

  html[data-theme="light"] .home-hero__content,
  html[data-theme="light"] .hero--home-rebuild .hero-card--hero,
  html[data-theme="light"] .hero--home-rebuild .home-hero-slider,
  html[data-theme="light"] .home-parallax__panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(247, 241, 233, 0.12));
    backdrop-filter: blur(4px);
  }

  html[data-theme="light"] .hero--home-rebuild .home-hero-slide__overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(247, 241, 233, 0.12));
  }

html[data-theme="light"] .hero--home-rebuild .hero-card__text,
html[data-theme="light"] .hero--home-rebuild .hero__lead,
html[data-theme="light"] .hero--home-rebuild .hero__sublead,
html[data-theme="light"] .hero--home-rebuild .home-hero-slide__overlay p {
  color: rgba(49, 56, 64, 0.92);
}
}

/* Header and homepage transparency refinement */

.site-header {
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease,
    border-color 180ms ease;
}

.site-header__inner,
.brand--logo img,
.site-header__contact-inline,
.site-header__cta-row .button,
.site-header__cta-row .site-header__messenger,
.theme-switch,
.theme-switch__button {
  transition:
    min-height 180ms ease,
    padding 180ms ease,
    gap 180ms ease,
    font-size 180ms ease,
    height 180ms ease,
    width 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.site-header.is-compact {
  background: rgba(7, 8, 9, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .site-header.is-compact {
  background: rgba(247, 244, 239, 0.72);
  box-shadow: 0 10px 22px rgba(80, 64, 45, 0.08);
}

.site-header.is-compact .site-header__inner {
  min-height: 54px;
}

.site-header.is-compact .brand--logo img {
  height: 40px;
}

.site-header.is-compact .site-header__actions {
  gap: 10px;
}

.site-header.is-compact .site-header__contacts {
  gap: 4px;
}

.site-header.is-compact .site-header__contact-inline {
  font-size: 10px;
}

.site-header.is-compact .site-header__cta-row .button {
  min-height: 28px;
  padding: 0 10px;
  font-size: 11px;
}

.site-header.is-compact .site-header__cta-row .site-header__messenger {
  width: 26px;
  height: 26px;
}

.hero--home-rebuild .hero__bg-overlay,
html[data-theme="light"] .hero--home-rebuild .hero__bg-overlay {
  background: transparent !important;
}

.home-hero__content {
  background: linear-gradient(180deg, rgba(13, 15, 18, 0.16), rgba(9, 10, 12, 0.04));
  backdrop-filter: blur(5px);
}

.hero--home-rebuild .hero-card--hero,
.hero--home-rebuild .home-hero-slider,
.home-parallax__panel {
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.16), rgba(9, 10, 12, 0.05));
  backdrop-filter: blur(5px);
}

.hero--home-rebuild .home-hero-slider__viewport {
  background: rgba(8, 10, 14, 0.02);
}

.hero--home-rebuild .home-hero-slide__overlay {
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.14), rgba(10, 12, 16, 0.05));
}

html[data-theme="light"] .home-hero__content,
html[data-theme="light"] .hero--home-rebuild .hero-card--hero,
html[data-theme="light"] .hero--home-rebuild .home-hero-slider,
html[data-theme="light"] .home-parallax__panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(247, 241, 233, 0.08));
  backdrop-filter: blur(5px);
}

html[data-theme="light"] .hero--home-rebuild .home-hero-slider__viewport {
  background: rgba(255, 255, 255, 0.02);
}

html[data-theme="light"] .hero--home-rebuild .home-hero-slide__overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(247, 241, 233, 0.07));
}

@media (max-width: 1360px) {
  .site-header__inner {
    grid-template-columns: minmax(120px, auto) 1fr minmax(240px, auto);
    gap: 18px;
  }

  .site-nav {
    font-size: 0.88rem;
    gap: 18px;
  }

  .site-header__actions {
    gap: 10px;
  }

  .site-header__contact-row .site-header__contact-inline--email {
    margin-left: 14px;
  }

  .site-header__cta-row .button {
    padding: 0 10px;
    font-size: 11px;
  }
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: minmax(120px, auto) 1fr minmax(180px, auto);
    gap: 14px;
  }

  .site-header__contact-row .site-header__contact-inline--email,
  .site-header__cta-row .button {
    display: none;
  }

  .site-header__contacts {
    gap: 4px;
  }

  .site-header__contact-row {
    justify-content: flex-end;
  }
}

@media (max-width: 720px) {
  .site-header {
    background: rgba(7, 8, 9, 0.74);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  html[data-theme="light"] .site-header {
    background: rgba(247, 244, 239, 0.78);
  }

  .site-header.is-compact {
    background: rgba(7, 8, 9, 0.56);
  }

  html[data-theme="light"] .site-header.is-compact {
    background: rgba(247, 244, 239, 0.64);
  }

  .site-header__inner {
    min-height: 52px;
    gap: 8px;
    padding-top: 6px;
    padding-bottom: 6px;
    grid-template-columns: minmax(92px, 1fr) auto;
  }

  .brand--logo img {
    height: 26px;
    max-width: 96px;
  }

  .site-header__actions {
    gap: 6px;
    min-width: 0;
    justify-content: end;
  }

  .site-header__contacts {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
  }

  .site-header__contact-row,
  .site-header__cta-row {
    gap: 4px;
  }

  .site-header__contact-inline {
    font-size: 10px;
  }

  .site-header__contact-row {
    display: none;
  }

  .theme-switch__button {
    min-height: 22px;
    padding: 0 6px;
    font-size: 10px;
  }

  .site-header__menu-toggle {
    width: 38px;
    min-width: 38px;
    grid-template-columns: 1fr;
    gap: 4px;
    justify-items: center;
    padding: 0;
  }

  .site-header__menu-toggle span:nth-child(-n+3) {
    width: 16px;
    grid-column: 1;
  }

  .site-header__menu-label {
    display: none !important;
  }

  .site-header__mobile-panel {
    background: inherit;
  }

  .home-hero__content {
    background: linear-gradient(180deg, rgba(13, 15, 18, 0.12), rgba(9, 10, 12, 0.03));
    backdrop-filter: blur(4px);
  }

  .hero--home-rebuild .hero-card--hero,
  .hero--home-rebuild .home-hero-slider,
  .home-parallax__panel {
    background: linear-gradient(180deg, rgba(12, 14, 18, 0.12), rgba(9, 10, 12, 0.03));
    backdrop-filter: blur(4px);
  }

  .hero--home-rebuild .home-hero-slide__overlay {
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.08), rgba(10, 12, 16, 0.03));
  }

  .hero--home-rebuild .home-hero-slider {
    padding: 10px;
  }

  .hero--home-rebuild .home-hero-slider__viewport {
    background: rgba(8, 10, 14, 0.01);
  }

  .hero--home-rebuild .home-hero-slide img {
    height: 180px;
  }

  .hero--home-rebuild .home-hero-slide__overlay {
    padding: 12px 12px 14px;
  }

  html[data-theme="light"] .home-hero__content,
  html[data-theme="light"] .hero--home-rebuild .hero-card--hero,
  html[data-theme="light"] .hero--home-rebuild .home-hero-slider,
  html[data-theme="light"] .home-parallax__panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(247, 241, 233, 0.05));
  }

html[data-theme="light"] .hero--home-rebuild .home-hero-slide__overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(247, 241, 233, 0.04));
  }
}

/* Final header, slider and readability pass */

.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
}

.site-header__inner {
  width: min(1680px, calc(100% - 32px));
  margin-inline: auto;
  padding-inline: clamp(14px, 2vw, 26px);
  min-height: 76px;
  border-radius: 0 0 24px 24px;
  transition:
    width 220ms ease,
    min-height 220ms ease,
    padding 220ms ease,
    border-radius 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.site-header__contacts {
  display: grid;
  gap: 8px;
  justify-items: end;
  min-width: 0;
}

.site-header__contact-row,
.site-header__cta-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-width: 0;
}

.site-header__contact-inline {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.site-header__contact-inline--email {
  color: var(--muted);
}

.site-header__cta-row .button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
}

.site-header__contact-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-header__theme-control {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__theme-trigger {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: none;
}

.site-header__theme-trigger-ring {
  position: absolute;
  inset: 9px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0 50%, rgba(84, 92, 103, 0.22) 50% 100%);
}

html[data-theme="light"] .site-header__theme-trigger {
  background: rgba(255, 255, 255, 0.66);
}

html[data-theme="light"] .site-header__theme-trigger-ring {
  background:
    linear-gradient(135deg, rgba(36, 40, 46, 0.92) 0 50%, rgba(199, 180, 150, 0.26) 50% 100%);
}

.site-header__theme-popover[hidden] {
  display: none !important;
}

.site-header__theme-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 156px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(12, 14, 18, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html[data-theme="light"] .site-header__theme-popover {
  background: rgba(251, 247, 241, 0.92);
  box-shadow: 0 18px 42px rgba(80, 64, 45, 0.14);
}

.site-header__theme-popover .theme-switch__button {
  width: 100%;
  justify-content: center;
  min-height: 34px;
}

.site-header__menu-toggle {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 12px;
}

.site-header.is-compact {
  background: rgba(7, 8, 10, 0.28);
  box-shadow: none;
}

html[data-theme="light"] .site-header.is-compact {
  background: rgba(247, 244, 239, 0.18);
}

.site-header.is-compact .site-header__inner {
  width: min(1480px, calc(100% - 72px));
  min-height: 62px;
  border-radius: 0 0 18px 18px;
  background: rgba(9, 11, 14, 0.68);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .site-header.is-compact .site-header__inner {
  background: rgba(250, 246, 239, 0.84);
  box-shadow: 0 14px 34px rgba(91, 73, 51, 0.1);
}

.site-header.is-compact .brand--logo img {
  height: 38px;
}

.site-header.is-compact .site-header__contact-inline {
  font-size: 12px;
}

.site-header.is-compact .site-header__cta-row .button {
  min-height: 34px;
  padding-inline: 14px;
}

.site-header.is-compact .site-header__theme-trigger,
.site-header.is-compact .site-header__menu-toggle {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
}

.hero--home-rebuild .hero__grid {
  padding-top: clamp(68px, 7vh, 92px);
}

.home-hero__content {
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.34), rgba(9, 10, 12, 0.16));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero--home-rebuild .hero-card--hero,
.home-parallax__panel {
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.28), rgba(9, 10, 12, 0.12));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero--home-rebuild .hero-card__title,
.hero--home-rebuild .hero-card__text,
.hero--home-rebuild .hero-card__chips span,
.home-parallax__panel h2,
.home-parallax__panel p,
.home-parallax__panel li,
.home-parallax__panel .eyebrow {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.home-hero-slider {
  padding: 16px;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.26), rgba(9, 10, 12, 0.12));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-hero-slider__viewport {
  position: relative;
  min-height: 384px;
  background: transparent;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  transform: translate3d(16px, 0, 0);
}

.home-hero-slide__media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22px;
}

.home-hero-slide img {
  width: 100%;
  height: clamp(216px, 24vw, 286px);
  object-fit: contain;
  object-position: center center;
  display: block;
}

.home-hero-slide__caption {
  display: grid;
  gap: 8px;
  padding: 0 4px 4px;
}

.home-hero-slide__caption .eyebrow {
  color: rgba(198, 170, 136, 0.96);
}

.home-hero-slide__caption p {
  margin: 0;
  color: rgba(236, 239, 243, 0.92);
  line-height: 1.5;
}

.home-hero-slider__dots {
  margin-top: 8px;
  justify-content: flex-start;
}

.home-benefit-card {
  min-height: 228px;
  padding-top: 74px;
}

.home-benefit-card__number {
  top: 18px;
  left: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  opacity: 0.72;
}

html[data-theme="light"] .home-hero__content {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.56), rgba(252, 248, 241, 0.34));
}

html[data-theme="light"] .hero--home-rebuild .hero-card--hero,
html[data-theme="light"] .home-parallax__panel,
html[data-theme="light"] .home-hero-slider {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.54), rgba(252, 248, 241, 0.3));
}

html[data-theme="light"] .hero--home-rebuild .hero-card__title,
html[data-theme="light"] .hero--home-rebuild .hero__lead,
html[data-theme="light"] .hero--home-rebuild .hero__sublead,
html[data-theme="light"] .hero--home-rebuild .hero-card__text,
html[data-theme="light"] .hero--home-rebuild .hero-card__chips span,
html[data-theme="light"] .home-parallax__panel h2,
html[data-theme="light"] .home-parallax__panel p,
html[data-theme="light"] .home-parallax__panel li,
html[data-theme="light"] .home-parallax__panel .button--secondary,
html[data-theme="light"] .home-parallax__panel .button--ghost {
  color: rgba(26, 31, 38, 0.96);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

html[data-theme="light"] .home-parallax__panel .eyebrow,
html[data-theme="light"] .home-hero-slide__caption .eyebrow {
  color: rgba(127, 93, 58, 0.96);
}

html[data-theme="light"] .home-hero-slide__caption p {
  color: rgba(33, 38, 44, 0.94);
}

html[data-theme="light"] .home-hero-slider__viewport {
  background: transparent;
}

html[data-theme="light"] .site-header__contact-inline {
  color: rgba(27, 31, 36, 0.94);
}

html[data-theme="light"] .site-header__contact-inline--email {
  color: rgba(72, 79, 87, 0.94);
}

html[data-theme="light"] .site-header__cta-row .button {
  border-color: rgba(29, 33, 38, 0.16);
  background: rgba(255, 255, 255, 0.68);
  color: rgba(29, 33, 38, 0.96);
}

html[data-theme="light"] .form-card input,
html[data-theme="light"] .form-card select,
html[data-theme="light"] .form-card textarea,
html[data-theme="light"] .custom-select__trigger,
html[data-theme="light"] .custom-select__panel {
  color: rgba(29, 33, 38, 0.96);
  background: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .custom-select__option {
  color: rgba(29, 33, 38, 0.92);
}

@media (max-width: 1180px) {
  .site-header__contact-inline--email {
    display: none;
  }

  .site-header__cta-row .button {
    padding-inline: 14px;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    width: calc(100% - 20px);
    grid-template-columns: minmax(108px, 1fr) auto;
    gap: 10px;
  }

  .site-nav {
    display: none;
  }

  .site-header__contact-row {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    background: rgba(10, 12, 15, 0.42);
    box-shadow: none;
  }

  html[data-theme="light"] .site-header {
    background: rgba(247, 244, 239, 0.28);
  }

  .site-header__inner {
    width: calc(100% - 14px);
    min-height: 56px;
    padding: 6px 10px;
    grid-template-columns: minmax(84px, 1fr) auto;
    gap: 8px;
    border-radius: 0 0 18px 18px;
  }

  .brand--logo img {
    height: 24px;
    max-width: 88px;
  }

  .site-header__actions {
    gap: 6px;
  }

  .site-header__contacts {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .site-header__cta-row {
    gap: 6px;
  }

  .site-header__cta-row .button {
    display: none;
  }

  .site-header__contact-socials {
    gap: 6px;
  }

  .site-header__messenger {
    width: 30px;
    height: 30px;
  }

  .site-header__contact-inline {
    font-size: 11px;
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header__theme-trigger,
  .site-header__menu-toggle {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    border-radius: 10px;
  }

  .site-header__theme-trigger-ring {
    inset: 8px;
  }

  .site-header__theme-popover {
    top: calc(100% + 8px);
    min-width: 144px;
  }

  .site-header.is-compact .site-header__inner {
    width: calc(100% - 18px);
    min-height: 52px;
  }

  .hero--home-rebuild .hero__grid {
    padding-top: 58px;
    gap: 18px;
  }

  .home-hero__content {
    padding: 22px 18px;
  }

  .hero--home-rebuild .hero-card--hero,
  .home-parallax__panel,
  .home-hero-slider {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .home-hero-slider {
    padding: 12px;
  }

  .home-hero-slider__viewport {
    min-height: 286px;
  }

  .home-hero-slide {
    gap: 12px;
  }

  .home-hero-slide img {
    height: 168px;
  }

  .home-hero-slide__caption {
    gap: 6px;
    padding-inline: 2px;
  }

  .home-hero-slide__caption p {
    font-size: 14px;
    line-height: 1.45;
  }

  .home-benefit-card {
    min-height: 208px;
    padding-top: 62px;
  }

  .home-benefit-card__number {
    top: 16px;
    left: 18px;
    font-size: 10px;
  }

  html[data-theme="light"] .home-hero__content {
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.52), rgba(252, 248, 241, 0.3));
  }

  html[data-theme="light"] .hero--home-rebuild .hero-card--hero,
  html[data-theme="light"] .home-parallax__panel,
  html[data-theme="light"] .home-hero-slider {
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.5), rgba(252, 248, 241, 0.28));
  }
}

/* Final polish pass */

.hero--home-rebuild .hero-card__chips span {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(12, 14, 18, 0.24);
  color: rgba(235, 238, 242, 0.9);
}

.hero--home-rebuild .hero-card__chips span::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

html[data-theme="light"] .hero--home-rebuild .hero-card__chips span {
  border-color: rgba(29, 33, 38, 0.12);
  background: rgba(255, 255, 255, 0.56);
  color: rgba(26, 31, 38, 0.96);
}

.home-hero-slide__caption {
  padding: 12px 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 16, 0.4);
}

html[data-theme="light"] .home-hero-slide__caption {
  border-color: rgba(29, 33, 38, 0.1);
  background: rgba(255, 255, 255, 0.74);
}

.home-hero-slider__dots {
  padding-inline: 6px;
}

.home-parallax__panel {
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.22), rgba(9, 10, 12, 0.08));
}

html[data-theme="light"] .home-parallax__panel {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.72), rgba(252, 248, 241, 0.52));
}

html[data-theme="light"] .home-parallax__panel h2,
html[data-theme="light"] .home-parallax__panel p,
html[data-theme="light"] .home-parallax__panel li,
html[data-theme="light"] .home-parallax__panel .button {
  color: rgba(23, 28, 34, 0.98);
}

html[data-theme="light"] .form-field,
html[data-theme="light"] .lead-form-box__meta-card,
html[data-theme="light"] .lead-form-box__note {
  color: rgba(29, 33, 38, 0.96);
}

html[data-theme="light"] .custom-select__menu,
html[data-theme="light"] .custom-select__option,
html[data-theme="light"] .custom-select__label,
html[data-theme="light"] .custom-select__trigger,
html[data-theme="light"] .lead-form-box__meta-card,
html[data-theme="light"] .lead-form-box__meta-card strong,
html[data-theme="light"] .lead-form-box__meta-card span {
  color: rgba(29, 33, 38, 0.96);
}

html[data-theme="light"] .custom-select__option:hover,
html[data-theme="light"] .custom-select__option:focus-visible {
  color: rgba(20, 24, 30, 0.98);
}

.home-benefit-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(155, 132, 102, 0.08);
}

html[data-theme="light"] .home-benefit-card__number {
  background: rgba(139, 111, 83, 0.1);
  color: rgba(122, 91, 58, 0.94);
}

@media (max-width: 720px) {
  .site-header__contacts {
    gap: 4px;
  }

  .site-header__contact-row {
    display: none;
  }

  .site-header__cta-row .button {
    display: none;
  }

  .site-header__theme-control {
    order: 2;
  }

  .site-header__menu-toggle {
    order: 3;
  }

  .site-header__contact-socials {
    order: 1;
  }

  .site-header__mobile-extra {
    display: grid;
    gap: 10px;
  }

  .site-header__mobile-extra .button {
    width: 100%;
  }

  .site-header__mobile-extra .site-header__contact-inline {
    max-width: none;
    font-size: 13px;
  }

  .home-hero-slide__caption {
    padding: 10px 12px 12px;
    border-radius: 14px;
  }

  .home-hero-slide__caption .eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .home-hero-slide__caption p {
    font-size: 13px;
    line-height: 1.42;
  }

  .home-parallax__panel {
    background: linear-gradient(180deg, rgba(11, 13, 16, 0.18), rgba(9, 10, 12, 0.05));
  }

  html[data-theme="light"] .home-parallax__panel {
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.68), rgba(252, 248, 241, 0.42));
  }
}

/* Zero-gap and light-theme CTA fix */

html[data-theme="light"] .home-parallax__panel .button--primary {
  color: #f4f1eb !important;
  border-color: rgba(22, 25, 31, 0.2);
  background: linear-gradient(180deg, rgba(36, 40, 46, 0.98), rgba(28, 32, 38, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(54, 44, 31, 0.16);
}

html[data-theme="light"] .home-parallax__panel .button--primary:hover,
html[data-theme="light"] .home-parallax__panel .button--primary:focus-visible {
  color: #f7f3ec !important;
}

.hero--home-rebuild {
  padding-top: 0;
  padding-bottom: 0;
}

.home-parallax.section {
  padding-top: 0;
  padding-bottom: 0;
}

.home-parallax .container {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 0;
  }

  .hero--home-rebuild .hero__grid {
    padding-top: 14px;
    padding-bottom: 12px;
    min-height: auto;
  }

  .home-parallax.section {
    margin-top: 0;
    margin-bottom: 0;
  }

  .home-parallax__panel {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* Mobile header and slider alignment fix */

.home-hero-slide {
  transform: none;
}

.home-hero-slide__media {
  min-height: clamp(216px, 24vw, 286px);
  padding: 0;
}

.home-hero-slide img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}

@media (max-width: 720px) {
  .site-header__inner {
    grid-template-columns: minmax(72px, auto) minmax(0, 1fr) auto;
    grid-template-areas: "brand contacts actions";
    align-items: center;
    gap: 8px;
  }

  .brand {
    grid-area: brand;
  }

  .site-header__contacts {
    grid-area: contacts;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .site-header__contact-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    min-width: 0;
  }

  .site-header__contact-row .site-header__contact-inline {
    display: inline-flex;
    max-width: none;
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
  }

  .site-header__contact-row .site-header__contact-inline--email {
    display: none;
  }

  .site-header__cta-row {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .site-header__actions {
    grid-area: actions;
    gap: 6px;
    align-items: center;
  }

  .site-header__mobile-panel {
    position: static;
    padding: 8px 0 12px;
    background: rgba(10, 12, 15, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  }

  html[data-theme="light"] .site-header__mobile-panel {
    background: rgba(247, 244, 239, 0.96);
    border-top-color: rgba(29, 33, 38, 0.08);
  }

  .site-header__mobile-panel-inner {
    gap: 10px;
    padding-top: 0;
  }

  .site-header__mobile-nav,
  .site-header__mobile-extra {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(17, 20, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  }

  html[data-theme="light"] .site-header__mobile-nav,
  html[data-theme="light"] .site-header__mobile-extra {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(29, 33, 38, 0.1);
    box-shadow: 0 10px 20px rgba(94, 77, 53, 0.08);
  }

  .site-header__mobile-nav a,
  .site-header__mobile-extra a {
    color: var(--text);
    font-size: 15px;
    line-height: 1.35;
  }

  html[data-theme="light"] .site-header__mobile-nav a,
  html[data-theme="light"] .site-header__mobile-extra a {
    color: rgba(24, 29, 35, 0.96);
  }

  .site-header__mobile-nav a + a {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  html[data-theme="light"] .site-header__mobile-nav a + a {
    border-top-color: rgba(29, 33, 38, 0.08);
  }

  .site-header__mobile-extra .site-header__contact-inline {
    font-size: 14px;
    font-weight: 600;
  }

  .home-hero-slider__viewport {
    min-height: 300px;
  }

  .home-hero-slide__media {
    min-height: 176px;
  }

  .home-hero-slide img {
    height: 176px;
    max-height: 176px;
  }
}

/* Compact spacing pass */

@media (max-width: 720px) {
  .site-main {
    padding-top: 0;
  }

  .site-header {
    padding-top: 0;
  }

  .site-header__inner {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 0;
    padding-bottom: 18px;
  }

  .hero--home-rebuild .hero__grid {
    padding-top: 0;
  }

  .section {
    padding: 26px 0 34px;
  }

  .section--compact-top {
    padding-top: 10px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 14px;
  }

  .product-page__expansion-note,
  .gallery-strip__intro {
    margin: 0 0 10px;
  }

  .showcase-grid,
  .product-summary-grid,
  .product-layout,
  .gallery-box,
  .visual-story,
  .media-video-grid,
  .media-video-grid--portrait,
  .video-feature,
  .video-feature--compact,
  .video-feature--editorial {
    gap: 12px;
  }

  .product-card,
  .offer-card,
  .gallery-strip-shell,
  .media-video-card,
  .video-mini-card,
  .showcase-panel,
  .advantage-card,
  .cta-band {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .offer-card {
    padding: 18px;
  }

  .product-card {
    padding: 18px;
  }

  .offer-card__row {
    padding: 10px 0;
  }

  .product-card__details {
    margin: 12px 0;
    gap: 10px;
  }

  .gallery-strip__heading {
    margin-bottom: 8px;
  }

  .gallery-strip-shell {
    margin-top: 6px;
    padding: 10px;
  }

  .gallery-strip__actions {
    margin-bottom: 6px;
  }

  .gallery-card--strip {
    padding: 8px;
  }

  .gallery-card--strip .gallery-card__image {
    margin-bottom: 8px;
  }

  .gallery-card--strip .gallery-card__caption,
  .gallery-card__caption {
    padding: 0 2px 0;
  }

  .media-video-card,
  .video-mini-card,
  .video-feature__main,
  .video-feature__main--editorial {
    padding: 18px;
  }

  .video-feature__aside {
    gap: 12px;
  }

  .video-feature__deck {
    font-size: 15px;
    line-height: 1.6;
  }

  .video-feature__list {
    margin-top: 14px;
  }

  .video-pillars {
    margin-top: 14px;
  }

  .video-plan {
    margin-top: 16px;
    gap: 8px 10px;
  }

  .video-mini-card__number {
    margin-bottom: 8px;
  }
}

/* Home hero rebuild v2 */

.hero--home-rebuild {
  position: relative;
  min-height: clamp(760px, 92vh, 980px);
}

.hero--home-rebuild .hero__bg-overlay {
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.07), transparent 32%),
    linear-gradient(90deg, rgba(8, 10, 14, 0.78) 0%, rgba(8, 10, 14, 0.54) 42%, rgba(8, 10, 14, 0.18) 68%, rgba(8, 10, 14, 0.1) 100%);
}

.hero--home-rebuild .hero__grid {
  align-items: end;
  gap: clamp(24px, 2.8vw, 40px);
  padding-top: clamp(76px, 8vh, 108px);
  padding-bottom: clamp(26px, 4vh, 42px);
  min-height: clamp(760px, 92vh, 980px);
}

.home-hero__content {
  max-width: 760px;
  padding: clamp(28px, 3vw, 42px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.48), rgba(9, 10, 12, 0.24));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-hero__content h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(3.5rem, 6.4vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero--home-rebuild .hero__lead {
  max-width: 58ch;
  margin-bottom: 12px;
  font-size: clamp(1.08rem, 1.25vw, 1.24rem);
  line-height: 1.62;
}

.hero--home-rebuild .home-hero__sublead {
  max-width: 64ch;
  margin-bottom: 24px;
  color: rgba(231, 235, 240, 0.84);
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  line-height: 1.7;
}

.hero--home-rebuild .hero__actions {
  gap: 12px;
  margin-bottom: 22px;
}

.hero--home-rebuild .hero__actions .button {
  min-height: 52px;
  padding-inline: 22px;
}

.hero--home-rebuild .home-hero__metrics {
  gap: 10px 12px;
}

.hero--home-rebuild .home-hero__metrics li {
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}

.hero--home-rebuild .hero__panel {
  align-self: end;
  gap: 18px;
}

.hero--home-rebuild .hero-card--hero,
.hero--home-rebuild .home-hero-slider {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.42), rgba(9, 10, 12, 0.2));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero--home-rebuild .hero-card--hero {
  padding: 26px 26px 24px;
}

.hero--home-rebuild .hero-card__label {
  margin-bottom: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.hero--home-rebuild .hero-card__title {
  max-width: 16ch;
  margin-bottom: 14px;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1.02;
}

.hero--home-rebuild .hero-card__text {
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.68;
}

.hero--home-rebuild .hero-card__chips {
  margin-top: 18px;
  gap: 10px;
}

.hero--home-rebuild .hero-card__chips span {
  padding: 10px 14px;
  font-size: 0.88rem;
}

.hero--home-rebuild .home-hero-slider {
  padding: 18px;
}

.hero--home-rebuild .home-hero-slider__viewport {
  min-height: 392px;
}

.hero--home-rebuild .home-hero-slide {
  gap: 12px;
}

.hero--home-rebuild .home-hero-slide__media {
  min-height: 270px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.hero--home-rebuild .home-hero-slide img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  object-position: center center;
}

.hero--home-rebuild .home-hero-slide__caption {
  gap: 8px;
  padding: 2px 6px 2px;
}

.hero--home-rebuild .home-hero-slide__caption p {
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.58;
}

.hero--home-rebuild .home-hero-slider__dots {
  margin-top: 10px;
}

html[data-theme="light"] .hero--home-rebuild .hero__bg-overlay {
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(245, 240, 232, 0.22) 0%, rgba(245, 240, 232, 0.14) 38%, rgba(245, 240, 232, 0.06) 70%, rgba(245, 240, 232, 0.03) 100%);
}

html[data-theme="light"] .home-hero__content,
html[data-theme="light"] .hero--home-rebuild .hero-card--hero,
html[data-theme="light"] .hero--home-rebuild .home-hero-slider {
  border-color: rgba(39, 30, 18, 0.08);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.52), rgba(250, 246, 239, 0.3));
  box-shadow: 0 24px 60px rgba(114, 91, 57, 0.12);
}

html[data-theme="light"] .hero--home-rebuild .hero__lead,
html[data-theme="light"] .hero--home-rebuild .home-hero__sublead,
html[data-theme="light"] .hero--home-rebuild .hero-card__text,
html[data-theme="light"] .hero--home-rebuild .home-hero-slide__caption p {
  color: rgba(34, 39, 45, 0.9);
  text-shadow: none;
}

html[data-theme="light"] .hero--home-rebuild .hero-card__title,
html[data-theme="light"] .hero--home-rebuild .home-hero__content h1 {
  color: rgba(24, 29, 35, 0.98);
  text-shadow: none;
}

@media (max-width: 1080px) {
  .hero--home-rebuild {
    min-height: auto;
  }

  .hero--home-rebuild .hero__grid {
    min-height: auto;
    align-items: stretch;
  }

  .home-hero__content h1 {
    max-width: 14ch;
  }
}

@media (max-width: 720px) {
  .hero--home-rebuild {
    min-height: auto;
  }

  .hero--home-rebuild .hero__grid {
    padding-top: 0;
    padding-bottom: 14px;
    min-height: auto;
    gap: 14px;
  }

  .home-hero__content {
    padding: 22px 20px;
    border-radius: 24px;
  }

  .home-hero__content h1 {
    max-width: none;
    margin-bottom: 14px;
    font-size: clamp(2.6rem, 12vw, 4.2rem);
    line-height: 0.94;
  }

  .hero--home-rebuild .hero__lead,
  .hero--home-rebuild .home-hero__sublead {
    max-width: none;
  }

  .hero--home-rebuild .hero-card--hero,
  .hero--home-rebuild .home-hero-slider {
    border-radius: 24px;
  }

  .hero--home-rebuild .hero-card--hero {
    padding: 22px 20px 20px;
  }

  .hero--home-rebuild .hero-card__title {
    max-width: none;
    font-size: clamp(1.68rem, 7vw, 2.3rem);
  }

  .hero--home-rebuild .home-hero-slider {
    padding: 14px;
  }

  .hero--home-rebuild .home-hero-slider__viewport {
    min-height: 310px;
  }

  .hero--home-rebuild .home-hero-slide__media {
    min-height: 196px;
  }

  .hero--home-rebuild .home-hero-slide img {
    height: 196px;
  }
}

/* Home hero story scroll scene */

.hero--home-story {
  --home-hero-scale: 1;
  position: relative;
  min-height: 420svh;
  margin-top: 0;
  padding: 0;
}

/* Final homepage hero override */

.hero--home-story-prologic {
  min-height: 500svh;
  padding: 0 !important;
}

.hero--home-story-prologic .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.home-hero-pro-frame {
  --home-hero-zoom: 1;
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.04) 0%, rgba(8, 10, 12, 0.08) 50%, rgba(8, 10, 12, 0.14) 100%),
    var(--home-hero-image) center center / calc(var(--home-hero-zoom) * 100%) auto no-repeat #101214;
}

.hero--home-story-prologic.is-story-blank .home-hero-pro-frame {
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.01) 0%, rgba(8, 10, 12, 0.03) 58%, rgba(8, 10, 12, 0.06) 100%),
    var(--home-hero-image) center center / calc(var(--home-hero-zoom) * 100%) auto no-repeat #101214;
}

.home-hero-pro-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.08;
  pointer-events: none;
}

.home-hero-pro-shell {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(98px, 9vw, 128px) clamp(24px, 3vw, 42px) clamp(32px, 3.4vw, 44px);
}

.home-hero-pro-main {
  min-height: calc(100svh - clamp(136px, 12vw, 180px));
  display: grid;
  align-items: end;
  transition: transform 0.2s linear;
}

.home-hero-pro-story {
  display: grid;
  gap: 16px;
  width: min(100%, 780px);
  padding-bottom: 10px;
}

.home-hero-pro-card {
  width: min(100%, 640px);
  padding: clamp(20px, 2vw, 26px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 18, 22, 0.54);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.18);
}

.home-hero-pro-card h1,
.home-hero-pro-card h2,
.home-hero-pro-card p,
.home-hero-pro-kicker,
.home-hero__metrics li,
.home-hero-pro-step {
  text-shadow: none !important;
}

.home-hero-pro-card--title {
  width: min(100%, 840px);
}

.home-hero-pro-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: rgba(212, 184, 146, 0.96);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.home-hero-pro-card h1 {
  margin: 0;
  max-width: 10ch;
  color: #f5f7fa;
  font-size: clamp(3.8rem, 6.7vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-hero-pro-lead {
  margin: 18px 0 0;
  max-width: 33ch;
  color: rgba(243, 246, 249, 0.96);
  font-size: clamp(1.14rem, 1.8vw, 1.62rem);
  line-height: 1.3;
}

.home-hero-pro-card h2 {
  margin: 0;
  color: #f5f7fa;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 0.96;
}

.home-hero-pro-card p {
  margin: 16px 0 0;
  color: rgba(237, 241, 245, 0.92);
  font-size: clamp(1rem, 1.28vw, 1.15rem);
  line-height: 1.52;
}

.home-hero-pro-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 184, 146, 0.24);
  color: rgba(228, 202, 170, 0.96);
  background: rgba(212, 184, 146, 0.08);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.home-hero-pro-card .hero__actions {
  margin-top: 20px;
}

.home-hero__metrics {
  margin-top: 18px;
}

.hero--home-story-prologic .home-hero__metrics li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .home-hero-pro-frame {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.03) 0%, rgba(255, 250, 242, 0.06) 50%, rgba(255, 250, 242, 0.1) 100%),
    var(--home-hero-image) center center / calc(var(--home-hero-zoom) * 100%) auto no-repeat #e9e3d9;
}

html[data-theme="light"] .hero--home-story-prologic.is-story-blank .home-hero-pro-frame {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.015) 0%, rgba(255, 250, 242, 0.025) 58%, rgba(255, 250, 242, 0.05) 100%),
    var(--home-hero-image) center center / calc(var(--home-hero-zoom) * 100%) auto no-repeat #e9e3d9;
}

html[data-theme="light"] .home-hero-pro-card {
  border-color: rgba(56, 46, 31, 0.12);
  background: rgba(255, 251, 244, 0.48);
  box-shadow: 0 24px 50px rgba(89, 72, 46, 0.12);
}

html[data-theme="light"] .home-hero-pro-card h1,
html[data-theme="light"] .home-hero-pro-card h2 {
  color: #1f252c;
}

html[data-theme="light"] .home-hero-pro-lead,
html[data-theme="light"] .home-hero-pro-card p,
html[data-theme="light"] .hero--home-story-prologic .home-hero__metrics li {
  color: rgba(31, 37, 44, 0.9);
}

html[data-theme="light"] .hero--home-story-prologic .home-hero__metrics li {
  background: rgba(255, 255, 255, 0.44);
  border-color: rgba(56, 46, 31, 0.12);
}

@media (max-width: 980px) {
  .hero--home-story-prologic {
    min-height: auto;
  }

  .home-hero-pro-frame {
    position: relative;
    min-height: auto;
    background-size: cover !important;
  }

  .home-hero-pro-shell {
    min-height: auto;
  }

  .home-hero-pro-main {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .hero--home-story-prologic {
    min-height: auto;
  }

  .home-hero-pro-frame {
    position: relative;
    top: auto;
    min-height: auto;
    background-position: center center;
    background-size: cover !important;
  }

  .home-hero-pro-shell {
    min-height: auto;
    padding: 84px 16px 18px;
  }

  .home-hero-pro-main {
    min-height: auto;
  }

  .home-hero-pro-story {
    width: 100%;
  }

  .home-hero-pro-card {
    width: 100%;
    padding: 20px 18px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .home-hero-pro-card h1 {
    max-width: none;
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  .home-hero-pro-lead,
  .home-hero-pro-card p {
    font-size: 1rem;
  }

  .home-hero-pro-card .hero__actions {
    flex-direction: column;
  }

  .home-hero-pro-card .hero__actions .button,
  .home-hero__metrics li {
    width: 100%;
  }
}

.hero--home-story .container {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: inherit;
}

.home-hero-story-blankcue {
  position: sticky;
  top: calc(100svh - 96px);
  z-index: 3;
  display: flex;
  justify-content: flex-start;
  padding-inline: clamp(24px, 3vw, 42px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.home-hero-story-blankcue.is-visible {
  opacity: 1;
}

.home-hero-story-blankcue span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(14, 17, 21, 0.38);
  color: rgba(244, 246, 248, 0.88);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero--home-story .hero__bg--photo {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: clip;
}

.hero--home-story .hero__bg--photo img {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  object-fit: cover;
  object-position: center center;
  transform: scale(var(--home-hero-scale));
  transition: transform 180ms linear;
}

.hero--home-story .hero__bg-overlay {
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.03) 0%, rgba(8, 10, 14, 0.06) 46%, rgba(8, 10, 14, 0.1) 100%),
    linear-gradient(90deg, rgba(8, 10, 14, 0.14) 0%, rgba(8, 10, 14, 0.05) 34%, rgba(8, 10, 14, 0.05) 66%, rgba(8, 10, 14, 0.1) 100%);
}

.hero--home-story.is-story-blank .hero__bg-overlay {
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.01) 0%, rgba(8, 10, 14, 0.02) 55%, rgba(8, 10, 14, 0.04) 100%),
    linear-gradient(90deg, rgba(8, 10, 14, 0.05) 0%, rgba(8, 10, 14, 0.015) 34%, rgba(8, 10, 14, 0.015) 66%, rgba(8, 10, 14, 0.04) 100%);
}

.home-hero-story-shell {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(96px, 8vw, 124px) clamp(24px, 3vw, 42px) clamp(36px, 4vw, 52px);
  overflow: clip;
}

.home-hero-story-grid {
  min-height: calc(100svh - clamp(142px, 12vw, 196px));
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: end;
  gap: clamp(24px, 2.2vw, 34px);
}

.hero--home-story .home-hero-story-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.8s cubic-bezier(.19,1,.22,1),
    transform 0.8s cubic-bezier(.19,1,.22,1),
    visibility 0.8s step-end;
  will-change: opacity, transform;
}

.hero--home-story.is-story-ready .home-hero-story-card.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.home-hero-story-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.62), rgba(8, 11, 15, 0.44));
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-hero-story-card--main {
  align-self: end;
  max-width: min(760px, 100%);
  padding: clamp(30px, 3vw, 42px);
}

.home-hero-story-card--main h1 {
  max-width: 11ch;
  margin: 0;
  color: #f6f7f8;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  font-size: clamp(3.1rem, 5.8vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-hero-story-card--main .hero__lead {
  max-width: 42ch;
  margin: 20px 0 0;
  color: rgba(245, 247, 250, 0.98);
  font-size: clamp(1.08rem, 1.36vw, 1.28rem);
  line-height: 1.56;
}

.home-hero-story-card--main .home-hero__sublead {
  max-width: 52ch;
  margin: 16px 0 0;
  color: rgba(236, 240, 244, 0.92);
  font-size: 0.98rem;
  line-height: 1.64;
}

.home-hero-story-card--main .hero__actions {
  gap: 12px;
  margin-top: 26px;
}

.home-hero-story-card--main .hero__actions .button {
  min-height: 52px;
  padding-inline: 22px;
}

.home-hero__note {
  max-width: 52ch;
  margin: 20px 0 0;
  color: rgba(233, 237, 241, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-hero-story-stack {
  position: relative;
  align-self: end;
  min-height: 360px;
}

.home-hero-story-card--step {
  position: absolute;
  inset: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 26px 24px;
}

.home-hero-story-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1px solid rgba(198, 170, 136, 0.28);
  background: rgba(198, 170, 136, 0.08);
  color: rgba(231, 205, 169, 0.98);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-hero-story-card--step h2 {
  margin: 0;
  color: #f6f7f8;
  font-size: clamp(1.72rem, 2.5vw, 2.56rem);
  line-height: 0.96;
  text-shadow: none;
}

.home-hero-story-card--step p {
  max-width: 28ch;
  margin: 18px 0 0;
  color: rgba(240, 243, 247, 0.92);
  font-size: clamp(0.98rem, 1.22vw, 1.08rem);
  line-height: 1.6;
}

.home-hero-story-card--accent {
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.38), rgba(10, 10, 9, 0.22));
}

html[data-theme="light"] .hero--home-story .hero__bg-overlay {
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.03) 0%, rgba(255, 251, 244, 0.06) 42%, rgba(255, 251, 244, 0.1) 100%),
    linear-gradient(90deg, rgba(255, 251, 244, 0.08) 0%, rgba(255, 251, 244, 0.03) 36%, rgba(255, 251, 244, 0.03) 66%, rgba(255, 251, 244, 0.08) 100%);
}

html[data-theme="light"] .hero--home-story.is-story-blank .hero__bg-overlay {
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.015) 0%, rgba(255, 251, 244, 0.025) 52%, rgba(255, 251, 244, 0.04) 100%),
    linear-gradient(90deg, rgba(255, 251, 244, 0.04) 0%, rgba(255, 251, 244, 0.015) 36%, rgba(255, 251, 244, 0.015) 66%, rgba(255, 251, 244, 0.04) 100%);
}

html[data-theme="light"] .home-hero-story-card {
  border-color: rgba(39, 30, 18, 0.1);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.5), rgba(248, 244, 236, 0.28));
  box-shadow: 0 24px 54px rgba(94, 76, 50, 0.1);
}

html[data-theme="light"] .home-hero-story-card--main h1,
html[data-theme="light"] .home-hero-story-card--step h2 {
  color: rgba(22, 28, 36, 0.98);
  text-shadow: none;
}

html[data-theme="light"] .home-hero-story-card--main .hero__lead,
html[data-theme="light"] .home-hero-story-card--main .home-hero__sublead,
html[data-theme="light"] .home-hero-story-card--step p {
  color: rgba(31, 37, 43, 0.92);
}

html[data-theme="light"] .home-hero__note {
  color: rgba(31, 37, 43, 0.78);
}

html[data-theme="light"] .home-hero-story-blankcue span {
  border-color: rgba(39, 30, 18, 0.12);
  background: rgba(255, 252, 247, 0.54);
  color: rgba(31, 37, 43, 0.88);
}

@media (max-width: 1080px) {
  .hero--home-story {
    min-height: 320svh;
  }

  .hero--home-story .hero__bg--photo {
    position: absolute;
    inset: 0;
    min-height: 100%;
  }

  .home-hero-story-shell {
    position: relative;
    min-height: auto;
    padding-inline: 0;
  }

  .home-hero-story-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .home-hero-story-blankcue {
    padding-inline: 0;
  }

  .home-hero-story-card--main h1 {
    max-width: 11ch;
  }

  .home-hero-story-stack,
  .home-hero-story-card--step {
    min-height: 280px;
  }
}

@media (max-width: 720px) {
  .hero--home-story {
    min-height: auto;
  }

  .home-hero-story-blankcue {
    display: none;
  }

  .hero--home-story .hero__bg--photo {
    position: absolute;
    inset: 0;
    min-height: 100%;
  }

  .hero--home-story .hero__bg--photo img {
    min-height: 100%;
  }

  .home-hero-story-shell {
    position: relative;
    min-height: auto;
    padding: 26px 0 18px;
  }

  .home-hero-story-grid {
    min-height: auto;
    gap: 12px;
  }

  .home-hero-story-card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    border-radius: 22px;
  }

  .home-hero-story-card--main,
  .home-hero-story-card--step {
    padding: 22px 20px;
  }

  .home-hero-story-card--main h1 {
    max-width: none;
    font-size: clamp(2.7rem, 11vw, 4.2rem);
    line-height: 0.94;
  }

  .home-hero-story-card--main .hero__lead {
    font-size: 1.04rem;
  }

  .home-hero-story-card--main .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-story-card--main .hero__actions .button {
    width: 100%;
    justify-content: center;
  }

  .home-hero-story-stack {
    min-height: auto;
  }

  .home-hero-story-card--step {
    position: relative;
    inset: auto;
    min-height: auto;
  }

  .home-hero-story-card--step h2 {
    font-size: 1.34rem;
  }

  .home-hero-story-card--step p {
    font-size: 0.98rem;
  }

  .home-hero__note {
    font-size: 0.88rem;
  }
}


/* Homepage structure refresh */

.home-intents__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-intent-card {
  display: grid;
  grid-template-rows: minmax(260px, 28vw) auto;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 13, 16, 0.74);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home-intent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(213, 196, 175, 0.26);
  box-shadow: 0 30px 58px rgba(0, 0, 0, 0.22);
}

.home-intent-card__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.home-intent-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 10, 12, 0.02), rgba(9, 10, 12, 0.18));
}

.home-intent-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
}

.home-intent-card:hover .home-intent-card__media img {
  transform: scale(1.03);
}

.home-intent-card__body {
  display: grid;
  gap: 10px;
  padding: 20px 20px 22px;
}

.home-intent-card__title {
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.06;
  color: var(--text);
}

.home-intent-card__text {
  color: var(--muted);
  line-height: 1.55;
}

.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-featured-card {
  display: grid;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 15, 20, 0.88), rgba(10, 12, 16, 0.82));
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.16);
}

.home-featured-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.home-featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-featured-card__body {
  display: grid;
  gap: 12px;
  padding: 18px 18px 20px;
}

.home-featured-card__eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-featured-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.08;
}

.home-featured-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.home-featured-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-featured-card__facts span,
.home-featured-card__facts strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.94rem;
}

.home-featured-card__facts strong {
  color: var(--text);
}

.home-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

html[data-theme="light"] .home-intent-card {
  border-color: rgba(29, 33, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 239, 231, 0.88));
  box-shadow: 0 18px 36px rgba(80, 64, 45, 0.08);
}

html[data-theme="light"] .home-intent-card__media::after {
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.02), rgba(255, 251, 244, 0.1));
}

html[data-theme="light"] .home-intent-card__title,
html[data-theme="light"] .home-featured-card h3 {
  color: #1b222b;
}

html[data-theme="light"] .home-intent-card__text,
html[data-theme="light"] .home-featured-card p {
  color: #5c6672;
}

html[data-theme="light"] .home-featured-card {
  border-color: rgba(29, 33, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 240, 232, 0.92));
  box-shadow: 0 18px 36px rgba(80, 64, 45, 0.08);
}

html[data-theme="light"] .home-featured-card__facts span,
html[data-theme="light"] .home-featured-card__facts strong {
  border-color: rgba(29, 33, 38, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: #303844;
}

@media (max-width: 1180px) {
  .home-intents__grid,
  .home-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-intents__grid,
  .home-featured-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-intent-card {
    grid-template-rows: 220px auto;
    border-radius: 22px;
  }

  .home-featured-card {
    border-radius: 20px;
  }

  .home-featured-card__media {
    aspect-ratio: 16 / 10;
  }

  .home-featured-card__facts {
    flex-direction: column;
    align-items: stretch;
  }

  .home-featured-card__facts span,
  .home-featured-card__facts strong {
    justify-content: center;
  }

  .home-section-cta .button {
    width: 100%;
  }
}

.home-section-heading--compact {
  margin-bottom: 0;
}

.home-masterplan__widget {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.home-masterplan__stage {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(12, 15, 19, 0.82);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
  aspect-ratio: 16 / 10;
}

.home-masterplan__stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-masterplan__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.02), rgba(10, 12, 16, 0.16));
  pointer-events: none;
}

.home-masterplan__pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4f6f8;
  cursor: pointer;
  z-index: 2;
}

.home-masterplan__pin-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(217, 188, 147, 0.92);
  box-shadow: 0 0 0 0 rgba(217, 188, 147, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-masterplan__pin-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 15, 19, 0.72);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  transition: border-color 180ms ease, background 180ms ease;
}

.home-masterplan__pin.is-active .home-masterplan__pin-dot,
.home-masterplan__pin[aria-pressed="true"] .home-masterplan__pin-dot {
  transform: scale(1.08);
  box-shadow: 0 0 0 10px rgba(217, 188, 147, 0.16);
}

.home-masterplan__pin.is-active .home-masterplan__pin-label,
.home-masterplan__pin[aria-pressed="true"] .home-masterplan__pin-label {
  border-color: rgba(217, 188, 147, 0.34);
  background: rgba(20, 24, 29, 0.8);
}

.home-masterplan__panels {
  position: relative;
  min-height: 100%;
}

.home-masterplan__panel {
  display: none;
  position: sticky;
  top: 118px;
  padding: 22px 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(12, 15, 20, 0.88), rgba(10, 12, 16, 0.82));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.16);
}

.home-masterplan__panel.is-active {
  display: block;
}

.home-masterplan__panel-title {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.08;
  color: var(--text);
}

.home-masterplan__panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.home-project__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 24px;
  align-items: start;
}

.home-project__formats {
  display: grid;
  gap: 16px;
}

.home-project__format,
.home-why__card {
  padding: 22px 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 15, 20, 0.72);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.home-project__format h3,
.home-why__card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.14;
}

.home-project__format p,
.home-why__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.home-project-form {
  padding: 24px;
}

.home-project-form h3 {
  margin: 0 0 10px;
  font-size: clamp(1.46rem, 2.4vw, 1.9rem);
  line-height: 1.05;
}

.home-project-form > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.lead-form--compact .form-grid {
  gap: 14px;
}

.lead-form--compact .lead-form__footer {
  margin-top: 18px;
}

.home-why__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: center;
}

.home-why__visual {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.16);
}

.home-why__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-why__content {
  display: grid;
  gap: 20px;
}

.home-why__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-showroom__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
}

.home-showroom__media {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  aspect-ratio: 16 / 10;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.14);
}

.home-showroom__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-showroom__info {
  padding: 24px;
}

.home-showroom__list {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.home-showroom__list span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-showroom__list strong,
.home-showroom__list a {
  color: var(--text);
}

.home-showroom__map {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.14);
}

.home-showroom__map iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.home-final-cta__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
}

.home-final-cta__panel h2 {
  margin: 0 0 10px;
}

.home-final-cta__panel p {
  margin: 0;
  color: var(--muted);
}

html[data-theme="light"] .home-masterplan__stage,
html[data-theme="light"] .home-why__visual,
html[data-theme="light"] .home-showroom__media {
  box-shadow: 0 20px 42px rgba(80, 64, 45, 0.08);
}

html[data-theme="light"] .home-masterplan__panel,
html[data-theme="light"] .home-project__format,
html[data-theme="light"] .home-why__card {
  border-color: rgba(29, 33, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 240, 232, 0.9));
  box-shadow: 0 18px 36px rgba(80, 64, 45, 0.08);
}

html[data-theme="light"] .home-masterplan__pin-label {
  border-color: rgba(29, 33, 38, 0.08);
  background: rgba(255, 255, 255, 0.76);
  color: #1f2731;
}

html[data-theme="light"] .home-masterplan__panel-title,
html[data-theme="light"] .home-project-form h3,
html[data-theme="light"] .home-showroom__list strong,
html[data-theme="light"] .home-showroom__list a {
  color: #1b222b;
}

html[data-theme="light"] .home-masterplan__panel p,
html[data-theme="light"] .home-project-form > p,
html[data-theme="light"] .home-showroom__list span,
html[data-theme="light"] .home-final-cta__panel p {
  color: #5c6672;
}

@media (max-width: 1180px) {
  .home-masterplan__widget,
  .home-project__grid,
  .home-showroom__grid,
  .home-why__grid {
    grid-template-columns: 1fr;
  }

  .home-why__visual {
    aspect-ratio: 16 / 10;
  }

  .home-why__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-masterplan__widget,
  .home-project__grid,
  .home-showroom__grid,
  .home-why__grid {
    gap: 16px;
  }

  .home-masterplan__stage,
  .home-why__visual,
  .home-showroom__media,
  .home-showroom__map {
    border-radius: 22px;
  }

  .home-masterplan__stage {
    aspect-ratio: 4 / 5;
  }

  .home-masterplan__pin {
    gap: 8px;
  }

  .home-masterplan__pin-label {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .home-masterplan__panel {
    position: relative;
    top: auto;
    padding: 18px;
    border-radius: 20px;
  }

  .home-project-form,
  .home-showroom__info {
    padding: 18px;
  }

  .home-why__cards {
    grid-template-columns: 1fr;
  }

  .home-final-cta__panel {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
  }

  .home-final-cta__panel .button {
    width: 100%;
  }

  .home-showroom__map iframe {
    min-height: 320px;
  }
}


/* Final bottom override: homepage hero + grouped scenarios */

.hero--home-story {
  position: relative;
  min-height: 360svh;
  isolation: isolate;
}

.hero--home-story .container {
  position: relative;
  z-index: 2;
  min-height: 100svh;
}

.hero--home-story .hero__bg--photo {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: clip;
}

.hero--home-story .hero__bg--photo img {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  object-fit: cover;
  object-position: center center;
  transform: scale(var(--home-hero-scale));
  transition: transform 180ms linear;
}

.hero--home-story .hero__bg-overlay,
html[data-theme="light"] .hero--home-story .hero__bg-overlay,
.hero--home-story.is-story-blank .hero__bg-overlay,
html[data-theme="light"] .hero--home-story.is-story-blank .hero__bg-overlay {
  background:
    linear-gradient(180deg, rgba(6, 8, 12, 0.02) 0%, rgba(6, 8, 12, 0.04) 52%, rgba(6, 8, 12, 0.08) 100%),
    linear-gradient(90deg, rgba(6, 8, 12, 0.04) 0%, rgba(6, 8, 12, 0.012) 36%, rgba(6, 8, 12, 0.012) 66%, rgba(6, 8, 12, 0.04) 100%);
}

.home-hero-story-blankcue {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 100svh;
  display: grid;
  place-items: end start;
  padding: clamp(96px, 8vw, 118px) 0 clamp(36px, 4vw, 50px);
  pointer-events: none;
}

.home-hero-story-blankcue span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 16, 0.3);
  color: rgba(246, 247, 248, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-hero-story-shell {
  position: sticky;
  top: 0;
  z-index: 4;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(96px, 8vw, 118px) 0 clamp(36px, 4vw, 50px);
  overflow: clip;
}

.home-hero-story {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-areas:
    "title"
    "panel";
  gap: 16px;
  width: min(100%, 820px);
  max-width: 100%;
  align-self: end;
  padding-bottom: clamp(8px, 1.5vw, 20px);
}

.hero--home-story .home-hero-story-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.85s cubic-bezier(.19,1,.22,1),
    transform 0.85s cubic-bezier(.19,1,.22,1),
    visibility 0.85s step-end;
}

.hero--home-story.is-story-ready .home-hero-story-card.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.home-hero-story-card {
  width: min(100%, 620px);
  padding: clamp(20px, 2vw, 28px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 13, 17, 0.56), rgba(8, 10, 14, 0.34));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.home-hero-story-card--main,
.home-hero-story-card--title {
  grid-area: title;
  width: min(100%, 820px);
  padding: clamp(24px, 2.6vw, 34px);
  background: linear-gradient(180deg, rgba(10, 13, 17, 0.48), rgba(8, 10, 14, 0.26));
}

.home-hero-story-card--main h1 {
  max-width: 10.5ch;
  margin: 0;
  color: #f7f8fa;
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-hero-story-card--main .hero__lead {
  max-width: 42ch;
  margin: 18px 0 0;
  color: rgba(246, 247, 248, 0.98);
  font-size: clamp(1.06rem, 1.34vw, 1.28rem);
  line-height: 1.55;
}

.home-hero-story-card--main .home-hero__sublead {
  max-width: 54ch;
  margin: 14px 0 0;
  color: rgba(232, 236, 241, 0.9);
  font-size: 0.98rem;
  line-height: 1.64;
}

.home-hero-story-card--step {
  grid-area: panel;
  position: relative;
  inset: auto;
  min-height: 0;
}

.home-hero-story-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 999px;
  border: 1px solid rgba(198, 170, 136, 0.28);
  background: rgba(198, 170, 136, 0.08);
  color: rgba(231, 205, 169, 0.98);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-hero-story-card--step h2 {
  margin: 0;
  color: #f7f8fa;
  font-size: clamp(1.76rem, 2.36vw, 2.5rem);
  line-height: 0.98;
}

.home-hero-story-card--step p {
  margin: 16px 0 0;
  max-width: 30ch;
  color: rgba(241, 243, 247, 0.94);
  font-size: clamp(0.98rem, 1.14vw, 1.05rem);
  line-height: 1.58;
}

.home-hero-story-card--actions .hero__actions {
  margin-top: 22px;
  gap: 12px;
}

.home-hero-story-card--actions .button {
  min-height: 52px;
  padding-inline: 22px;
}

.home-hero-story-card--accent {
  background: linear-gradient(180deg, rgba(24, 18, 12, 0.38), rgba(10, 10, 10, 0.22));
}

.home-scenarios__panel {
  padding: clamp(18px, 2vw, 26px);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(182, 153, 119, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(12, 14, 18, 0.84), rgba(10, 12, 16, 0.76));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

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

.home-scenario-card {
  min-width: 0;
}

.home-scenario-card__link {
  display: grid;
  grid-template-rows: minmax(280px, 22vw) auto;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 17, 21, 0.96), rgba(10, 12, 16, 0.9));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.16);
  color: inherit;
  text-decoration: none;
}

.home-scenario-card__media {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.home-scenario-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 300ms ease;
}

.home-scenario-card__body {
  display: grid;
  gap: 10px;
  padding: 22px 22px 24px;
}

.home-scenario-card__body strong {
  color: var(--text-primary);
  font-size: clamp(1.42rem, 1.8vw, 1.82rem);
  line-height: 1.06;
}

.home-scenario-card__body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.62;
}

html[data-theme="light"] .home-hero-story-card {
  border-color: rgba(39, 30, 18, 0.1);
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.34), rgba(248, 244, 236, 0.2));
  box-shadow: 0 24px 54px rgba(94, 76, 50, 0.08);
}

html[data-theme="light"] .home-hero-story-card--main,
html[data-theme="light"] .home-hero-story-card--title {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.28), rgba(248, 244, 236, 0.14));
}

html[data-theme="light"] .home-hero-story-card--main h1,
html[data-theme="light"] .home-hero-story-card--step h2 {
  color: rgba(20, 26, 34, 0.98);
}

html[data-theme="light"] .home-hero-story-card--main .hero__lead,
html[data-theme="light"] .home-hero-story-card--main .home-hero__sublead,
html[data-theme="light"] .home-hero-story-card--step p {
  color: rgba(28, 34, 40, 0.9);
}

html[data-theme="light"] .home-hero-story-card--actions .button--primary {
  color: #f7f3eb;
  background: #20252c;
  border-color: #20252c;
}

html[data-theme="light"] .home-hero-story-card--actions .button--secondary {
  color: rgba(22, 28, 36, 0.96);
  background: rgba(255, 252, 247, 0.3);
  border-color: rgba(39, 30, 18, 0.12);
}

html[data-theme="light"] .home-hero-story-blankcue span {
  border-color: rgba(39, 30, 18, 0.12);
  background: rgba(255, 252, 247, 0.36);
  color: rgba(31, 37, 43, 0.9);
}

html[data-theme="light"] .home-scenarios__panel {
  border-color: rgba(39, 30, 18, 0.08);
  background:
    radial-gradient(circle at top left, rgba(182, 153, 119, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.78), rgba(248, 244, 236, 0.72));
}

html[data-theme="light"] .home-scenario-card__link {
  border-color: rgba(39, 30, 18, 0.08);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(249, 246, 240, 0.92));
  box-shadow: 0 18px 40px rgba(94, 76, 50, 0.08);
}

@media (max-width: 1080px) {
  .hero--home-story {
    min-height: 320svh;
  }

  .home-scenarios__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero--home-story {
    min-height: auto;
  }

  .hero--home-story .hero__bg--photo {
    position: absolute;
    inset: 0;
    min-height: 100%;
  }

  .hero--home-story .hero__bg--photo img {
    min-height: 100%;
  }

  .home-hero-story-blankcue {
    display: none;
  }

  .home-hero-story-shell {
    position: relative;
    min-height: auto;
    padding: 24px 0 12px;
  }

  .home-hero-story {
    gap: 12px;
    width: 100%;
  }

  .home-hero-story-card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    width: 100%;
    border-radius: 22px;
    padding: 22px 20px;
  }

  .home-hero-story-card--main,
  .home-hero-story-card--title {
    width: 100%;
  }

  .home-hero-story-card--main h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 4.4rem);
    line-height: 0.94;
  }

  .home-hero-story-card--main .hero__actions,
  .home-hero-story-card--actions .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-story-card--main .hero__actions .button,
  .home-hero-story-card--actions .hero__actions .button {
    width: 100%;
    justify-content: center;
  }

  .home-hero-story-card--step h2 {
    font-size: 1.38rem;
  }

  .home-hero-story-card--step p {
    max-width: none;
    font-size: 0.98rem;
  }

  .home-scenario-card__link {
    grid-template-rows: minmax(220px, 54vw) auto;
  }
}

.site-main--home {
  padding-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

html[data-theme="light"] .site-header {
  border-bottom-color: rgba(31, 35, 40, 0.08);
  background: rgba(249, 246, 241, 0.86);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 88px;
  padding-block: 14px;
}

.brand--logo img {
  width: 108px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.98rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-primary);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header__contacts {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header__contact-inline {
  color: var(--text-primary);
  font-size: 0.94rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__contact-inline--email {
  color: var(--text-secondary);
}

.site-header__contacts .button {
  min-height: 42px;
  padding-inline: 18px;
}

.site-header__contact-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__messenger,
.site-header__theme-trigger,
.site-header__menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.site-header__theme-popover {
  right: 0;
  margin-top: 10px;
}

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

.site-header.is-compact .brand--logo img {
  width: 90px;
}

.site-header.is-compact .site-nav {
  gap: 22px;
}

.site-header__mobile-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 14, 18, 0.96);
}

html[data-theme="light"] .site-header__mobile-panel {
  border-top-color: rgba(31, 35, 40, 0.08);
  background: rgba(250, 247, 242, 0.98);
}

.site-header__mobile-panel-inner {
  display: grid;
  gap: 18px;
  padding: 18px 0 22px;
}

.site-header__mobile-nav,
.site-header__mobile-extra {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .site-header__mobile-nav,
html[data-theme="light"] .site-header__mobile-extra {
  background: rgba(255, 255, 255, 0.82);
}

.site-header__mobile-nav a,
.site-header__mobile-extra a {
  color: var(--text-primary);
  text-decoration: none;
}

.home-hero-lite {
  position: relative;
  min-height: min(92svh, 920px);
  display: grid;
  align-items: end;
  overflow: clip;
}

.home-hero-lite .hero__bg--photo,
.home-hero-lite .hero__bg--photo picture,
.home-hero-lite .hero__bg--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-lite .hero__bg--photo img {
  object-fit: cover;
  object-position: center center;
}

.home-hero-lite .hero__bg-overlay {
  background:
    linear-gradient(90deg, rgba(9, 11, 15, 0.28) 0%, rgba(9, 11, 15, 0.1) 48%, rgba(9, 11, 15, 0.04) 100%),
    linear-gradient(180deg, rgba(9, 11, 15, 0.08) 0%, rgba(9, 11, 15, 0.14) 100%);
}

html[data-theme="light"] .home-hero-lite .hero__bg-overlay {
  background:
    linear-gradient(90deg, rgba(250, 246, 240, 0.12) 0%, rgba(250, 246, 240, 0.03) 55%, rgba(250, 246, 240, 0) 100%),
    linear-gradient(180deg, rgba(250, 246, 240, 0.06) 0%, rgba(250, 246, 240, 0.08) 100%);
}

.home-hero-lite__inner {
  position: relative;
  z-index: 2;
  padding: clamp(116px, 14vw, 172px) 0 clamp(34px, 5vw, 64px);
}

.home-hero-lite__content {
  width: min(100%, 680px);
  padding: clamp(26px, 3vw, 38px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.56), rgba(10, 12, 16, 0.28));
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[data-theme="light"] .home-hero-lite__content {
  border-color: rgba(31, 35, 40, 0.08);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.72), rgba(255, 252, 247, 0.46));
  box-shadow: 0 22px 54px rgba(96, 79, 55, 0.1);
}

.home-hero-lite__content h1 {
  margin: 0;
  max-width: 10.5ch;
  color: #f7f8fa;
  font-size: clamp(3rem, 5.6vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

html[data-theme="light"] .home-hero-lite__content h1 {
  color: #1d232b;
}

.home-hero-lite__content .hero__lead {
  max-width: 40ch;
  margin: 18px 0 0;
  color: rgba(244, 246, 249, 0.96);
  font-size: clamp(1.02rem, 1.26vw, 1.18rem);
  line-height: 1.58;
}

html[data-theme="light"] .home-hero-lite__content .hero__lead {
  color: #4f5d69;
}

.home-hero-lite__content .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.home-hero-lite__trust {
  margin: 16px 0 0;
  color: rgba(231, 205, 169, 0.98);
  font-size: 0.92rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

html[data-theme="light"] .home-hero-lite__trust {
  color: #8d6847;
}

.section#models,
.section#custom-project,
.section#works,
.section#veshki,
.section#advantages,
.section#consult {
  scroll-margin-top: 104px;
}

.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.home-section-heading p {
  margin: 0;
  color: var(--text-secondary);
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.catalog-tabs__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  text-decoration: none;
}

html[data-theme="light"] .catalog-tabs__tab {
  background: rgba(255, 255, 255, 0.84);
}

.catalog-tabs__tab.is-active,
.catalog-tabs__tab:hover,
.catalog-tabs__tab:focus-visible {
  color: var(--text-primary);
  border-color: rgba(182, 153, 119, 0.32);
  background: rgba(182, 153, 119, 0.1);
  outline: none;
}

.line-grid--products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.line-grid--products .line-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.line-grid--products .line-card__media {
  aspect-ratio: 1.12;
}

.line-grid--products .line-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.line-card__summary {
  color: var(--text-secondary);
}

.line-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.line-card__actions .button {
  flex: 1 1 0;
  min-height: 46px;
  justify-content: center;
}

.home-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.home-scenarios__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-scenario-card__link,
.home-work-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .home-scenario-card__link,
html[data-theme="light"] .home-work-card__link {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(96, 79, 55, 0.08);
}

.home-scenario-card__media,
.home-work-card__media {
  aspect-ratio: 1.28;
  overflow: hidden;
}

.home-scenario-card__media img,
.home-work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.home-scenario-card__body,
.home-work-card__body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.home-scenario-card__body strong,
.home-work-card__body strong {
  color: var(--text-primary);
  font-size: clamp(1.26rem, 1.7vw, 1.62rem);
  line-height: 1.08;
}

.home-scenario-card__body p,
.home-work-card__body p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.58;
}

.home-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-showroom__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
}

.home-showroom__media-stack {
  display: grid;
  gap: 18px;
}

.home-showroom__media,
.home-showroom__map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
}

.home-showroom__media {
  aspect-ratio: 1.28;
}

.home-showroom__media img,
.home-showroom__map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.home-showroom__map {
  min-height: 320px;
}

.home-showroom__info {
  display: grid;
  align-content: start;
  gap: 22px;
}

.home-showroom__list {
  display: grid;
  gap: 16px;
}

.home-showroom__list span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-tertiary);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-showroom__list strong,
.home-showroom__list a {
  color: var(--text-primary);
  text-decoration: none;
}

.home-showroom__map-link {
  color: var(--accent);
  text-decoration: none;
}

.home-why__cards--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-why__card {
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .home-why__card {
  background: rgba(255, 255, 255, 0.84);
}

.home-why__index {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-why__card h3 {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 1.42rem;
  line-height: 1.1;
}

.home-why__card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.58;
}

.home-project-form .lead-form-box__intro {
  gap: 22px;
}

html[data-theme="light"] .home-project-form .lead-form-box,
html[data-theme="light"] .home-showroom__info {
  background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1220px) {
  .site-nav {
    gap: 20px;
  }

  .site-header__contact-inline--email {
    display: none;
  }

  .line-grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-why__cards--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .site-header__contacts {
    gap: 10px;
  }

  .site-header__contacts .button {
    display: none;
  }

  .home-section-heading,
  .home-custom-project,
  .home-showroom__grid,
  .home-works-grid {
    grid-template-columns: 1fr;
  }

  .home-scenarios__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    min-height: 76px;
    padding-block: 10px;
  }

  .brand--logo img {
    width: 78px;
  }

  .site-header__actions {
    gap: 8px;
  }

  .site-header__contacts {
    justify-content: end;
  }

  .site-header__contact-inline--email {
    display: none;
  }

  .site-header__contact-inline {
    font-size: 0.82rem;
  }

  .site-header__theme-trigger,
  .site-header__menu-toggle,
  .site-header__messenger {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .home-hero-lite {
    min-height: auto;
  }

  .home-hero-lite__inner {
    padding: 94px 0 22px;
  }

  .home-hero-lite__content {
    width: 100%;
    padding: 22px 18px;
    border-radius: 24px;
  }

  .home-hero-lite__content h1 {
    max-width: none;
    font-size: clamp(2.25rem, 10vw, 3.3rem);
  }

  .home-hero-lite__content .hero__lead {
    max-width: none;
    font-size: 0.98rem;
  }

  .home-hero-lite__content .hero__actions,
  .line-card__actions {
    flex-direction: column;
  }

  .home-hero-lite__content .hero__actions .button,
  .line-card__actions .button {
    width: 100%;
  }

  .catalog-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .catalog-tabs__tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .line-grid--products,
  .home-why__cards--grid {
    grid-template-columns: 1fr;
  }

  .home-custom-project__content,
  .home-custom-project__media {
    border-radius: 24px;
  }

  .home-custom-project__media img {
    min-height: 280px;
  }

  .home-scenario-card__body,
  .home-work-card__body,
  .home-why__card {
    padding: 18px;
  }

  .home-showroom__map {
    min-height: 260px;
  }

  .section#models,
  .section#custom-project,
  .section#works,
  .section#veshki,
  .section#advantages,
  .section#consult {
    scroll-margin-top: 86px;
  }
}

/* Home main v2 */
.home-main-v2 {
  position: relative;
}

.home-main-v2 .section {
  padding-block: clamp(64px, 8vw, 104px);
}

.home-main-v2 .section-heading {
  margin-bottom: clamp(28px, 4vw, 42px);
}

.home-main-v2 .section-heading p {
  max-width: 760px;
}

.home-landing-hero {
  position: relative;
  min-height: min(92svh, 980px);
  display: flex;
  align-items: flex-end;
  overflow: clip;
  background: #111315;
}

.home-landing-hero__media,
.home-landing-hero__media picture,
.home-landing-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-landing-hero__media img {
  object-fit: cover;
  object-position: center;
}

.home-landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.68) 0%, rgba(8, 10, 12, 0.36) 42%, rgba(8, 10, 12, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.08) 0%, rgba(8, 10, 12, 0.2) 100%);
}

html[data-theme="light"] .home-landing-hero::after {
  background:
    linear-gradient(90deg, rgba(244, 239, 229, 0.28) 0%, rgba(244, 239, 229, 0.14) 34%, rgba(244, 239, 229, 0.04) 100%),
    linear-gradient(180deg, rgba(244, 239, 229, 0.04) 0%, rgba(244, 239, 229, 0.08) 100%);
}

.home-landing-hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: clamp(36px, 5vw, 68px);
}

.home-landing-hero__content {
  max-width: 680px;
  color: #f4f1ea;
}

.home-landing-hero__content h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.home-landing-hero__lead {
  margin: 24px 0 0;
  max-width: 620px;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.92);
}

.home-landing-hero__actions,
.home-custom__actions,
.home-showroom__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.home-landing-hero__trust {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.72);
}

html[data-theme="light"] .home-landing-hero__content {
  color: #20242d;
}

html[data-theme="light"] .home-landing-hero__lead {
  color: rgba(32, 36, 45, 0.84);
}

html[data-theme="light"] .home-landing-hero__trust {
  color: rgba(118, 88, 54, 0.92);
}

.home-model-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.home-model-filters__button {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.home-model-filters__button:hover,
.home-model-filters__button:focus-visible,
.home-model-filters__button.is-active {
  background: rgba(212, 180, 131, 0.14);
  border-color: rgba(212, 180, 131, 0.42);
  color: var(--text-primary);
  transform: translateY(-1px);
}

html[data-theme="light"] .home-model-filters__button {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(32, 36, 45, 0.1);
  color: #20242d;
}

html[data-theme="light"] .home-model-filters__button:hover,
html[data-theme="light"] .home-model-filters__button:focus-visible,
html[data-theme="light"] .home-model-filters__button.is-active {
  background: rgba(196, 162, 112, 0.18);
  border-color: rgba(196, 162, 112, 0.44);
}

.home-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-model-card {
  min-width: 0;
}

.home-model-card[hidden] {
  display: none !important;
}

.home-model-card__link,
.home-gallery-card__link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.home-model-card__link {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(14, 16, 19, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.home-model-card__link:hover,
.home-model-card__link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(212, 180, 131, 0.32);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.18);
}

.home-model-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.home-model-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-model-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 24px;
}

.home-model-card__body h3,
.home-gallery-card__body strong,
.home-trust-card h3 {
  margin: 0;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.08;
  color: var(--text-primary);
}

.home-model-card__body p,
.home-gallery-card__body p,
.home-custom__content p,
.home-trust-card p,
.home-showroom__list span {
  color: var(--text-muted);
}

.home-model-card__facts,
.home-custom__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-model-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.home-model-card__actions .button {
  pointer-events: none;
}

.home-model-card__secondary {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

html[data-theme="light"] .home-model-card__link {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(32, 36, 45, 0.08);
}

html[data-theme="light"] .home-model-card__secondary {
  color: rgba(32, 36, 45, 0.72);
}

.home-custom__grid,
.home-showroom__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.home-custom__content,
.home-showroom__info {
  border-radius: 32px;
  padding: clamp(28px, 3.4vw, 42px);
  background: rgba(16, 18, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-custom__content h2 {
  margin: 10px 0 16px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  text-wrap: balance;
}

.home-custom__media,
.home-showroom__image,
.home-showroom__map,
.home-gallery-card__media {
  overflow: hidden;
  border-radius: 28px;
}

.home-custom__media {
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.home-custom__media img,
.home-showroom__image img,
.home-gallery-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-gallery-card__link {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(14, 16, 19, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-gallery-card__media {
  aspect-ratio: 16 / 10;
}

.home-gallery-card__body {
  padding: 20px 22px 24px;
}

.home-gallery-card__body strong {
  display: block;
}

.home-gallery-card__body p {
  margin: 12px 0 0;
}

html[data-theme="light"] .home-gallery-card__link,
html[data-theme="light"] .home-custom__content,
html[data-theme="light"] .home-showroom__info {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(32, 36, 45, 0.08);
}

.home-showroom__visual {
  display: grid;
  gap: 20px;
}

.home-showroom__image {
  aspect-ratio: 16 / 10;
}

.home-showroom__map {
  min-height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-showroom__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.home-showroom__list {
  display: grid;
  gap: 18px;
}

.home-showroom__list div {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-showroom__list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-showroom__list span {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-showroom__list strong,
.home-showroom__list a {
  font-size: 20px;
  line-height: 1.45;
  text-decoration: none;
  color: var(--text-primary);
}

.home-showroom__map-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-trust-card {
  border-radius: 24px;
  padding: 24px;
  background: rgba(14, 16, 19, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .home-trust-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(32, 36, 45, 0.08);
}

.home-project-form .lead-form-box {
  background: rgba(14, 16, 19, 0.92);
}

html[data-theme="light"] .home-project-form .lead-form-box {
  background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1180px) {
  .home-model-grid,
  .home-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-custom__grid,
  .home-showroom__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .home-main-v2 .section {
    padding-block: 52px;
  }

  .home-landing-hero {
    min-height: auto;
  }

  .home-landing-hero__container {
    padding-top: 112px;
    padding-bottom: 34px;
  }

  .home-landing-hero__content {
    max-width: 100%;
  }

  .home-landing-hero__content h1 {
    font-size: clamp(40px, 14vw, 58px);
    line-height: 0.95;
  }

  .home-landing-hero__lead {
    font-size: 17px;
    max-width: 100%;
  }

  .home-landing-hero__actions,
  .home-custom__actions,
  .home-showroom__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-landing-hero__actions .button,
  .home-custom__actions .button,
  .home-showroom__actions .button {
    width: 100%;
  }

  .home-model-grid,
  .home-gallery-grid,
  .home-trust-grid {
    grid-template-columns: 1fr;
  }

  .home-model-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-model-card__secondary {
    text-align: center;
  }

  .home-showroom__map {
    min-height: 240px;
  }
}

.catalog-page-v2__hero {
  padding-block: clamp(112px, 14vw, 156px) clamp(36px, 4vw, 48px);
}

.catalog-page-v2__hero-box,
.catalog-page-v2__custom-box {
  border-radius: 32px;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(16, 18, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-page-v2__hero-box h1,
.catalog-page-v2__custom-box h2 {
  margin: 10px 0 14px;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02;
  text-wrap: balance;
}

.catalog-page-v2__hero-box p,
.catalog-page-v2__custom-box p {
  max-width: 780px;
  color: var(--text-muted);
}

.catalog-page-v2__custom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

html[data-theme="light"] .catalog-page-v2__hero-box,
html[data-theme="light"] .catalog-page-v2__custom-box {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(32, 36, 45, 0.08);
}

@media (max-width: 767px) {
  .catalog-page-v2__hero {
    padding-top: 98px;
    padding-bottom: 28px;
  }

  .catalog-page-v2__custom-actions {
    flex-direction: column;
  }

  .catalog-page-v2__custom-actions .button {
    width: 100%;
  }
}

/* Dom i Dvor homepage/header cleanup v3 */
.site-header {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  min-height: 82px;
  gap: 20px;
}

.site-header__contacts {
  gap: 10px;
}

.site-header__contact-inline {
  font-size: 0.9rem;
}

.site-header__contacts .button {
  min-height: 40px;
  padding-inline: 16px;
}

.site-header__theme-popover {
  min-width: 176px;
}

.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: end;
}

.home-landing-hero {
  min-height: min(90svh, 920px);
}

.home-landing-hero::after {
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.56) 0%, rgba(8, 10, 12, 0.28) 38%, rgba(8, 10, 12, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.04) 0%, rgba(8, 10, 12, 0.12) 100%);
}

html[data-theme="light"] .home-landing-hero::after {
  background:
    linear-gradient(90deg, rgba(245, 240, 231, 0.2) 0%, rgba(245, 240, 231, 0.08) 38%, rgba(245, 240, 231, 0.02) 100%),
    linear-gradient(180deg, rgba(245, 240, 231, 0.02) 0%, rgba(245, 240, 231, 0.05) 100%);
}

.home-landing-hero__container {
  padding-top: clamp(132px, 15vw, 176px);
  padding-bottom: clamp(44px, 5vw, 72px);
}

.home-landing-hero__content {
  max-width: 640px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.4), rgba(11, 13, 16, 0.22));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .home-landing-hero__content {
  color: #1f242c;
  border-color: rgba(31, 35, 40, 0.08);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.58), rgba(255, 252, 247, 0.34));
  box-shadow: 0 20px 42px rgba(109, 91, 67, 0.08);
}

.home-landing-hero__content h1 {
  max-width: 11ch;
}

.home-landing-hero__lead {
  max-width: 34ch;
  font-size: clamp(18px, 1.8vw, 22px);
}

.home-model-grid {
  gap: 28px;
}

.home-model-card__link,
.home-gallery-card__link,
.home-trust-card,
.home-custom__content,
.home-showroom__info {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.home-model-card__body h3,
.home-gallery-card__body strong,
.home-trust-card h3 {
  font-size: clamp(22px, 1.7vw, 28px);
}

.home-gallery-card__media {
  aspect-ratio: 4 / 3;
}

.home-gallery-card__body {
  display: grid;
  gap: 10px;
}

.home-section-cta {
  display: flex;
  justify-content: flex-start;
  margin-top: 28px;
}

.home-trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.home-trust-card {
  min-height: 100%;
}

.home-showroom__image {
  aspect-ratio: 4 / 3;
}

@media (max-width: 1180px) {
  .home-section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 960px) {
  .site-header__inner {
    min-height: 78px;
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    min-height: 72px;
    gap: 8px;
    padding-block: 8px;
  }

  .site-header__contact-inline {
    font-size: 0.8rem;
  }

  .site-header__theme-popover {
    min-width: 148px;
  }

  .home-landing-hero__container {
    padding-top: 104px;
    padding-bottom: 28px;
  }

  .home-landing-hero__content {
    padding: 22px 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(11, 13, 16, 0.46), rgba(11, 13, 16, 0.24));
  }

  html[data-theme="light"] .home-landing-hero__content {
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.66), rgba(255, 252, 247, 0.42));
  }

  .home-landing-hero__lead {
    max-width: none;
    font-size: 16px;
  }

  .home-gallery-card__media,
  .home-showroom__image {
    aspect-ratio: 16 / 11;
  }

  .home-trust-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Dom i Dvor catalog tiles + custom block v4 */
.home-landing-hero__content {
  max-width: 600px;
}

.home-landing-hero__content h1 {
  max-width: 9.8ch;
}

.home-landing-hero__lead {
  max-width: 32ch;
}

.home-custom__media {
  position: relative;
  display: flex;
  min-height: 100%;
}

.home-custom__media img {
  min-height: 100%;
}

.home-custom__media-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.76), rgba(10, 12, 16, 0.54));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-custom__media-caption strong {
  color: #f4f1ea;
  font-size: 1.1rem;
  line-height: 1.25;
}

.home-custom__media-caption span {
  color: rgba(244, 241, 234, 0.84);
  line-height: 1.45;
}

html[data-theme="light"] .home-custom__media-caption {
  border-color: rgba(31, 35, 40, 0.08);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(255, 252, 247, 0.64));
}

html[data-theme="light"] .home-custom__media-caption strong {
  color: #20242d;
}

html[data-theme="light"] .home-custom__media-caption span {
  color: rgba(32, 36, 45, 0.76);
}

.catalog-line-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.catalog-line-tile {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.catalog-line-tile .line-card__media {
  aspect-ratio: 4 / 3;
}

.catalog-line-tile .line-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.catalog-line-tile__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
}

.catalog-line-tile h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.34rem, 1.5vw, 1.66rem);
  line-height: 1.08;
}

.catalog-line-tile .line-card__summary {
  margin: 0;
}

.catalog-line-tile .line-card__facts {
  margin-top: 2px;
}

.catalog-line-tile .line-card__actions {
  margin-top: auto;
}

.catalog-page-v2__custom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: 28px;
  align-items: stretch;
}

.catalog-page-v2__custom-media {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.catalog-page-v2__custom-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

html[data-theme="light"] .catalog-page-v2__custom-media {
  border-color: rgba(32, 36, 45, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(96, 79, 55, 0.08);
}

@media (max-width: 1180px) {
  .catalog-line-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .catalog-page-v2__custom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .home-custom__media-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px 15px;
  }

  .catalog-line-grid {
    grid-template-columns: 1fr;
  }
}

/* Dom i Dvor homepage + catalog final v5 */
.home-landing-hero {
  position: relative;
  min-height: clamp(720px, 88svh, 980px);
  padding: clamp(112px, 12vw, 164px) 0 clamp(56px, 7vw, 84px);
  overflow: clip;
}

.home-landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.28) 0%, rgba(8, 10, 12, 0.12) 42%, rgba(8, 10, 12, 0.04) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.08) 0%, rgba(8, 10, 12, 0.02) 100%);
  pointer-events: none;
}

html[data-theme="light"] .home-landing-hero::after {
  background:
    linear-gradient(90deg, rgba(246, 240, 230, 0.22) 0%, rgba(246, 240, 230, 0.1) 40%, rgba(246, 240, 230, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.06) 0%, rgba(255, 252, 247, 0.02) 100%);
}

.home-landing-hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: calc(clamp(720px, 88svh, 980px) - clamp(168px, 18vw, 248px));
}

.home-landing-hero__content {
  max-width: 640px;
  padding: clamp(28px, 3vw, 38px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.68), rgba(10, 12, 16, 0.46));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html[data-theme="light"] .home-landing-hero__content {
  border-color: rgba(28, 32, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.72), rgba(255, 252, 247, 0.48));
  box-shadow: 0 24px 64px rgba(103, 84, 58, 0.12);
}

.home-landing-hero__content h1 {
  max-width: 11ch;
  margin: 10px 0 18px;
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-landing-hero__lead {
  max-width: 35ch;
  margin: 0;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.55;
}

.home-landing-hero__actions {
  margin-top: 28px;
}

.home-landing-hero__trust {
  margin-top: 18px;
  color: rgba(244, 241, 234, 0.72);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="light"] .home-landing-hero__lead {
  color: rgba(31, 37, 44, 0.84);
}

html[data-theme="light"] .home-landing-hero__trust {
  color: rgba(88, 73, 50, 0.86);
}

.home-model-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-model-card__link {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
}

.home-model-card__media {
  aspect-ratio: 1.16 / 1;
}

.home-model-card__body {
  gap: 12px;
  padding: 18px 18px 20px;
}

.home-model-card__body h3 {
  font-size: clamp(22px, 1.8vw, 30px);
}

.home-model-card__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.home-model-card__facts {
  gap: 8px;
}

.home-model-card__actions {
  align-items: center;
  gap: 12px;
}

.home-model-card__actions .button {
  padding-inline: 18px;
}

.home-custom__grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
}

.home-custom__content h2 {
  max-width: 14ch;
}

.home-custom__content p {
  margin: 0;
  font-size: 17px;
  line-height: 1.62;
}

.home-custom__media {
  min-height: 560px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.16);
}

.home-custom__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

html[data-theme="light"] .home-custom__media {
  border-color: rgba(32, 36, 45, 0.08);
  box-shadow: 0 22px 54px rgba(96, 79, 55, 0.12);
}

.home-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.catalog-line-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.catalog-line-tile {
  border-radius: 24px;
}

.catalog-line-tile .line-card__media {
  aspect-ratio: 1.16 / 1;
}

.catalog-line-tile__body {
  gap: 12px;
  padding: 0 22px 22px;
}

.catalog-line-tile h3 {
  font-size: clamp(22px, 1.7vw, 30px);
}

.catalog-line-tile .line-card__summary {
  font-size: 15px;
  line-height: 1.5;
}

.catalog-page-v2__custom-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 100%;
}

.catalog-page-v2__custom-box h2 {
  max-width: 14ch;
}

.catalog-page-v2__custom-box p {
  margin: 0;
  font-size: 17px;
  line-height: 1.62;
}

.catalog-page-v2__custom-media {
  min-height: 520px;
}

@media (max-width: 1280px) {
  .home-model-grid,
  .catalog-line-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .home-landing-hero__content h1 {
    max-width: 12ch;
    font-size: clamp(44px, 6vw, 72px);
  }

  .home-model-grid,
  .catalog-line-grid,
  .home-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-custom__grid,
  .home-showroom__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .home-landing-hero {
    min-height: auto;
    padding: 0;
  }

  .home-landing-hero__container {
    min-height: auto;
    align-items: flex-end;
    padding-top: 92px;
    padding-bottom: 28px;
  }

  .home-landing-hero__content {
    max-width: none;
    border-radius: 24px;
    padding: 20px 18px;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.58), rgba(10, 12, 16, 0.36));
  }

  html[data-theme="light"] .home-landing-hero__content {
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.62), rgba(255, 252, 247, 0.42));
  }

  .home-landing-hero__content h1 {
    max-width: 9ch;
    font-size: clamp(36px, 11vw, 56px);
    line-height: 0.96;
  }

  .home-landing-hero__lead {
    max-width: none;
    font-size: 16px;
    line-height: 1.5;
  }

  .home-landing-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .home-landing-hero__actions .button {
    width: 100%;
  }

  .home-landing-hero__trust {
    font-size: 12px;
    letter-spacing: 0.07em;
  }

  .home-model-grid,
  .catalog-line-grid,
  .home-gallery-grid,
  .home-trust-grid {
    grid-template-columns: 1fr;
  }

  .home-custom__media,
  .catalog-page-v2__custom-media {
    min-height: 340px;
  }
}

/* Dom i Dvor homepage polish v6 */
.home-main-v2 {
  margin-top: 0;
}

.home-landing-hero {
  margin-top: -1px;
  padding-top: 0;
}

.home-landing-hero__media,
.home-landing-hero__media picture,
.home-landing-hero__media img {
  top: 0;
}

.home-landing-hero__media img {
  height: 100%;
  object-position: center 44%;
}

.home-landing-hero__container {
  padding-top: 0;
}

/* Dom i Dvor final hero plate v28 */
.home-landing-hero {
  position: relative !important;
  min-height: clamp(760px, 56vw, 980px) !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  overflow: hidden !important;
}

.home-landing-hero::after {
  display: none !important;
}

.home-landing-hero__media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
}

.home-landing-hero__media,
.home-landing-hero__media picture,
.home-landing-hero__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.home-landing-hero__media img {
  object-fit: cover !important;
  object-position: center center !important;
}

.home-landing-hero__container {
  position: absolute !important;
  top: 26px !important;
  right: 0 !important;
  left: 0 !important;
  bottom: auto !important;
  inset: 26px 0 auto !important;
  z-index: 4 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home-landing-hero__content {
  display: none !important;
}

.home-hero-panel {
  width: min(1320px, calc(100% - 72px)) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(320px, 440px) minmax(520px, 1fr) !important;
  grid-template-rows: auto auto auto auto !important;
  align-items: start !important;
  gap: 8px 28px !important;
  padding: 12px 18px 12px !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(13, 17, 22, 0.62), rgba(13, 17, 22, 0.34)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14) !important;
  backdrop-filter: blur(10px) !important;
}

.home-hero-panel > .eyebrow {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(216, 189, 152, 0.96) !important;
}

.home-hero-panel > h1 {
  grid-column: 1 !important;
  grid-row: 2 / span 3 !important;
  margin: 0 !important;
  max-width: 10ch !important;
  font-size: clamp(30px, 2.55vw, 46px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.03em !important;
  color: #f4efe7 !important;
  text-wrap: pretty !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.home-hero-panel .home-landing-hero__lead {
  display: block !important;
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  max-width: 860px !important;
  font-size: clamp(14px, 0.92vw, 17px) !important;
  line-height: 1.34 !important;
  color: rgba(244, 239, 232, 0.96) !important;
}

.home-hero-panel .home-landing-hero__actions {
  display: flex !important;
  grid-column: 2 !important;
  grid-row: 3 !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
}

.home-hero-panel .home-landing-hero__actions .button {
  min-height: 34px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
}

.home-hero-panel .home-landing-hero__trust {
  display: block !important;
  grid-column: 2 !important;
  grid-row: 4 !important;
  margin: 0 !important;
  font-size: 8px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(236, 227, 214, 0.84) !important;
}

html[data-theme="light"] .home-hero-panel {
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.70), rgba(255, 251, 246, 0.42)) !important;
  border-color: rgba(137, 110, 82, 0.12) !important;
  box-shadow: 0 18px 42px rgba(86, 67, 43, 0.10) !important;
}

html[data-theme="light"] .home-hero-panel > h1,
html[data-theme="light"] .home-hero-panel .home-landing-hero__lead {
  color: #20252c !important;
}

html[data-theme="light"] .home-hero-panel .home-landing-hero__trust {
  color: rgba(56, 46, 35, 0.76) !important;
}

@media (max-width: 1180px) {
  .home-landing-hero__container {
    top: 18px !important;
    inset: 18px 0 auto !important;
  }

  .home-hero-panel {
    width: calc(100% - 28px) !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 7px !important;
    padding: 10px 12px 12px !important;
  }

  .home-hero-panel > .eyebrow,
  .home-hero-panel > h1,
  .home-hero-panel .home-landing-hero__lead,
  .home-hero-panel .home-landing-hero__actions,
  .home-hero-panel .home-landing-hero__trust {
    grid-column: 1 !important;
    grid-row: auto !important;
    max-width: none !important;
  }

  .home-hero-panel > h1 {
    max-width: 12ch !important;
    font-size: clamp(24px, 3.2vw, 34px) !important;
    line-height: 1 !important;
  }

  .home-hero-panel .home-landing-hero__lead {
    font-size: clamp(13px, 1.2vw, 15px) !important;
  }
}

@media (max-width: 767px) {
  .home-landing-hero {
    min-height: clamp(720px, 162vw, 980px) !important;
  }

  .home-landing-hero__container {
    top: 14px !important;
    inset: 14px 0 auto !important;
  }

  .home-hero-panel {
    width: calc(100% - 14px) !important;
    padding: 10px 10px 12px !important;
    border-radius: 16px !important;
    gap: 7px !important;
  }

  .home-hero-panel > .eyebrow {
    font-size: 10px !important;
    letter-spacing: 0.18em !important;
  }

  .home-hero-panel > h1 {
    max-width: 9.5ch !important;
    font-size: clamp(21px, 5.8vw, 30px) !important;
    line-height: 1.02 !important;
  }

  .home-hero-panel .home-landing-hero__lead {
    font-size: 12px !important;
    line-height: 1.28 !important;
  }

  .home-hero-panel .home-landing-hero__actions {
    gap: 10px !important;
  }

  .home-hero-panel .home-landing-hero__actions .button {
    width: 100% !important;
    min-height: 34px !important;
    justify-content: center !important;
  }

  .home-hero-panel .home-landing-hero__trust {
    font-size: 8px !important;
    letter-spacing: 0.1em !important;
  }
}

/* Dom i Dvor hero final top placement v26 */
.home-landing-hero {
  position: relative !important;
}

.home-landing-hero__container {
  position: absolute !important;
  top: 14px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  inset: 14px 0 auto !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 8 !important;
}

.home-landing-hero__content {
  width: min(1220px, calc(100% - 84px)) !important;
  margin: 0 auto !important;
  padding: 8px 16px 10px !important;
  min-height: 0 !important;
  border-radius: 18px !important;
  gap: 4px 18px !important;
  align-items: start !important;
}

.home-landing-hero__content h1 {
  margin: 0 !important;
}

.home-landing-hero__lead,
.home-landing-hero__actions,
.home-landing-hero__trust {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 1180px) {
  .home-landing-hero__container {
    top: 10px !important;
    inset: 10px 0 auto !important;
  }

  .home-landing-hero__content {
    width: min(860px, calc(100% - 20px)) !important;
  }
}

@media (max-width: 767px) {
  .home-landing-hero__container {
    top: 8px !important;
    inset: 8px 0 auto !important;
  }

  .home-landing-hero__content {
    width: calc(100% - 10px) !important;
    padding: 8px 8px 10px !important;
  }
}

/* Dom i Dvor rebuilt hero panel v27 */
.home-landing-hero {
  position: relative !important;
  min-height: clamp(760px, 56vw, 980px);
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home-landing-hero__media,
.home-landing-hero__media picture,
.home-landing-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-landing-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-landing-hero__media img {
  object-fit: cover;
  object-position: center center;
}

.home-landing-hero::after,
.home-landing-hero__content,
.home-landing-hero__lead,
.home-landing-hero__actions,
.home-landing-hero__trust {
  display: none !important;
}

.home-landing-hero__container {
  position: absolute !important;
  top: 18px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  inset: 18px 0 auto !important;
  z-index: 3 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.home-hero-panel {
  width: min(1240px, calc(100% - 84px));
  margin: 0 auto;
  padding: 12px 18px 14px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: 8px 20px;
  align-items: start;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(18, 22, 27, 0.18), rgba(18, 22, 27, 0.06)),
    rgba(18, 22, 27, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
}

.home-hero-panel__intro,
.home-hero-panel__meta {
  display: grid;
  gap: 8px;
  align-content: start;
}

.home-hero-panel__eyebrow {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(214, 189, 154, 0.96);
}

.home-hero-panel__title {
  margin: 0;
  max-width: 9.5ch;
  font-size: clamp(20px, 2vw, 38px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: #f3eee6;
  text-wrap: balance;
}

.home-hero-panel__lead {
  margin: 0;
  max-width: 720px;
  font-size: clamp(12px, 0.82vw, 15px);
  line-height: 1.34;
  color: rgba(242, 235, 226, 0.94);
}

.home-hero-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-hero-panel__actions .button {
  min-height: 40px;
  padding: 0 16px;
}

.home-hero-panel__trust {
  margin: 0;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(231, 222, 209, 0.84);
}

html[data-theme="light"] .home-hero-panel {
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.28), rgba(250, 245, 238, 0.1)),
    rgba(255, 252, 247, 0.04);
  border-color: rgba(119, 96, 68, 0.1);
  box-shadow: 0 8px 18px rgba(114, 91, 61, 0.05);
}

html[data-theme="light"] .home-hero-panel__title {
  color: #1f232b;
}

html[data-theme="light"] .home-hero-panel__lead,
html[data-theme="light"] .home-hero-panel__trust {
  color: rgba(38, 36, 32, 0.86);
}

@media (max-width: 1180px) {
  .home-landing-hero__container {
    top: 14px !important;
    inset: 14px 0 auto !important;
  }

  .home-hero-panel {
    width: min(880px, calc(100% - 24px));
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }

  .home-hero-panel__title,
  .home-hero-panel__lead,
  .home-hero-panel__trust {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .home-landing-hero {
    min-height: clamp(600px, 150vw, 860px);
  }

  .home-landing-hero__container {
    top: 10px !important;
    inset: 10px 0 auto !important;
  }

  .home-hero-panel {
    width: calc(100% - 12px);
    padding: 10px 10px 12px;
    border-radius: 14px;
    gap: 6px;
  }

  .home-hero-panel__eyebrow {
    font-size: 10px;
  }

  .home-hero-panel__title {
    max-width: 9ch;
    font-size: clamp(18px, 5.6vw, 28px);
  }

  .home-hero-panel__lead {
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .home-hero-panel__actions .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .home-hero-panel__trust {
    font-size: 8px;
  }
}

/* Dom i Dvor hero full-image layout v14 */
.home-landing-hero {
  position: relative;
  margin-top: 0;
  padding: 0 0 clamp(48px, 6vw, 88px);
  background: linear-gradient(180deg, #171a1f 0%, #14171b 100%);
}

.home-landing-hero::after {
  display: none;
}

.home-landing-hero__media,
.home-landing-hero__media picture,
.home-landing-hero__media img {
  position: relative;
  display: block;
  inset: auto;
  width: 100%;
  height: auto;
}

.home-landing-hero__media {
  overflow: hidden;
  background: #111418;
  line-height: 0;
}

.home-landing-hero__media img {
  width: 100%;
  height: auto !important;
  max-height: none;
  object-fit: contain !important;
  object-position: center center !important;
}

.home-landing-hero__container {
  position: relative;
  z-index: 2;
  margin-top: clamp(-28px, -2vw, -12px);
  padding-top: 0;
}

.home-landing-hero__content {
  max-width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(20, 24, 29, 0.92), rgba(14, 17, 21, 0.96)),
    rgba(14, 17, 21, 0.94);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.home-landing-hero__content h1 {
  max-width: 13ch;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  line-height: 0.96;
}

.home-landing-hero__lead {
  max-width: 760px;
  font-size: clamp(1.02rem, 1.45vw, 1.34rem);
  line-height: 1.62;
  color: rgba(233, 228, 220, 0.84);
}

.home-landing-hero__actions {
  margin-top: 24px;
}

.home-landing-hero__trust {
  margin-top: 18px;
  color: rgba(214, 199, 180, 0.78);
}

html[data-theme="light"] .home-landing-hero {
  background: linear-gradient(180deg, #f6f1e9 0%, #f2ece3 100%);
}

html[data-theme="light"] .home-landing-hero__content {
  border-color: rgba(123, 101, 73, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(247, 241, 233, 0.97)),
    rgba(255, 252, 247, 0.95);
  box-shadow: 0 22px 56px rgba(119, 96, 68, 0.14);
}

html[data-theme="light"] .home-landing-hero__lead {
  color: rgba(41, 44, 51, 0.8);
}

html[data-theme="light"] .home-landing-hero__trust {
  color: rgba(112, 88, 61, 0.82);
}

@media (max-width: 767px) {
  .home-landing-hero {
    padding-bottom: 34px;
  }

  .home-landing-hero__container {
    margin-top: 0;
  }

  .home-landing-hero__content {
    margin-top: 14px;
    padding: 22px 18px 24px;
    border-radius: 24px;
  }

  .home-landing-hero__content h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .home-landing-hero__lead {
    font-size: 1rem;
    line-height: 1.58;
  }
}

/* Dom i Dvor hero rebuild v15 */
.home-landing-hero {
  display: block;
  min-height: 0;
  padding: 0 0 clamp(28px, 4vw, 44px);
  background: #171a1f;
  overflow: visible;
}

.home-landing-hero::before,
.home-landing-hero::after {
  display: none !important;
}

.home-landing-hero__media,
.home-landing-hero__media picture,
.home-landing-hero__media img {
  position: relative !important;
  inset: auto !important;
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
}

.home-landing-hero__media {
  overflow: hidden;
  line-height: 0;
  background: #0f1216;
}

.home-landing-hero__media img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.home-landing-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 0 !important;
  padding-top: clamp(18px, 2.4vw, 28px) !important;
  padding-bottom: 0 !important;
}

.home-landing-hero__content {
  max-width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 38px);
  color: #f4f1ea;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(21, 24, 29, 0.94), rgba(16, 19, 24, 0.97)),
    rgba(16, 19, 24, 0.95);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.home-landing-hero__content h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.home-landing-hero__lead {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.56;
  color: rgba(244, 241, 234, 0.84);
}

.home-landing-hero__actions {
  margin-top: 26px;
}

.home-landing-hero__trust {
  margin-top: 18px;
  color: rgba(212, 198, 176, 0.76);
}

html[data-theme="light"] .home-landing-hero {
  background: #f4eee4;
}

html[data-theme="light"] .home-landing-hero__content {
  color: #1f232b;
  border-color: rgba(120, 97, 68, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(246, 239, 229, 0.98)),
    rgba(255, 252, 247, 0.96);
  box-shadow: 0 18px 46px rgba(119, 96, 68, 0.12);
}

html[data-theme="light"] .home-landing-hero__lead {
  color: rgba(37, 42, 49, 0.82);
}

html[data-theme="light"] .home-landing-hero__trust {
  color: rgba(115, 89, 60, 0.82);
}

@media (max-width: 767px) {
  .home-landing-hero {
    padding-bottom: 22px;
  }

  .home-landing-hero__container {
    padding-top: 12px !important;
  }

  .home-landing-hero__content {
    padding: 20px 18px 22px;
    border-radius: 22px;
  }

  .home-landing-hero__content h1 {
    max-width: none;
    font-size: clamp(34px, 10vw, 56px);
  }

  .home-landing-hero__lead {
    font-size: 1rem;
    line-height: 1.58;
  }
}

/* Dom i Dvor hero + custom projects final v16 */
.home-landing-hero {
  position: relative;
  padding: 0;
  background: #101317;
}

.home-landing-hero__media,
.home-landing-hero__media picture,
.home-landing-hero__media img {
  position: relative !important;
  inset: auto !important;
  display: block;
  width: 100%;
  height: auto !important;
}

.home-landing-hero__media {
  line-height: 0;
  overflow: hidden;
}

.home-landing-hero__media img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: center top !important;
}

.home-landing-hero__container {
  position: absolute;
  inset: clamp(28px, 3vw, 44px) 0 auto;
  z-index: 3;
  width: 100%;
  padding: 0;
  pointer-events: none;
}

.home-landing-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  grid-template-areas:
    "eyebrow lead"
    "title lead"
    "title actions"
    ". trust";
  gap: 12px 28px;
  align-items: start;
  max-width: min(1480px, calc(100% - 72px));
  margin: 0 auto;
  padding: 24px 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(18, 22, 27, 0.82), rgba(18, 22, 27, 0.56)),
    rgba(18, 22, 27, 0.62);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.home-landing-hero__content .eyebrow {
  grid-area: eyebrow;
  margin: 0;
}

.home-landing-hero__content h1 {
  grid-area: title;
  max-width: 8.5ch;
  margin: 0;
  font-size: clamp(54px, 5vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.home-landing-hero__lead {
  grid-area: lead;
  max-width: 520px;
  margin: 2px 0 0;
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.58;
  color: rgba(241, 235, 226, 0.9);
}

.home-landing-hero__actions {
  grid-area: actions;
  margin-top: 6px;
}

.home-landing-hero__trust {
  grid-area: trust;
  margin-top: 2px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(212, 196, 173, 0.76);
}

html[data-theme="light"] .home-landing-hero__content {
  border-color: rgba(124, 100, 69, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.84), rgba(247, 241, 233, 0.68)),
    rgba(255, 252, 247, 0.72);
  box-shadow: 0 18px 50px rgba(119, 96, 68, 0.14);
}

html[data-theme="light"] .home-landing-hero__lead {
  color: rgba(36, 41, 49, 0.82);
}

html[data-theme="light"] .home-landing-hero__trust {
  color: rgba(112, 87, 58, 0.82);
}

.home-custom__grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.home-custom__content {
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(18, 21, 26, 0.96), rgba(14, 17, 21, 0.98)),
    rgba(14, 17, 21, 0.96);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.2);
}

.home-custom__content h2 {
  max-width: 10ch;
  margin-bottom: 20px;
  font-size: clamp(48px, 4.6vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.home-custom__content p {
  max-width: 680px;
  font-size: clamp(18px, 1.28vw, 22px);
  line-height: 1.62;
}

.home-custom__media {
  position: relative;
  top: auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(23, 26, 31, 0.98), rgba(18, 21, 25, 0.98)),
    rgba(18, 21, 25, 0.98);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.home-custom__media::after {
  display: none;
}

.home-custom__media img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #d7c9bd;
}

.home-custom__media-caption {
  position: absolute;
  top: 24px;
  left: 24px;
  right: auto;
  bottom: auto;
  width: min(360px, calc(100% - 48px));
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(17, 20, 25, 0.82), rgba(17, 20, 25, 0.62)),
    rgba(17, 20, 25, 0.7);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.home-custom__media-caption strong {
  display: block;
  margin: 0 0 8px;
  font-size: clamp(1.32rem, 1.9vw, 1.72rem);
  line-height: 1.12;
  color: #f5efe7;
}

.home-custom__media-caption span {
  display: block;
  font-size: 1rem;
  line-height: 1.62;
  color: rgba(234, 227, 218, 0.82);
}

html[data-theme="light"] .home-custom__content {
  border-color: rgba(124, 100, 69, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.95), rgba(247, 241, 233, 0.98)),
    rgba(255, 252, 247, 0.96);
  box-shadow: 0 18px 48px rgba(119, 96, 68, 0.14);
}

html[data-theme="light"] .home-custom__media {
  border-color: rgba(124, 100, 69, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 241, 233, 0.98)),
    rgba(255, 252, 247, 0.98);
}

html[data-theme="light"] .home-custom__media-caption {
  border-color: rgba(124, 100, 69, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.86), rgba(247, 241, 233, 0.72)),
    rgba(255, 252, 247, 0.78);
}

html[data-theme="light"] .home-custom__media-caption strong {
  color: #232831;
}

html[data-theme="light"] .home-custom__media-caption span {
  color: rgba(43, 48, 56, 0.82);
}

@media (max-width: 1180px) {
  .home-landing-hero__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lead"
      "actions"
      "trust";
    max-width: min(760px, calc(100% - 40px));
  }

  .home-landing-hero__content h1,
  .home-landing-hero__lead {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .home-landing-hero__container {
    position: relative;
    inset: auto;
    margin-top: -14px;
    padding: 0 0 22px;
  }

  .home-landing-hero__content {
    max-width: calc(100% - 24px);
    padding: 18px 16px 20px;
    border-radius: 22px;
  }

  .home-landing-hero__content h1 {
    font-size: clamp(34px, 10vw, 56px);
  }

  .home-landing-hero__lead {
    font-size: 1rem;
  }

  .home-custom__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-custom__content {
    padding: 22px 18px 24px;
    border-radius: 24px;
  }

  .home-custom__content h2 {
    max-width: none;
    font-size: clamp(34px, 9vw, 54px);
  }

  .home-custom__content p {
    font-size: 1rem;
  }

  .home-custom__media {
    border-radius: 24px;
  }

  .home-custom__media-caption {
    top: 14px;
    left: 14px;
    width: min(300px, calc(100% - 28px));
    padding: 14px 16px;
    border-radius: 20px;
  }

  .home-custom__media-caption strong {
    font-size: 1.12rem;
  }

  .home-custom__media-caption span {
    font-size: 0.92rem;
  }
}

/* Dom i Dvor hero sky placement + custom section polish v17 */
.home-landing-hero__container {
  position: absolute;
  top: clamp(18px, 2vw, 32px);
  left: 0;
  right: 0;
  bottom: auto;
  inset: clamp(18px, 2vw, 32px) 0 auto;
  padding: 0;
}

.home-landing-hero__content {
  margin-top: 0 !important;
  max-width: min(1360px, calc(100% - 56px));
  padding: 18px 22px 18px;
  border-radius: 26px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  grid-template-areas:
    "eyebrow lead"
    "title lead"
    "title actions"
    "title trust";
  gap: 10px 24px;
  background:
    linear-gradient(135deg, rgba(18, 22, 27, 0.58), rgba(18, 22, 27, 0.36)),
    rgba(18, 22, 27, 0.42);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.home-landing-hero__content h1 {
  max-width: 8.2ch;
  font-size: clamp(44px, 4.4vw, 74px);
  line-height: 0.9;
}

.home-landing-hero__lead {
  align-self: start;
  max-width: 520px;
  margin: 0;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.5;
}

.home-landing-hero__actions {
  margin-top: 4px;
  gap: 12px;
}

.home-landing-hero__actions .button {
  min-height: 52px;
  padding: 0 22px;
}

.home-landing-hero__trust {
  margin-top: 0;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.12em;
}

html[data-theme="light"] .home-landing-hero__content {
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.68), rgba(247, 241, 233, 0.46)),
    rgba(255, 252, 247, 0.52);
  box-shadow: 0 16px 36px rgba(119, 96, 68, 0.1);
}

.home-custom__grid {
  align-items: stretch;
}

.home-custom__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-custom__media {
  display: flex;
  align-items: stretch;
  min-height: 100%;
}

.home-custom__media img {
  width: 100%;
  height: auto !important;
}

.home-custom__media-caption {
  width: min(340px, calc(100% - 44px));
  padding: 16px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(17, 20, 25, 0.74), rgba(17, 20, 25, 0.52)),
    rgba(17, 20, 25, 0.56);
}

@media (max-width: 1180px) {
  .home-landing-hero__content {
    max-width: min(820px, calc(100% - 40px));
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lead"
      "actions"
      "trust";
    gap: 12px;
  }

  .home-landing-hero__content h1,
  .home-landing-hero__lead {
    max-width: none;
  }
}

/* Dom i Dvor hero sky placement final v18 */
.home-landing-hero {
  min-height: clamp(760px, 58vw, 1040px);
}

.home-landing-hero__container {
  position: absolute;
  inset: clamp(28px, 3vw, 44px) 0 auto;
  z-index: 3;
  pointer-events: none;
}

.home-landing-hero__content {
  pointer-events: auto;
  margin: 0 auto !important;
  width: min(1480px, calc(100% - 72px));
  max-width: none;
  min-height: 0;
  padding: clamp(22px, 2vw, 30px) clamp(26px, 2.3vw, 38px);
  border-radius: 30px;
  grid-template-columns: minmax(420px, 1.15fr) minmax(360px, 0.95fr);
  grid-template-areas:
    "eyebrow lead"
    "title lead"
    "title actions"
    "title trust";
  gap: 14px 30px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(14, 18, 24, 0.56), rgba(14, 18, 24, 0.28)),
    rgba(14, 18, 24, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.home-landing-hero__content h1 {
  max-width: 9ch;
  font-size: clamp(42px, 4vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.home-landing-hero__lead {
  max-width: 560px;
  margin: 0;
  font-size: clamp(16px, 1.08vw, 20px);
  line-height: 1.55;
}

.home-landing-hero__actions {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 2px;
}

.home-landing-hero__actions .button {
  min-height: 52px;
  padding: 0 24px;
}

.home-landing-hero__trust {
  margin-top: 2px;
  max-width: 560px;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.14em;
}

html[data-theme="light"] .home-landing-hero__content {
  background:
    linear-gradient(135deg, rgba(255, 251, 245, 0.66), rgba(248, 243, 236, 0.34)),
    rgba(255, 251, 245, 0.2);
  border-color: rgba(123, 96, 67, 0.14);
  box-shadow: 0 18px 44px rgba(114, 91, 61, 0.12);
}

html[data-theme="light"] .home-landing-hero__lead,
html[data-theme="light"] .home-landing-hero__trust {
  color: rgba(44, 41, 36, 0.88);
}

@media (max-width: 1380px) {
  .home-landing-hero__content {
    width: min(1320px, calc(100% - 52px));
    grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.9fr);
  }
}

@media (max-width: 1180px) {
  .home-landing-hero {
    min-height: clamp(680px, 78vw, 920px);
  }

  .home-landing-hero__container {
    inset: 22px 0 auto;
  }

  .home-landing-hero__content {
    width: min(860px, calc(100% - 34px));
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lead"
      "actions"
      "trust";
    gap: 12px;
  }

  .home-landing-hero__content h1,
  .home-landing-hero__lead,
  .home-landing-hero__trust {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .home-landing-hero {
    min-height: clamp(600px, 158vw, 860px);
  }

  .home-landing-hero__container {
    inset: 12px 0 auto;
  }

  .home-landing-hero__content {
    width: calc(100% - 20px);
    padding: 14px 14px 16px;
    border-radius: 20px;
    gap: 10px;
    background:
      linear-gradient(135deg, rgba(14, 18, 24, 0.42), rgba(14, 18, 24, 0.2)),
      rgba(14, 18, 24, 0.14);
    backdrop-filter: blur(9px);
  }

  .home-landing-hero__content h1 {
    max-width: 10ch;
    font-size: clamp(30px, 8.6vw, 44px);
    line-height: 0.96;
  }

  .home-landing-hero__lead {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .home-landing-hero__actions .button {
    min-height: 46px;
    padding: 0 16px;
  }

  .home-landing-hero__trust {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

/* Dom i Dvor custom projects sticky media v19 */
.home-custom__grid {
  align-items: start;
}

.home-custom__content {
  position: relative;
  z-index: 2;
}

.home-custom__media {
  position: sticky;
  top: 124px;
  min-height: 0 !important;
  aspect-ratio: 16 / 11;
  display: grid;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(19, 22, 27, 0.24), rgba(19, 22, 27, 0.12)),
    rgba(255, 255, 255, 0.02);
}

.home-custom__media img {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.home-custom__media-caption {
  top: 18px;
  left: 18px;
  right: auto;
  bottom: auto;
  width: min(360px, calc(100% - 36px));
  padding: 18px 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(18, 21, 26, 0.76), rgba(18, 21, 26, 0.54)),
    rgba(18, 21, 26, 0.58);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.home-custom__media-caption strong {
  display: block;
  margin-bottom: 8px;
}

html[data-theme="light"] .home-custom__media {
  background:
    linear-gradient(180deg, rgba(255, 249, 241, 0.28), rgba(255, 249, 241, 0.14)),
    rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .home-custom__media-caption {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(244, 237, 228, 0.66)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(111, 88, 60, 0.12);
  box-shadow: 0 18px 40px rgba(108, 89, 61, 0.14);
}

@media (max-width: 1100px) {
  .home-custom__media {
    position: relative;
    top: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767px) {
  .home-custom__media {
    aspect-ratio: 4 / 3;
  }

  .home-custom__media-caption {
    top: 12px;
    left: 12px;
    width: min(280px, calc(100% - 24px));
    padding: 14px 16px;
    border-radius: 18px;
  }
}

/* Dom i Dvor hero sky bar + custom fullscreen v20 */
.home-landing-hero {
  min-height: clamp(760px, 56vw, 980px);
}

.home-landing-hero__container {
  position: absolute;
  inset: clamp(22px, 2vw, 34px) 0 auto;
  z-index: 3;
  pointer-events: none;
}

.home-landing-hero__content {
  pointer-events: auto;
  width: min(1380px, calc(100% - 56px));
  margin: 0 auto !important;
  min-height: 0;
  padding: 18px 24px 20px;
  border-radius: 24px;
  grid-template-columns: minmax(420px, 0.88fr) minmax(420px, 1fr);
  grid-template-areas:
    "eyebrow lead"
    "title lead"
    "title actions"
    "title trust";
  gap: 10px 24px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(16, 19, 24, 0.38), rgba(16, 19, 24, 0.18)),
    rgba(16, 19, 24, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.home-landing-hero__content h1 {
  max-width: 11ch;
  font-size: clamp(34px, 3.3vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.home-landing-hero__lead {
  max-width: 620px;
  margin: 0;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.5;
}

.home-landing-hero__actions {
  margin-top: 2px;
  gap: 10px;
}

.home-landing-hero__actions .button {
  min-height: 48px;
  padding: 0 20px;
}

.home-landing-hero__trust {
  margin-top: 0;
  max-width: 620px;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.14em;
}

html[data-theme="light"] .home-landing-hero__content {
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.54), rgba(250, 245, 238, 0.28)),
    rgba(255, 252, 247, 0.16);
  border-color: rgba(119, 96, 68, 0.12);
  box-shadow: 0 14px 34px rgba(114, 91, 61, 0.08);
}

html[data-theme="light"] .home-landing-hero__lead,
html[data-theme="light"] .home-landing-hero__trust {
  color: rgba(40, 38, 34, 0.86);
}

.home-custom {
  position: relative;
  overflow: clip;
}

.home-custom .container {
  position: relative;
}

.home-custom__grid {
  position: relative;
  display: block;
  min-height: 132vh;
}

.home-custom__media {
  position: sticky;
  top: 96px;
  height: calc(100vh - 128px);
  min-height: 720px !important;
  max-height: 920px;
  aspect-ratio: auto;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(14, 16, 20, 0.22);
}

.home-custom__media img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.home-custom__content {
  position: absolute;
  left: clamp(28px, 3vw, 44px);
  top: clamp(28px, 3vw, 46px);
  z-index: 2;
  width: min(520px, calc(100% - 56px));
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(14, 18, 24, 0.74), rgba(14, 18, 24, 0.44)),
    rgba(14, 18, 24, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.home-custom__content h2 {
  max-width: 12ch;
  margin: 10px 0 14px;
  font-size: clamp(28px, 2.9vw, 52px);
  line-height: 0.98;
}

.home-custom__content p {
  font-size: clamp(15px, 0.98vw, 18px);
  line-height: 1.56;
}

.home-custom__facts {
  gap: 10px;
}

.home-custom__facts .fact-pill {
  font-size: 14px;
}

.home-custom__actions .button {
  min-height: 48px;
  padding-inline: 20px;
}

.home-custom__media-caption {
  display: none;
}

html[data-theme="light"] .home-custom__content {
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.74), rgba(247, 241, 233, 0.5)),
    rgba(255, 252, 247, 0.42);
  border-color: rgba(117, 94, 66, 0.14);
  box-shadow: 0 18px 42px rgba(110, 88, 61, 0.12);
}

@media (max-width: 1180px) {
  .home-landing-hero__content {
    width: min(980px, calc(100% - 36px));
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lead"
      "actions"
      "trust";
    gap: 10px;
  }

  .home-landing-hero__content h1,
  .home-landing-hero__lead,
  .home-landing-hero__trust {
    max-width: none;
  }

  .home-custom__grid {
    min-height: 0;
  }

  .home-custom__media {
    position: relative;
    top: auto;
    height: auto;
    min-height: 520px !important;
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  .home-custom__content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-bottom: 24px;
  }
}

@media (max-width: 767px) {
  .home-landing-hero {
    min-height: clamp(620px, 150vw, 860px);
  }

  .home-landing-hero__container {
    inset: 10px 0 auto;
  }

  .home-landing-hero__content {
    width: calc(100% - 18px);
    padding: 14px 14px 16px;
    border-radius: 18px;
    background:
      linear-gradient(135deg, rgba(16, 19, 24, 0.34), rgba(16, 19, 24, 0.14)),
      rgba(16, 19, 24, 0.1);
  }

  .home-landing-hero__content h1 {
    max-width: 9ch;
    font-size: clamp(28px, 8vw, 42px);
  }

  .home-landing-hero__lead {
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .home-landing-hero__actions .button {
    min-height: 44px;
    padding: 0 14px;
  }

  .home-landing-hero__trust {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .home-custom__media {
    min-height: 420px !important;
    aspect-ratio: 4 / 5;
  }

  .home-custom__content {
    margin-bottom: 18px;
    padding: 18px 18px 20px;
    border-radius: 22px;
  }

  .home-custom__content h2 {
    font-size: clamp(24px, 8vw, 36px);
    max-width: 11ch;
  }

  .home-custom__content p {
    font-size: 15px;
  }
}

/* Dom i Dvor hero top strip + custom fixed background v21 */
.home-landing-hero__container {
  inset: 14px 0 auto;
}

.home-landing-hero__content {
  width: min(1320px, calc(100% - 64px));
  padding: 14px 20px 16px;
  border-radius: 22px;
  grid-template-columns: minmax(360px, 0.8fr) minmax(420px, 0.95fr);
  gap: 8px 22px;
  background:
    linear-gradient(135deg, rgba(16, 19, 24, 0.3), rgba(16, 19, 24, 0.12)),
    rgba(16, 19, 24, 0.1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
}

.home-landing-hero__content h1 {
  max-width: 11ch;
  font-size: clamp(28px, 2.9vw, 52px);
  line-height: 0.94;
}

.home-landing-hero__lead {
  max-width: 620px;
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1.45;
}

.home-landing-hero__actions .button {
  min-height: 44px;
  padding: 0 18px;
}

.home-landing-hero__trust {
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.12em;
}

html[data-theme="light"] .home-landing-hero__content {
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.42), rgba(250, 245, 238, 0.18)),
    rgba(255, 252, 247, 0.1);
}

.home-custom {
  position: relative;
  min-height: 110vh;
  overflow: hidden;
}

.home-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(10, 12, 16, 0.56) 0%, rgba(10, 12, 16, 0.3) 30%, rgba(10, 12, 16, 0.12) 58%, rgba(10, 12, 16, 0.08) 100%),
    url("../uploads/home-slider/home-custom-project.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

.home-custom .container {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  padding-inline: clamp(28px, 4vw, 72px);
}

.home-custom__grid {
  min-height: 110vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(42px, 6vw, 84px) 0;
}

.home-custom__content {
  position: sticky;
  top: 104px;
  width: min(470px, 100%);
  margin: 0;
  padding: clamp(20px, 2vw, 30px);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(14, 18, 24, 0.62), rgba(14, 18, 24, 0.36)),
    rgba(14, 18, 24, 0.26);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.home-custom__content h2 {
  max-width: 11ch;
  font-size: clamp(24px, 2.45vw, 44px);
  line-height: 1;
  margin: 8px 0 12px;
}

.home-custom__content p {
  font-size: clamp(14px, 0.92vw, 17px);
  line-height: 1.52;
}

.home-custom__facts .fact-pill {
  font-size: 13px;
  padding: 10px 14px;
}

.home-custom__actions .button {
  min-height: 44px;
  padding-inline: 18px;
}

.home-custom__media,
.home-custom__media-caption {
  display: none !important;
}

html[data-theme="light"] .home-custom::before {
  background-image:
    linear-gradient(90deg, rgba(250, 246, 239, 0.46) 0%, rgba(250, 246, 239, 0.22) 28%, rgba(250, 246, 239, 0.08) 54%, rgba(250, 246, 239, 0.02) 100%),
    url("../uploads/home-slider/home-custom-project.jpg");
}

html[data-theme="light"] .home-custom__content {
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.7), rgba(247, 241, 233, 0.44)),
    rgba(255, 252, 247, 0.18);
}

@media (max-width: 1180px) {
  .home-landing-hero__content {
    width: min(920px, calc(100% - 28px));
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-custom {
    min-height: 0;
  }

  .home-custom::before {
    background-attachment: scroll;
  }

  .home-custom__grid {
    min-height: 0;
    padding: 28px 0;
  }

  .home-custom__content {
    position: relative;
    top: auto;
    width: min(560px, 100%);
  }
}

@media (max-width: 767px) {
  .home-landing-hero__container {
    inset: 8px 0 auto;
  }

  .home-landing-hero__content {
    width: calc(100% - 16px);
    padding: 12px 12px 14px;
    border-radius: 16px;
    background:
      linear-gradient(135deg, rgba(16, 19, 24, 0.26), rgba(16, 19, 24, 0.08)),
      rgba(16, 19, 24, 0.08);
  }

  .home-landing-hero__content h1 {
    font-size: clamp(24px, 7vw, 36px);
    max-width: 10ch;
  }

  .home-landing-hero__lead {
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .home-landing-hero__actions .button {
    min-height: 42px;
    padding: 0 14px;
  }

  .home-custom .container {
    padding-inline: 14px;
  }

  .home-custom__grid {
    padding: 18px 0 20px;
  }

  .home-custom__content {
    width: 100%;
    padding: 16px 16px 18px;
    border-radius: 20px;
  }

  .home-custom__content h2 {
    font-size: clamp(22px, 7vw, 32px);
  }

  .home-custom__content p {
    font-size: 14px;
  }
}

/* Dom i Dvor hero compact top bar v22 */
.home-landing-hero__container {
  inset: 8px 0 auto;
}

.home-landing-hero__content {
  width: min(1280px, calc(100% - 72px));
  padding: 10px 18px 12px;
  border-radius: 20px;
  grid-template-columns: minmax(320px, 0.72fr) minmax(440px, 1fr);
  gap: 6px 20px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(18, 22, 27, 0.2), rgba(18, 22, 27, 0.08)),
    rgba(18, 22, 27, 0.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(5px);
}

.home-landing-hero__content h1 {
  max-width: 10ch;
  font-size: clamp(24px, 2.45vw, 44px);
  line-height: 0.92;
  margin: 0;
}

.home-landing-hero .eyebrow {
  margin-bottom: 2px;
}

.home-landing-hero__lead {
  max-width: 680px;
  font-size: clamp(13px, 0.88vw, 16px);
  line-height: 1.36;
}

.home-landing-hero__actions {
  gap: 10px;
  margin-top: 0;
}

.home-landing-hero__actions .button {
  min-height: 40px;
  padding: 0 16px;
}

.home-landing-hero__trust {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

html[data-theme="light"] .home-landing-hero__content {
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.32), rgba(250, 245, 238, 0.14)),
    rgba(255, 252, 247, 0.08);
}

@media (max-width: 1180px) {
  .home-landing-hero__container {
    inset: 8px 0 auto;
  }

  .home-landing-hero__content {
    width: min(900px, calc(100% - 24px));
    padding: 10px 14px 12px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-landing-hero__content h1,
  .home-landing-hero__lead,
  .home-landing-hero__trust {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .home-landing-hero__container {
    inset: 6px 0 auto;
  }

  .home-landing-hero__content {
    width: calc(100% - 12px);
    padding: 8px 10px 10px;
    border-radius: 14px;
    gap: 6px;
  }

  .home-landing-hero__content h1 {
    font-size: clamp(20px, 6.5vw, 30px);
    max-width: 9ch;
  }

  .home-landing-hero__lead {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .home-landing-hero__actions .button {
    min-height: 38px;
    padding: 0 12px;
  }

  .home-landing-hero__trust {
    font-size: 9px;
  }
}

/* Dom i Dvor custom projects full-bleed scene v23 */
.home-custom {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  min-height: 132vh;
  overflow: clip;
}

.home-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(10, 12, 16, 0.6) 0%, rgba(10, 12, 16, 0.34) 28%, rgba(10, 12, 16, 0.12) 54%, rgba(10, 12, 16, 0.08) 100%),
    url("../uploads/home-slider/home-custom-project.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  z-index: 0;
}

.home-custom .container {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 72px));
  max-width: none;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) 0;
}

.home-custom__grid {
  display: block;
  min-height: 132vh;
}

.home-custom__content {
  position: sticky;
  top: 108px;
  width: min(460px, 100%);
  padding: 22px 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(14, 18, 24, 0.54), rgba(14, 18, 24, 0.3)),
    rgba(14, 18, 24, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(7px);
}

.home-custom__content h2 {
  max-width: 12ch;
  margin: 8px 0 12px;
  font-size: clamp(22px, 2.2vw, 38px);
  line-height: 1.02;
}

.home-custom__content p {
  font-size: clamp(14px, 0.92vw, 16px);
  line-height: 1.5;
}

.home-custom__facts {
  gap: 10px;
}

.home-custom__facts .fact-pill {
  font-size: 13px;
  padding: 9px 14px;
}

.home-custom__actions {
  gap: 10px;
}

.home-custom__actions .button {
  min-height: 44px;
  padding-inline: 18px;
}

.home-custom__media,
.home-custom__media-caption {
  display: none !important;
}

html[data-theme="light"] .home-custom::before {
  background-image:
    linear-gradient(90deg, rgba(250, 246, 239, 0.52) 0%, rgba(250, 246, 239, 0.28) 26%, rgba(250, 246, 239, 0.1) 52%, rgba(250, 246, 239, 0.04) 100%),
    url("../uploads/home-slider/home-custom-project.jpg");
}

html[data-theme="light"] .home-custom__content {
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.72), rgba(247, 241, 233, 0.42)),
    rgba(255, 252, 247, 0.2);
  border-color: rgba(117, 94, 66, 0.14);
}

@media (max-width: 1180px) {
  .home-custom {
    left: auto;
    right: auto;
    width: auto;
    margin-left: 0;
    margin-right: 0;
    min-height: 0;
  }

  .home-custom::before {
    background-attachment: scroll;
  }

  .home-custom .container {
    width: auto;
    max-width: none;
    padding: 28px 18px;
  }

  .home-custom__grid {
    min-height: 0;
  }

  .home-custom__content {
    position: relative;
    top: auto;
    width: min(560px, 100%);
  }
}

@media (max-width: 767px) {
  .home-custom .container {
    padding: 18px 12px;
  }

  .home-custom__content {
    width: 100%;
    padding: 16px 16px 18px;
    border-radius: 20px;
  }

  .home-custom__content h2 {
    font-size: clamp(20px, 6.8vw, 30px);
  }

  .home-custom__content p {
    font-size: 14px;
  }
}

/* Dom i Dvor hero top lock v24 */
.home-landing-hero {
  min-height: clamp(760px, 56vw, 980px);
}

.home-landing-hero__container {
  position: absolute;
  inset: 4px 0 auto;
  z-index: 4;
}

.home-landing-hero__content {
  width: min(1220px, calc(100% - 84px));
  padding: 8px 16px 10px;
  border-radius: 18px;
  grid-template-columns: minmax(280px, 0.68fr) minmax(420px, 1fr);
  grid-template-areas:
    "eyebrow lead"
    "title lead"
    "title actions"
    "title trust";
  gap: 4px 18px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(18, 22, 27, 0.14), rgba(18, 22, 27, 0.04)),
    rgba(18, 22, 27, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(4px);
}

.home-landing-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  margin: 0;
}

.home-landing-hero__content h1 {
  max-width: 9.5ch;
  font-size: clamp(20px, 2vw, 38px);
  line-height: 0.95;
  margin: 0;
}

.home-landing-hero__lead {
  max-width: 720px;
  font-size: clamp(12px, 0.82vw, 15px);
  line-height: 1.32;
  margin: 0;
}

.home-landing-hero__actions {
  gap: 8px;
  margin: 0;
}

.home-landing-hero__actions .button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.home-landing-hero__trust {
  font-size: 9px;
  line-height: 1.1;
  letter-spacing: 0.1em;
  margin: 0;
}

html[data-theme="light"] .home-landing-hero__content {
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.24), rgba(250, 245, 238, 0.08)),
    rgba(255, 252, 247, 0.04);
  box-shadow: 0 6px 16px rgba(114, 91, 61, 0.04);
}

@media (max-width: 1180px) {
  .home-landing-hero__container {
    inset: 6px 0 auto;
  }

  .home-landing-hero__content {
    width: min(860px, calc(100% - 20px));
    padding: 10px 12px 12px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lead"
      "actions"
      "trust";
    gap: 6px;
  }

  .home-landing-hero__content h1,
  .home-landing-hero__lead,
  .home-landing-hero__trust {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .home-landing-hero__container {
    inset: 4px 0 auto;
  }

  .home-landing-hero__content {
    width: calc(100% - 10px);
    padding: 8px 8px 10px;
    border-radius: 12px;
    gap: 5px;
  }

  .home-landing-hero .eyebrow {
    font-size: 10px;
  }

  .home-landing-hero__content h1 {
    font-size: clamp(18px, 5.8vw, 28px);
    max-width: 9ch;
  }

  .home-landing-hero__lead {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .home-landing-hero__actions .button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .home-landing-hero__trust {
    font-size: 8px;
  }
}

/* Dom i Dvor hero top offset v25 */
.home-landing-hero__container {
  position: absolute;
  inset: 18px 0 auto;
  z-index: 5;
}

.home-landing-hero__content {
  margin-top: 0 !important;
}

@media (max-width: 1180px) {
  .home-landing-hero__container {
    inset: 14px 0 auto;
  }
}

@media (max-width: 767px) {
  .home-landing-hero__container {
    inset: 10px 0 auto;
  }
}

@media (max-width: 767px) {
  .home-landing-hero__container {
    position: absolute;
    inset: 10px 0 auto;
  }

  .home-landing-hero__content {
    max-width: calc(100% - 20px);
    padding: 14px 14px 16px;
    border-radius: 18px;
    gap: 10px;
    background:
      linear-gradient(135deg, rgba(18, 22, 27, 0.5), rgba(18, 22, 27, 0.28)),
      rgba(18, 22, 27, 0.34);
  }

  .home-landing-hero__content h1 {
    font-size: clamp(28px, 7.4vw, 42px);
    line-height: 0.94;
  }

  .home-landing-hero__lead {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .home-landing-hero__actions .button {
    min-height: 46px;
    padding: 0 16px;
  }

  .home-landing-hero__trust {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .home-custom__media-caption {
    width: min(280px, calc(100% - 24px));
    top: 12px;
    left: 12px;
    padding: 12px 14px;
    border-radius: 18px;
  }
}

.home-custom__grid {
  align-items: center;
  gap: 32px;
}

.home-custom__content {
  padding: clamp(30px, 3.2vw, 42px);
}

.home-custom__content h2 {
  max-width: 12ch;
}

.home-custom__media {
  position: relative;
  min-height: 580px;
  background:
    radial-gradient(circle at 18% 26%, rgba(206, 183, 157, 0.2), transparent 26%),
    rgba(255, 255, 255, 0.03);
}

.home-custom__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 14, 18, 0.14) 0%, rgba(12, 14, 18, 0.02) 38%, rgba(12, 14, 18, 0) 100%);
  pointer-events: none;
}

.home-custom__media img {
  object-position: 74% center;
}

.home-custom__media.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(7px);
}

.home-custom__media.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.home-custom__media-caption {
  top: 28px;
  left: 28px;
  right: auto;
  bottom: auto;
  width: min(320px, calc(100% - 56px));
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(14, 16, 20, 0.72), rgba(14, 16, 20, 0.48));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

html[data-theme="light"] .home-custom__media-caption {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.76), rgba(255, 252, 247, 0.56));
  box-shadow: 0 18px 40px rgba(103, 84, 58, 0.14);
}

.home-custom__media-caption strong {
  display: block;
  margin: 0 0 6px;
}

.home-custom__media-caption span {
  display: block;
  font-size: 0.98rem;
}

@media (max-width: 767px) {
  .home-landing-hero__content {
    margin-top: 92px;
  }

  .home-landing-hero__media img {
    object-position: center center;
  }

  .home-custom__grid {
    gap: 20px;
  }

  .home-custom__media {
    min-height: 360px;
  }

  .home-custom__media-caption {
    top: 14px;
    left: 14px;
    width: min(290px, calc(100% - 28px));
    right: auto;
    bottom: auto;
  }
}

/* Dom i Dvor individual projects redesign v13 */
.home-custom__grid {
  align-items: stretch;
}

.home-custom__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-custom__media {
  position: sticky;
  top: 112px;
  display: grid;
  grid-template-rows: auto auto;
  align-self: start;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(12, 14, 18, 0.88);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.home-custom__media::after {
  display: none;
}

.home-custom__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.24 / 1;
  height: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
}

.home-custom__media-caption {
  position: static;
  width: auto;
  margin: 0;
  padding: 24px 28px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(17, 19, 24, 0.92), rgba(13, 15, 20, 0.98));
  box-shadow: none;
  pointer-events: auto;
}

.home-custom__media-caption strong {
  display: block;
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
  color: #f4efe7;
}

.home-custom__media-caption span {
  display: block;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(235, 229, 221, 0.8);
}

html[data-theme="light"] .home-custom__media {
  border-color: rgba(110, 90, 62, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(248, 242, 233, 0.94)),
    rgba(255, 252, 247, 0.96);
  box-shadow: 0 26px 64px rgba(111, 91, 66, 0.14);
}

html[data-theme="light"] .home-custom__media-caption {
  border-top-color: rgba(110, 90, 62, 0.12);
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.94), rgba(247, 240, 230, 0.98));
}

html[data-theme="light"] .home-custom__media-caption strong {
  color: #1f232b;
}

html[data-theme="light"] .home-custom__media-caption span {
  color: rgba(54, 58, 66, 0.82);
}

@media (max-width: 1023px) {
  .home-custom__media {
    position: relative;
    top: auto;
  }
}

@media (max-width: 767px) {
  .home-custom__media {
    border-radius: 24px;
  }

  .home-custom__media img {
    aspect-ratio: 1.08 / 1;
  }

  .home-custom__media-caption {
    padding: 18px 18px 20px;
  }

  .home-custom__media-caption strong {
    font-size: 1.18rem;
  }

  .home-custom__media-caption span {
    font-size: 0.94rem;
    line-height: 1.6;
  }
}

.home-landing-hero {
  margin-top: 0;
  padding-top: 0;
}

.home-landing-hero__container {
  padding-top: 0;
}
