/* ═══════════════════════════════════════════
   MOBILE — max-width: 767px
   Бургер-навигация + базовый layout
═══════════════════════════════════════════ */

.mobile-bar { display: none; }
.nav-icon-label { display: none; }

@media (max-width: 767px) {

  /* ──────────────────────────────────────
     TOP BAR
  ────────────────────────────────────── */
  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: 60px;
    padding: 0 24px;
    background: rgba(14,14,14,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(242,242,240,0.06);
  }

  /* Текстовый логотип в шапке */
  .mobile-bar-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 1px;
  }
  .mobile-logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: #C4A76B;
    text-transform: uppercase;
  }
  .mobile-logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    font-weight: 300;
    letter-spacing: 0.35em;
    color: rgba(242,242,240,0.45);
    text-transform: uppercase;
  }

  /* ──────────────────────────────────────
     BURGER BUTTON
  ────────────────────────────────────── */
  .burger-btn {
    width: 44px; height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    flex-shrink: 0;
  }

  .burger-line {
    display: block;
    width: 22px; height: 1px;
    background: #F2F2F0;
    transition: transform 0.32s ease, opacity 0.32s ease;
    transform-origin: center;
  }

  .burger-btn.open .burger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger-btn.open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .burger-btn.open .burger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* ──────────────────────────────────────
     SIDE NAV → FULLSCREEN OVERLAY
  ────────────────────────────────────── */
  .side-nav {
    width: 100% !important;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 72px 24px 48px;
    border-right: none;
    background: #0E0E0E;
    z-index: 150;
    display: flex;
    flex-direction: column;
  }

  .side-nav.open {
    transform: translateX(0);
  }

  /* SVG логотип — скрыт в оверлее, оставляем только для десктопа */
  .side-nav .logo {
    display: none !important;
  }

  /* Nav links — крупные тап-зоны */
  .nav-links {
    margin-bottom: auto;
  }

  .nav-links li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(242,242,240,0.06);
  }

  .nav-links a {
    display: block;
    padding: 18px 0;
    font-size: 11px;
    letter-spacing: 0.24em;
  }

  /* Контакты — вертикально с подписями */
  .nav-contacts {
    padding-top: 36px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: stretch;
    justify-content: flex-start;
  }

  .nav-contact-icon {
    width: auto;
    height: auto;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    flex: 1;
    border: 1px solid rgba(242,242,240,0.1);
  }

  .nav-contact-icon svg {
    width: 18px; height: 18px;
  }

  .nav-icon-label {
    display: block;
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(242,242,240,0.4);
    white-space: nowrap;
  }

  /* ──────────────────────────────────────
     MAIN CONTENT
  ────────────────────────────────────── */
  .main {
    margin-left: 0 !important;
    padding-top: 60px;
  }

}
