@import url('https://fonts.googleapis.com/css?family=Oswald:400,700&display=swap');

/* ГЛОБАЛЬНЫЙ ФИКС АДАПТИВА */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  color: #333; background: transparent;
  overflow-x: hidden; width: 100%;
}

/* ГЛАВНЫЙ ЭКРАН */
#hero-screen { position: relative; min-height: 100vh; overflow: hidden; background-color: #000; display: flex; flex-direction: column; }
#hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; }
.bg-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center top;
  opacity: 0; transition: opacity 1.5s ease-in-out;
}
.bg-slide.active { opacity: 1; }

.hero-overlay {
  position: relative; flex: 1; z-index: 2; display: flex; flex-direction: column;
  background: rgba(0, 0, 0, 0.65); padding-bottom: 50px;
}

.main-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 30px 50px; background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
}
.logo-text { font: bold 24px 'Oswald', sans-serif; color: #fff; letter-spacing: 1px; }
.top-menu a {
  color: #fff; text-decoration: none; font: 16px 'Oswald', sans-serif;
  text-transform: uppercase; margin-left: 20px; transition: 0.3s;
}
.top-menu a:hover { color: #FFA500; }

.hero-content {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; color: #fff; padding: 40px 20px;
}
.hero-content h1 { font: bold 65px 'Oswald', sans-serif; text-shadow: 2px 4px 15px rgba(0,0,0,0.8); margin-bottom: 20px; }
.hero-content p { font-size: 28px; max-width: 800px; margin-bottom: 20px; line-height: 1.5; }
.hero-subtitle { color: #FFA500; font-weight: bold; margin-bottom: 40px !important; }

.btn-scroll {
  display: inline-block; padding: 18px 40px; background: #FFA500; color: #fff;
  font: bold 18px 'Oswald', sans-serif; text-decoration: none; border-radius: 40px; transition: 0.3s;
  white-space: nowrap;
}
.btn-scroll:hover { background: #e69500; transform: translateY(-3px); }

/* ПАРАЛЛАКС И КОНТЕЙНЕРЫ (РЕЗИНОВЫЕ ДЛЯ АДАПТИВА) */
.parallax-section { background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; background-color: #050b14; }
.parallax-overlay { background: rgba(10, 15, 25, 0.7); padding: 80px 0; }
.main-container { width: 100%; max-width: 1050px; margin: 0 auto; padding: 0 15px; }

/* ЭФФЕКТ МАТОВОГО СТЕКЛА */
.glass-panel {
  background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.glass-panel-dark {
  background: rgba(20, 20, 20, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-block { padding: 50px; border-radius: 8px; box-shadow: 0 15px 35px rgba(0,0,0,0.4); }

/* ЦЕНТРИРОВАНИЕ ЗАГОЛОВКОВ */
h2 {
  font: bold 32px 'Oswald', sans-serif; margin: 0 auto 30px auto !important;
  padding-bottom: 5px; border-bottom: 3px solid #FFA500;
  display: table !important; text-transform: uppercase; text-align: center;
}
h3 { font-size: 22px; margin-bottom: 15px; color: #333; }
p { font-size: 16px; line-height: 1.7; margin-bottom: 15px; }
ul { list-style: disc; padding-left: 20px; margin-bottom: 20px; line-height: 1.7; }

.highlight-pain { font-size: 20px; color: #d35400; margin-bottom: 25px; text-align: center; }
.highlight-text { background: rgba(66, 171, 241, 0.1); padding: 15px; border-left: 4px solid #42abf1; font-style: italic; }
.quote-block { border-left: 5px solid #FFA500; padding: 15px 20px; background: rgba(255, 165, 0, 0.1); margin: 25px 0; font-size: 18px; color: #555; text-align: center }

.grid-advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.adv-item { background: rgba(255,255,255,0.6); padding: 20px; border-top: 4px solid #FFA500; border-radius: 4px; }

/* Услуги */
.service-full { margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,0.1); text-align: center }
.service-title { color: #d35400; }

.service-full ul {
  display: inline-block;
  text-align: left; /* чтобы пункты читались нормально */
  padding-left: 20px;
}

/* Цены и Бонусы */
.price-bonus-wrapper { display: flex; gap: 30px; }
.price-box { flex: 1; padding: 40px; border-radius: 8px; border: 2px solid #FFA500; text-align: center; }
.highlight-price-text { background: rgba(255, 165, 0, 0.15); padding: 15px; border-radius: 5px; color: #d35400; font-weight: bold; margin-top: 20px; font-size: 24px;}
.bonus-box { flex: 1.5; color: #fff; padding: 40px; border-radius: 8px; }
.bonus-box h2 { border-bottom-color: #42abf1 !important; color: #fff; }

/* Чекбоксы */
.perfect-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; color: #bbb; }
.perfect-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; cursor: pointer; flex-shrink: 0; }
.perfect-checkbox label { font-size: 14px; line-height: 1.4; cursor: pointer; user-select: none; text-align: left;}
.perfect-checkbox.dark-text { color: #555; }

/* Блок подписки */
.subscribe-wrapper { text-align: center; color: #fff; }
.subscribe-wrapper h2 { border: none !important; font-size: 26px; margin-bottom: 30px !important; letter-spacing: 1px; }
.subscribe-form { background: rgba(255, 255, 255, 0.05); border: 3px solid rgba(255,255,255,0.2); padding: 30px; border-radius: 8px; display: inline-block; width: 100%; box-sizing: border-box; }
.sub-inputs { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.sub-group { flex: 1; text-align: left; }
.sub-group label { display: block; font-size: 14px; margin-bottom: 5px; color: #ddd; }
.sub-group input { width: 100%; padding: 12px; border: none; outline: none; border-radius: 4px; background: rgba(255,255,255,0.9); box-sizing: border-box; }
.sub-btn-group { flex: 1.2; }
.btn-sub { width: 100%; padding: 13px; background: #FFA500; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.btn-sub:hover { background: #e69500; }

/* Формы (Контакты и Отзывы) */
.dual-forms-wrapper { display: flex; gap: 40px; align-items: stretch; }
.contacts-info-box, .question-form-box, .review-form-box { flex: 1; padding: 40px; border-radius: 10px; box-shadow: 0 15px 30px rgba(0,0,0,0.2); display: flex; flex-direction: column; }

/* Счетчик и контакты */
.contacts-info-box { position: relative; padding-bottom: 100px; }
.liveinternet-counter { position: absolute; bottom: 20%; right: 20px; opacity: 0.85; transition: 0.3s; }
.liveinternet-counter:hover { opacity: 1; }

.address-details { background: rgba(0,0,0,0.03); padding: 25px; border-radius: 5px; margin-bottom: 20px; }
.c-links a { color: #FFA500; text-decoration: none; font-weight: bold; font-size: 24px; display: block; margin-top: 5px; }

.modern-form { display: flex; flex-direction: column; flex-grow: 1; }
.modern-form button { margin-top: auto; }

/* Скролл для отзывов */
.reviews-display { flex: 1; max-height: 750px; overflow-y: auto; padding-right: 15px; }
.reviews-display::-webkit-scrollbar { width: 6px; }
.reviews-display::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); border-radius: 4px; }
.reviews-display::-webkit-scrollbar-thumb { background: #FFA500; border-radius: 4px; }
.review-card { padding: 25px; border-radius: 8px; margin-bottom: 20px; color: #fff; border-left: 4px solid #FFA500; }
.r-text { font-style: italic; font-size: 16px; margin-bottom: 10px; }
.r-author { font-weight: bold; color: #FFA500; }

/* Звезды в отзывах */
.stars-static { color: #FFA500; font-size: 20px; letter-spacing: 1px; margin-bottom: 10px; text-shadow: 0 0 5px rgba(255, 165, 0, 0.4); white-space: nowrap; }
.rating-box { display: flex; align-items: center; background: #f9fbfd; padding: 10px 15px; border-radius: 5px; border: 1px solid rgba(0,0,0,0.1); margin-bottom: 15px; white-space: nowrap; overflow: hidden; }
.rating-text { font-size: 14px; color: #666; margin-right: 10px; font-family: Arial, sans-serif; }
.stars-interactive { display: flex; direction: ltr; flex-wrap: nowrap; }
.stars-interactive span { font-size: 26px; color: #ccc; cursor: pointer; transition: color 0.2s; margin-right: 3px; display: inline-block; line-height: 1; }
.stars-interactive span.hover, .stars-interactive span.active { color: #FFA500; text-shadow: 0 0 5px rgba(255, 165, 0, 0.5); }

/* Поля ввода */
.review-form input, .review-form textarea,
.modern-form input, .modern-form textarea, .custom-select {
  width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid rgba(0,0,0,0.1); background: rgba(255,255,255,0.9);
  border-radius: 5px; outline: none; box-sizing: border-box; font-family: Arial, sans-serif; font-size: 14px;
}
.review-form textarea, .modern-form textarea { height: 100px; resize: none; }

.custom-select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position-x: 95%; background-position-y: 50%; color: #333; }
.custom-select:invalid { color: #888; }

.btn-black-submit { background: #111; color: #fff; padding: 15px 30px; width: 100%; border: none; border-radius: 5px; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.3s; margin-top: auto; }
.btn-black-submit:hover { background: #FFA500; }
.btn-orange { width: 100%; padding: 15px 30px; background: #FFA500; color: #fff; border: none; border-radius: 5px; font-weight: bold; font-size: 16px; cursor: pointer; transition: 0.3s; }
.btn-orange:hover { background: #e69500; }

/* КАПЧА */
.fake-recaptcha { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.7); border: 1px solid rgba(0,0,0,0.1); border-radius: 3px; padding: 10px 15px; margin-bottom: 25px; cursor: pointer; transition: 0.2s; }
.fake-recaptcha:hover { background: #f1f1f1; }
.rc-left { display: flex; align-items: center; }
.rc-checkbox { width: 28px; height: 28px; background: #fff; border: 2px solid #c1c1c1; border-radius: 2px; margin-right: 12px; color: #009e55; font-size: 24px; line-height: 28px; text-align: center; font-weight: bold; transition: 0.2s; position: relative; }
.rc-checkbox.loading { border-color: #ccc; border-top-color: #3498db; border-radius: 50%; animation: spin 1s linear infinite; background: transparent; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.rc-checkbox.checked { border-color: #c1c1c1; }
.rc-text { font-family: Roboto, Arial, sans-serif; font-size: 14px; color: #222; }
.rc-right { display: flex; flex-direction: column; align-items: center; }
.rc-right img { width: 32px; opacity: 0.8; margin-bottom: 2px; }
.rc-right span { font-size: 10px; color: #555; }
.rc-right small { font-size: 8px; color: #999; }

footer { background: #050b14; padding: 30px; text-align: center; color: #666; font-size: 13px; }

/* RECAPTCHA V2 */
.g-recaptcha { margin-bottom: 20px; display: flex; justify-content: center; }
#subscribe .g-recaptcha { transform: scale(0.95); transform-origin: center; }

/* МОДАЛЬНОЕ ОКНО */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7); z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-box {
  background: #1a242f; border: 2px solid #FFA500; border-radius: 12px;
  padding: 40px; max-width: 460px; width: 90%; text-align: center;
  transform: scale(0.9); transition: transform 0.3s; position: relative;
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  color: #888; font-size: 24px; cursor: pointer; transition: 0.2s;
}
.modal-close:hover { color: #FFA500; }
.modal-icon { font-size: 48px; margin-bottom: 15px; }
.modal-title { color: #FFA500; font-size: 22px; font-weight: bold; margin-bottom: 10px; }
.modal-text { color: #ccc; font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.modal-btn {
  background: #FFA500; color: #fff; border: none; padding: 12px 40px;
  border-radius: 6px; font-size: 15px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.modal-btn:hover { background: #e69500; }

/* =======================================================
   АДАПТИВНОСТЬ (RESPONSIVE DESIGN ДЛЯ ТЕЛЕФОНОВ)
   ======================================================= */

@media (max-width: 992px) {
  #hero-screen { height: auto; min-height: 100vh; }
  .hero-overlay { position: relative; padding-bottom: 50px; }

  .main-header { padding: 20px; flex-direction: column; gap: 15px; text-align: center; justify-content: center; }
  .logo-text { font-size: 26px; margin: 0 auto; display: block; text-align: center; }
  .top-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
  .top-menu a { margin: 0; font-size: 14px; padding: 6px 10px; }

  .hero-content { padding-top: 40px; }
  .hero-content h1 { font-size: 40px; }
  .hero-content p { font-size: 18px; }

  .dual-forms-wrapper { flex-direction: column; gap: 30px; }
  .reviews-display, .review-form-box, .contacts-info-box, .question-form-box { width: 100%; max-height: none; }
  .reviews-display { max-height: 400px; }
}

@media (max-width: 768px) {
  .modal-box { padding: 30px 20px; max-width: 95%; }
  .modal-title { font-size: 18px; }
  .modal-text { font-size: 14px; }
  .modal-icon { font-size: 36px; }

  #hero-bg .bg-slide:nth-child(1) { background-position: 60% top !important; }
  #hero-bg .bg-slide:nth-child(2) { background-position: 55% top !important; }
  #hero-bg .bg-slide:nth-child(3) { background-position: 63% top !important; }
  #hero-bg .bg-slide:nth-child(4) { background-position: 80% top !important; }
  #hero-bg .bg-slide:nth-child(5) { background-position: 55% top !important; }

  .hero-content h1 { font-size: 32px; margin-bottom: 15px; line-height: 1.2; }
  .hero-content p { font-size: 15px; margin-bottom: 15px; }
  .hero-subtitle { font-size: 16px !important; margin-bottom: 30px !important; }
  .btn-scroll { padding: 15px 25px; font-size: 14px; white-space: normal; }

  .parallax-overlay { padding: 40px 0; }
  .page-block { padding: 30px 20px; margin-bottom: 30px; }

  h2 { font-size: 24px !important; margin-bottom: 20px !important; line-height: 1.3; }
  h3 { font-size: 20px; }

  .grid-advantages { grid-template-columns: 1fr; gap: 15px; }
  .price-bonus-wrapper { flex-direction: column; gap: 20px; }
  .price-box, .bonus-box, .review-form-box, .question-form-box, .contacts-info-box { padding: 25px 15px; }
  .big-price { font-size: 30px; }

  .sub-inputs { flex-direction: column; gap: 15px; }
  .sub-group { width: 100%; text-align: left; }
  .subscribe-form { padding: 20px 15px; }
  .perfect-checkbox { align-items: flex-start; }

  .contacts-info-box { padding-bottom: 25px; }

  .fake-recaptcha { padding: 10px; flex-direction: column; gap: 10px; align-items: flex-start; }
  .rc-right { flex-direction: row; gap: 10px; width: 100%; justify-content: flex-start; }
  .rc-right img { width: 24px; margin: 0; }
  .rc-right span { font-size: 12px; }
  .rc-right small { display: none; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 22px; }
  .top-menu { gap: 5px; }
  .top-menu a { font-size: 12px; padding: 5px; margin: 0; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 14px; }
  .hero-subtitle { font-size: 14px !important; }

  .btn-scroll { font-size: 13px; padding: 12px 20px; }

  .liveinternet-counter { bottom: 10%} ;

  .intro-text, .service-full p { font-size: 14px; }
  .quote-block { font-size: 15px; padding: 10px 15px; }

  .c-links a { font-size: 20px; }
  .expert-name { font-size: 22px; }

  .rating-text { font-size: 13px; margin-right: 6px; }
  .stars-interactive span { font-size: 22px; line-height: 1; }
}