:root {
  --font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-ink: #121a2b;
  --color-muted: #52627d;
  --color-accent: #5476ff;
  --color-accent-strong: #3156dc;
  --color-accent-warm: #f59e0b;
  --color-surface: #ffffff;
  --color-surface-soft: #f5f8ff;
  --color-line: #dbe5ff;

  /* Static LSTK card rules mirror the Bitrix B2C layer:
     product cards use 24px outer radius, 16px media radius, 24px desktop gap and 16px mobile gap. */
  --radius-card: 24px;
  --radius-card-inner: 16px;
  --radius-pill: 999px;
  --card-gap: 24px;
  --card-gap-mobile: 16px;
  --card-padding-text: 32px;
  --card-padding-text-mobile: 24px;
  --shadow-soft: 0 18px 44px rgba(35, 58, 120, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-ink);
  background: var(--color-surface-soft);
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-sans);
}

body *,
body *::before,
body *::after {
  letter-spacing: 0 !important;
}

body::before {
  display: none;
  opacity: 0;
}

.page-shell {
  overflow: clip;
}

.container {
  width: min(1180px, calc(100% - 32px));
}

.site-header {
  padding-top: 18px;
}

.header-shell {
  min-height: 76px;
  border: 1px solid rgba(219, 229, 255, 0.92);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(31, 52, 105, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-nav a {
  color: var(--color-ink);
  font-weight: 800;
}

.site-nav a:hover:not(.is-active) {
  color: var(--color-accent-strong);
}

.site-nav a.is-active,
.site-nav a.is-active:hover,
.site-nav a.is-active:focus-visible {
  color: var(--color-accent-strong);
}

.header-actions .button {
  min-width: 178px;
  justify-content: center;
  padding-inline: 24px;
  white-space: nowrap;
}

.header-actions .button-header::before {
  inset: 0;
  transform: scale(2.25);
  transform-origin: center;
}

.button {
  min-height: 54px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.button-primary,
.button-attention {
  background: linear-gradient(135deg, var(--color-accent-strong), #4d87f7 58%, #39bdcf);
  box-shadow: 0 16px 30px rgba(84, 118, 255, 0.26);
}

.button-secondary {
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(219, 229, 255, 0.94);
}

.section {
  padding: 82px 0;
}

.section-head {
  gap: 14px;
}

.section-head h2,
.hero-copy h1,
.direction-panel h3,
.project-card h3,
.proof-card h3,
.step-card h3,
.catalog-hero h1,
.product-title h1 {
  color: var(--color-ink);
  line-height: 1.08;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.section-head h2,
.catalog-hero h1,
.product-title h1 {
  font-size: 3rem;
}

.section-head p,
.hero-copy .lead,
.direction-panel__lead,
.project-card p,
.proof-card p,
.step-card p {
  color: var(--color-muted);
  line-height: 1.65;
}

.eyebrow,
.chip-static,
.hero-benefit-panel__kicker,
.direction-panel__caption {
  text-transform: none;
  color: var(--color-accent-strong);
  font-weight: 800;
}

.hero--landing {
  padding-top: 72px;
}

.hero-grid {
  align-items: center;
  gap: 44px;
}

.hero-copy h1 {
  max-width: 640px;
  font-size: 4rem;
}

.hero-copy .lead {
  max-width: 560px;
  font-size: 1.18rem;
}

.hero-visual {
  min-width: 0;
}

.model-scene,
.glass-panel,
.project-card,
.proof-card,
.step-card,
.catalog-card,
.product-hero-card,
.request-card,
.lead-card,
.hero-benefit-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero--landing .hero-visual,
.hero--landing .model-scene--hero {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero--landing .model-scene__canvas {
  background: transparent;
  mix-blend-mode: multiply;
}

.hero--landing::before,
.hero--landing .hero-visual::before,
.hero--landing .hero-visual::after,
.hero--landing .model-scene--hero::before,
.hero--landing .model-scene--hero::after {
  content: none;
}

.summary-card--catalog.glass-panel {
  background:
    linear-gradient(135deg, rgba(36, 65, 164, 0.96), rgba(92, 128, 252, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: 0 24px 52px rgba(45, 87, 221, 0.18);
}

.summary-card--catalog.glass-panel .card-badge {
  background: rgba(18, 26, 43, 0.22);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.summary-card--catalog.glass-panel h2,
.summary-card--catalog.glass-panel .summary-card__lead,
.summary-card--catalog.glass-panel .check-list--catalog li {
  color: #fff;
}

.summary-card--catalog.glass-panel .summary-card__lead,
.summary-card--catalog.glass-panel .check-list--catalog li {
  opacity: 0.9;
}

.hero-model {
  min-height: 520px;
}

.hero-model__badge,
.chip-static--soft {
  border-color: rgba(245, 158, 11, 0.32);
  color: #8a5200;
  background: rgba(255, 247, 225, 0.94);
}

.hero-benefit-tabs {
  max-width: 580px;
}

.hero-benefit-tabs__nav,
.chip-row {
  gap: 10px;
}

.hero-benefit-tab,
.chip {
  min-height: 44px;
  border-radius: var(--radius-pill);
  font-weight: 800;
}

.hero-benefit-tab.is-active,
.chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent-strong), #4d87f7);
  border-color: transparent;
}

.directions-explorer {
  display: grid;
  gap: 18px;
}

.chip-row--directions {
  align-items: center;
}

.direction-panel {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.56fr);
  gap: 28px;
  padding: 28px;
}

.direction-panel h3 {
  font-size: 2.4rem;
}

.direction-panel__actions {
  gap: 12px;
}

.direction-panel__aside {
  border-radius: var(--radius-card-inner);
  background: linear-gradient(180deg, #f8fbff, #eff5ff);
}

.direction-points {
  gap: 12px;
}

.direction-points li {
  color: var(--color-ink);
}

.site-lead-form,
.local-form {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.local-form input,
.local-form textarea,
.local-form select,
.site-lead-form input,
.site-lead-form textarea,
.site-lead-form select {
  border-radius: var(--radius-card-inner) !important;
}

@media (max-width: 1024px) {
  .hero-grid,
  .direction-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-head h2,
  .catalog-hero h1,
  .product-title h1 {
    font-size: 3rem;
  }

  .hero-model {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .section {
    padding: 56px 0;
  }

  .site-header {
    padding-top: 10px;
  }

  .header-shell {
    border-radius: 24px;
  }

  .hero--landing {
    padding-top: 44px;
  }

  .hero-copy h1,
  .section-head h2,
  .catalog-hero h1,
  .product-title h1 {
    font-size: 2.25rem;
  }

  .hero-copy .lead {
    font-size: 1rem;
  }

  .hero-model {
    min-height: 360px;
  }

  .direction-panel {
    padding: 20px;
  }

  .direction-panel h3 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
    min-height: 52px;
    white-space: normal;
  }

  .product-hero {
    display: flex;
    flex-direction: column;
  }

  .product-gallery {
    order: 2;
  }

  .buy-card {
    position: static;
    order: 1;
  }

  .buy-card__actions {
    order: 3;
  }

  .buy-card__specs {
    order: 4;
  }
}

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

@media (max-width: 759px) {
  .hero--landing .hero-grid {
    width: 100%;
    align-items: center;
    gap: 18px;
    overflow: visible;
  }

  .hero--landing .hero-copy {
    display: contents !important;
  }

  .hero--landing .hero-copy__main,
  .hero--landing .hero-actions,
  .hero--landing .hero-benefit-tabs {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
  }

  .hero--landing .hero-copy__main {
    order: 1;
  }

  .hero--landing .hero-actions {
    order: 2;
  }

  .hero--landing .hero-visual {
    order: 3;
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    min-height: 330px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
  }

  .hero--landing .hero-benefit-tabs {
    order: 4;
  }

  .hero--landing .hero-copy h1 {
    width: 100%;
    max-width: 100%;
    font-size: 2.55rem;
    line-height: 1.06;
  }

  .hero--landing .hero-copy .lead {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero--landing .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
  }

  .model-scene--hero .model-scene__viewport {
    inset: -10% -12% -14% -12%;
    transform: translate(8%, -2%) scale(0.82);
  }
}

@media (max-width: 420px) {
  .hero--landing .hero-copy h1 {
    font-size: 2.35rem;
  }

  .hero--landing .hero-visual {
    min-height: 315px;
  }
}

/* Cross-site menu parity with the main LSTK pages. */
.site-nav {
  display: flex;
  flex-wrap: nowrap;
  width: auto;
  max-width: min(100%, 760px);
  min-height: 54px;
  gap: 4px;
  padding: 4px;
}

.site-nav a {
  height: 44px;
  min-height: 44px;
  padding: 0 11px;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .header-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 20px;
  }

  .header-shell.is-menu-open {
    align-items: flex-start;
    padding-bottom: 18px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav,
  .header-actions {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
    padding: 6px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .header-actions.is-open {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 2px;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    height: auto;
    min-height: 0;
    padding: 15px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: var(--type-base);
  }

  .site-nav a.is-active,
  .site-nav a.is-active:hover,
  .site-nav a.is-active:focus-visible {
    color: var(--color-accent-strong);
    background: transparent;
    box-shadow: none;
  }

  .header-actions .button {
    width: 100%;
    min-height: 48px;
  }
}

/* Shared mobile drawer parity with the Bitrix LSTK pages. */
.header-actions .header-phone-link {
  display: none;
}

.header-actions .button {
  min-width: 196px;
}

@media (max-width: 1120px) {
  body.site-menu-open {
    overflow: hidden;
  }

  body.site-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(13, 22, 44, 0.48);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .site-header {
    z-index: 100;
    padding-top: 18px;
  }

  .header-shell {
    flex-wrap: nowrap;
    min-height: 76px;
    padding: 13px 18px;
    border-radius: 28px;
  }

  .header-shell.is-menu-open {
    position: fixed;
    top: 18px;
    right: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(354px, calc(100vw - 32px));
    height: calc(100dvh - 18px);
    padding: 28px 22px 28px;
    border-right: 0;
    border-radius: 26px 0 0 0;
    background: #fff;
    box-shadow: -22px 0 52px rgba(18, 32, 72, 0.16);
    overflow-y: auto;
  }

  .header-shell.is-menu-open .brand {
    align-self: flex-start;
    margin: 0 0 10px;
  }

  .header-shell.is-menu-open .brand img {
    width: 118px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    width: 28px;
    background: var(--color-accent);
  }

  .header-shell.is-menu-open .nav-toggle {
    position: absolute;
    top: 25px;
    right: 22px;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav a,
  .site-nav a.is-active,
  .site-nav a.is-active:hover,
  .site-nav a.is-active:focus-visible {
    justify-content: flex-start;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 15px 0;
    border: 0;
    border-radius: 0;
    color: var(--color-ink);
    background: transparent;
    box-shadow: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--color-accent-strong);
    background: transparent;
  }

  .header-actions.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid #dee2ee;
  }

  .header-actions .header-phone-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--color-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
  }

  .header-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .header-shell.is-menu-open {
    width: calc(100vw - 32px);
  }
}

/* Landing hero: transparent interactive frame scene. */
.home-main > .hero--landing {
  position: relative;
  min-height: auto;
  overflow: visible;
  padding: clamp(18px, 2.2vw, 30px) 0 clamp(54px, 5vw, 72px);
}

.hero--landing .hero-grid {
  position: relative;
  display: grid;
  box-sizing: border-box;
  min-height: clamp(840px, 58vw, 940px);
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.hero--landing .hero-grid::after {
  content: none;
}

.hero--landing .hero-visual {
  position: absolute;
  top: clamp(112px, 9.4vw, 144px);
  right: clamp(52px, 5.5vw, 92px);
  bottom: auto;
  left: auto;
  z-index: 1;
  width: clamp(740px, 64vw, 900px);
  height: clamp(740px, 64vw, 900px);
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
}

.hero--landing .hero-model,
.hero--landing .model-scene--hero {
  position: absolute;
  inset: 0;
  width: auto;
  min-height: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  cursor: grab;
  pointer-events: auto;
}

.hero--landing .hero-model:active,
.hero--landing .model-scene--hero:active {
  cursor: grabbing;
}

.hero--landing .model-scene--hero .model-scene__viewport {
  inset: 0;
  transform: translate(8%, -19%) scale(1);
  transform-origin: center;
}

.hero--landing .model-scene__canvas {
  background: transparent;
  filter: saturate(0.82) contrast(1.02);
  opacity: 0.86;
}

.hero--landing .hero-copy {
  position: relative;
  z-index: 3;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  min-height: inherit;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  gap: 28px 48px;
  align-items: end;
  margin: 0;
  padding: clamp(42px, 4.2vw, 58px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.hero--landing .hero-copy__main {
  display: contents;
}

.hero--landing .hero-copy h1 {
  grid-column: 1 / -1;
  grid-row: 1;
  max-width: 820px;
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(42px, 3.85vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0 !important;
}

.hero--landing .hero-copy .lead {
  grid-column: 1;
  grid-row: 3;
  min-width: 0;
  max-width: 620px;
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.44;
}

.hero--landing .hero-actions {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  box-sizing: border-box;
  min-width: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: flex-end;
  width: auto;
  margin: 0;
  gap: 14px;
  justify-self: end;
  pointer-events: auto;
}

.hero--landing .hero-actions .button {
  box-sizing: border-box;
  width: auto;
  min-width: 224px;
  min-height: 58px;
  padding: 0 28px;
  white-space: nowrap;
}

.hero--landing .hero-actions .button-secondary {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-ink);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.hero--landing .hero-benefit-tabs,
.hero--landing .hero-model__badge {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero--landing .hero-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--landing .hero-actions {
    grid-column: 1;
    grid-row: 4;
    justify-content: flex-start;
    justify-self: start;
    flex-wrap: wrap;
  }

  .hero--landing .model-scene--hero .model-scene__viewport {
    inset: 0;
    transform: none;
  }
}

@media (max-width: 900px) {
  .home-main > .hero--landing {
    padding-top: 24px;
  }

  .hero--landing .hero-grid {
    min-height: 720px;
  }

  .hero--landing .hero-copy {
    padding: 34px;
  }

  .hero--landing .hero-copy h1 {
    max-width: 660px;
    font-size: clamp(38px, 8vw, 56px);
  }

  .hero--landing .hero-copy .lead {
    max-width: 520px;
  }
}

@media (max-width: 759px) {
  .hero--landing .hero-grid {
    width: min(1180px, calc(100% - 20px));
    align-items: stretch;
    gap: 0;
    overflow: hidden;
  }

  .hero--landing .hero-visual {
    position: absolute !important;
    inset: 0;
    order: 0;
    width: 100%;
    max-width: none;
    min-height: 100%;
    margin: 0;
    border-radius: inherit;
  }

  .hero--landing .hero-copy {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    min-height: inherit;
    margin: 0 !important;
  }

  .hero--landing .hero-copy__main,
  .hero--landing .hero-actions {
    width: auto;
    max-width: none;
    margin: 0;
  }

  .hero--landing .hero-copy h1 {
    width: auto;
    color: var(--color-ink) !important;
  }

  .hero--landing .hero-copy .lead {
    color: var(--color-ink) !important;
  }
}

@media (max-width: 575.98px) {
  .hero--landing .hero-grid {
    min-height: 720px;
    border-radius: 0;
  }

  .hero--landing .hero-copy {
    padding: 28px 24px;
    gap: 22px;
  }

  .hero--landing .hero-copy h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.08;
  }

  .hero--landing .hero-copy .lead {
    max-width: 100%;
    font-size: 16px;
  }

  .hero--landing .hero-actions {
    width: 100%;
    justify-self: stretch;
    flex-direction: column;
  }

  .hero--landing .hero-actions .button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero--landing .model-scene--hero .model-scene__viewport {
    inset: 8% -44% -2% -26%;
    transform: none;
  }
}

.eyebrow,
.section-kicker,
.request-highlight__eyebrow,
.hero-benefit-panel__kicker {
  display: none !important;
}

.section-head {
  gap: 14px;
}

.section-head h2,
.section-head h2 .heading-line,
.catalog-hero h1,
.product-title h1,
.request-section h2,
.home-section--popular .section-head h2,
.b2c-kit-shared .assembly-kit-heading .ash-section-title {
  line-height: 1.06 !important;
  letter-spacing: 0 !important;
}

.heading-line {
  line-height: inherit;
}

.home-section--popular .container {
  gap: 32px;
}

.home-section--popular .section-head {
  max-width: 760px;
  margin-bottom: 0;
}

.home-section--popular .section-head h2 {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--color-ink);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.06 !important;
  letter-spacing: 0 !important;
  text-transform: none;
  text-wrap: balance;
}

.home-section--popular .section-head h2 .heading-line {
  display: inline;
}

.home-section--popular .section-head__lead {
  max-width: 680px;
  margin: 0;
  color: #44516c;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

/* Catalog hero card frame. */
.hero--catalog-main.hero--landing {
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(34px, 4.4vw, 64px);
}

.hero--catalog-main.hero--landing .hero-grid {
  position: relative;
  min-height: clamp(540px, 44vw, 660px);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgb(219, 229, 255);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  isolation: isolate;
}

.hero--catalog-main.hero--landing .hero-grid::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: clamp(22px, 2.3vw, 34px);
  background:
    linear-gradient(rgba(75, 112, 238, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 112, 238, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.hero--catalog-main.hero--landing .hero-grid::after {
  content: none;
}

.hero--catalog-main.hero--landing .hero-copy,
.hero--catalog-main.hero--landing .hero-visual {
  z-index: 2;
}

.hero--catalog-main.hero--landing .hero-copy {
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto auto;
  align-items: start;
  gap: clamp(18px, 2vw, 26px) clamp(28px, 4vw, 56px);
  padding: clamp(28px, 3vw, 42px) clamp(28px, 3vw, 40px);
}

.hero--catalog-main.hero--landing .hero-copy h1 {
  grid-column: 1 / -1;
  grid-row: 1;
  max-width: 780px;
}

.hero--catalog-main.hero--landing .hero-copy .lead {
  grid-column: 1;
  grid-row: 3;
  max-width: 520px;
  margin-top: clamp(4px, 0.8vw, 10px);
}

.hero--catalog-main.hero--landing .hero-actions {
  grid-column: 1;
  grid-row: 4;
  justify-self: start;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0;
}

.hero--catalog-main.hero--landing .hero-actions .button {
  min-width: 0;
}

.hero--catalog-main.hero--landing .hero-visual {
  top: clamp(90px, 7.4vw, 118px);
  right: clamp(34px, 4vw, 68px);
  width: clamp(620px, 52vw, 760px);
  height: clamp(620px, 52vw, 760px);
}

@media (max-width: 900px) {
  .hero--catalog-main.hero--landing .hero-grid {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero--catalog-main.hero--landing .hero-copy {
    order: 1;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 18px;
    padding: 28px;
  }

  .hero--catalog-main.hero--landing .hero-copy h1,
  .hero--catalog-main.hero--landing .hero-copy .lead,
  .hero--catalog-main.hero--landing .hero-actions {
    grid-column: 1;
  }

  .hero--catalog-main.hero--landing .hero-actions {
    flex-wrap: wrap;
  }

  .hero--catalog-main.hero--landing .hero-visual {
    position: relative !important;
    order: 2;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: clamp(320px, 64vw, 520px);
    margin-top: -18px;
  }
}

@media (max-width: 575.98px) {
  .hero--catalog-main.hero--landing .hero-copy {
    padding: 24px 22px;
  }

  .hero--catalog-main.hero--landing .hero-actions {
    width: 100%;
  }

  .hero--catalog-main.hero--landing .hero-actions .button {
    width: 100%;
  }
}

/* Process steps: concise by default, detailed on intent. */
.home-section--steps .steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-section--steps .step-card {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 32px;
  overflow: hidden;
  border-color: var(--color-line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 32px rgba(35, 58, 120, 0.08);
  transition:
    background 0.26s ease,
    border-color 0.26s ease,
    box-shadow 0.26s ease,
    transform 0.26s ease;
}

.home-section--steps .step-card__index {
  display: none;
}

.home-section--steps .step-card h3,
.home-section--steps .step-card p {
  grid-area: 1 / 1;
  margin: 0;
  transition:
    opacity 0.2s ease,
    transform 0.24s ease;
}

.home-section--steps .step-card h3 {
  max-width: 11ch;
  font-size: 24px;
  line-height: 1.12;
}

.home-section--steps .step-card p {
  align-self: start;
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
  line-height: 1.58;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.home-section--steps .step-card:hover,
.home-section--steps .step-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--color-accent-strong), #4d87f7 58%, #39bdcf);
  box-shadow: 0 18px 36px rgba(84, 118, 255, 0.24);
  transform: translateY(-2px);
}

.home-section--steps .step-card:hover h3,
.home-section--steps .step-card:focus-visible h3 {
  opacity: 0;
  transform: translateY(-12px);
}

.home-section--steps .step-card:hover p,
.home-section--steps .step-card:focus-visible p {
  opacity: 1;
  transform: translateY(0);
}

.home-section--steps .step-card:focus-visible {
  outline: 3px solid rgba(49, 86, 220, 0.28);
  outline-offset: 4px;
}

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

@media (max-width: 767.98px) {
  .home-section--steps .steps-grid {
    grid-template-columns: 1fr;
  }

  .home-section--steps .step-card {
    aspect-ratio: auto;
    min-height: 220px;
    gap: 18px;
    padding: 24px;
  }

  .home-section--steps .step-card h3,
  .home-section--steps .step-card p {
    grid-area: auto;
    opacity: 1;
    transform: none;
  }

  .home-section--steps .step-card h3 {
    max-width: none;
  }

  .home-section--steps .step-card p {
    align-self: end;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.55;
  }

  .home-section--steps .step-card:hover,
  .home-section--steps .step-card:focus-visible {
    border-color: var(--color-line);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 32px rgba(35, 58, 120, 0.08);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-section--steps .step-card,
  .home-section--steps .step-card h3,
  .home-section--steps .step-card p {
    transition: none;
  }
}
