:root {
  /* Тетрадная цветовая схема */
  --primary-color: #2963ff;
  --primary-dark: #1a45b3;
  --primary-light: #6b8fff;
  
  --secondary-color: #ff6b29;
  --secondary-dark: #cc4a12;
  --secondary-light: #ff9a6b;
  
  --tertiary-color: #29c1ff;
  --tertiary-dark: #1290c0;
  --tertiary-light: #7cd8ff;
  
  --quaternary-color: #db29ff;
  --quaternary-dark: #a313c4;
  --quaternary-light: #e97cff;
  
  /* Нейтральные цвета */
  --dark: #1a1a2e;
  --gray-dark: #333344;
  --gray: #666677;
  --gray-light: #aaaabc;
  --light: #f5f5fa;
  
  /* Цвета состояний */
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  
  /* Типографика */
  --heading-font: 'Inter', sans-serif;
  --body-font: 'IBM Plex Sans', sans-serif;
  
  /* Размеры шрифтов */
  --h1-size: 3.5rem;
  --h2-size: 2.8rem;
  --h3-size: 2rem;
  --h4-size: 1.5rem;
  --body-size: 1.125rem;
  --small-size: 0.875rem;
  
  /* Переходы */
  --transition-fast: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-normal: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-slow: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Радиусы */
  --radius-small: 4px;
  --radius-normal: 8px;
  --radius-large: 16px;
  --radius-round: 50%;
  
  /* Тени */
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-normal: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 10px 30px rgba(0, 0, 0, 0.1);
  
  /* Размеры контейнера */
  --container-max-width: 1280px;
  --container-padding: 2rem;
  --section-spacing: 6rem;
}

/* Базовые стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--body-font);
  font-size: var(--body-size);
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

/* Контейнер */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Секции */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 1.5rem auto 0;
  border-radius: var(--radius-small);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  color: var(--gray);
  font-size: 1.2rem;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-normal);
  font-weight: 600;
  font-family: var(--heading-font);
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-small);
}

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

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: white;
}

.btn-tertiary {
  background-color: var(--tertiary-color);
  color: white;
}

.btn-tertiary:hover {
  background-color: var(--tertiary-dark);
  color: white;
}

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

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

/* Формы */
input, textarea, select {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-normal);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: border var(--transition-fast);
  margin-bottom: 1.5rem;
  background-color: white;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(41, 99, 255, 0.1);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--gray-dark);
}

button, input[type="submit"] {
  cursor: pointer;
}

/* Toggle / Переключатели */
.toggle-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.toggle-checkmark {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  background-color: var(--gray-light);
  border-radius: 22px;
  margin-right: 10px;
  transition: background-color var(--transition-fast);
}

.toggle-container input {
  display: none;
}

.toggle-checkmark:before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: transform var(--transition-normal);
}

.toggle-container input:checked + .toggle-checkmark {
  background-color: var(--primary-color);
}

.toggle-container input:checked + .toggle-checkmark:before {
  transform: translateX(18px);
}

.toggle-label {
  font-size: var(--small-size);
}

/* Header / Навигация */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-normal);
  z-index: 1000;
  padding: 1rem 0;
  transition: padding var(--transition-normal);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header.scrolled {
  padding: 0.5rem 0;
}

.logo {
  font-family: var(--heading-font);
  font-weight: 800;
}

.logo a {
  color: var(--primary-color);
  font-size: 1.8rem;
  text-decoration: none;
}

.logo h1 {
  margin: 0;
  font-size: 1.8rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul li {
  margin-left: 2rem;
}

.main-nav ul li a {
  color: var(--gray-dark);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 0.25rem;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--primary-color);
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: var(--radius-small);
  transition: all var(--transition-fast);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(41, 99, 255, 0.8), rgba(219, 41, 255, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: left;
  padding: 0 1rem;
}

.hero-content h1 {
  color: white;
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease-out;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1.4s ease-out;
}

/* Statistics Widget */
.statistics-widget {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  animation: fadeInUp 1.6s ease-out;
}

.stat-item {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-normal);
  flex: 1;
  text-align: center;
  transition: transform var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-number {
  display: block;
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.stat-label {
  color: white;
  font-size: 1rem;
  font-weight: 500;
}

/* History Section */
.history-section {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.history-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}

.history-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-large);
  transform: rotate(-2deg);
  transition: transform var(--transition-normal);
}

.history-image:hover {
  transform: rotate(0);
}

.history-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.history-text {
  flex: 1;
  min-width: 300px;
}

.history-text p {
  margin-bottom: 1.5rem;
  color: var(--gray-dark);
}

.history-timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
}

.timeline-item {
  text-align: center;
  flex: 1;
}

.timeline-item .year {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.timeline-item .event {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Process Section */
.process-section {
  background-color: var(--light);
  position: relative;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.process-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: white;
  border-radius: var(--radius-large);
  padding: 2rem;
  box-shadow: var(--shadow-normal);
  transition: transform var(--transition-normal);
  position: relative;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-large);
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 2rem;
  background-color: var(--secondary-color);
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-round);
  box-shadow: var(--shadow-normal);
  z-index: 1;
}

.process-step:nth-child(even) .step-number {
  left: auto;
  right: 2rem;
}

.step-content {
  flex: 2;
  padding: 1rem 2rem;
}

.step-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.step-image {
  flex: 1;
  min-width: 250px;
  border-radius: var(--radius-normal);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

.step-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.process-cta {
  text-align: center;
  margin-top: 4rem;
}

/* Resources Section */
.resources-section {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.resources-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(41, 193, 255, 0.1);
  border-radius: var(--radius-round);
  top: -100px;
  left: -100px;
  z-index: 0;
}

.resources-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(219, 41, 255, 0.1);
  border-radius: var(--radius-round);
  bottom: -100px;
  right: -100px;
  z-index: 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.resource-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-normal);
  box-shadow: var(--shadow-normal);
  transition: all var(--transition-normal);
  border-bottom: 4px solid transparent;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-large);
  border-bottom-color: var(--tertiary-color);
}

.resource-card h3 {
  color: var(--dark);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.resource-card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.resource-link {
  display: inline-block;
  color: var(--tertiary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  position: relative;
}

.resource-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.resource-link:hover {
  color: var(--tertiary-dark);
}

.resource-link:hover::after {
  transform: translateX(5px);
}

/* Team Section */
.team-section {
  background-color: var(--light);
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
}

.team-member {
  background-color: white;
  border-radius: var(--radius-normal);
  overflow: hidden;
  box-shadow: var(--shadow-normal);
  transition: transform var(--transition-normal);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-large);
}

.image-container {
  width: 100%;
  height: 350px;
  overflow: hidden;
  position: relative;
}

.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-member:hover img {
  transform: scale(1.05);
}

.team-member h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.member-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-bio {
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--gray);
  font-size: 0.95rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-link {
  color: var(--gray);
  transition: color var(--transition-fast);
  font-size: 0.9rem;
}

.social-link:hover {
  color: var(--primary-color);
}

/* Awards Section */
.awards-section {
  background-color: white;
  position: relative;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.award-card {
  background-color: var(--light);
  border-radius: var(--radius-normal);
  padding: 2rem;
  box-shadow: var(--shadow-normal);
  transition: transform var(--transition-normal);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-large);
}

.award-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-round);
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-small);
}

.award-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.award-card:hover .award-image img {
  transform: scale(1.1);
}

.award-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.award-card p {
  color: var(--gray);
}

/* Contact Section */
.contact-section {
  background-color: var(--light);
  position: relative;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-form-wrapper {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-toggle {
  display: flex;
  align-items: center;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.info-card {
  background-color: var(--primary-color);
  color: white;
  padding: 2.5rem;
  border-radius: var(--radius-large);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-normal);
}

.info-card h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.info-card ul li i {
  margin-right: 1rem;
  font-size: 1.2rem;
}

.map-container {
  border-radius: var(--radius-normal);
  overflow: hidden;
  box-shadow: var(--shadow-normal);
}

.map-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo, .footer-nav, .footer-services, .footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer-logo h2 {
  color: white;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: var(--gray-light);
}

.footer-nav h3, .footer-services h3, .footer-contact h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-nav h3::after, .footer-services h3::after, .footer-contact h3::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

.footer-nav ul, .footer-services ul, .footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li, .footer-services ul li, .footer-contact ul li {
  margin-bottom: 0.75rem;
}

.footer-nav ul li a {
  color: var(--gray-light);
  transition: color var(--transition-fast);
}

.footer-nav ul li a:hover {
  color: white;
}

.footer-services ul li, .footer-contact ul li {
  color: var(--gray-light);
}

.footer-middle {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-media, .newsletter {
  flex: 1;
  min-width: 300px;
}

.social-media h3, .newsletter h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.social-media ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-media ul li a {
  color: var(--gray-light);
  font-size: 1rem;
  transition: color var(--transition-fast);
}

.social-media ul li a:hover {
  color: white;
}

.newsletter p {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.copyright p {
  color: var(--gray-light);
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: var(--gray-light);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.legal-links a:hover {
  color: white;
}

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem;
  z-index: 9999;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.cookie-content p {
  color: white;
  margin: 0;
  padding-right: 2rem;
}

.btn-cookie {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-normal);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-cookie:hover {
  background-color: var(--primary-dark);
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-content {
  max-width: 600px;
  background-color: white;
  padding: 3rem;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
  animation: fadeInUp 1s ease-out;
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--success);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 3rem;
}

.success-content h1 {
  color: var(--success);
  margin-bottom: 1rem;
}

.success-content p {
  margin-bottom: 2rem;
}

/* Terms & Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
}

.terms-content, .privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-normal);
}

.terms-content h1, .privacy-content h1 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.terms-content h2, .privacy-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

/* Медиа-запросы */
@media (max-width: 1200px) {
  :root {
    --h1-size: 3rem;
    --h2-size: 2.5rem;
    --h3-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.3rem;
  }
  
  .statistics-widget {
    flex-wrap: wrap;
  }
  
  .process-step, .process-step:nth-child(even) {
    flex-direction: column;
  }
  
  .step-content {
    order: 2;
  }
  
  .step-image {
    order: 1;
    margin-bottom: 1.5rem;
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.5rem;
    --section-spacing: 4rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow-normal);
    display: none;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  .main-nav ul li {
    margin: 0;
    padding: 0.75rem 0;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .history-image, .history-text {
    flex: 100%;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer-top, .footer-middle, .footer-bottom {
    flex-direction: column;
    gap: 2rem;
  }
  
  .legal-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    margin-bottom: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cookie-content p {
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  :root {
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --body-size: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .timeline-item .year {
    font-size: 1.2rem;
  }
  
  .timeline-item .event {
    font-size: 0.8rem;
  }
}