* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #f8fafc;
  color: #0f172a;
  line-height: 1.5;
}

/* Top Notification Bar */
.top-bar {
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
}

.top-bar strong {
  color: #38bdf8;
}

/* Header & Logo Styles */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 24px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 52px; /* Оптимальная высота под шапку */
  width: auto;
  display: block;
  object-fit: contain;
}

.header-contacts {
  text-align: right;
}

.phone-link {
  display: block;
  font-weight: 800;
  font-size: 20px;
  color: #1B2A4A; /* Цвет текста в тональности логотипа */
  text-decoration: none;
}

.status-badge {
  font-size: 13px;
  color: #16a34a;
  font-weight: 600;
}

/* Обновление основной кнопки под зеленую стрелку логотипа */
.cta-btn {
  width: 100%;
  background: #22c55e; /* Зеленый из логотипа */
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cta-btn:hover {
  background: #16a34a;
}

/* Main Hero Layout */
.hero-section {
  padding: 40px 24px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 40px;
  align-items: start;
}

/* Content Area */
.hero-content h1 {
  font-size: 36px;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 16px;
  font-weight: 800;
}

.hero-description {
  font-size: 18px;
  color: #475569;
  margin-bottom: 28px;
}

.features-list {
  list-style: none;
  margin-bottom: 28px;
}

.features-list li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
  color: #1e293b;
}

.features-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

.ethic-banner {
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #bae6fd;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}

.ethic-icon {
  font-size: 24px;
}

.ethic-text {
  font-size: 14px;
  color: #334155;
}

/* Preview Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-item {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
  width: 100%;
  height: 130px;
  object-fit: cover; /* Сохраняет пропорции и красиво кадрирует фото */
  display: block;
}

.gallery-item span {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #1b2a4a;
  line-height: 1.3;
}

/* Quiz Card Component */
.quiz-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.quiz-card h3 {
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 6px;
}

.quiz-card .subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.option-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 12px 8px;
  border-radius: 8px;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-btn:hover {
  border-color: #0284c7;
  background: #f0f9ff;
}

.option-btn.active {
  border-color: #0284c7;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
}

.calc-result {
  background: #f8fafc;
  border-left: 4px solid #0284c7;
  padding: 16px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.price-label {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 4px;
}

.price-val {
  font-size: 24px;
  font-weight: 800;
  color: #0284c7;
}

.cta-btn {
  width: 100%;
  background: #16a34a;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cta-btn:hover {
  background: #15803d;
}

.privacy-note {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin-top: 12px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
}

/* About Section Styles */
.about-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 60px 24px;
  margin-top: 40px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px auto;
}

.about-header h2 {
  font-size: 28px;
  color: #0f172a;
  margin-bottom: 12px;
  font-weight: 800;
}

.about-header p {
  font-size: 16px;
  color: #64748b;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.stat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #0284c7;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}

/* Trust Cards Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
}

.trust-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.trust-card h4 {
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 10px;
  font-weight: 700;
}

.trust-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* Mobile Adaptability for About Section */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 12px 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.sticky-wa-btn {
  display: block;
  background: #22c55e;
  color: #ffffff;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}

/* Отображение только на мобильных устройствах */
@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: block;
  }
  body {
    padding-bottom: 70px; /* Отступ, чтобы кнопка не перекрывала контент */
  }
}

/* Общие контейнеры новых секций */
.comparison-section, .steps-section, .faq-section {
  padding: 50px 24px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-section h2, .steps-section h2, .faq-section h2 {
  text-align: center;
  font-size: 26px;
  color: #1b2a4a;
  margin-bottom: 36px;
  font-weight: 800;
}

/* Сравнительная таблица */
.table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 15px;
}

.comparison-table th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
}

.comparison-table .highlight-col {
  background: #f0fdf4;
  color: #166534;
  font-weight: 600;
}

/* Виджет рейтинга Яндекс */
.yandex-rating-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fffbebf8;
  border: 1px solid #fde047;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.yandex-rating-badge .stars {
  color: #eab308;
}

.reviews-count {
  color: #64748b;
  font-size: 13px;
}

/* Блок шагов работы */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  position: relative;
}

.step-num {
  font-size: 28px;
  font-weight: 900;
  color: #0284c7;
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
}

.faq-item summary {
  font-weight: 700;
  color: #0f172a;
  font-size: 16px;
}

.faq-content {
  margin-top: 12px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* Подвал */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 30px 24px;
  text-align: center;
  font-size: 14px;
}

.main-footer a {
  color: #38bdf8;
  text-decoration: none;
}

/* Мобильная адаптивность */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}