/* ======================================== */
/*           ПОЛНОСТЬЮ НОВЫЙ CSS           */
/* ======================================== */

/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Variables */
:root {
  /* Цвета */
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-light: #93c5fd;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  
  /* Нейтральные цвета */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  /* Тени */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Радиусы */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Переходы */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* Базовые стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Saira Semi Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--white);
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Утилиты */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--gradient-secondary);
  color: var(--white);
  box-shadow: var(--shadow-md);
  margin: 1rem 0;
}

.btn--accent {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.btn--ghost:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Верхняя полоса */
.top-strip {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1e40af 100%);
  color: var(--white);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.top-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

.top-strip .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.top-strip strong {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.top-strip a {
  color: var(--white);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  font-weight: 600;
}

.top-strip a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.top-strip a i {
  margin-right: 0.25rem;
  color: #fbbf24;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 800;
  font-size: 1.5rem;
}

.brand__img {
  height: 2.5rem;
  width: auto;
  border-radius: 50%;
}

.brand__name {
  color: var(--primary);
}

.brand--footer {
  font-size: 1.25rem;
}

.brand--footer .brand__name {
  color: var(--white);
}

/* Навигация */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav a:hover {
  color: var(--primary);
}

.nav a i {
  font-size: 0.875rem;
}

/* Бургер меню */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
}

.burger span {
  width: 24px;
  height: 3px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero секция */
.hero {
  background-image: url('/images/bg_heto.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  opacity: 0.8;
  z-index: 1;
}



.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero__text h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scorecard */
.scorecard {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--white);
}

.scorecard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.scorecard__logo {
  height: 3rem;
  width: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

.chip--gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: var(--gray-900);
}

.score {
  text-align: center;
  margin-bottom: 1.5rem;
}

.score__value {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.score__stars {
  color: var(--accent);
  font-size: 1.25rem;
  margin: 0.5rem 0;
}

.score__votes {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.bullets {
  list-style: none;
  margin: 1.5rem 0;
}

.bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.bullets i {
  color: var(--accent);
  width: 1rem;
}

.tc {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
}

/* Секции */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-head h2 {
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* Логотипы */
#logos {
  background: var(--gray-900);
  color: var(--white);
}

.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
  margin: 0 auto;
}

.logos img {
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Карточки */
.cards {
  display: grid;
  gap: 2rem;
}

.cards--single {
  max-width: 800px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card--highlight {
  background: linear-gradient(135deg, #fff 0%, var(--gray-50) 100%);
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow-xl), 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card__logo {
  height: 2.5rem;
}

.card__mid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.note {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-xl);
  color: var(--white);
  text-align: center;
}

.note strong {
  font-size: 1.5rem;
  display: block;
}

.note span {
  font-size: 0.875rem;
  opacity: 0.9;
}

.list {
  list-style: none;
}

.list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-600);
}

.list i {
  color: var(--secondary);
  width: 1rem;
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

.card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.card__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Таблица */
#comparatif {
  background: var(--gray-50);
}

.table {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.table__row {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 0;
}

.table__row--head {
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 700;
}

.table__row > div {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.table__row:not(:last-child) {
  border-bottom: 1px solid var(--gray-200);
}

/* Почему мы */
#pourquoi {
  background: var(--gradient-primary);
  color: var(--white);
}

#pourquoi .section-head h2,
#pourquoi .section-head p {
  color: var(--white);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.pill {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}

.pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pill h3 {
  margin-bottom: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.pill i {
  color: var(--secondary);
  font-size: 1.5rem;
}

.pill p {
  color: var(--gray-600);
  margin: 0;
}

/* FAQ */
#faq {
  background: var(--gray-50);
}

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq details {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.faq summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq summary:hover {
  background: var(--gray-100);
}

.faq summary::marker {
  display: none;
}

.faq summary::after {
  content: '▼';
  margin-left: auto;
  transition: transform var(--transition-fast);
  color: var(--primary);
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--gray-600);
}

/* Форма */
#contact {
  background: var(--gradient-secondary);
  background-image: url('/images/mailImg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-secondary);
  opacity: 0.8;
  z-index: 1;
}

#contact .section-head h2,
#contact .section-head p {
  color: var(--white);
}

#contact .wrap {
  position: relative;
  z-index: 2;
}

.form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  max-width: 800px;
  margin: 0 auto;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gray-900);
}

label i {
  color: var(--primary);
  margin-right: 0.5rem;
}

input, textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: var(--transition-fast);
  background: var(--white);
  color: var(--gray-900);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer__grid h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer__grid p,
.footer__grid a {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
}

.footer__grid a:hover {
  color: var(--white);
}

.linklist {
  list-style: none;
}

.linklist li {
  margin-bottom: 0.75rem;
}

.rg-legal {
  background: var(--gray-800);
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
}

.rg-legal h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.rg-legal p {
  color: var(--gray-400);
}

.copyright {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--gray-800);
  color: var(--gray-400);
}

/* Disclaimer */
.disclaimer {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  color: var(--white);
}

.disclaimer h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.disclaimer p {
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.disclaimer strong {
  color: var(--white);
}

/* Cookie Banner */
.cookie {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border: 2px solid var(--primary-light);
  backdrop-filter: blur(10px);
  animation: slideUpCookie 0.6s ease-out;
}

.cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
}

.cookie p {
  margin: 0;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
  min-width: 300px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie p i {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cookie__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cookie .btn--ghost {
  background: var(--white);
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie .btn--ghost:hover {
  background: var(--gray-50);
  color: var(--gray-900);
  border-color: var(--gray-400);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie .btn--brand {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.cookie .btn--brand:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.cookie .btn--brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cookie .btn--brand:hover::before {
  left: 100%;
}

/* Скрытие cookie баннера */
.cookie.is-hidden {
  display: none;
}

/* Утилиты */
.small {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.muted {
  color: var(--gray-500);
}

.tc {
  text-align: center;
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

.stars {
  color: var(--accent);
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slideUpCookie {
  0% { 
    opacity: 0; 
    transform: translateY(100px) scale(0.95); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

.slide-up {
  animation: slideUp 0.8s ease-out;
}

.bounce-in {
  animation: bounceIn 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .burger {
    display: flex;
  }
  
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero__text h1 {
    font-size: 2.5rem;
  }
  
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }
  
  .card__mid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form__row {
    grid-template-columns: 1fr;
  }
  
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cookie {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.5rem;
  }
  
  .cookie__inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cookie p {
    min-width: auto;
    text-align: center;
    justify-content: center;
  }
  
  .cookie .btn {
    width: 100%;
    justify-content: center;
  }
  
  .logos {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  
  .top-strip {
    padding: 0.75rem 0;
  }
  
  .top-strip .wrap {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero__text h1 {
    font-size: 2rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .form {
    padding: 1.5rem;
  }
  
  .logos {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}

/* Accessibility */
.btn:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* ======================================== */
/*           СТИЛИ ДЛЯ СТРАНИЦ              */
/* ======================================== */

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid var(--gray-200);
  padding: 4rem 0;
  position: relative;
}



.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: 'Saira Semi Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-hero h1 i {
  color: var(--primary);
  font-size: 2.5rem;
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin: 0;
  max-width: 600px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb span {
  color: var(--gray-400);
}

/* Page Content */
.content {
  padding: 4rem 0;
}

.content .wrap {
  max-width: 900px;
}

.content h2 {
  font-size: 2rem;
  color: var(--gray-900);
  margin: 3rem 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content h2 i {
  color: var(--primary);
}

.content h3 {
  font-size: 1.5rem;
  color: var(--gray-800);
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content h3 i {
  color: var(--secondary);
}

.content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.content ul, .content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.content li {
  margin-bottom: 0.75rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

/* Cards and Tips */
.tip, .card-page {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.tip:hover, .card-page:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.tip h3, .card-page h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tip p, .card-page p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Callouts and Alerts */
.callout {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  color: #92400e;
}

.callout strong {
  color: #78350f;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.callout ul {
  margin: 1rem 0 0;
  padding-left: 1.5rem;
}

.callout li {
  color: #92400e;
  margin-bottom: 0.5rem;
}

/* Help Lines */
.helplines {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  border-left: 4px solid #ef4444;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}

.helplines h3 {
  margin: 0 0 1rem;
  color: #dc2626;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.helplines p {
  color: #991b1b;
  margin-bottom: 1rem;
}

.helplines ul {
  margin: 1rem 0 0;
  padding-left: 0;
  list-style: none;
}

.helplines li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #991b1b;
}

.helplines li i {
  color: #ef4444;
  width: 1rem;
}

/* Limits Section */
.limits {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}

.limits h3 {
  margin: 0 0 1rem;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.limits ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.limits li {
  color: #166534;
  margin-bottom: 0.5rem;
}

/* FAQ on Pages */
.faq-page details {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-page summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-page summary:hover {
  background: var(--gray-100);
}

.faq-page summary::marker {
  display: none;
}

.faq-page summary::after {
  content: '▼';
  margin-left: auto;
  transition: transform var(--transition-fast);
  color: var(--primary);
}

.faq-page details[open] summary::after {
  transform: rotate(180deg);
}

.faq-page p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--gray-600);
}

/* Inline Logos */
.logos-inline {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.logos-inline img {
  height: 50px;
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.logos-inline img:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
  opacity: 1;
}

/* Table Styles for Legal Pages */
.table-legal {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.table-legal th,
.table-legal td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.table-legal th {
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 600;
}

.table-legal tr:hover {
  background: var(--gray-50);
}

/* Responsive for Pages */
@media (max-width: 768px) {
  .page-hero {
    padding: 3rem 0;
  }
  
  .page-hero h1 {
    font-size: 2.5rem;
  }
  
  .content {
    padding: 3rem 0;
  }
  
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tip, .card-page {
    padding: 1.5rem;
  }
  
  .content h2 {
    font-size: 1.75rem;
  }
  
  .content h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 2rem 0;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .content {
    padding: 2rem 0;
  }
  
  .tip, .card-page {
    padding: 1rem;
  }
  
  .breadcrumb {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}
