/*
Theme Name: H2System RVS
Theme URI: https://h2system-rvs.ru
Author: H2System RVS Team
Author URI: https://h2system-rvs.ru
Description: Лендинг "Водородные Генераторы Автомобильные" — ВГА для экономии топлива на автомобилях
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: h2system
Tags: one-column, custom-colors, custom-menu, translation-ready
*/

/* ===========================
   CSS VARIABLES
=========================== */
:root {
  --color-primary: #0066FF;
  --color-primary-dark: #0052CC;
  --color-secondary: #00C853;
  --color-accent: #FF6B00;
  --color-accent-hover: #E65100;
  --color-text: #1A1A2E;
  --color-text-light: #555;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F9FA;
  --color-bg-dark: #0D1B2A;
  --color-border: #E0E0E0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

/* ===========================
   LAYOUT
=========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  margin-bottom: 15px;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ===========================
   BUTTONS — единая высота для всех кнопок
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  min-height: 48px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--color-primary);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================
   HEADER
=========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-primary);
}

.logo span {
  color: var(--color-secondary);
}

.logo-light {
  color: #fff;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  font-weight: 700;
  color: var(--color-text);
  font-size: 1.05rem;
}

.header-phone:hover {
  color: var(--color-primary);
}

/* Кнопка CTA в header — компактная, но той же высоты */
.header-cta {
  padding: 10px 22px;
  min-height: 40px;
  font-size: 0.9rem;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0D1B2A 0%, #1B2838 50%, #0066FF 100%);
  color: #fff;
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero h1 span {
  color: var(--color-secondary);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-secondary);
}

.hero-stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 5px;
}

.hero-image {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 45%;
  max-width: 600px;
  z-index: 1;
  opacity: 0.9;
}

/* ===========================
   PROBLEMS
=========================== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.problem-card {
  background: var(--color-bg);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--color-accent);
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.problem-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.problem-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===========================
   TECHNOLOGY
=========================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
}

.step {
  text-align: center;
  padding: 40px 30px;
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.step h3 {
  margin-bottom: 15px;
}

.step p {
  font-size: 0.95rem;
}

/* ===========================
   ADVANTAGES
=========================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.advantage-card {
  display: flex;
  gap: 20px;
  padding: 30px;
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.advantage-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.advantage-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===========================
   AUDIENCE
=========================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.audience-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.audience-image {
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.audience-content {
  padding: 30px;
}

.audience-content h3 {
  margin-bottom: 10px;
}

.audience-content p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* ===========================
   UTILITY CLASSES
=========================== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.overflow-auto { overflow-x: auto; }

/* ===========================
   RESULTS
=========================== */
.results-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.results-table th,
.results-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.results-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

.results-table tr:last-child td {
  border-bottom: none;
}

.results-table .before {
  color: #e74c3c;
  text-decoration: line-through;
}

.results-table .after {
  color: var(--color-secondary);
  font-weight: 700;
}

/* ===========================
   MODELS
=========================== */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.model-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.model-card.popular {
  border: 3px solid var(--color-accent);
}

.model-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.model-image {
  height: 220px;
  background: linear-gradient(135deg, #f0f4ff, #e8f5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.model-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.model-card:hover .model-image img {
  transform: scale(1.05);
}

.model-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.model-content .model-specs {
  flex-grow: 1;
}

.model-content .btn {
  margin-top: auto;
}

.model-content h3 {
  margin-bottom: 10px;
}

.model-specs {
  margin: 15px 0;
}

.model-specs li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}

.model-specs li:last-child {
  border-bottom: none;
}

.model-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 20px 0;
}

.model-price small {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 400;
}

/* Кнопки на всю ширину в карточках моделей */
.btn-block {
  display: flex;
  width: 100%;
}

/* ===========================
   TRUST
=========================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.trust-card {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
  word-wrap: break-word;
  hyphens: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.trust-card h3 {
  color: #fff;
  margin-bottom: 10px;
}

.trust-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

/* ===========================
   CERTIFICATES
=========================== */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.certificate-card {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.certificate-card img {
  width: 100%;
  height: auto;
  display: block;
}

.certificate-info {
  padding: 20px;
  text-align: center;
}

.certificate-info h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.certificate-info p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===========================
   REVIEWS
=========================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--color-bg);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}

.review-name {
  font-weight: 600;
}

.review-car {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.review-result {
  margin-top: 15px;
  padding: 10px 15px;
  background: #e8f5e9;
  border-radius: 8px;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.9rem;
}

/* ===========================
   FAQ
=========================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: var(--color-bg);
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--color-bg-alt);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 25px 20px;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===========================
   FORMS
=========================== */
.form-section {
  background: linear-gradient(135deg, #0D1B2A, #0066FF);
  color: #fff;
}

.form-section h2,
.form-section p {
  color: #fff;
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255,255,255,0.15);
}

.form-group select option {
  background: var(--color-bg-dark);
  color: #fff;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
}

.form-consent a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 15px;
}

/* ===========================
   ФОРМА СВЕТЛАЯ — для секций на светлом фоне
=========================== */
.form-wrapper.form-light {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.form-light {
  color: var(--color-text);
}

.form-light .form-group label {
  color: var(--color-text);
}

.form-light .form-group input,
.form-light .form-group select,
.form-light .form-group textarea {
  background: #fff;
  color: var(--color-text);
  border-color: var(--color-border);
}

.form-light .form-group input::placeholder,
.form-light .form-group textarea::placeholder {
  color: var(--color-text-light);
}

.form-light .form-group select option {
  background: #fff;
  color: var(--color-text);
}

.form-light .form-consent {
  color: var(--color-text-light);
}

.form-light .form-consent a {
  color: var(--color-primary);
}

.form-light .form-note {
  color: var(--color-text-light);
}

.form-light .form-success h3 {
  color: var(--color-secondary);
}

.form-light .form-success p {
  color: var(--color-text-light);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  color: var(--color-secondary);
  margin-bottom: 15px;
}

.form-success p {
  color: rgba(255,255,255,0.8);
}

/* ===========================
   CONTACTS
=========================== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.messengers {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  align-items: center;
  flex-wrap: wrap;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  min-height: 48px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  transition: var(--transition);
  white-space: nowrap;
}

.messenger-btn.telegram {
  background: #0088cc;
}

.messenger-btn.max {
  background: #FF6B00;
}

.messenger-btn.vk {
  background: #4C75A3;
}

.messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: #fff;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
}

.map-placeholder {
  text-align: center;
}

.map-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 15px;
  font-size: 0.9rem;
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

/* ===========================
   STICKY BAR
=========================== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-bg-dark);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar span {
  font-weight: 600;
}

.sticky-bar .btn {
  padding: 12px 24px;
  min-height: 44px;
  font-size: 0.9rem;
}

/* ===========================
   COOKIE BANNER
=========================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--color-bg);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  z-index: 10000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons .btn {
  padding: 12px 20px;
  min-height: 44px;
  font-size: 0.85rem;
}

.cookie-decline {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.cookie-decline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ===========================
   LEGAL PAGES
=========================== */
.legal-page {
  padding: 120px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: 30px;
}

.legal-page h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.legal-page p,
.legal-page li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-page ul,
.legal-page ol {
  padding-left: 25px;
  list-style: disc;
}

.legal-page ol {
  list-style: decimal;
}

/* ===========================
   MOBILE MENU
=========================== */
.main-nav.active {
  display: flex !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  flex-direction: column;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 100;
}

.main-nav.active ul {
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.main-nav.active a {
  display: block;
  padding: 10px 0;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--color-border);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-contacts {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .hero-stat-number {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .form-wrapper {
    padding: 25px;
  }
  
  .sticky-bar {
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .problems-grid,
  .advantages-grid,
  .audience-grid,
  .models-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .results-table {
    font-size: 0.85rem;
  }
  
  .results-table th,
  .results-table td {
    padding: 12px 10px;
  }
  
  .thankyou-page {
    padding: 80px 15px 60px;
  }
}
