.landing-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  color: #fff;
  overflow: clip;
}

body.landing-root .landing-hero__body {
  align-items: center;
}

body.landing-root .landing-hero__copy {
  min-width: 0;
}

body.velora-design-section-bank-solo .landing-hero {
  min-height: max(640px, calc(100vh - var(--design-text-toolbar-h, 3.25rem) - 4rem));
  width: 100%;
}

body.velora-design-section-bank-solo .landing-hero a:not(.landing-hero__cta):not(.landing-hero__nav-link):not(
    .landing-hero__phone-icon
  ):not(.landing-hero__social-btn) {
  color: inherit;
  text-decoration: none;
}

body.velora-design-section-bank-solo .landing-hero a.landing-hero__nav-link {
  color: var(--landing-hero-nav-color, inherit);
  text-decoration: none;
}

body.velora-design-section-bank-solo .landing-hero a.landing-hero__nav-link:hover {
  color: var(--landing-hero-nav-hover-color, var(--landing-hero-nav-color, inherit));
}

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

.landing-hero__bg-img {
  display: block;
}

.landing-hero--bg-layout-center .landing-hero__bg-img {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  top: 50%;
  transform: translateY(-50%);
  object-fit: cover;
  object-position: center;
}

.landing-hero--bg-layout-fill .landing-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.landing-hero__bg-color {
  display: block;
  width: 100%;
  height: 100%;
}

.landing-hero__scrim,
.landing-hero .landing-hero__scrim.velora-home-block__section-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(
    0,
    0,
    0,
    var(--landing-hero-overlay, var(--velora-section-overlay, 0.25))
  );
  pointer-events: none;
}

.landing-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.5rem 2rem;
  min-height: inherit;
}

.landing-container {
  width: min(100%, var(--velora-container-max, 1280px));
  margin-inline: auto;
}

.landing-hero__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-button, var(--velora-radius-btn, 6px));
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: var(--landing-hero-header-sticky-top, 0px);
  z-index: 120;
}

.landing-hero__header--fixed {
  position: fixed;
  top: var(--landing-hero-header-sticky-top, 0px);
  left: var(--landing-hero-header-sticky-left, 0px);
  width: var(--landing-hero-header-sticky-width, 100%);
  z-index: 400;
  margin: 0;
  box-sizing: border-box;
}

.landing-hero__header-spacer {
  display: none;
  width: 100%;
  flex-shrink: 0;
}

.landing-hero__header-spacer.is-active {
  display: block;
}

body.velora-design-active .landing-hero__header {
  position: relative;
  top: auto;
}

body.velora-design-active .landing-hero__header--fixed {
  position: relative;
  left: auto;
  width: auto;
  z-index: 120;
}

body.velora-design-active.velora-design-viewport-bar-active .landing-hero__header {
  --landing-hero-header-sticky-top: var(--design-text-toolbar-h, 3.25rem);
}

body.velora-design-active.velora-design-viewport-bar-active.velora-design-text-toolbar-active .landing-hero__header {
  --landing-hero-header-sticky-top: calc(2 * var(--design-text-toolbar-h, 3.25rem));
}

.landing-hero__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.landing-hero__logo,
.landing-hero__logo-placeholder {
  width: 48px;
  height: 48px;
}

.landing-hero__logo {
  object-fit: contain;
  flex-shrink: 0;
}

.landing-hero__logo-placeholder {
  border-radius: var(--radius-button, var(--velora-radius-btn, 6px));
  background: rgba(255, 255, 255, 0.9);
}

.landing-hero__brand-name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.landing-hero__brand-tagline {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
}

.landing-hero__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
  font-size: 0.875rem;
}

.landing-hero__nav-link {
  color: var(--landing-hero-nav-color, inherit);
  text-decoration: none;
  opacity: 0.95;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.landing-hero__nav-link:hover {
  color: var(--landing-hero-nav-hover-color, var(--landing-hero-nav-color, inherit));
  opacity: 1;
}

.landing-hero__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 0.75rem;
  font-size: 0.8125rem;
}

.landing-hero__contacts-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.landing-hero__phone-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-button-bg, #ffffff);
  color: var(--color-button-text, #111111);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.landing-hero__phone-icon:hover {
  background: var(--color-button-hover-bg, #27272a);
  color: var(--color-button-text, #111111);
}

.landing-hero__phone-icon-svg {
  display: block;
  width: 1.0625rem;
  height: 1.0625rem;
}

.landing-hero__city {
  font-weight: 600;
  opacity: 0.95;
  white-space: nowrap;
}

.landing-hero__social {
  display: flex;
  gap: 0.5rem;
}

.landing-hero__social-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-button-bg, #ffffff);
  color: var(--color-button-text, #111111);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.landing-hero__social-btn:hover {
  background: var(--color-button-hover-bg, #27272a);
  color: var(--color-button-text, #111111);
}

.landing-hero__body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  flex: 1;
  padding: 3rem 0 2rem;
}

.landing-hero__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  max-width: 14ch;
}

.landing-hero__subtitle {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Редактор: поле на всю ширину колонки (вне edit title остаётся max-width: 14ch) */
body.velora-design-active .landing-hero__copy:has(.velora-design-editing) {
  width: 100%;
  max-width: none;
  min-width: 0;
}

body.velora-design-active .landing-hero__copy .landing-hero__title.velora-design-editable.velora-design-editing,
body.velora-design-active .landing-hero__copy .landing-hero__subtitle.velora-design-editable.velora-design-editing {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Цвета и скругление — из токенов темы (.velora-btn → color_button_*, radius_button) */
.landing-hero__cta.velora-btn {
  padding: 1rem 2rem;
  font-weight: 600;
  color: var(--color-button-text, #ffffff);
}

.landing-hero__cta.velora-btn:hover {
  color: var(--color-button-text, #ffffff);
}

.landing-hero__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.landing-hero__feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  text-align: center;
  border-radius: var(--radius-button, var(--velora-radius-btn, 6px));
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.875rem;
  position: relative;
}

.landing-hero__feature-text {
  flex: 0 1 auto;
}

.landing-hero__feature-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.landing-hero__feature-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.35rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
}

.landing-hero__feature-add {
  margin-top: 0.75rem;
  align-self: flex-start;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  background: transparent;
  color: inherit;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-button, var(--velora-radius-btn, 6px));
  cursor: pointer;
}

/* Мобильная колонка: заголовок → CTA → плашки (viewport и превью design mode) */
@media (max-width: 899px) {
  .landing-hero__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 2rem 0 1.5rem;
  }

  .landing-hero__title {
    max-width: none;
  }

  body.velora-design-active .landing-hero__copy:has(.velora-design-editing) {
    max-width: none;
  }

  .landing-hero__aside {
    width: 100%;
  }

  .landing-hero__cta.velora-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .landing-hero__features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .landing-hero__feature-add {
    width: 100%;
    text-align: center;
  }
}

@container velora-storefront (max-width: 899px) {
  .landing-hero__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 2rem 0 1.5rem;
  }

  .landing-hero__title {
    max-width: none;
  }

  body.velora-design-active .landing-hero__copy:has(.velora-design-editing) {
    max-width: none;
  }

  .landing-hero__aside {
    width: 100%;
  }

  .landing-hero__cta.velora-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .landing-hero__features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .landing-hero__feature-add {
    width: 100%;
    text-align: center;
  }
}
