/*
Theme Name: CupidoX
*/
/* Better Messages – hide threads list */
.chat-popup iframe .bm-threads,
.chat-popup iframe .bm-threads-list,
.chat-popup iframe .bm-thread-list {
    display: none !important;
}
/* Hover for main menu */
.main-nav a:hover,
.header-nav .dropdown-toggle:hover {
  color: #ffc400 !important;
}


/* Chat takes full width */
.chat-popup iframe .bm-main,
.chat-popup iframe .bm-chat {
    width: 100% !important;
    max-width: 100% !important;
}

/* === BETTER MESSAGES CLEAN POPUP === */

/* Скрываем левый список диалогов */
.bm-chats,
.bm-chat-list,
.bm-left,
.bm-conversations {
    display: none !important;
}

/* Чат на всю ширину */
.bm-chat-wrapper,
.bm-chat,
.bm-main,
.bm-window {
    width: 100% !important;
    max-width: 100% !important;
}
/* ===== EMPTY RESULTS ===== */
.no-results-box {
    margin: 60px auto;
    padding: 40px 30px;
    max-width: 420px;
    text-align: center;
    border-radius: 24px;
    background: radial-gradient(
        circle at top,
        rgba(255,122,24,.18),
        rgba(0,0,0,.75)
    );
    box-shadow: 0 0 40px rgba(255,122,24,.25);
    backdrop-filter: blur(8px);
}

.no-results-icon {
    font-size: 38px;
    margin-bottom: 12px;
    opacity: .9;
}

.no-results-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.no-results-text {
    font-size: 14px;
    color: #aaa;
    line-height: 1.4;
    margin-bottom: 22px;
}

/* кнопка сброса */
.no-results-reset {
    background: linear-gradient(135deg, #ff7a18, #ff9b50);
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: .25s;
}

.no-results-reset:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255,122,24,.45);
}




/* Убираем лишние рамки */
.bm-window {
    border-radius: 16px;
    background: #0f1115;
}

/* Верхняя панель */
.bm-chat-header {
    background: #141824;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Сообщения */
.bm-message {
    background: #1b2030;
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 8px;
    color: #fff;
}

/* Мои сообщения */
.bm-message.mine {
    background: #2b6cff;
    color: #fff;
}

/* Поле ввода */
.bm-chat-footer,
.bm-reply {
    background: #0f1115;
    border-top: 1px solid rgba(255,255,255,.08);
}

/* Input */
.bm-reply textarea {
    background: #141824;
    border-radius: 12px;
    color: #fff;
}

/* Кнопка отправки */
.bm-send-message {
    background: #2b6cff;
    border-radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Montserrat, sans-serif;
  color: #1a1a1a;
}
/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  transition: background .4s ease, box-shadow .4s ease;
}
select {
    background-color: white;
}

#site-header.scrolled {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ==============================
   BETTER MESSAGES — DARK POPUP
================================ */

.chat-popup {

    /* ОСНОВНОЙ ФОН */
    --bm-bg: #0b0f14;
    --bm-panel: #111827;
    --bm-border: #1f2937;
    --bm-text: #e5e7eb;
    --bm-muted: #9ca3af;
    --bm-accent: #6366f1;
    --bm-my-msg: #1e293b;
    --bm-his-msg: #020617;
}

/* ОБЩИЙ ФОН */
.chat-popup .bp-messages-wrap,
.chat-popup .bp-messages-main,
.chat-popup .bp-messages-content {
    background: var(--bm-bg) !important;
    color: var(--bm-text);
}

/* HEADER ЧАТА */
.chat-popup .bp-messages-header {
    background: var(--bm-panel);
    border-bottom: 1px solid var(--bm-border);
}

/* ИМЯ + СТАТУС */
.chat-popup .bp-messages-user-name,
.chat-popup .bp-messages-user-name a {
    color: var(--bm-text);
}

.chat-popup .bp-messages-user-status {
    color: var(--bm-muted);
}

/* СООБЩЕНИЯ */
.chat-popup .bp-messages-message {
    color: var(--bm-text);
}

/* МОИ СООБЩЕНИЯ */
.chat-popup .bp-messages-message.my-message .bp-messages-message-content {
    background: var(--bm-my-msg);
    border-radius: 16px 16px 4px 16px;
}

/* СООБЩЕНИЯ СПЕЦИАЛИСТА */
.chat-popup .bp-messages-message:not(.my-message) .bp-messages-message-content {
    background: var(--bm-his-msg);
    border-radius: 16px 16px 16px 4px;
}

/* ВРЕМЯ */
.chat-popup .bp-messages-time {
    color: var(--bm-muted);
}

/* ПОЛЕ ВВОДА */
.chat-popup .bp-messages-send-form {
    background: var(--bm-panel);
    border-top: 1px solid var(--bm-border);
}

.chat-popup .bp-messages-send-form textarea {
    background: #020617;
    color: var(--bm-text);
    border: 1px solid var(--bm-border);
    border-radius: 12px;
}

/* КНОПКА ОТПРАВКИ */
.chat-popup .bp-messages-send-form button {
    background: var(--bm-accent);
    border-radius: 12px;
}

.chat-popup .bp-messages-send-form button:hover {
    filter: brightness(1.1);
}

/* СКРОЛЛБАР */
.chat-popup ::-webkit-scrollbar {
    width: 6px;
}
.chat-popup ::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}


.logo {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: #fff;
  transition: color .3s ease;
}

#site-header.scrolled .logo {
  color: #111;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 30px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color .3s ease;
}

#site-header.scrolled nav a {
  color: #111;
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  color: #fff;
  max-width: 800px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 60px;
  margin-bottom: 25px;
  color: white;
}

.hero p {
  font-size: 18px;
  margin-bottom: 40px;
}

.btn {
  background: #8b0000;
  color: #fff;
  padding: 16px 42px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

.feature {
  border: 1px solid #eee;
  padding: 40px;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: #fff;
  padding: 60px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* ===== ANIMATION ===== */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

.hero .animate {
  opacity: 1;
  transform: none;
}

/* ===== MOBILE ===== */
@media(max-width:900px){
  .features {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 38px;
  }
}
/* ===== HERO PARALLAX ===== */
.hero {
  position: relative;
  overflow: hidden;
}
#scrollTopBtn img {
  width: 58px;   /* было ~44px — увеличь */
  height: auto;
}
#scrollTopBtn:hover img {
  transform: scale(1.15) translateY(-4px);
}
/* ===== HERO VIDEO ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(0) scale(1);
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Затемнение */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* ===== MOBILE FALLBACK ===== */
@media (max-width: 900px) {
  .hero-video {
    display: none;
  }

  .hero-media {
    background: url("https://images.unsplash.com/photo-1528605248644-14dd04022da1")
      center / cover no-repeat;
  }
}
/* ===== FEATURE ICONS ===== */
.feature-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
  padding: 50px 35px;
  text-align: center;
  border-radius: 4px;
  background: rgba(255,255,255,0.85);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.feature-link h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-bottom: 12px;
}

.feature-link p {
  font-size: 15px;
  color: #666;
}

/* ===== HOVER EFFECT ===== */
.feature-link:hover {
  transform: scale(1.06);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.feature-link:hover .feature-icon {
  transform: scale(1.2);
}
/* ===== BANKET SECTION ===== */
.banket-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.banket-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.banket-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 25px;
}

.banket-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 35px;
  color: #444;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .banket-inner {
    grid-template-columns: 1fr;
  }

  .banket-content h1 {
    font-size: 30px;
  }
}
/* ===== HEADER PHONE BUTTON ===== */
.main-nav {
  display: flex;
  align-items: center;
}

.header-phone {
  margin-left: 30px;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.header-phone:hover {
  background: rgba(255,255,255,0.85);
  color: #000;
  transform: scale(1.05);
}
@media (max-width: 900px) {
  .header-phone {
    padding: 8px 18px;
    font-size: 13px;
  }
}
/* ===== GO SECTION ===== */
.go-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.go-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.go-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 25px;
}

.go-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 35px;
  color: #444;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .go-inner {
    grid-template-columns: 1fr;
  }

  .go-content h1 {
    font-size: 30px;
  }
  .go-image {
    order: 1;
  }

  .go-content {
    order: 2;
  }

}
.go-image {
  order: 2;
}

.go-content {
  order: 1;
}
/* ===== OFFERS ===== */
.offers-header {
  text-align: center;
  margin-bottom: 60px;
}

.offers-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 15px;
}

.offers-header p {
  color: #666;
  font-size: 16px;
}

/* GRID */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.offer-card {
  position: relative;
  height: 380px;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

/* BACKGROUND */
.offer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.6s ease;
}

/* OVERLAY */
.offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.25)
  );
  z-index: 1;
}

/* CONTENT */
.offer-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 2;
}

.offer-content h3 {
  font-size: 24px;
  margin-bottom: 6px;
  color: white;
}

.offer-content span {
  font-size: 14px;
  opacity: 0.9;
}

/* HOVER */
.offer-card:hover .offer-bg {
  transform: scale(1.12);
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offers-header h2 {
    font-size: 30px;
  }
}
/* ===== LOGO WITH BIRD ===== */
.logo-wrap {
  position: relative;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: #fff;
  line-height: 1;
}

.logo-text {
  position: relative;
  z-index: 1;
}

/* Жар-птица */
.logo-bird {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.logo-bird img {
  width: 42px;
  height: auto;
}
@media (max-width: 900px) {
  .logo-wrap {
    font-size: 22px;
  }

  .logo-bird img {
    width: 32px;
  }

  .logo-bird {
    top: -18px;
  }
}
.logo-bird img {
  animation: birdFloat 4s ease-in-out infinite;
}

@keyframes birdFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}
/* ===== LOGO WITH ICON ===== */
.logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  margin-left: 12px;
  color: #fff;
  transition: color 0.3s ease;
}

/* Иконка жар-птицы */
.logo-bird svg {
  width: 42px;
  height: 42px;
  fill: #f7b733; /* золотой тон — можно менять */
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover на логотип */
.logo-wrap:hover .logo-bird svg {
  transform: scale(1.2) rotate(-6deg);
  filter: drop-shadow(0 0 8px rgba(247, 183, 51, 0.65));
}

.logo-wrap:hover .logo-text {
  color: #f7b733;
}

/* Лёгкое постоянное свечение */
.logo-bird svg {
  filter: drop-shadow(0 0 6px rgba(247, 183, 51, 0.45));
}
/* ===== LOGO TEXT BORDER ===== */
.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: #fff;

  padding: 6px 16px;
  border: 1px solid rgba(247, 183, 51, 0.6);
  border-radius: 30px;

  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover эффект */
.logo-wrap:hover .logo-text {
  color: #f7b733;
  border-color: #f7b733;
  box-shadow: 0 0 12px rgba(247, 183, 51, 0.5);
}
/* ===== LOGO ANIMATED BORDER ===== */
.logo-text {
  position: relative;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: #fff;

  padding: 8px 18px;
  text-decoration: none;
}

/* Псевдоэлементы — линии рамки */
.logo-text::before,
.logo-text::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 1px solid transparent;
  border-radius: 30px;
  pointer-events: none;
}

/* Верх + левый бордер */
.logo-text::before {
  top: 0;
  left: 0;
  border-top-color: #f7b733;
  border-left-color: #f7b733;
  transition:
    width 0.3s ease,
    height 0.3s ease 0.3s;
}

/* Низ + правый бордер */
.logo-text::after {
  bottom: 0;
  right: 0;
  border-bottom-color: #f7b733;
  border-right-color: #f7b733;
  transition:
    width 0.3s ease 0.3s,
    height 0.3s ease;
}

/* Hover — рисуем рамку */
.logo-wrap:hover .logo-text::before,
.logo-wrap:hover .logo-text::after {
  width: 100%;
  height: 100%;
}

/* Доп. эффект */
.logo-wrap:hover .logo-text {
  color: #f7b733;
}
@media (max-width: 900px) {
  .logo-text {
    font-size: 22px;
    padding: 6px 14px;
  }
}
/* ===== FIRE EFFECT ===== */
.logo-text::before,
.logo-text::after {
  box-shadow: none;
}

/* Огонь при hover */
.logo-wrap:hover .logo-text::before,
.logo-wrap:hover .logo-text::after {
  animation: fireGlow 1.8s infinite alternate;
}

/* Пульсация огня */
@keyframes fireGlow {
  0% {
    box-shadow:
      0 0 6px rgba(247,183,51,0.4),
      0 0 12px rgba(255,140,0,0.25);
  }
  50% {
    box-shadow:
      0 0 10px rgba(255,140,0,0.55),
      0 0 20px rgba(255,100,0,0.35);
  }
  100% {
    box-shadow:
      0 0 8px rgba(247,183,51,0.45),
      0 0 16px rgba(255,80,0,0.3);
  }
}
.logo-text::after {
  filter: drop-shadow(0 0 6px rgba(255,120,0,0.4));
}
@media (max-width: 900px) {
  .logo-wrap:hover .logo-text::before,
  .logo-wrap:hover .logo-text::after {
    animation: none;
  }
}
/* ===== TEXT STROKE LOGO ===== */
.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;

  color: transparent; /* заливка */
  -webkit-text-stroke: 1px #f7b733; /* обводка букв */

  letter-spacing: 0.5px;

  transition:
    -webkit-text-stroke 0.3s ease,
    text-shadow 0.3s ease;
}

/* Hover — огонь усиливается */
.logo-wrap:hover .logo-text {
  -webkit-text-stroke: 1.2px #ff8c00;
  text-shadow:
    0 0 6px rgba(255,140,0,0.5),
    0 0 12px rgba(255,100,0,0.35);
}
/* ===== FIRE TEXT SVG ===== */
.logo-text-svg {
  width: 260px;
  height: auto;
}

.logo-text-svg text {
  stroke-dasharray: 200;
  animation: fireStroke 4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255,140,0,0.5));
}

/* Усиление при hover */
.logo-wrap:hover .logo-text-svg text {
  animation-duration: 2s;
  stroke-width: 1.8;
  filter:
    drop-shadow(0 0 10px rgba(255,140,0,0.7))
    drop-shadow(0 0 20px rgba(255,80,0,0.5));
}

/* Анимация движения огня */
@keyframes fireStroke {
  0% {
    stroke-dashoffset: 200;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.logo-text-svg text {
  animation:
    fireStroke 4s linear infinite,
    firePulse 2.5s ease-in-out infinite;
}

@keyframes firePulse {
  0% { opacity: 0.85; }
  50% { opacity: 1; }
  100% { opacity: 0.85; }
}
@media (max-width: 900px) {
  .logo-text-svg {
    width: 200px;
  }

  .logo-wrap:hover .logo-text-svg text {
    animation-duration: 3s;
  }
}
/* ===== CLICKABLE LOGO ===== */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  cursor: pointer;
}

/* Убираем стандартный стиль ссылки */
.logo-wrap:link,
.logo-wrap:visited {
  color: inherit;
}

/* Чтобы SVG тоже реагировал */
.logo-wrap svg {
  pointer-events: none;
}
/* ===== CLICKABLE LOGO ===== */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  cursor: pointer;
}

/* Убираем стандартный стиль ссылки */
.logo-wrap:link,
.logo-wrap:visited {
  color: inherit;
}

/* Чтобы SVG тоже реагировал */
.logo-wrap svg {
  pointer-events: none;
}
#site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* НАВИГАЦИЯ */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.mobile-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.mobile-nav-close,
.mobile-nav-footer {
  display: none;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav a.is-active {
  color: #f5c76a;
  text-shadow: 0 0 12px rgba(255,140,43,.35);
  border-color: rgba(255,140,43,.45);
}

#site-header.scrolled .main-nav a.is-active {
  color: #b8771d;
  text-shadow: 0 0 10px rgba(255,140,43,.25);
  border-color: rgba(184,119,29,.55);
}

#site-header.scrolled .logo-text {
  color: #111;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}

#site-header.scrolled .logo-bird img {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)) saturate(1.2) contrast(1.1);
}

/* КНОПКА ТЕЛЕФОНА */
.header-phone {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 30px;
  transition: all 0.3s ease;
}

.header-phone:hover {
  background: #8b0000;
  border-color: #8b0000;
}
/* ===== SCROLL TO TOP ===== */
#scrollTopBtn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  background: #8b0000;
  box-shadow: 0 0 25px rgba(139,0,0,0.6);
}

/* стрелка */
#scrollTopBtn .arrow {
  display: block;
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
  margin: auto;
  position: relative;
  top: 20px;
}

/* легкая анимация "дыхания" */
#scrollTopBtn.show {
  animation: floatUp 2.5s ease-in-out infinite;
}

@keyframes floatUp {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
/* ===== FIRE SCROLL TO TOP ===== */
#scrollTopBtn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at top,
    rgba(255,140,0,0.9),
    rgba(139,0,0,0.85),
    rgba(0,0,0,0.9)
  );
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s ease;
  z-index: 999;
  box-shadow:
    0 0 20px rgba(255,120,0,0.5),
    inset 0 0 12px rgba(255,200,100,0.6);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* 🔥 ОГНЕННОЕ ПУЛЬСИРОВАНИЕ */
#scrollTopBtn.show {
  animation: firePulse 2.8s infinite ease-in-out;
}

@keyframes firePulse {
  0%,100% {
    box-shadow:
      0 0 20px rgba(255,120,0,0.5),
      inset 0 0 12px rgba(255,200,100,0.6);
  }
  50% {
    box-shadow:
      0 0 35px rgba(255,80,0,0.9),
      inset 0 0 18px rgba(255,220,150,0.8);
  }
}

/* ===== FIRE ARROW ===== */
.fire-arrow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  transform: rotate(45deg);
  filter:
    drop-shadow(0 0 6px rgba(255,200,100,0.9))
    drop-shadow(0 0 12px rgba(255,80,0,0.8));
}

/* 🔥 ЯЗЫКИ ПЛАМЕНИ */
.fire-arrow::before,
.fire-arrow::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle,
    #fff,
    #ffb300,
    #ff4500
  );
  border-radius: 50%;
  animation: flame 1.4s infinite ease-in-out;
}

.fire-arrow::before {
  top: 12px;
  left: -4px;
}

.fire-arrow::after {
  top: 18px;
  left: 2px;
  animation-delay: .3s;
}

@keyframes flame {
  0% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  100% {
    transform: scale(0) translateY(-12px);
    opacity: 0;
  }
}

/* ===== HOVER — ЖАР-ПТИЦА ===== */
#scrollTopBtn:hover {
  transform: scale(1.12);
  box-shadow:
    0 0 50px rgba(255,90,0,1),
    0 0 90px rgba(255,150,0,0.8);
}
/* ===== FIREBIRD BUTTON ===== */
#scrollTopBtn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,160,60,0.9),
    rgba(160,30,0,0.9),
    rgba(0,0,0,0.95)
  );
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s ease;
  z-index: 999;
  box-shadow: 0 0 30px rgba(255,120,0,0.7);
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  animation: firePulse 3s infinite ease-in-out;
}

@keyframes firePulse {
  0%,100% { box-shadow: 0 0 30px rgba(255,120,0,0.6); }
  50% { box-shadow: 0 0 55px rgba(255,80,0,1); }
}

/* ===== SVG FIREBIRD ===== */
.firebird-icon {
  width: 42px;
  height: 42px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: birdFloat 3s infinite ease-in-out;
}

/* тело */
.firebird-icon .body {
  stroke: #ffd27d;
  stroke-width: 3;
  filter: drop-shadow(0 0 6px #ff9b00);
}

/* крылья */
.firebird-icon .wing {
  stroke: #ff7a00;
  stroke-width: 2.5;
  animation: wings 1.8s infinite ease-in-out;
}

/* хвост */
.firebird-icon .tail {
  stroke: #ff4500;
  stroke-width: 2;
  animation: tailFire 1.4s infinite ease-in-out;
}

@keyframes wings {
  0%,100% { transform: scaleX(1); }
  50% { transform: scaleX(1.15); }
}

@keyframes tailFire {
  0% { stroke-opacity: 1; }
  100% { stroke-opacity: 0.4; }
}

@keyframes birdFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* HOVER — ЖАР */
#scrollTopBtn:hover {
  transform: scale(1.15);
  box-shadow:
    0 0 70px rgba(255,120,0,1),
    0 0 120px rgba(255,180,60,0.8);
}
/* ===== SCROLL TO TOP FIREBIRD ===== */
#scrollTopBtn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,160,60,0.9),
    rgba(140,20,0,0.9),
    rgba(0,0,0,0.95)
  );
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s ease;
  z-index: 999;
  box-shadow:
    0 0 30px rgba(255,120,0,0.6),
    inset 0 0 12px rgba(255,200,120,0.6);
}

/* появление */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  animation: firePulse 3s infinite ease-in-out;
}

/* PNG внутри */
#scrollTopBtn img {
  width: 42px;
  height: auto;
  filter:
    drop-shadow(0 0 6px rgba(255,200,100,0.9))
    drop-shadow(0 0 14px rgba(255,90,0,0.8));
  animation: birdFloat 2.8s infinite ease-in-out;
}

/* дыхание */
@keyframes firePulse {
  0%,100% {
    box-shadow:
      0 0 30px rgba(255,120,0,0.6),
      inset 0 0 12px rgba(255,200,120,0.6);
  }
  50% {
    box-shadow:
      0 0 55px rgba(255,80,0,1),
      inset 0 0 18px rgba(255,230,150,0.8);
  }
}

/* парение птицы */
@keyframes birdFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* hover */
#scrollTopBtn:hover {
  transform: scale(1.15);
  box-shadow:
    0 0 80px rgba(255,120,0,1),
    0 0 140px rgba(255,180,60,0.9);
}
/* ===== FIRE TRAIL ===== */
.fire-trail {
  position: fixed;
  width: 10px;
  height: 10px;
  pointer-events: none;
  background: radial-gradient(circle,
    #fff,
    #ffb300,
    #ff4500
  );
  border-radius: 50%;
  animation: fireTrail 0.8s ease-out forwards;
  filter: blur(1px);
  z-index: 998;
}

@keyframes fireTrail {
  0% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  100% {
    transform: scale(3) translateY(-30px);
    opacity: 0;
  }
}
/* ===== FIRE SPARK (DYNAMIC) ===== */
.fire-trail {
  position: fixed;
  width: 2px;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(255,255,255,1),
    rgba(255,210,120,1),
    rgba(255,120,0,0.9),
    rgba(255,0,0,0)
  );
  border-radius: 2px;
  transform-origin: bottom center;
  opacity: 0.95;
  filter: drop-shadow(0 0 6px rgba(255,150,60,0.9));
  animation-name: sparkFly;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  z-index: 998;
}

@keyframes sparkFly {
  0% {
    transform: translateY(0) scaleY(1) rotate(var(--rot));
    opacity: 1;
  }
  100% {
    transform: translateY(var(--fly)) scaleY(0.25) rotate(var(--rot));
    opacity: 0;
  }
}
/* ===== FIREBIRD JUMP ===== */
#scrollTopBtn.jump img {
  animation: birdJump 0.45s cubic-bezier(.25,1.5,.5,1);
}

@keyframes birdJump {
  0% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-14px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
/* ===== FIREBIRD SIZE ===== */
#scrollTopBtn img {
  width: 54px;          /* было ~42px */
  height: auto;
  display: block;
  margin: auto;
  transform-origin: center;
}
#scrollTopBtn {
  width: 78px;
  height: 78px;
}
#scrollTopBtn img {
  width: 60px;
}
.btn {
  border-radius: 12px;
  background: linear-gradient(135deg, #8b0000, #b30000);
}

.btn:hover {
  background: linear-gradient(135deg, #b30000, #ff4500);
}
@media (max-width: 768px) {
  .btn {
    border-radius: 14px;
  }
}
/* ===== PREMIUM BUTTON ===== */
.btn {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b0000, #b30000);
  color: #fff;
  padding: 16px 42px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* тонкая обводка (через псевдоэлемент) */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,180,100,0.0);
  transition: border-color 0.3s ease;
  pointer-events: none;
}

/* 🔥 огненный акцент (мягкое свечение) */
.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(
    circle at top left,
    rgba(255,200,120,0.8),
    rgba(255,90,0,0.6),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* ===== HOVER ===== */
.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(0,0,0,0.3),
    0 0 22px rgba(255,120,0,0.6);
}

/* обводка появляется */
.btn:hover::before {
  border-color: rgba(255,200,120,0.9);
}

/* огонь проявляется */
.btn:hover::after {
  opacity: 1;
}
/* ===== PREMIUM CARDS ===== */
.feature {
  position: relative;
  background: rgba(255,255,255,0.85);
  border-radius: 14px;
  padding: 40px 30px;
  border: 1px solid rgba(0,0,0,0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  overflow: hidden;
}

/* мягкий свет при hover */
.feature::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    circle at top left,
    rgba(255,200,120,0.25),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* ===== HOVER ===== */
.feature:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.12),
    0 0 25px rgba(255,150,60,0.25);
  border-color: rgba(255,140,80,0.4);
}

.feature:hover::before {
  opacity: 1;
}
/* ===== LUXURY HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.25),
      rgba(0,0,0,0.7)
    );
  z-index: 1;
}

/* фон */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1528605248644-14dd04022da1")
    center / cover no-repeat;
  transform: scale(1);
  transition: transform 0.2s linear;
  will-change: transform;
}

/* контент */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: auto;
  padding: 0 20px;
  text-align: center;
  color: #fff;
}

/* типографика */
.hero h1 {
  font-size: 64px;
  font-family: "Playfair Display", serif;
  margin-bottom: 30px;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
}
/* ===== OFFERS ===== */
.offers {
  background: #faf8f6;
}

/* Заголовок */
.offers-header {
  text-align: center;
  margin-bottom: 60px;
}

.offers-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 44px;
  margin-bottom: 15px;
}

.offers-header p {
  color: #666;
  font-size: 16px;
}

/* Сетка */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Карточка */
.offer-card {
  display: block;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* Изображение */
.offer-image {
  height: 260px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

/* Затемнение */
.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1),
    rgba(0,0,0,0.65)
  );
}

/* Контент */
.offer-content {
  position: absolute;
  bottom: 0;
  padding: 30px;
  z-index: 2;
}

.offer-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.offer-content p {
  font-size: 14px;
  opacity: 0.9;
}

/* Лейбл */
.offer-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 20px;
  background: rgba(255,120,60,0.85);
}

/* Hover */
.offer-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.25),
    0 0 25px rgba(255,150,80,0.45);
}

.offer-card:hover .offer-image {
  transform: scale(1.12);
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

.offers-header h2 {
    font-size: 32px;
  }
}
/* ===== OFFER LABELS ===== */
.offer-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 16px;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 20px;
  font-weight: 600;
}

/* ХИТ */
.label-hit {
  background: linear-gradient(135deg, #ff6a00, #ff0000);
  box-shadow: 0 0 15px rgba(255,80,0,0.6);
}

/* НОВОЕ */
.label-novoe {
  background: linear-gradient(135deg, #1f9cff, #00c6ff);
  box-shadow: 0 0 15px rgba(0,180,255,0.5);
}

/* АКЦИЯ */
.label-akciya {
  background: linear-gradient(135deg, #ffb347, #ffcc33);
  color: #000;
}
/* ===== SCROLL TOP BUTTON ===== */
#scrollTopBtn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at top, #ffb347, #b00000);
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform .3s ease;
  z-index: 9999;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#scrollTopBtn img {
  width: 48px;
  transition: transform .25s ease;
}

#scrollTopBtn.jump img {
  transform: translateY(-8px) scale(1.05);
}

/* ===== FIRE SPARKS ===== */
.fire-trail {
  position: fixed;
  width: 2px;
  background: linear-gradient(to top, #ff4500, #ffd700);
  border-radius: 2px;
  pointer-events: none;
  animation: spark-fly linear forwards;
}

@keyframes spark-fly {
  from {
    transform: translateY(0) rotate(var(--rot));
    opacity: 1;
  }
  to {
    transform: translateY(var(--fly)) rotate(var(--rot));
    opacity: 0;
  }
}
#scrollTopBtn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at center, #2a0000, #000);
  box-shadow:
    0 0 25px rgba(255,80,0,.35),
    inset 0 0 12px rgba(255,120,0,.5);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(.6);
  transition: opacity .4s, transform .4s;
  z-index: 9999;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

#scrollTopBtn img {
  width: 44px;
  transition: transform .4s;
}

#scrollTopBtn:hover img {
  transform: translateY(-4px) scale(1.08);
}

/* рывок */
#scrollTopBtn.jump {
  animation: birdJump .5s ease;
}

@keyframes birdJump {
  0% { transform: scale(1); }
  30% { transform: scale(1.15) translateY(-6px); }
  100% { transform: scale(1); }
}

/* искры */
.fire-trail {
  position: fixed;
  width: 2px;
  background: linear-gradient(to top, #ffae00, transparent);
  pointer-events: none;
  animation: sparkFly linear forwards;
}

@keyframes sparkFly {
  to {
    transform: translateY(var(--fly)) rotate(var(--rot));
    opacity: 0;
  }
}
#scrollTopBtn.jump img {
  animation: birdJump .45s ease;
}

@keyframes birdJump {
  0%   { transform: translateY(0) scale(1); }
  40%  { transform: translateY(-10px) scale(1.15); }
  100% { transform: translateY(0) scale(1); }
}
#scrollTopBtn img {
  width: 58px;   /* было ~44px — увеличь */
  height: auto;
}
#scrollTopBtn:hover img {
  transform: scale(1.15) translateY(-4px);
}
/* Overlay */
.page-transition {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #140000, #000);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* Bird clone */
.transition-bird {
  width: 120px;
  animation: birdFly 1.1s ease forwards;
  filter: drop-shadow(0 0 25px rgba(255,90,0,.8));
}

@keyframes birdFly {
  0% {
    transform: scale(.6) translateY(0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scale(1.6) translateY(-20px);
  }
}

/* flames */
.transition-flame {
  position: absolute;
  width: 6px;
  height: 30px;
  background: linear-gradient(to top, #ffcc00, #ff3300, transparent);
  border-radius: 50%;
  animation: flame 0.6s ease-out forwards;
}

@keyframes flame {
  to {
    transform: translateY(-80px) scale(.5);
    opacity: 0;
  }
}
.bird-sprite {
  width: 120px;
  height: 120px;

  background-image: url('/theme/blossom-spa/wp-content/uploads/firebird.png');
  background-repeat: no-repeat;
  background-position: center;

  background-size: contain;
  animation: none;

  /* плавность */
  will-change: background-position, transform;

  /* если в кнопке */
  pointer-events: none;
}
@keyframes bird-flap {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -720px 0;
  }
}
#bird-fly {
  position: fixed;
  top: 32px;
  left: 60px;
  width: 120px;
  height: 120px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6);
}
.bird-sprite {
  width: 120px;
  height: 120px;

  background-image: url('/theme/blossom-spa/wp-content/uploads/firebird.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  animation: none;

  filter:
    drop-shadow(0 0 6px rgba(255,140,0,.6))
    drop-shadow(0 0 14px rgba(255,80,0,.4));
}
@keyframes bird-flap {
  from { background-position: 0 0; }
  to   { background-position: -720px 0; }
}
#bird-fly.fly {
  opacity: 1;
  animation: bird-fly-center 1.3s cubic-bezier(.22,.9,.28,1) forwards;
}

@keyframes bird-fly-center {
  0% {
    transform: translate(0, 0) scale(0.6);
  }

  60% {
    transform: translate(
      calc(50vw - 120px),
      calc(50vh - 120px)
    ) scale(1.3);
  }

  100% {
    transform: translate(
      calc(50vw - 120px),
      calc(50vh - 120px)
    ) scale(1.6);
  }
}
#bird-fly.fly::after {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle,
    rgba(255,120,0,.25),
    transparent 70%);
  animation: fire-pulse 0.4s infinite alternate;
}

@keyframes fire-pulse {
  from { opacity: .4; }
  to   { opacity: .9; }
}
/* ===== BURGER ===== */
.burger {
  display: none;
  width: 34px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1101;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.85);
  border-radius: 3px;
  transition: .35s ease;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 11px; }
.burger span:nth-child(3) { bottom: 0; }

/* ACTIVE */
.burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 11px;
}

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {

  .burger {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at top, rgba(255,140,43,0.12), transparent 45%),
      rgba(4,4,4,0.92);
    backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 90px 24px 28px;
    gap: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .35s ease;
    z-index: 1100;
  }

  .main-nav a {
    font-size: 15px;
    letter-spacing: 1.2px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.65);
    text-align: left;
    margin-left: 0;
    color: #111;
  }

  .main-nav a:hover {
    background: rgba(255,140,43,0.18);
    border-color: rgba(255,140,43,0.35);
    color: #111;
  }

  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  body.menu-open {
    overflow: hidden;
  }

  .mobile-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: rgba(255,255,255,0.75);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
  }

  .mobile-nav-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-nav-footer .lang-switcher {
    margin-left: 0;
  }
}
.site-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.site-modal-content {
    background: #111;
    color: #fff;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    border-radius: 12px;
    text-align: center;
}

.modal-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-buttons button {
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
}

#modalDecline {
    background: transparent;
    color: #aaa;
    border: 1px solid #555;
}

#modalAccept {
    background: #e53935;
    color: #fff;
    border: none;
}
.profiles-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.profile-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.profile-card {
    height: 100%;
    background: rgba(0,0,0,.55);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(255,100,0,.45);
}

.profile-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cities-column {
    background: rgba(0,0,0,.45);
    border-radius: 16px;
    padding: 25px;
}

@media (max-width: 900px) {
    .profiles-wrapper {
        grid-template-columns: 1fr;
    }

    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .profiles-grid {
        grid-template-columns: 1fr;
    }
}
.fire-reviews-arrow.next {
    display:none;
}
.trp-floating-switcher {
    background: black;
    text: white;
    text-hover: red;
}
/* КНОПКА */
.btn-disponibilita {
    padding: 10px 22px;
    border-radius: 30px;
    background: linear-gradient(135deg,#ff7a18,#ff3d00);
    color:#fff;
    border:none;
    cursor:pointer;
    box-shadow:0 0 20px rgba(255,120,0,.7);

    position: relative;
    z-index: 5;
    pointer-events: auto;
}

/* POPUP */
.availability-popup {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.availability-popup.active {
    display: block;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(4px);
}

.popup-box {
    position: relative;
    max-width: 480px;
    margin: 80px auto;
    background: rgba(0,0,0,.85);
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 0 40px rgba(255,90,0,.5);
    color: #fff;
}

/* CLOSE */
.popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

/* TABS */
.popup-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background: rgba(255,255,255,.08);
    border: none;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
}

.tab-btn.active {
    background: linear-gradient(135deg,#ff7a18,#ff3d00);
    box-shadow: 0 0 20px rgba(255,120,0,.7);
}

/* PANELS */
.tab-panel {
    display: none;
    animation: fade .25s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fade {
    from { opacity:0; transform: translateY(5px); }
    to { opacity:1; transform:none; }
}

/* CALENDAR */
.calendar-input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,.1);
    color: #fff;
}

.calendar-hint {
    margin-top: 10px;
    font-size: 13px;
    color: #aaa;
}
.fc-day-past {
    background: rgba(255,255,255,.05);
    pointer-events: none;
    opacity: .4;
}
#tab-calendar {
    padding: 15px 5px 0;
}
#calendar {
    background: rgba(0,0,0,.45);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 0 25px rgba(255,90,0,.25);
}
.fc-toolbar-title {
    font-size: 18px;
    color: #ff7a18;
    text-shadow: 0 0 10px rgba(255,120,0,.5);
}

.fc-button {
    background: rgba(255,120,0,.15) !important;
    border: 1px solid rgba(255,120,0,.4) !important;
    color: #ff7a18 !important;
    border-radius: 10px !important;
    box-shadow: 0 0 12px rgba(255,120,0,.35);
    transition: all .25s ease;
}

.fc-button:hover {
    background: rgba(255,120,0,.35) !important;
    box-shadow: 0 0 20px rgba(255,120,0,.8);
}
.fc-day-past {
    background: rgba(255,255,255,.03);
    opacity: .35;
    pointer-events: none;
}
.fc-daygrid-day {
    transition: background .2s ease;
}

.fc-daygrid-day:hover {
    background: rgba(255,120,0,.12);
}
.fc-daygrid-day.fc-day-today {
    background: rgba(255,120,0,.2);
    box-shadow: inset 0 0 0 1px rgba(255,120,0,.4);
}
.time-select {
    margin: 20px 0;
}

.time-select label {
    color: #ff7a18;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

#bookingTime {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: rgba(0,0,0,.6);
    border: 1px solid rgba(255,120,0,.4);
    color: #fff;
}
#bookingForm {
    display: grid;
    gap: 12px;
}

#bookingForm input {
    padding: 12px;
    border-radius: 12px;
    background: rgba(0,0,0,.6);
    border: 1px solid rgba(255,120,0,.4);
    color: #fff;
}

#bookingForm input::placeholder {
    color: #aaa;
}
#bookingForm button {
    margin-top: 10px;
    padding: 14px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6a00, #ff9a00);
    box-shadow: 0 0 25px rgba(255,120,0,.6);
    transition: all .3s ease;
}

#bookingForm button:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 0 40px rgba(255,120,0,.9);
}
#tab-calendar {
    animation: fadeUp .35s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.site-footer {
    background: rgba(0,0,0,.85);
    padding: 50px 20px;
    margin-top: 80px;
    box-shadow: 0 -10px 40px rgba(255,90,0,.15);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* КОЛОНКИ */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* ЛОГО */
.footer-logo img {
    max-width: 160px;
    margin-bottom: 20px;
}

/* ЗАГОЛОВКИ */
.footer-title {
    font-size: 16px;
    color: #ff7a18;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255,120,0,.4);
}

/* ССЫЛКИ */
.footer-link {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color .25s ease;
}

.footer-link:hover {
    color: #ff7a18;
}

/* СОЦ СЕТИ */
.footer-socials {
    display: flex;
    gap: 15px;
}

.social-btn {
    padding: 12px 22px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,.4);
    transition: transform .25s ease, box-shadow .25s ease;
}

.social-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

/* TELEGRAM */
.social-btn.telegram {
    background: linear-gradient(135deg, #2AABEE, #229ED9);
    box-shadow: 0 0 25px rgba(42,171,238,.6);
}

/* INSTAGRAM */
.social-btn.instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    box-shadow: 0 0 25px rgba(221,42,123,.6);
}
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-col {
        align-items: center;
    }
}
.auth-popup {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.auth-popup.active {
    display: block;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

.auth-box {
    position: relative;
    width: 420px;
    max-width: 90%;
    margin: 10vh auto;
    background: #111;
    color: #fff;
    padding: 25px;
    border-radius: 16px;
}

.auth-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.auth-tabs,
.auth-subtabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.auth-tab,
.auth-subtab {
    flex: 1;
    padding: 10px;
    background: #222;
    border: none;
    color: #aaa;
    cursor: pointer;
    border-radius: 10px;
}

.auth-tab.active,
.auth-subtab.active {
    background: #ff7a18;
    color: #000;
}

.auth-panel,
.auth-subpanel {
    display: none;
}

.auth-panel.active,
.auth-subpanel.active {
    display: block;
}

.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-box input,
.auth-box button {
    padding: 10px;
    border-radius: 8px;
    border: none;
}

.auth-box button {
    background: #ff7a18;
    cursor: pointer;
}
.auth-box {
    background: linear-gradient(180deg, #0b0b0b, #1a1a1a);
    box-shadow: 0 0 40px rgba(255,120,0,.35);
}

.auth-tab.active {
    box-shadow: inset 0 0 15px rgba(255,120,0,.6);
}

.auth-box input {
    background: #111;
    color: #fff;
}

.auth-box input:focus {
    outline: 1px solid #ff7a18;
}
/* панели */
.auth-panel,
.auth-subpanel {
    display: none;
}

.auth-panel.active,
.auth-subpanel.active {
    display: block;
}

/* кнопки */
.auth-tab.active,
.auth-subtab.active {
    background: #000;
    color: #fff;
}

/* аккуратная форма */
.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* === REGISTER SUB TABS FIX === */

.auth-subcontent {
    position: relative;
}

.auth-subpanel {
    display: none;
}

.auth-subpanel.active {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.auth-box form input,
.auth-box form button {
    width: 100%;
    box-sizing: border-box;
}
.auth-box {
    max-height: 90vh;
    overflow-y: auto;
}
/* === FORCE FIX REGISTER SUBTABS === */

.auth-panel#register .auth-subpanel {
    display: none !important;
}

.auth-panel#register .auth-subpanel.active {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
}
/* POPUP WRAPPER */
.auth-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

/* АКТИВНОЕ СОСТОЯНИЕ */
.auth-popup.active {
    opacity: 1;
    pointer-events: auto;
}

/* OVERLAY */
.auth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(6px);
}

/* POPUP BOX */
.auth-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 28px;
    border-radius: 18px;

    background: #0b0b0b;
    box-shadow: 0 20px 60px rgba(255,130,0,.25);

    transform: translateY(60px) scale(.96);
    opacity: 0;

    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        opacity .35s ease;
}

/* АКТИВАЦИЯ АНИМАЦИИ */
.auth-popup.active .auth-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.lk {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.lk h1 {
    text-align: center;
    margin-bottom: 30px;
}

.lk-card {
    background: rgba(0,0,0,.6);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 0 25px rgba(255,120,0,.25);
}

.lk-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
}

.lk-card button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg,#ff7a18,#ff3d00);
    color: #fff;
    border-radius: 30px;
    border: none;
    cursor: pointer;
}

.btn-logout {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: #ff7a18;
}

.lk-section {
    margin-bottom: 40px;
}

.lk-section h3 {
    margin-bottom: 15px;
    color: #ff7a18;
}

.lk-section input:focus {
    outline: 2px solid #ff7a18;
}
/* ======================
   AUTH LOGGED POPUP
====================== */

.auth-logged {
    text-align: center;
    padding: 28px 24px;
}

.auth-user {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin-bottom: 24px;
}

.auth-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
}

.auth-user-info {
    text-align: left;
}

.auth-hello {
    font-size: 13px;
    color: #888;
}

.auth-name {
    font-size: 18px;
    font-weight: 600;
}

.auth-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.auth-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: .2s ease;
}

.auth-btn.primary {
    background: #111;
    color: #fff;
}

.auth-btn.primary:hover {
    background: #000;
}

.auth-btn.outline {
    background: transparent;
    border: 1px solid #ddd;
    color: #333;
}

.auth-btn.outline:hover {
    background: #f5f5f5;
}
.profile-form {
    max-width: 520px;
}

.profile-avatar {
    position: relative;
    width: 120px;
    margin-bottom: 24px;
}

.profile-avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #000;
    color: #fff;
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    font-size: 12px;
}

.profile-fields label {
    display: block;
    margin-bottom: 14px;
    font-size: 14px;
}

.profile-fields input {
    width: 100%;
    padding: 10px;
    margin-top: 4px;
}

.btn-primary {
    margin-top: 20px;
    padding: 12px 18px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.profile-message {
    margin-top: 12px;
    font-size: 14px;
}
.logo-bird img {
    display:none;
}


.fep-wrapper {
    max-width: 100%;
    padding: 0;
}

.fep-message-content {
    font-size: 14px;
    line-height: 1.5;
}

.fep-form {
    border-top: 1px solid #eee;
}
/* ===== WhatsApp-like chat ===== */
.bm-chat {
    background: #efeae2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Левая колонка (диалоги) */
.bm-conversations {
    background: #ffffff;
    border-right: 1px solid #ddd;
}

/* Сообщения */
.bm-message {
    max-width: 65%;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 6px;
    line-height: 1.4;
    font-size: 14px;
}

/* Исходящие (как WhatsApp зелёные) */
.bm-message.mine {
    background: #dcf8c6;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

/* Входящие */
.bm-message:not(.mine) {
    background: #ffffff;
    border-bottom-left-radius: 2px;
}

/* Время */
.bm-message-time {
    font-size: 11px;
    opacity: .6;
    text-align: right;
}

/* Поле ввода */
.bm-reply {
    background: #f0f0f0;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.bm-reply textarea {
    border-radius: 20px;
    padding: 10px 14px;
    border: 1px solid #ccc;
}

/* Кнопка отправки */
.bm-send-message {
    background: #25d366;
    color: #fff;
    border-radius: 50%;
}

/* Убираем лишнее */
.bm-star,
.bm-favorite {
    display: none;
}
/* ===== ОБЩИЙ КОНТЕЙНЕР ===== */
.bm-messages-wrapper {
    background: #0e0e0e;
    border-radius: 14px;
    overflow: hidden;
    height: 70vh;
}

/* ===== СПИСОК ДИАЛОГОВ ===== */
.bm-conversations {
    background: #111;
    border-right: 1px solid #222;
}

.bm-conversation {
    padding: 14px;
    border-bottom: 1px solid #222;
    cursor: pointer;
}

.bm-conversation.active {
    background: #1a1a1a;
}

/* ===== ОБЛАСТЬ СООБЩЕНИЙ ===== */
.bm-messages {
    padding: 20px;
    background: #0e0e0e;
}

/* ===== ПУЗЫРИ ===== */
.bm-message {
    max-width: 65%;
    padding: 12px 16px;
    border-radius: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 14px;
}

/* входящее */
.bm-message-incoming {
    background: #1f1f1f;
    color: #fff;
    border-bottom-left-radius: 4px;
}

/* исходящее */
.bm-message-outgoing {
    background: #005c4b;
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

/* ===== ВРЕМЯ ===== */
.bm-message-time {
    font-size: 11px;
    opacity: .6;
    margin-top: 4px;
    text-align: right;
}

/* ===== INPUT ===== */
.bm-reply {
    background: #111;
    border-top: 1px solid #222;
    padding: 12px;
    display: flex;
    align-items: center;
}

.bm-reply textarea {
    background: #1c1c1c;
    border: none;
    border-radius: 20px;
    padding: 10px 14px;
    color: #fff;
    resize: none;
    height: 42px;
}

.bm-reply button {
    background: #25D366;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    margin-left: 10px;
    color: #000;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .bm-conversations {
        width: 100%;
    }
}
/* ===== ОБЩИЙ КОНТЕЙНЕР ===== */
.bm-messages-wrapper {
    background: #0e0e0e;
    border-radius: 14px;
    overflow: hidden;
    height: 70vh;
}

/* ===== СПИСОК ДИАЛОГОВ ===== */
.bm-conversations {
    background: #111;
    border-right: 1px solid #222;
}

.bm-conversation {
    padding: 14px;
    border-bottom: 1px solid #222;
    cursor: pointer;
}

.bm-conversation.active {
    background: #1a1a1a;
}

/* ===== ОБЛАСТЬ СООБЩЕНИЙ ===== */
.bm-messages {
    padding: 20px;
    background: #0e0e0e;
}

/* ===== ПУЗЫРИ ===== */
.bm-message {
    max-width: 65%;
    padding: 12px 16px;
    border-radius: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 14px;
}

/* входящее */
.bm-message-incoming {
    background: #1f1f1f;
    color: #fff;
    border-bottom-left-radius: 4px;
}

/* исходящее */
.bm-message-outgoing {
    background: #005c4b;
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

/* ===== ВРЕМЯ ===== */
.bm-message-time {
    font-size: 11px;
    opacity: .6;
    margin-top: 4px;
    text-align: right;
}

/* ===== INPUT ===== */
.bm-reply {
    background: #111;
    border-top: 1px solid #222;
    padding: 12px;
    display: flex;
    align-items: center;
}

.bm-reply textarea {
    background: #1c1c1c;
    border: none;
    border-radius: 20px;
    padding: 10px 14px;
    color: #fff;
    resize: none;
    height: 42px;
}

.bm-reply button {
    background: #25D366;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    margin-left: 10px;
    color: #000;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .bm-conversations {
        width: 100%;
    }
}
/* контейнер */
.bm-wrapper {
    background: #0f172a;
}

/* список диалогов */
.bm-conversations-list {
    background: #020617;
}

/* сообщения */
.bm-chat-messages {
    background: #0f172a;
    padding: 20px;
}

/* пузырь */
.bm-message {
    max-width: 65%;
    padding: 12px 16px;
    border-radius: 18px;
    margin-bottom: 8px;
    font-size: 14px;
}

/* входящие */
.bm-message-in {
    background: #1e293b;
    color: #fff;
}

/* исходящие */
.bm-message-out {
    background: #2563eb;
    color: #fff;
    margin-left: auto;
}

/* поле ввода */
.bm-reply-form {
    background: #020617;
    border-top: 1px solid #1e293b;
    padding: 10px;
}

.bm-reply-form textarea {
    background: #020617;
    color: #fff;
    border-radius: 20px;
    border: 1px solid #1e293b;
}
/* ====== ОСНОВНОЙ ФОН ЧАТА ====== */
.bp-messages-wrap,
.bm-chat-container {
    background: #0b141a;
    border-radius: 12px;
}

/* ====== СПИСОК ДИАЛОГОВ ====== */
.bp-messages-list,
.bm-conversations {
    background: #111b21;
    border-right: 1px solid #222;
}

.bp-messages-list .bm-conversation {
    padding: 12px;
    border-bottom: 1px solid #1f2c33;
}

.bp-messages-list .bm-conversation.active {
    background: #202c33;
}

/* ====== ПУЗЫРЬКИ СООБЩЕНИЙ ====== */
.bm-message {
    max-width: 65%;
    padding: 10px 14px;
    border-radius: 8px;
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.4;
}

/* входящие */
.bm-message.other {
    background: #202c33;
    color: #e9edef;
    border-top-left-radius: 0;
}

/* исходящие (как WhatsApp) */
.bm-message.mine {
    background: #005c4b;
    color: #e9edef;
    margin-left: auto;
    border-top-right-radius: 0;
}

/* ====== ВРЕМЯ СООБЩЕНИЯ ====== */
.bm-message-time {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 4px;
    text-align: right;
}

/* ====== ПОЛЕ ВВОДА ====== */
.bm-reply {
    background: #202c33;
    border-top: 1px solid #1f2c33;
    padding: 10px;
}

.bm-reply textarea {
    background: #2a3942;
    color: #e9edef;
    border-radius: 20px;
    border: none;
    padding: 10px 14px;
    resize: none;
}

/* кнопка отправки */
.bm-send-message {
    background: #00a884;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
}

/* ====== HEADER ЧАТА ====== */
.bm-header {
    background: #202c33;
    border-bottom: 1px solid #1f2c33;
}
.bp-messages-wrap * {
    box-sizing: border-box !important;
    font-family: var(--bm-font-family);
    vertical-align: initial;
}
.bp-messages-wrap .chat-header .thread-info .thread-info-data .sub-name {
    font-size: 12px;
    line-height: 14px;
    min-height: 14px;
    text-overflow: ellipsis;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

/* === Empty states === */
.no-specialists,
.no-results-box {
    margin: 30px auto;
    padding: 28px 24px;
    max-width: 720px;
    text-align: center;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(135deg, rgba(16,16,16,.9), rgba(6,6,6,.95));
    box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 30px rgba(255,120,0,.15);
}

.no-specialists__icon,
.no-results-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.no-specialists h3,
.no-results-title {
    color: #f5c76a;
    font-size: 20px;
    margin: 6px 0 8px;
}

.no-specialists p,
.no-results-text {
    color: #cfcfcf;
    line-height: 1.5;
}

/* === Language switcher === */
.language-switcher,
.wpml-ls,
.gtranslate_wrapper,
.gt_switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.language-switcher a,
.wpml-ls a,
.gtranslate_wrapper a,
.gt_switcher a {
    color: #f5c76a;
    text-decoration: none;
}

.language-switcher select,
.wpml-ls select,
.gtranslate_wrapper select,
#lang_sel select,
#lang_sel_list select {
    appearance: none;
    background: rgba(0,0,0,.65);
    color: #f5c76a;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item a {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.45);
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item a:hover {
    background: rgba(255,140,43,.2);
}

/* === Mobile layout tweaks === */
@media (max-width: 900px) {
    .profile-card-v2 {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .profile-photo-wrap,
    .profile-content,
    .profile-info-right {
        width: 100%;
    }

    .profile-info-right {
        border-left: 0 !important;
        border-top: 1px solid rgba(255,255,255,.08);
        padding-top: 16px;
    }

    .profile-meta-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .specialists-filter {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .specialists-filter select,
    .specialists-filter label {
        width: 100% !important;
    }

    .profiles-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .profiles-tabs .tab-btn {
        flex: 0 0 auto;
    }

    #profilesMap {
        height: 320px !important;
    }

    .profile-main-card {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .profile-card-v2 {
        padding: 16px !important;
    }
}


/* === Header language switcher === */
.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-toggle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(0,0,0,.35);
    color: #f5c76a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

#site-header.scrolled .lang-toggle {
    background: rgba(255,255,255,.6);
    border-color: rgba(0,0,0,.12);
    color: #1a1a1a;
}

.lang-toggle:hover {
    background: rgba(255,140,43,.2);
    border-color: rgba(255,140,43,.5);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 160px;
    padding: 10px 12px;
    background: rgba(12,12,12,.94);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all .2s ease;
    z-index: 2000;
}

.lang-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-menu .lang-switcher__inner,
.lang-menu .gtranslate_wrapper,
.lang-menu .gt_switcher,
.lang-menu .wpml-ls,
.lang-menu .language-switcher,
.lang-menu .trp-language-switcher,
.lang-menu .trp-language-switcher-container,
.lang-menu .trp-switcher-container,
.lang-menu #trp-floater-ls,
.lang-menu .trp-floater-ls,
.lang-menu .trp-floating-switcher,
.lang-menu #lang_sel,
.lang-menu #lang_sel_list,
.lang-menu .goog-te-gadget {
    width: 100%;
}

.lang-menu a {
    color: #f5c76a;
    text-decoration: none;
}

.lang-menu a,
.lang-menu .wpml-ls-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    color: #fff;
}

.lang-menu a:hover,
.lang-menu .wpml-ls-item a:hover {
    background: rgba(255,140,43,.18);
}

.lang-menu select,
.lang-menu #lang_sel select,
.lang-menu #lang_sel_list select,
.lang-menu .gtranslate_wrapper select {
    width: 100%;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    appearance: none;
}

.lang-menu,
.lang-menu * {
    color: #fff !important;
}

.lang-menu .trp-language-switcher a,
.lang-menu .trp-language-switcher span,
.lang-menu .trp-language-switcher-container a,
.lang-menu .trp-language-switcher-container span,
.lang-menu .gtranslate_wrapper a,
.lang-menu .gtranslate_wrapper span,
.lang-menu .wpml-ls a,
.lang-menu .language-switcher a {
    color: #fff !important;
}

/* TranslatePress floating switcher reset inside menu */
.lang-menu #trp-floater-ls,
.lang-menu .trp-floater-ls,
.lang-menu .trp-floating-switcher {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Hide default switcher instances outside the header menu */
.gtranslate_wrapper:not(.lang-switcher__inner),
.gt_switcher:not(.lang-switcher__inner),
.wpml-ls:not(.lang-switcher__inner),
.language-switcher:not(.lang-switcher__inner),
.trp-language-switcher:not(.lang-switcher__inner),
.trp-language-switcher-container:not(.lang-switcher__inner),
.trp-switcher-container:not(.lang-switcher__inner),
#trp-floater-ls:not(.lang-switcher__inner),
.trp-floater-ls:not(.lang-switcher__inner),
.trp-floating-switcher:not(.lang-switcher__inner),
#lang_sel:not(.lang-switcher__inner),
#lang_sel_list:not(.lang-switcher__inner),
.goog-te-gadget:not(.lang-switcher__inner) {
    display: none !important;
}

footer .language-switcher,
footer .wpml-ls,
footer .gtranslate_wrapper,
footer .gt_switcher,
footer #lang_sel,
footer #lang_sel_list {
    display: none !important;
}

/* === Header layout overrides === */
#site-header {
    background: rgba(0,0,0,0.38);
    backdrop-filter: blur(8px);
    transition: background .3s ease, box-shadow .3s ease;
}

#site-header.scrolled {
    background: rgba(255,255,255,0.78);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    backdrop-filter: blur(12px);
}

.header-inner {
    justify-content: flex-start;
    gap: 18px;
}

.main-nav {
    margin-left: auto;
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 12px;
}

.header-phone {
    margin-left: 0;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.25);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

.header-phone:hover {
    background: rgba(255,140,43,.2);
    border-color: rgba(255,140,43,.6);
    transform: translateY(-1px);
}

#site-header.scrolled .header-phone {
    background: rgba(255,255,255,0.6);
    border-color: rgba(0,0,0,0.12);
    color: #111;
}

#site-header.scrolled .burger span {
    background: rgba(0,0,0,0.7);
}

@media (max-width: 900px) {
    .main-nav {
        margin-left: 0;
    }
}
