.mobile-bottom-nav {
  display: none;
}

.swipe-dots {
  display: none;
}

@media (max-width: 720px) {
  html,
  body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100vw - 24px);
    max-width: 366px;
    gap: 4px;
    padding: 7px;
    border: 1px solid rgba(224, 221, 211, 0.92);
    border-radius: 18px;
    background: rgba(250, 250, 247, 0.95);
    box-shadow: 0 18px 44px rgba(13, 45, 45, 0.18);
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav a {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 48px;
    padding: 6px 4px;
    border-radius: 12px;
    color: var(--teal-700, #094545);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
  }

  .mobile-bottom-nav a[aria-current="page"] {
    background: var(--teal-900, #0D2D2D);
    color: var(--cream-warm, #F5EFE0);
  }

  .hero-copy,
  .banner-panel,
  .hero-stat-panel,
  .form-panel,
  .live-panel,
  .section-head,
  .detail-grid,
  .detail-card,
  .portal-screens,
  .portal-screen,
  .screen-content,
  .request-panel,
  .profile-card,
  .info-card,
  .advantage-card,
  .program-card,
  .trainer-card,
  .location-card,
  .price-card,
  .review-card {
    width: min(100%, 320px) !important;
    max-width: min(100%, 320px) !important;
    min-width: 0 !important;
  }

  .topbar-inner,
  .hero-layout,
  .slide-inner,
  .hero-actions,
  .hero-module-grid,
  .portal-nav,
  .school-page-nav .container {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-module-grid {
    width: 100% !important;
  }

  h1,
  h2,
  h3,
  .lead {
    max-width: 100% !important;
    overflow-wrap: break-word;
  }

  h1 {
    font-size: clamp(32px, 10vw, 38px) !important;
    line-height: 1.08 !important;
  }

  .btn,
  .hero-actions .btn {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    line-height: 1.18;
  }

  .topbar-actions {
    flex-shrink: 0;
    min-width: 0;
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  .account-menu summary.btn,
  .account-trigger {
    min-width: 84px !important;
    padding: 10px 12px !important;
    font-size: 0 !important;
  }

  .account-menu summary.btn::after,
  .account-trigger::after {
    content: "Кабинет";
    font-size: 13px;
  }

  .section-hero .hero-copy,
  .section-hero .hero-stat-panel {
    width: 100% !important;
    max-width: 100% !important;
  }

  .section-hero h1 {
    font-size: clamp(30px, 8vw, 34px) !important;
    line-height: 1.1 !important;
    max-width: min(calc(100vw - 32px), 358px) !important;
    overflow: visible;
  }

  .section-hero .lead {
    max-width: min(calc(100vw - 32px), 358px) !important;
  }

  .section-hero .mobile-title {
    display: block;
  }

  .section-hero .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(calc(100vw - 32px), 358px) !important;
    max-width: min(calc(100vw - 32px), 358px) !important;
  }

  .section-hero .hero-actions .btn {
    width: auto !important;
    min-width: 0 !important;
    min-height: 52px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .swipe-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin: 8px 0 2px;
    padding: 0;
  }

  .swipe-dots[hidden] {
    display: none !important;
  }

  .swipe-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(13, 45, 45, 0.24);
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: width 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  }

  .swipe-dot.is-active {
    width: 20px;
    background: var(--terracotta-500, #E04E1B);
  }

  .hero-stat-panel .swipe-dot,
  .match-strip .swipe-dot {
    background: rgba(245, 239, 224, 0.42);
  }

  .hero-stat-panel .swipe-dot.is-active,
  .match-strip .swipe-dot.is-active {
    background: var(--terracotta-500, #E04E1B);
  }
}
