/* LX-COMPANY-HERO-A  20261127-1411
   Editorial first screen for /company/ only (.lxa / .lxa-hero).
   Left-aligned typographic hero (same left edge as the site .container).
   Directions ALWAYS sit BELOW the H1 / lead / buttons — never in a side column.
   Columns: 4 from 1280px, 2×2 through tablet including 1024, 1 col at ≤767 (390).
   No cards, borders, pills, grid or glow.

   H1 scale matches the homepage (.home-hero__title):
     ≥992px: 72px / 500 / line-height 1
     ≤767px: clamp(42px, min(5vw, 8.2svh), 76px) → 42px at 390

   Reuses the live DOM: no HTML change required.
   Does not touch .lxa-stats or anything below the hero.
   Do not load together with concept B.
*/

/* Kill the “overworked” slider decoration. */
.lxa .lxa-hero__glow,
.lxa .lxa-hero__grid,
.lxa .lxa-hero .lxa-eyebrow,
.lxa .lxa-panel__head,
.lxa .lxa-svc__icon,
.lxa .lxa-svc__arrow {
  display: none !important;
}

.lxa .lxa-hero {
  padding: 64px 0 80px;
  position: relative;
}

/* Stack title, lead, CTAs, then directions. !important so the original
   2-col grid (text | panel) cannot put the links in a side column. */
.lxa .lxa-hero__inner {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  text-align: left;
  gap: 0 !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}

.lxa .lxa-hero__text {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: none;
}

/* Same scale as .home-hero__title; left-aligned to the container edge. */
.lxa .lxa-hero__title {
  width: 100%;
  max-width: 960px;
  margin: 0 0 24px;
  font-size: clamp(34px, min(3.3vw, 6.8svh), 52px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-wrap: balance;
  text-align: left;
  color: var(--lxa-text);
}

@media (width >= 992px) {
  .lxa .lxa-hero__title {
    font-size: 72px;
  }
}

.lxa .lxa-hero__lead {
  margin: 0 0 32px;
  max-width: 38em;
  font-size: 18px;
  line-height: 1.55;
  text-align: left;
  color: var(--lxa-muted);
}

.lxa .lxa-hero__actions {
  justify-content: flex-start;
  margin: 0;
}

/* Four directions: typographic row BELOW the buttons, never a side card. */
.lxa .lxa-hero__panel {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 48px;
  width: 100% !important;
  max-width: none !important;
  margin: 72px 0 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  text-align: left;
  flex: 0 0 auto;
}

.lxa .lxa-hero__panel .lxa-svc,
.lxa .lxa-hero__panel .lxa-svc + .lxa-svc,
.lxa .lxa-hero__panel .lxa-svc:hover {
  all: unset;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  cursor: pointer;
  color: var(--lxa-text);
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition: color 0.25s ease;
}
.lxa .lxa-hero__panel .lxa-svc::before,
.lxa .lxa-hero__panel .lxa-svc::after {
  content: none !important;
  display: none !important;
}

/* Kill leftover global link-hover plates (they use !important). */
.lxa .lxa-hero__panel a.lxa-svc,
.lxa .lxa-hero__panel a.lxa-svc:link,
.lxa .lxa-hero__panel a.lxa-svc:visited,
.lxa .lxa-hero__panel a.lxa-svc:hover,
.lxa .lxa-hero__panel a.lxa-svc:focus,
.lxa .lxa-hero__panel a.lxa-svc:focus-visible,
.lxa .lxa-hero__panel a.lxa-svc:focus-within,
.lxa .lxa-hero__panel a.lxa-svc:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  filter: none !important;
}

.lxa .lxa-hero__panel .lxa-svc:hover {
  background: none !important;
  color: var(--lxa-accent) !important;
}

.lxa .lxa-svc__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.lxa .lxa-svc__title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: normal;
}

.lxa .lxa-svc__text {
  color: var(--lxa-muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  text-align: left;
  overflow-wrap: break-word;
}

.lxa .lxa-hero__panel .lxa-svc:hover .lxa-svc__title {
  color: var(--lxa-accent);
}

.lxa .lxa-hero__panel .lxa-svc:hover .lxa-svc__text {
  color: var(--lxa-muted);
}

@keyframes lxa-hero-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.lxa .lxa-hero__title {
  animation: lxa-hero-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lxa .lxa-hero__lead,
.lxa .lxa-hero__actions {
  animation: lxa-hero-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.lxa .lxa-hero__panel {
  animation: lxa-hero-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

@media (prefers-reduced-motion: reduce) {
  .lxa .lxa-hero__title,
  .lxa .lxa-hero__lead,
  .lxa .lxa-hero__actions,
  .lxa .lxa-hero__panel {
    animation: none;
  }
}

/* Tablet including 1024: 2×2 so titles like «Импортозамещение» have room. */
@media (width <= 1279px) {
  .lxa .lxa-hero {
    padding: 48px 0 64px;
  }
  .lxa .lxa-hero__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 36px 56px;
    margin-top: 64px !important;
  }
}

@media (width <= 767px) {
  .lxa .lxa-hero {
    padding: 28px 0 56px;
  }
  .lxa .lxa-hero__title {
    margin-bottom: 20px;
    font-size: clamp(42px, min(5vw, 8.2svh), 76px);
  }
  .lxa .lxa-hero__lead {
    margin-bottom: 24px;
    font-size: 16px;
  }
  .lxa .lxa-hero__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .lxa .lxa-hero__actions .lxa-btn {
    flex: 0 0 auto !important;
    width: auto !important;
  }
  .lxa .lxa-hero__panel {
    grid-template-columns: 1fr !important;
    gap: 24px;
    margin-top: 48px !important;
  }
}

