/* =================================================
   RESET & BASE
   ================================================= */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
  }
  
  html, body {
    height: 100%;
  }
  
  body {
    background: black;
    color: #ffffff;
    overflow-x: hidden;
  }
  
  /* =================================================
     VIDEO BACKGROUND
     ================================================= */
  .video-wrapper {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
  }
  
  .video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: -1;
    pointer-events: none;
  }
  
  .bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    pointer-events: none;
  }
  
  /* =================================================
     HEADER
     ================================================= */
  header {
    position: fixed;
    top: env(safe-area-inset-top, 16px);
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
  }
  
  .logo {
    height: 90px;
    flex-shrink: 0;
  }
  
  .top-right {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
  }
  
  .lang {
    opacity: 0.4;
    text-decoration: none;
    color: #ffffff;
  }
  
  .lang.active {
    opacity: 1;
    color: #d4af37;
  }
  
  /* =================================================
     MAIN
     ================================================= */
  main {
    position: relative;
    z-index: 2; /* Важно — контент поверх видео */
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-left: 8%;
  }
  
  .content {
    max-width: 520px;
  }
  
  .hero-title {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 26px;
    font-weight: 500;
    color: #fff;
  }
  
  .hero-subtitle {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 34px;
    opacity: 0.9;
    color: #fff;
  }
  
  /* =================================================
     CTA
     ================================================= */
  :root {
    --btn-width: 260px;
    --btn-height: 46px;
    --btn-gap: 14px;
  }
  
  .cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    color: #000;
    background: linear-gradient(135deg,#f5e7a1 0%,#d4af37 45%,#b8962e 100%);
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 px 24px rgba(212,175,55,.35);
    border: none;
    cursor: pointer;
    width: var(--btn-width);
    height: var(--btn-height);
  }
  
  .cta.header-cta { padding: 10px 14px; font-size: 12px; width: auto; height: auto; }
  .cta.secondary { background: #1a1a1a; color: #d4af37; box-shadow: none; }
  
  /* CTA STACK */
  .desktop-only { display: none; }
  @media (min-width:1025px){
    .desktop-only { display: block; }
    .cta-stack { margin-top: 22px; display:flex; flex-direction:column; gap:var(--btn-gap); }
  }
  
  /* =================================================
     FOOTER
     ================================================= */
  footer {
    position: fixed;
    bottom: env(safe-area-inset-bottom, 16px);
    width: 100%;
    text-align: center;
    font-size: 15px;
    z-index: 5;
  }
  
  .contacts { display:flex; justify-content:center; gap:20px; margin-bottom:20px; }
  .contacts img { width:40px; height:40px; filter: invert(72%) sepia(85%) saturate(420%) hue-rotate(6deg) brightness(95%) contrast(95%); }
  
  /* =================================================
     MODAL / FORM
     ================================================= */
     /* ===== ОБЩИЙ ФОН ДЛЯ ВСЕХ МОДАЛОК ===== */
.modal,
.success {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  z-index: 9999;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* активное состояние */
.modal.active,
.success.active {
  display: flex;
}

/* ===== ФОРМА (requestModal) ===== */
#requestModal {
  align-items: flex-start;   /* 🔥 ВАЖНО */
  padding: 20px 0;
}

/* ===== ERROR + SUCCESS ===== */
#errorModal,
#successModal {
  align-items: center;       /* ✅ только для них */
}

    
  
.modal-box {
  background: #0e0e0e;
  width: 420px;
  padding: 28px;
  border-radius: 22px;
  position: relative;

  max-height: calc(100vh - 40px);
  overflow-y: auto;

  /* ❌ НИКАКИХ transform */
  transform: none;
  transition: none;
}

  
  .modal-box h2 { font-size: 20px; color: #d4af37; text-align:center; margin-bottom:16px; }
  
  .modal-box input, .modal-box select, .modal-box textarea {
    width:100%;
    padding:12px 14px;
    margin-bottom:14px;
    border-radius:10px;
    border:none;
    background:#1a1a1a;
    color:#fff;
    font-size:14px;
  }
  .modal-box select { appearance:none; }
  .modal-box textarea { resize:none; height: 84px; }
  
  /* rows */
  .row { display:flex; gap:12px; }
  .budget-row input { flex:2; } .budget-row select { flex:1; }
  
  /* remove number arrows */
  input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
  input[type=number] { -moz-appearance:textfield; }
  
  /* CTA full */
  .cta.full { width:100%; }
  
  /* skip */
  .skip { margin-top:12px; display:flex; align-items:center; justify-content:center; height:var(--btn-height); background:#1fa855; border-radius:40px; color:#000; text-decoration:none; }
  
  /* success */
  .success-box { background:#0e0e0e; padding:32px; border-radius:22px; text-align:center; max-width:360px; }
  .success-box h3 { color:#d4af37; margin-bottom:12px; }
  .success-btn { background:#1fa855; color:#000; }
  
  /* error */
  #errorText { color:#eae0be; text-align:center; margin-bottom: 16px; }

 /* ================= ERROR MODAL BUTTON ================= */
#errorOk {
  width: 120px;       /* ← длина кнопки */
  height: 40px;
  margin-top: 30px;   /* отступ сверху */
  font-size: 15px;
  letter-spacing: .18em;
  margin: 0 auto;     /* центрирует кнопку */
}

@media (max-width: 768px) {
  #errorOk {
    width: 106px;
    height: 46px;
    font-size: 14px;
    margin: 0 auto;
  }
}

/* ================= SUCCESS TEXT ================= */
.success-box p {
  margin-bottom: 18px;   /* ← отступ от текста до кнопки */
}

/* ================= SUCCESS MODAL BUTTON ================= */
#successOk {
  width: 120px;          /* длина кнопки */
  height: 40px;
  font-size: 15px;
  letter-spacing: .18em;
  margin: 0 auto;        /* центр по горизонтали */
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  #successOk {
    width: 106px;
    height: 46px;
    font-size: 14px;
  }
}


  
  /* close */
  .close { position:absolute; top:10px; right:16px; font-size:26px; color:#fff; background:none; border:none; cursor:pointer; }
  
  /* mobile */
  @media (max-width:420px){
    .modal-box { width:92%; padding:20px; }
    .logo { height:72px; }
    main { padding-left:0; justify-content:center; text-align:center; }
    .cta { width:100%; }
  }
  
  /* small debug (remove later) */
  
  /* MOBILE FIX — CENTER CONTENT */
@media (max-width: 768px) {
  main {
    padding-left: 0;
    justify-content: center;
  }

  .content {
    text-align: center;
  }
}

/* FIX: iOS Safari button text alignment */
button.cta {
  justify-content: center;
  text-align: center;
}
.cta {
  text-align: center;
}

/* =================================================
   FOOTER POSITION CONTROL
   Управление нижним блоком (ПК + мобильная)
================================================= */

/* === ОБЩЕЕ: соцсети === */
footer .contacts {
  display: flex;
  justify-content: center;
  gap: 25px;              /* расстояние между иконками */
  margin-bottom: 19px;    /* отступ вниз до копирайта */
}

/* === ОБЩЕЕ: копирайт === */
footer .copyright {
  display: block;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}


/* =================================================
   DESKTOP (ПК, ноутбуки)
================================================= */
@media (min-width: 1025px) {

  footer {
    bottom: 28px;         /* ⬆️ поднимаем футер выше */
  }

  footer .contacts {
    margin-bottom: 16px;  /* расстояние до текста */
  }

  footer .copyright {
    font-size: 13px;
  }

}


/* =================================================
   MOBILE (телефоны)
================================================= */
@media (max-width: 768px) {

  footer {
    bottom: 40px;         /* ⬆️ поднимаем футер на мобиле */
  }

  footer .contacts {
    gap: 20px;
    margin-bottom: 25px;
  }

  footer .contacts img {
    width: 42px;          /* размер иконок как в твоей версии */
    height: 42px;
  }

  footer .copyright {
    font-size: 13px;      /* ⬅️ меньше текст */
  }

}


/* =================================================
   HERO TEXT SIZE CONTROL (мобильная версия)
   Заголовки и описание
================================================= */
@media (max-width: 768px) {

  .hero-title {
    font-size: 26px;      /* ⬅️ как на твоём сайте */
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.7;
  }

}


/* =================================================
   MAIN CTA BUTTON (ПОСМОТРЕТЬ ОБЪЕКТЫ)
   Отдельный контроль
================================================= */

/* ОБЩЕЕ */
.cta {
  text-align: center;
}

/* ПК */
@media (min-width: 1025px) {
  .cta {
    font-size: 13px;
    height: 46px;
  }
}

@media (max-width: 768px) {

  /* === НАСТРОЙКИ КНОПОК НА МОБИЛЕ === */
  :root {
    --cta-mobile-width: 80%;   /* ширина кнопки */
    --cta-mobile-height: 46px;  /* высота кнопки */
    --cta-mobile-font: 13px;    /* размер текста */
    --cta-mobile-letter: 0.18em;/* расстояние между буквами */
  }

  /* === КНОПКИ === */
  .cta {
    width: var(--cta-mobile-width);
    height: var(--cta-mobile-height);
    font-size: var(--cta-mobile-font);
    letter-spacing: var(--cta-mobile-letter);

    margin-left: auto;
    margin-right: auto;
  }
}

/* ================= MOBILE / DESKTOP BUTTONS ================= */

/* по умолчанию */
.mobile-only {
  display: none;
}

/* ПК */
@media (min-width: 1025px) {
  .desktop-only { display: flex; }
  .mobile-only { display: none; }
}

/* МОБИЛКА */
@media (max-width: 1024px) {
  .desktop-only { display: none; }

  .mobile-only {
    display: inline-flex;
    margin-top: 16px; /* отступ сверху */
  }
}

.lang-banner-buttons {
  display: flex;
  gap: 19px;
}

.lang-banner-buttons .cta {
  padding: 10px 18px;     /* размер кнопки */
  font-size: 12px;        /* текст */
  border-radius: 10px;    /* как у сайта */
}

.lang-banner-buttons .secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}


/* ================= LANGUAGE BANNER ================= */

.lang-banner {
  position: fixed;
  bottom: 25px;
  left: 20px;
  right: 20px;
  z-index: 9999;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(1px);
  color: #fff;

  padding: 14px 16px;
  border-radius: 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* текст */
.lang-banner span {
  font-size: 16px;
  line-height: 1.5;
}

/* кнопки */
.lang-banner-buttons {
  display: flex;
  gap: 19px;
}

/* ===== КНОПКИ БАННЕРА (ОТДЕЛЬНЫЕ!) ===== */
.cta--banner {
  width: auto;
  height: auto;
  padding: 6px 14px;

  font-size: 1px;
  letter-spacing: 0.12em;
  border-radius: 20px;
}

/* вторичная */
.cta--banner.secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

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

  .lang-banner {
    bottom: 5px;
    left: 12px;
    right: 12px;

    padding: 7px 9px;
    border-radius: 14px;
    gap: 12px;
  }

  .lang-banner span {
    font-size: 13px;
  }

  .cta--banner {
    padding: 5px 10px;
    font-size: 10px;
  }
}

/* ================= LANGUAGE BANNER FIX ================= */

/* контейнер */
.lang-banner-buttons {
  display: flex;
  gap: 19px; /* ⬅️ расстояние между кнопками */
}

/* ПОЛНОСТЬЮ отключаем размеры CTA */
.lang-banner-buttons .cta {
  width: auto !important;
  height: auto !important;
  min-width: unset !important;
  min-height: unset !important;

  padding: 14px 19px !important;   /* ⬅️ размер кнопок */
  font-size: 12px !important;     /* ⬅️ текст */
  letter-spacing: 0.12em !important;

  border-radius: 18px;
  line-height: 1.2;
}

/* вторичная кнопка */
.lang-banner-buttons .secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

/* ===== МОБИЛКА ===== */
@media (max-width: 768px) {
  .lang-banner-buttons {
    gap: 10px; /* меньше gap */
  }

  .lang-banner-buttons .cta {
    padding: 14px 14px !important;
    font-size: 11px !important;
  }
}

/* ================= intl-tel-input DARK FIX ================= */

.iti {
  width: 100%;
}

/* само поле */
.iti--allow-dropdown input,
.iti--allow-dropdown input[type=tel] {
  background: #1a1a1a !important;
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 12px 14px 12px 52px !important; /* место под флаг */
  font-size: 14px;
}

/* контейнер флага */
.iti__flag-container {
  background: #1a1a1a;
  border-radius: 10px 0 0 10px;
}

/* кнопка с флагом */
.iti__selected-flag {
  background: transparent !important;
  padding: 0 10px;
}

/* код страны */
.iti__selected-dial-code {
  color: #fff;
  font-size: 13px;
}

/* стрелка */
.iti__arrow {
  border-top-color: #fff;
}

/* выпадающий список */
.iti__country-list {
  background: #0e0e0e;
  color: #fff;
  border-radius: 10px;
}

/* элемент списка */
.iti__country {
  padding: 8px 12px;
}

/* hover */
.iti__country:hover {
  background: #1a1a1a;
}

/* активная страна */
.iti__country.iti__highlight {
  background: #222;
}

/* поиск */
.iti__search-input {
  background: #1a1a1a;
  color: #fff;
  border: none;
}

.input-error {
  outline: 2px solid #d4af37;
  background: rgba(212, 175, 55, 0.08);
}

.input-error::placeholder {
  color: #d4af37;
}


@media (max-width: 768px) {

  #requestModal {
    align-items: flex-start;
    padding-top: 1px;          /* ⬅️ поднимаем форму */
    padding-bottom: 24px;       /* ⬅️ место под кнопку */
  }

  .modal-box {
    width: 100%;
    margin-top: 0;
    border-radius: 16px;
    max-height: calc(100svh - 16px);
    overflow-y: visible !important;
  }

}


/* ===== FIX iOS INPUT ZOOM ===== */
.modal-box input,
.modal-box select,
.modal-box textarea {
  font-size: 16px !important;
  line-height: 1.3;
}

.iti--container {
  z-index: 99999 !important;
}

.iti-mobile .country-list {
  max-height: 60vh !important;       /* или 400px */
  position: absolute !important;
  top: auto !important;
  bottom: auto !important;
}

/* Если список всё равно не виден — попробуй */
body.iti-mobile .iti--container {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}


.service-section {
  margin-bottom: 22px;
}

.service-section h3 {
  color: #d4af37;
  font-size: 16px;
  margin-bottom: 10px;
}

.service-section p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.service-trigger {
  position: fixed;
  bottom: 4px; /* прямо под футером */
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  color: #d4af37;
  font-size: 22px;
  cursor: pointer;
  z-index: 9999;
  animation: arrowPulse 2s infinite;
}

@keyframes arrowPulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* ===== SERVICE SCREENS ===== */


.service-btn {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #1a1a1a;
  color: #d4af37;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.service-btn.link {
  display: block;
  text-decoration: none;
}

.back-btn {
  background: none;
  border: none;
  color: #d4af37;
  font-size: 14px;
  margin-bottom: 16px;
  cursor: pointer;
  text-align: left;
}

#faqModal {
  align-items: center;
}

.service-box {
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
}

.service-btn.cta {
  width: 100%;
  margin-bottom: 14px;
  letter-spacing: 0.18em;
}

.service-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.service-actions .cta {
  width: 100%;
  max-width: 260px;
}


/* ===== SERVICE MODAL BUTTONS – GOLD STYLE ===== */
.service-screen .cta {
  background: linear-gradient(
    135deg,
    #f5e7a1 0%,
    #d4af37 45%,
    #b8962e 100%
  ) !important;
  color: #000 !important;
  border: none;
}

/* hover эффект */
.service-screen .cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* убираем вторичный тёмный стиль */
.service-screen .cta.secondary {
  background: linear-gradient(
    135deg,
    #f5e7a1 0%,
    #d4af37 45%,
    #b8962e 100%
  ) !important;
  color: #000 !important;
}

/* ===== ПОЛЕЗНО ЗНАТЬ — ВОПРОСЫ В ЦВЕТ КНОПОК ===== */

#screen-faq .service-section strong {
  display: inline-block;
  margin-bottom: 6px;

  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none;

  background: linear-gradient(
    135deg,
    #f5e7a1 0%,
    #d4af37 45%,
    #b8962e 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-section {
  margin-bottom: 18px;
}

.service-section strong {
  display: block;
  margin-bottom: 6px;
  color: #d4af37; /* твой фирменный цвет */
}

.service-section p {
  margin: 0;
  padding-left: 0;
  text-indent: 0;
  line-height: 1.6;
  text-align: left;
}


.spacer {
  flex-grow: 1;
}

.back-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px auto 0;
}

.service-trigger {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 999;
  font-size: 0; /* 🔥 УБИРАЕТ ▼ */
}

.service-trigger::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 6px;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    #f5e7a1,
    #d4af37,
    #b8962e
  );
  animation: pulseLine 1.8s infinite;
}

@keyframes pulseLine {
  0% {
    opacity: 0.35;
    transform: translate(-50%, -50%) scaleX(0.6);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleX(1);
  }
  100% {
    opacity: 0.35;
    transform: translate(-50%, -50%) scaleX(0.6);
  }
}

.about-hero {
  width: 100%;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.about-photo {
  width: 100%;
  max-height: 220px;        /* ключ для телефона */
  object-fit: cover;       /* красиво заполняет */
  object-position: center; /* центр лица/объекта */
  border-radius: 18px;
  display: block;
}

@media (min-width: 768px) {
  .about-photo {
    max-height: 300px;
  }
}

.about-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.35)
  );
}

.modal-box.service-modal {
  width: 92%;
  max-width: 500px;        /* ⬅ шире */
  max-height: 85vh;        /* ⬅ выше */
  padding: 28px 32px;
  overflow-y: auto;        /* ⬅ включаем скролл */
}

.modal-box.service-modal::-webkit-scrollbar {
  width: 8px;
}

.modal-box.service-modal::-webkit-scrollbar-track {
  background: #1a1a1a;   /* тёмный фон */
  border-radius: 10px;
}

.modal-box.service-modal::-webkit-scrollbar-thumb {
  background: #3a3a3a;   /* сам ползунок */
  border-radius: 10px;
}

.modal-box.service-modal::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.modal-box.service-modal {
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a #1a1a1a;
}

.service-section {
  margin-bottom: 22px;
}

.service-screen h2 {
  margin-bottom: 20px;
}

#screen-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}


.service-menu {
  flex: 1;                      /* занимает всё свободное место */
  display: flex;
  flex-direction: column;
  justify-content: center;      /* ⬅ ВЕРТИКАЛЬНЫЙ ЦЕНТР */
  align-items: center;          /* ⬅ ГОРИЗОНТАЛЬНЫЙ ЦЕНТР */
  gap: 5px;
}

.back-btn {
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
}


/* ===== MODAL ===== */
.service-modal {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent; /* 🔥 ВАЖНО */
}

.service-modal.glass {
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
}

.service-modal.dark {
  background: rgba(0,0,0,0.85);
}


/* ===== SCREENS ===== */
.service-screen {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  padding: 24px 16px 40px;
  box-sizing: border-box;
  background: transparent;
  color: #fff;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
}

.service-screen.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}



.service-screen::-webkit-scrollbar {
  width: 6px;
}

.service-screen::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
}

.service-screen::-webkit-scrollbar-track {
  background: transparent;
}

/* стеклянное состояние */
.service-modal.glass {
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* обычное тёмное */
.service-modal.dark {
  background: #111;
}
.screen-content {
  padding-bottom: 40px;
}

#serviceModal.glass {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#serviceModal.dark {
  background: rgba(0, 0, 0, 0.85);
}




.service-screen.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

:root {
  --cycle-time: 4s;
}

.help-btn {
  position: fixed;
  top: 30px;
  right: 250px;

  width: 36px;
  height: 36px;
  border-radius: 50%;

  background: transparent;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1000;
}


.help-icon {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  color: #d4af37;
  z-index: 2;

  animation: questionFlip var(--cycle-time) linear infinite;
  transform-style: preserve-3d;
}



/* ❓ ТОЛЬКО НА ПК */
@media (min-width: 1024px) {
  .help-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


/* ПК */
@media (min-width: 1024px) {
  .help-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.help-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.help-ring circle {
  fill: none;
  stroke: #d4af37;
  stroke-width: 2;
  stroke-linecap: round;

  stroke-dasharray: 1;
  stroke-dashoffset: 1;

  animation: drawCircle var(--cycle-time) linear infinite;
}



@keyframes drawCircle {
  0% {
    stroke-dashoffset: 1;
  }

  90% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 0;
  }
}


@keyframes questionFlip {
  0% {
    transform: rotateY(0deg);
  }

  89% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}



@media (max-width: 1023px) {
  .help-btn {
    display: none;
  }
}



/* линия свайпа */
.swipe-line {
  display: block;
}

/* ❌ скрываем на ПК */
@media (min-width: 1024px) {
  .swipe-line {
    display: none;
  }
}

/* ===============================
   SERVICE TRIGGER — ТОЛЬКО МОБИЛКА
   =============================== */

/* ПК и ноутбуки — УБИРАЕМ ЛИНИЮ */
@media (min-width: 1024px) {
  .service-trigger {
    display: none !important;
  }
}

#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  color: #C9A24D;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-size: 18px;
  letter-spacing: 2px;
}

#preloader.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

* {
  -webkit-tap-highlight-color: transparent;
}
