:root {
  /* Основные цвета */
  --primary-color: #ff6b00;
  --primary-dark: #e55d00;
  --primary-light: #ff8c33;
  --secondary-color: #0068b7;
  --secondary-dark: #00508c;
  --secondary-light: #2884c9;
  
  /* Цвета текста */
  --text-dark: #222222;
  --text-medium: #333333;
  --text-light: #ffffff;
  --text-muted: #777777;
  
  /* Фоновые цвета */
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --bg-dark: #1a1a1a;
  --bg-gradient-1: linear-gradient(135deg, #ff6b00, #ff8c33);
  --bg-gradient-2: linear-gradient(135deg, #0068b7, #2884c9);
  --bg-gradient-dark: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(48, 48, 48, 0.9));
  
  /* Другие переменные */
  --border-radius: 6px;
  --border-radius-lg: 12px;
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  --box-shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.2);
  --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1200px;
  --section-spacing: 90px;
  --item-spacing: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-medium);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Секционные стили */
section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  font-weight: 800;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--bg-gradient-1);
  margin: 1rem auto 2rem;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--bg-gradient-1);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: var(--text-light);
}

.btn-secondary {
  background: var(--bg-gradient-2);
  color: var(--text-light);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
  color: var(--text-light);
}

button, input[type="submit"] {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

/* Хедер */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  background: var(--bg-gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.nav__list {
  display: flex;
  gap: 1.5rem;
}

.nav__link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--bg-gradient-1);
  transition: var(--transition-normal);
}

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

.nav__link:hover::after {
  width: 100%;
}

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

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition-normal);
}

/* Hero секция */
.hero {
  padding: 180px 0 120px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__title {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero__subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero__text {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  max-width: 700px;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero__text p {
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Features секция */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
}

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

.card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background-color: #e9e9e9;
  border-radius: 3px;
  margin-top: auto;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: var(--bg-gradient-1);
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Vision секция */
.vision {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-light);
  position: relative;
}

.vision .section-title {
  color: var(--text-light);
}

.vision .section-title::after {
  background: var(--text-light);
}

.vision__content {
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
}

.vision__text {
  flex: 1;
}

.vision__text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.vision__image {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-strong);
}

.vision__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.vision:hover .vision__image img {
  transform: scale(1.03);
}

/* Statistics секция */
.statistics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.statistic-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
}

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

.statistic-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: var(--bg-gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-family: 'Manrope', sans-serif;
}

.statistic-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.statistic-description {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing секция */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-header {
  padding: 2rem;
  background: var(--bg-gradient-2);
  color: var(--text-light);
  text-align: center;
}

.pricing-header h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
}

.pricing-body {
  padding: 2rem;
  flex-grow: 1;
}

.pricing-body ul {
  padding-left: 1.5rem;
}

.pricing-body ul li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-body ul li::before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.pricing-footer {
  padding: 2rem;
  text-align: center;
  background-color: #f5f5f5;
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}

/* Instructors/Team секция */
.instructors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Recursos секция */
.recursos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.recurso-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

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

.recurso-card h3 {
  margin-bottom: 1rem;
}

.recurso-card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Clientele секция */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.testimonial-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
}

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

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1.1rem;
}

.testimonial-author p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.clients-logos {
  text-align: center;
  margin-top: 4rem;
}

.clients-logos h3 {
  margin-bottom: 2rem;
}

.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.logos-grid img {
  max-width: 150px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition-normal);
}

.logos-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Sustainability секция */
.sustainability {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-light);
  position: relative;
}

.sustainability .section-title {
  color: var(--text-light);
}

.sustainability .section-title::after {
  background: var(--text-light);
}

.sustainability__content {
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
}

.sustainability__text {
  flex: 1;
}

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

.sustainability__text h3 {
  color: var(--text-light);
  margin-top: 2rem;
}

.eco-initiatives {
  padding: 0;
  margin: 2rem 0;
}

.eco-initiatives li {
  margin-bottom: 1.5rem;
}

.eco-initiatives h4 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.eco-initiatives p {
  margin-bottom: 0;
}

.sustainability__image {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-strong);
}

.sustainability__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.sustainability:hover .sustainability__image img {
  transform: scale(1.03);
}

/* News/Blog секция */
.news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.date {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
  position: relative;
  padding-right: 1.5rem;
}

.read-more::after {
  content: "→";
  position: absolute;
  right: 0;
  transition: var(--transition-normal);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover::after {
  right: -5px;
}

/* Contact секция */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.contact__form {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

.info-card h3 {
  margin-bottom: 1.5rem;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.info-item p {
  margin: 0;
}

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

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__col h3 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer__col p {
  color: #bbbbbb;
  font-size: 0.95rem;
}

.footer__col ul {
  padding: 0;
}

.footer__col ul li {
  margin-bottom: 0.8rem;
}

.footer__col a {
  color: #bbbbbb;
  transition: var(--transition-normal);
}

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.social-links a {
  display: block;
  transition: var(--transition-normal);
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #888888;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Success страница */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-container {
  max-width: 600px;
  padding: 3rem;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

.success-icon {
  font-size: 5rem;
  color: #4CAF50;
  margin-bottom: 2rem;
}

.success-container h1 {
  margin-bottom: 1.5rem;
}

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

/* Privacy и Terms страницы */
.page-content {
  padding-top: 120px;
  padding-bottom: 5rem;
}

.page-content .container {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

.page-content h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.page-content p {
  margin-bottom: 1.5rem;
}

.page-content ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.page-content ul li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.page-content ul li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Адаптивность */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 70px;
  }
  
  .vision__content,
  .sustainability__content {
    flex-direction: column;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 60px;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  .nav.active {
    display: block;
  }
  
  .nav__list {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  
  .nav__item {
    width: 100%;
    text-align: center;
  }
  
  .nav__link {
    display: block;
    padding: 1rem;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero__buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero__buttons .btn {
    width: 100%;
  }
  
  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  :root {
    --section-spacing: 50px;
  }
  
  h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
  
  h2 {
    font-size: clamp(1.6rem, 4vw, 2rem);
  }
  
  h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
  }
  
  .features__grid,
  .news__grid,
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .page-content .container {
    padding: 1.5rem;
  }
}