/**
 * Стили в духе основного сайта abiturient.bgsha.ru
 * «Самый зелёный вуз» — зелёная шапка и светлый фон; красный для главных кнопок (Поступление).
 * Брендбук: красный #C9243F, золотой #FEC340, зелёный #00a386.
 */
:root {
  --bgsxa-primary: #C9243F;
  --bgsxa-primary-dark: #9a1a2f;
  --bgsxa-primary-light: #e83d5a;
  --bgsxa-gold: #FEC340;
  --bgsxa-gold-dark: #e5a82a;
  --bgsxa-green: #00a386;
  --bgsxa-green-dark: #008f72;
  --bgsxa-green-header: #00a386;
  --bgsxa-green-header-dark: #008f72;
  --bgsxa-bg: #e8f0ec;
  --bgsxa-bg-card: #fff;
  --bgsxa-text: #1a1a1a;
  --bgsxa-text-muted: #444;
  --bgsxa-link: #1a5f3c;
  --bgsxa-link-hover: #c9243f;
}

/* Общий фон — как на abiturient.bgsha.ru */
body {
  color: var(--bgsxa-text);
  font-family: 'Roboto', 'Open Sans', sans-serif;
  background-color: var(--bgsxa-bg);
}

/* Шапка и меню — зелёный градиент («Самый зелёный вуз Дальнего Востока») */
.mainmenu-area.affix-top,
.overlay:before,
.sky-bg {
  background: linear-gradient(135deg, var(--bgsxa-green-header) 0%, var(--bgsxa-green-header-dark) 100%) !important;
  color: #fff !important;
}

.mainmenu-area.affix {
  background-color: var(--bgsxa-green-header-dark) !important;
}

.mainmenu-area #primary-menu ul li.active a,
.mainmenu-area #primary-menu ul li a:hover {
  border-top-color: var(--bgsxa-gold) !important;
}

.mainmenu-area #primary-menu > ul > li > a:before {
  border-top-color: var(--bgsxa-gold) !important;
}

.overlay a,
.mainmenu-area a {
  color: #fff !important;
}

.mainmenu-area a:hover {
  color: var(--bgsxa-gold) !important;
}

/* Кнопки: красный для главного действия (как «Поступление» на abiturient.bgsha.ru) */
.button {
  background-color: var(--bgsxa-primary) !important;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover,
.button.white {
  background-color: #fff !important;
  color: var(--bgsxa-primary) !important;
  border: 2px solid var(--bgsxa-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 36, 63, 0.25);
}

.button.white:hover {
  background-color: var(--bgsxa-primary) !important;
  color: #fff !important;
}

/* Карточки — светлые, с зелёным акцентом (как на основном сайте) */
#feature-page .box {
  background: var(--bgsxa-bg-card);
  border-radius: 12px;
  border: 1px solid rgba(45, 107, 74, 0.12);
  padding: 32px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

#feature-page .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bgsxa-green-header), var(--bgsxa-green));
  border-radius: 12px 12px 0 0;
}

#feature-page .box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45, 107, 74, 0.12);
  border-color: rgba(45, 107, 74, 0.25);
}

#feature-page .box__title {
  color: var(--bgsxa-green-header-dark);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

#feature-page a.box:hover .box__title {
  color: var(--bgsxa-primary);
}

#feature-page .box__intro {
  color: var(--bgsxa-text-muted);
  line-height: 1.6;
}

#feature-page .box .box-icon img {
  transition: transform 0.3s ease;
}

#feature-page .box:hover .box-icon img {
  transform: scale(1.05);
}

/* Акцентная линия под заголовками — зелёная */
#feature-page .box__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--bgsxa-green-header), var(--bgsxa-green));
  border-radius: 2px;
  margin-top: 10px;
}

#feature-page a.box:hover .box__title::after {
  background: linear-gradient(90deg, var(--bgsxa-primary), var(--bgsxa-gold));
}

/* Ссылки: зелёный по умолчанию, красный при наведении (как на основном сайте) */
#feature-page a:not(.button) {
  color: var(--bgsxa-green-header);
  transition: color 0.2s;
}

#feature-page a:not(.button):hover {
  color: var(--bgsxa-primary);
}

.dec-underline {
  color: var(--bgsxa-green-header);
}

.dec-underline:hover {
  color: var(--bgsxa-primary);
}

/* Контакты */
.side-icon-boxes_dark .side-icon-box strong {
  color: var(--bgsxa-green-header);
}

.side-icon-boxes_dark a:hover {
  color: var(--bgsxa-primary) !important;
}

/* Аккордеон — зелёный */
#accordion .panel .panel-title a span {
  background: var(--bgsxa-green-header) !important;
}

.price-table .price-info {
  background: linear-gradient(180deg, var(--bgsxa-green-header), var(--bgsxa-green-header-dark)) !important;
}

/* Preloader — зелёный */
.preloader {
  background: linear-gradient(135deg, var(--bgsxa-green-header) 0%, var(--bgsxa-green-header-dark) 100%) !important;
}

/* Тулбар/кнопки приложения: зелёный (единый стиль с шапкой основного сайта) */
.mat-toolbar.mat-primary {
  background: linear-gradient(90deg, var(--bgsxa-green-header), var(--bgsxa-green-header-dark)) !important;
  color: #fff !important;
}

/* Главные действия (Отправить, Сохранить) — красный как на abiturient */
.mat-raised-button.mat-primary,
.dx-button-mode-contained.dx-button-default {
  background: var(--bgsxa-primary) !important;
  color: #fff !important;
}

/* Секция главной — светлый зелёноватый фон как на abiturient.bgsha.ru */
.gray-bg.section-padding {
  background-color: var(--bgsxa-bg);
  padding-top: 56px;
  padding-bottom: 56px;
}

/* Блок «Горячие линии» — карточка без крупной иконки */
#feature-page .box_info .box-icon_sm {
  display: block;
  height: 0;
  margin: 0;
  overflow: hidden;
}

#feature-page .box_info .box__intro {
  margin: 0;
  text-align: left;
  line-height: 1.7;
}

#feature-page .box_info .box__intro strong {
  color: var(--bgsxa-text);
}

#feature-page .side-icon-box p,
#feature-page address .box-icon p {
  line-height: 1.7;
}

#feature-page address .box-icon p strong {
  color: var(--bgsxa-text);
}

/* Социальные иконки — зелёный в духе основного сайта */
.social-menu li a {
  background-color: #fff;
  color: var(--bgsxa-green-header);
}

.social-menu li a:hover {
  background-color: var(--bgsxa-green-header);
  color: #fff;
}

/* ========== Start page — современное оформление как на abiturient.bgsha.ru ========== */
.start-page {
  min-height: 100%;
  background: var(--bgsxa-bg);
  position: relative;
}

/* Фон страницы: мягкий узор (hero рисуется поверх за счёт своего z-index) */
.start-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(45, 107, 74, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(160, 215, 199, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #eef5f1 0%, #e8f0ec 100%);
  pointer-events: none;
  z-index: 0;
}

.start-page .container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .start-page .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Hero — зелёный #00a386, светлый текст и белые кнопки */
@keyframes startHeroFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.start-hero {
  position: relative;
  z-index: 2;
  background: #00a386;
  background: linear-gradient(165deg, #00b394 0%, #00a386 40%, #008f72 100%);
  color: #fff;
  padding: 3rem 1rem 3.5rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 163, 134, 0.35);
  overflow: hidden;
}

.start-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 50%);
  pointer-events: none;
}

.start-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
}

.start-hero__inner > * {
  animation: startHeroFadeIn 0.6s ease-out backwards;
}

.start-hero__inner > *:nth-child(1) { animation-delay: 0.05s; }
.start-hero__inner > *:nth-child(2) { animation-delay: 0.15s; }
.start-hero__inner > *:nth-child(3) { animation-delay: 0.25s; }
.start-hero__inner > *:nth-child(4) { animation-delay: 0.35s; }
.start-hero__inner > *:nth-child(5) { animation-delay: 0.45s; }
.start-hero__inner > *:nth-child(6) { animation-delay: 0.55s; }
.start-hero__inner > *:nth-child(7) { animation-delay: 0.65s; }
.start-hero__inner > *:nth-child(8) { animation-delay: 0.75s; }
.start-hero__inner > *:nth-child(9) { animation-delay: 0.85s; }
.start-hero__inner > *:nth-child(10) { animation-delay: 0.95s; }

.start-hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  letter-spacing: 0.01em;
}

/* Кнопки hero — белый фон, тёмный текст для контраста на #00a386 */
.start-hero__cta {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.65rem 1.85rem;
  background: #ffffff;
  color: #004d40;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}

.start-hero__cta:hover {
  background: #f0fdf9;
  color: #007a63;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.start-hero__tagline {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  line-height: 1.5;
}

.start-hero__year {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.start-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.start-hero__btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s, color 0.2s;
}

/* «Подать заявление» — в одном стиле с Поступление и Личный кабинет */
.start-hero__btn_primary {
  background: #ffffff;
  color: #1a3d30;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.start-hero__btn_primary:hover {
  background: #f5f5f5;
  color: #1a3d30;
  border-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* «Личный кабинет» — тот же стиль */
.start-hero__btn_secondary {
  background: #ffffff;
  color: #1a3d30;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.start-hero__btn_secondary:hover {
  background: #f5f5f5;
  color: #1a3d30;
  border-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* «Сайт для абитуриентов БГСХА» — в том же стиле */
.start-hero__link {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a3d30;
  background: #ffffff;
  text-decoration: none;
  border-radius: 20px;
  border: 2px solid #ffffff;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.start-hero__link:hover {
  background: #f5f5f5;
  color: #1a3d30;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

@keyframes startCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.start-section {
  padding: 3.25rem 0;
}

.start-grid_cards .start-card {
  animation: startCardFadeIn 0.5s ease-out backwards;
}

.start-grid_cards .start-card:nth-child(1) { animation-delay: 0.1s; }
.start-grid_cards .start-card:nth-child(2) { animation-delay: 0.18s; }
.start-grid_cards .start-card:nth-child(3) { animation-delay: 0.26s; }
.start-grid_cards .start-card:nth-child(4) { animation-delay: 0.34s; }

.start-section_alt {
  background: rgba(255,255,255,0.7);
}

.start-section__title {
  margin: 0 0 2rem;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--bgsxa-text);
  text-align: center;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.start-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.start-grid_cards {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.start-grid_contacts {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.start-card {
  background: var(--bgsxa-bg-card);
  border-radius: 14px;
  padding: 1.85rem 1.5rem;
  text-decoration: none;
  color: var(--bgsxa-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.start-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bgsxa-green-header), var(--bgsxa-green));
  border-radius: 14px 14px 0 0;
  transition: background 0.25s ease;
}

.start-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(45, 107, 74, 0.18);
  border-color: rgba(45, 107, 74, 0.22);
}

.start-card:hover .start-card__title {
  color: var(--bgsxa-link-hover);
}

.start-card:hover .start-card__title::after {
  background: linear-gradient(90deg, var(--bgsxa-primary), var(--bgsxa-gold));
  width: 48px;
}

/* Личный кабинет — такая же анимация, как у остальных карточек */
.start-card_static {
  cursor: default;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.start-card_static:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(45, 107, 74, 0.18);
  border-color: rgba(45, 107, 74, 0.22);
}

.start-card_static:hover .start-card__title {
  color: var(--bgsxa-link-hover);
}

.start-card_static:hover .start-card__title::after {
  background: linear-gradient(90deg, var(--bgsxa-primary), var(--bgsxa-gold));
  width: 48px;
}

.start-card_static:hover .start-card__icon-box {
  background: linear-gradient(145deg, rgba(45, 107, 74, 0.2), rgba(45, 107, 74, 0.12));
  transform: scale(1.06);
}

.start-card__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
}

.start-card__icon-link {
  display: block;
  margin-bottom: 1rem;
}

.start-card__icon-link img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.start-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--bgsxa-text);
  transition: color 0.25s ease;
}

.start-card__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--bgsxa-green-header), var(--bgsxa-green));
  border-radius: 2px;
  margin: 0.5rem auto 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.start-card__title a {
  color: inherit;
  text-decoration: none;
}

.start-card__title a:hover {
  color: var(--bgsxa-link-hover);
}

.start-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--bgsxa-text-muted);
  line-height: 1.55;
}

.start-card__text a {
  color: var(--bgsxa-link);
  text-decoration: none;
  font-weight: 500;
}

.start-card__text a:hover {
  color: var(--bgsxa-link-hover);
  text-decoration: underline;
}

.start-page .dec-underline {
  color: var(--bgsxa-link);
}

.start-page .dec-underline:hover {
  color: var(--bgsxa-link-hover);
}

.start-card_contacts .start-card__title::after,
.start-card_hotlines .start-card__title::after {
  margin-left: 0;
  margin-right: auto;
}

.start-card_contacts,
.start-card_hotlines {
  align-items: flex-start;
  text-align: left;
}

.start-contacts,
.start-hotlines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.start-contacts li {
  margin-bottom: 0.5rem;
}

.start-contacts a,
.start-hotlines a {
  color: var(--bgsxa-link);
  text-decoration: none;
  font-weight: 500;
}

.start-contacts a:hover,
.start-hotlines a:hover {
  color: var(--bgsxa-link-hover);
  text-decoration: underline;
}

.start-hotlines p {
  margin: 0 0 1rem;
}

.start-hotlines p:last-child {
  margin-bottom: 0;
}

.start-hotlines strong {
  color: var(--bgsxa-text);
}

/* Иконки карточек — CSS вместо картинок (читаемо и без лишних файлов) */
.start-card__icon-box {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(45, 107, 74, 0.12), rgba(45, 107, 74, 0.06));
  color: var(--bgsxa-green-header);
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.start-card:hover .start-card__icon-box {
  background: linear-gradient(145deg, rgba(45, 107, 74, 0.2), rgba(45, 107, 74, 0.12));
  color: var(--bgsxa-green-header-dark);
  transform: scale(1.06);
}

.start-card__icon-box_reg { background: linear-gradient(145deg, rgba(201, 36, 63, 0.14), rgba(201, 36, 63, 0.06)); color: var(--bgsxa-primary); }
.start-card:hover .start-card__icon-box_reg { background: linear-gradient(145deg, rgba(201, 36, 63, 0.2), rgba(201, 36, 63, 0.1)); }

.start-card__icon-box_lk { background: linear-gradient(145deg, rgba(45, 107, 74, 0.14), rgba(45, 107, 74, 0.06)); color: var(--bgsxa-green-header); }
.start-card__icon-box_list { background: linear-gradient(145deg, rgba(94, 80, 63, 0.12), rgba(94, 80, 63, 0.06)); color: #5e503f; }
.start-card__icon-box_screen { background: linear-gradient(145deg, rgba(45, 107, 74, 0.12), rgba(45, 107, 74, 0.06)); color: var(--bgsxa-green-header); }
.start-card__icon-box_site { background: linear-gradient(145deg, rgba(0, 163, 134, 0.14), rgba(0, 163, 134, 0.06)); color: var(--bgsxa-green-header); }
.start-card:hover .start-card__icon-box_site { background: linear-gradient(145deg, rgba(0, 163, 134, 0.22), rgba(0, 163, 134, 0.1)); }

/* Если в карточке остались img — скрываем сломанные, ограничиваем размер */
.start-card__icon img {
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
  display: block;
}

/* Подвал: контакты и горячие линии */
.start-foot {
  position: relative;
  z-index: 2;
  color: var(--bgsxa-text);
  padding: 2.5rem 0 2rem;
  margin-top: 0;
}

.start-foot__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.start-foot__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.start-foot__heading {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bgsxa-text);
}

.start-foot__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.75;
}

.start-foot__list li {
  margin-bottom: 0.4rem;
}

.start-foot__label {
  display: inline-block;
  min-width: 4.5em;
  color: #5a6b65;
  font-weight: 500;
}

.start-foot__list a,
.start-foot__content a {
  color: var(--bgsxa-link);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.start-foot__list a:hover,
.start-foot__content a:hover {
  color: var(--bgsxa-link-hover);
  text-decoration: underline;
}

.start-foot__content {
  font-size: 0.95rem;
  line-height: 1.75;
}

.start-foot__content p {
  margin: 0 0 0.85rem;
}

.start-foot__content p:last-child {
  margin-bottom: 0;
}

.start-foot__content strong {
  color: var(--bgsxa-text);
  font-weight: 600;
}

.start-foot__bottom {
  text-align: center;
}

.start-foot__site-link {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--bgsxa-green-header);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.start-foot__site-link:hover {
  background: var(--bgsxa-green-header-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .start-foot__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .start-foot {
    padding: 2rem 0 1.5rem;
  }
}


@media (max-width: 576px) {
  .start-hero {
    padding: 2.25rem 0.75rem 2.75rem;
  }
  .start-hero__title {
    font-size: 1.25rem;
  }
  .start-hero__actions {
    flex-direction: column;
  }
  .start-hero__btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }
  .start-section {
    padding: 2rem 0;
  }
  .start-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Мобильное меню: кнопки языка/входа в зоне видимости, бургер работает ========== */
@media (max-width: 767px) {
  .mainmenu-area__inner {
    flex-wrap: wrap;
    overflow: visible;
  }
  /* Строка: логотип слева, бургер справа — всегда видна */
  .mainmenu-area .navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    order: 1;
  }
  /* Всё, что не navbar-header (меню, язык, вход), — в раскрывающемся блоке под бургером */
  .mainmenu-area .navbar-collapse,
  .mainmenu-area__inner > .collapse {
    width: 100% !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: block !important;
    order: 2;
  }
  .mainmenu-area.mobile-open .navbar-collapse,
  .mainmenu-area.mobile-open .mainmenu-area__inner > .collapse {
    max-height: 80vh;
    overflow-y: auto;
  }
  /* Бургер-кнопка: всегда видна и кликабельна */
  .mainmenu-area .navbar-toggle {
    display: block !important;
    margin-right: 0;
    margin-top: 0;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
  }
  .mainmenu-area .navbar-toggle:hover,
  .mainmenu-area .navbar-toggle:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.8);
  }
  .mainmenu-area .navbar-toggle .icon-bar {
    background: #fff;
  }
  /* Блок с языком и входом — в коллапсе, не уезжает за экран */
  .mainmenu-area .navbar-collapse .navbar-right,
  .mainmenu-area .navbar-collapse .pull-right,
  .mainmenu-area .navbar-collapse #google_translate_element {
    float: none !important;
    margin: 0;
    padding: 12px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
  }
  .mainmenu-area .navbar-collapse #primary-menu {
    margin: 0;
    padding: 8px 0;
  }
  .mainmenu-area .navbar-collapse #primary-menu > ul {
    display: block;
    text-align: center;
  }
  .mainmenu-area .navbar-collapse #primary-menu > ul > li > a {
    padding: 12px 15px;
    display: block;
  }
  .mainmenu-area .navbar-collapse #google_translate_element,
  .mainmenu-area .navbar-collapse .dropdown,
  .mainmenu-area .navbar-collapse a[href*="login"] {
    margin: 6px 0;
    display: inline-block;
  }
}
