:root {
  --ls-blue-night: #00141e;
  --ls-blue: #004170;
  --ls-blue-next: #004a80;
  --ls-orange: #ffa629;
  --ls-white: #ffffff;
  --ls-text: #eaf2f8;
}

/* Header / nav — полосы на всю ширину, контент в .container (1200px) как на странице */
.ls-header {
  width: 100%;
  color: var(--ls-white);
}
.ls-header__bar--top {
  background: var(--ls-blue);
}
.ls-header__bar--nav {
  background: var(--ls-blue-next);
}
.ls-header .container {
  padding-top: 0;
  padding-bottom: 0;
}
.ls-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}
.ls-header__start {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}
.ls-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ls-white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.ls-brand__logo {
  display: block;
  width: auto;
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}
.ls-brand__name {
  display: none;
}
.ls-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ls-white);
  opacity: 0.95;
}
.ls-location__pin {
  flex-shrink: 0;
  opacity: 0.9;
}
.ls-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.ls-header .ls-user-chip {
  padding: 0.4rem 0.9rem 0.4rem 0.4rem;
  gap: 0.6rem;
}
.ls-header .ls-user-chip__avatar {
  width: 40px;
  height: 40px;
}
.ls-header .ls-user-chip__name {
  font-size: 0.95rem;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ls-logout-form {
  margin: 0;
}

/* Выпадающее меню пользователя */
.ls-user-menu {
  position: relative;
}
.ls-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: var(--ls-white);
  cursor: pointer;
}
.ls-user-chip__chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.ls-user-chip__chevron.is-open {
  transform: rotate(180deg);
}
.ls-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 43, 73, 0.18);
  border: 1px solid #e5e7eb;
  z-index: 9999;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.ls-user-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #252a2f;
  transition: background 0.12s;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
}
.ls-user-dropdown__item:hover {
  background: #f3f4f6;
  color: var(--color-navy, #003b6f);
}
.ls-user-dropdown__item--danger {
  color: #dc2626;
}
.ls-user-dropdown__item--danger:hover {
  background: #fef2f2;
  color: #b91c1c;
}
.ls-user-dropdown__divider {
  height: 1px;
  background: #e5e7eb;
  margin: 0.25rem 0.5rem;
}
.ls-user-dropdown__form {
  margin: 0;
}

/* Анимация появления меню */
.ls-dropdown-enter,
.ls-dropdown-leave {
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.ls-dropdown-enter-start,
.ls-dropdown-leave-end {
  opacity: 0;
  transform: translateY(-6px);
}
.ls-dropdown-enter-end,
.ls-dropdown-leave-start {
  opacity: 1;
  transform: translateY(0);
}
.ls-user-chip__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffa629, #ffd399);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.ls-user-chip__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ls-user-chip__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.ls-user-chip__name {
  font-size: 0.85rem;
  font-weight: 600;
}
.ls-user-chip__role {
  font-size: 0.75rem;
  opacity: 0.85;
}
.ls-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.ls-btn--primary {
  background: var(--ls-orange);
  color: var(--ls-white);
}
.ls-btn--outline {
  background: transparent;
  color: var(--ls-white);
  border-color: rgba(255, 255, 255, 0.7);
}
.ls-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ls-white);
  border-color: rgba(255, 255, 255, 0.2);
}
.ls-btn--xl {
  padding: 0.9rem 1.25rem;
  font-size: 1.1rem;
}

.ls-burger {
  display: none;
  width: 44px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
}
.ls-burger span {
  display: block;
  height: 2px;
  background: white;
  margin: 6px 0;
  border-radius: 2px;
}

.ls-nav {
  display: block;
}
.ls-nav__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 3.75rem);
  min-height: 56px;
  padding-block: 0.65rem;
  flex-wrap: wrap;
}
.ls-nav a {
  color: var(--ls-white);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  opacity: 0.95;
  white-space: nowrap;
}
.ls-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Home background */
.home-bg {
  background: linear-gradient(166deg, var(--ls-blue-night) 0%, var(--ls-blue) 100%);
  color: var(--ls-white);
  overflow: hidden;
}

.home-hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
}
.home-hero__inner {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.home-hero__kicker {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
.home-hero__title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  margin: 0 0 1rem;
  font-weight: 900;
  color: var(--ls-orange);
  text-shadow: 0 0 90px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.06em;
}
.home-hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 auto 2rem;
  max-width: 980px;
  opacity: 0.95;
}
.home-hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.home-hero__decor {
  position: absolute;
  inset: -120px -120px auto -120px;
  height: 520px;
  background: radial-gradient(circle at 50% 60%, rgba(255, 166, 41, 0.35), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}

.home-section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 2rem;
}
.home-section-title--upper {
  text-transform: uppercase;
}

/* Partners */
.home-partners {
  position: relative;
  padding: 3rem 0 3.5rem;
}
.home-partners__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(980px, 92vw);
  height: min(980px, 92vw);
  border-radius: 9999px;
  outline: 3px solid rgba(255, 255, 255, 0.18);
  opacity: 0.35;
  pointer-events: none;
}
.home-partners__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 160px);
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.home-partner {
  width: 160px;
  height: 160px;
  border-radius: 9999px;
  background: var(--ls-blue-next);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.home-partner img {
  width: 128px;
  height: 128px;
  border-radius: 9999px;
}
.home-partner--text {
  font-weight: 900;
  text-align: center;
  padding: 1rem;
  font-size: 1.05rem;
  line-height: 1.15;
}

/* Contact */
.home-contact {
  padding: 2.5rem 0 4rem;
}
.home-contact__card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(4px);
}
.home-contact__form {
  margin-top: 1.5rem;
}
.home-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}
.home-field label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
}
.home-input,
.home-field input,
.home-field select,
.home-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 4px;
  border: 1px solid rgba(228, 234, 239, 1);
  background: white;
  color: #252a2f;
  outline: none;
}
.home-field textarea {
  resize: vertical;
  min-height: 132px;
}
.home-field--full {
  grid-column: 1 / -1;
}
.home-field__err {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #ffe1e1;
}
.home-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.home-consent input {
  margin-top: 0.2rem;
}
.home-consent a {
  color: var(--ls-orange);
  text-decoration: none;
}
.home-consent a:hover {
  text-decoration: underline;
}
.home-contact__actions {
  margin-top: 1.5rem;
}
.home-contact__result {
  margin-top: 1rem;
}
.home-form-ok {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}
.home-form-err {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}
.home-form-err ul {
  margin: 0.5rem 0 0;
}

/* Footer */
.ls-footer {
  background: var(--ls-blue);
  color: white;
}
.ls-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}
.ls-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: block;
  margin: 0.4rem 0;
}
.ls-footer a:hover {
  color: white;
  text-decoration: underline;
}
.ls-footer__copy {
  margin-top: 0.8rem;
  opacity: 0.75;
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
  .ls-location {
    display: none;
  }
  .ls-burger {
    display: inline-block;
  }
  .ls-nav__inner {
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }
  .ls-nav {
    display: none;
  }
  .ls-nav.is-open {
    display: block;
  }

  .home-partners__grid {
    grid-template-columns: repeat(2, 140px);
    gap: 1.25rem;
  }
  .home-partner {
    width: 140px;
    height: 140px;
  }
  .home-partner img {
    width: 112px;
    height: 112px;
  }
  .home-contact__card {
    padding: 1.5rem 1rem;
  }
  .home-form-grid {
    grid-template-columns: 1fr;
  }
  .ls-footer__inner {
    grid-template-columns: 1fr;
  }
}

