/* Шапка, меню и «Стройка онлайн» — общие для всех страниц (раньше жили только в motion.css главной) */
.live-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: none; color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: border-color 160ms ease, background-color 160ms ease; }
.live-btn:hover { border-color: #ff6b5e; background: rgba(255,107,94,.08); }
.live-btn i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #ff4d3d; flex: none; }
.live-btn i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #ff4d3d; animation: live-pulse 1.8s ease-out infinite; }
@keyframes live-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.live-btn-lg { margin-top: 12px; min-height: 48px; font-size: 16px; justify-content: center; }
.header .nav a { padding: 8px 10px; }
.header .header-actions .live-btn { display: none; }
@media (min-width: 1100px) { .header .header-actions .live-btn { display: inline-flex; } .header .header-phone { display: none; } .header .wrap { gap: 18px; } .header .nav { margin-left: 8px; } }
@media (min-width: 1100px) and (max-width: 1499px) { .logo span { display: none; } }
@media (min-width: 1100px) and (max-width: 1259px) { .header .nav a { padding: 8px 6px; font-size: 13px; } .live-btn { padding: 0 10px; font-size: 12px; } }
/* телефон на широких экранах — первым пунктом меню */
.mobile-menu .live-btn { align-self: flex-start; }
.live-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; }
.live-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #cfdde5; padding: 24px; }
.live-empty p { max-width: 40ch; line-height: 1.55; }
.live-empty b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.live-dot { width: 14px; height: 14px; border-radius: 50%; background: #ff4d3d; box-shadow: 0 0 0 6px rgba(255,77,61,.2); margin-bottom: 12px; animation: live-pulse-dot 1.8s ease-in-out infinite; }
@keyframes live-pulse-dot { 50% { box-shadow: 0 0 0 12px rgba(255,77,61,0); } }
/* Шапка: полное меню только от 1280 px, ниже — бургер, «Стройка онлайн» и «Выбрать квартиру» */
@media (min-width: 1100px) and (max-width: 1279px) {
  .header .nav { display: none; }
  .header .burger { display: grid; }
  .header .header-actions { margin-left: auto; }
}
@media (min-width: 1280px) and (max-width: 1439px) { .header .nav a { padding: 8px 7px; font-size: 13.5px; } .header .wrap { gap: 14px; } }
/* Шапка не шире сетки страницы: подпись у логотипа и телефон — только когда меню свёрнуто в бургер (телефон есть в меню, подвале и форме) */
@media (min-width: 1280px) { .header .logo span { display: none; } .header .header-phone { display: none !important; } }
@media (min-width: 1100px) and (max-width: 1279px) { .header .logo span { display: block; } }

@media (max-width: 760px) {
  .header .wrap { gap: 8px; }
  .header .logo > span { display: none; }
  .header .header-phone { display: inline-flex; align-items: center; min-height: 44px; color: #57c9dc; font: 600 clamp(12px, 3.5vw, 15px) var(--f-body); }
  .header .header-actions .btn { display: none; }
}
