:root {
  /* Основная цветовая схема (дополнительная) */
  --primary-color: #3a7bd5;
  --primary-dark: #2c5ea3;
  --primary-light: #5e96e8;
  --secondary-color: #d5733a;
  --secondary-dark: #b55c26;
  --secondary-light: #e88f5e;
  
  /* Нейтральные цвета */
  --dark: #333333;
  --medium-dark: #555555;
  --medium: #777777;
  --light-medium: #999999;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* Дополнительные цвета */
  --success: #4caf50;
  --info: #2196f3;
  --warning: #ff9800;
  --danger: #f44336;
  
  /* Размеры и отступы */
  --border-radius: 15px;
  --border-radius-lg: 20px;
  --border-radius-sm: 10px;
  --box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05), -10px -10px 20px rgba(255, 255, 255, 0.8);
  --inner-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.05), inset -5px -5px 10px rgba(255, 255, 255, 0.5);
  --transition: all 0.3s ease;
  
  /* Отступы по умолчанию */
  --section-padding: 80px 0;
  --container-padding: 0 15px;
}

/* Общие стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

p {
  margin-bottom: 1.5rem;
  color: var(--medium-dark);
}

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

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

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

section {
  position: relative;
  padding: var(--section-padding);
}

.container {
  padding: var(--container-padding);
}

/* Заголовки секций */
.section-title {
  position: relative;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  text-align: center;
}

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

/* Стили кнопок */
.btn {
  position: relative;
  border: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 25px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: var(--inner-shadow);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%) skewX(-15deg);
  transition: all 0.5s ease;
}

.btn:hover::before {
  transform: translateX(100%) skewX(-15deg);
}

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

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

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

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

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

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

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

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

/* Стили форм */
.form-control, .form-select {
  border-radius: var(--border-radius-sm);
  border: 2px solid rgba(0, 0, 0, 0.05);
  padding: 12px 20px;
  background-color: var(--white);
  box-shadow: var(--inner-shadow);
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(58, 123, 213, 0.25);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--medium-dark);
}

/* Хедер */
.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);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.navbar-brand:hover {
  color: var(--primary-dark);
}

.nav-link {
  font-weight: 500;
  color: var(--dark);
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

.nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  border: none;
  background-color: transparent;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

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

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  max-width: 700px;
}

.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.custom-shape-divider-bottom .shape-fill {
  fill: #FFFFFF;
}

/* Секция услуг */
.servicios-section {
  background-color: var(--white);
}

.service-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

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

.card-content {
  flex: 1;
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.card-text {
  color: var(--medium-dark);
  margin-bottom: 1.5rem;
}

/* Секция проектов */
.proyectos-section {
  background-color: var(--light);
}

.project-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.badge {
  padding: 0.5rem 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
}

/* Секция ресурсов */
.recursos-section {
  background-color: var(--white);
}

.resource-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Behind the Scenes секция */
.behind-scenes-section {
  background-color: var(--light);
}

.process-steps {
  position: relative;
}

.process-step {
  margin-bottom: 2rem;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.5rem;
  border-radius: 50%;
  margin-right: 1.5rem;
  box-shadow: var(--box-shadow);
}

.step-content {
  flex: 1;
}

.step-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--medium-dark);
  margin-bottom: 0;
}

/* Секция Media */
.media-section {
  background-color: var(--white);
}

.media-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
}

.media-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary-color);
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

/* Секция Webinars */
.webinars-section {
  background-color: var(--light);
}

.webinar-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
}

.webinar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.webinar-date {
  margin-bottom: 1rem;
}

/* Portfolio секция */
.portfolio-section {
  background-color: var(--white);
}

.industry-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
}

.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery секция */
.gallery-section {
  background-color: var(--light);
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
  background-color: var(--white);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  background-color: var(--white);
  padding: 1rem;
}

.gallery-caption h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.gallery-caption p {
  color: var(--medium);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Community секция */
.community-section {
  background-color: var(--white);
}

.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

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

.testimonial-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 5px solid var(--light);
  box-shadow: var(--box-shadow);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--medium-dark);
  margin-bottom: 1.5rem;
}

.testimonial-name {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.testimonial-position {
  color: var(--primary-color);
  font-weight: 500;
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.carousel-control-prev {
  left: -50px;
}

.carousel-control-next {
  right: -50px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

/* Contact секция */
.contact-section {
  background-color: var(--light);
}

.contact-info {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  padding: 2rem;
}

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

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--box-shadow);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-title {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-subtitle {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-light);
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  border-radius: 50px 0 0 50px;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
  padding: 12px 20px;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 1.5rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--white);
  z-index: 9999;
  padding: 15px 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.cookie-content p {
  margin-bottom: 0;
  color: var(--white);
  margin-right: 20px;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--light);
  text-align: center;
  padding: 50px 20px;
}

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

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

/* Privacy & Terms Pages */
.content-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 3rem;
}

.content-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--dark);
}

.content-section {
  margin-bottom: 3rem;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.content-section p {
  color: var(--medium-dark);
  margin-bottom: 1.5rem;
}

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

.content-section li {
  color: var(--medium-dark);
  margin-bottom: 0.75rem;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .carousel-control-prev {
    left: -20px;
  }
  
  .carousel-control-next {
    right: -20px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-section {
    padding: 150px 0 100px;
  }
  
  .hero-section h1 {
    font-size: 2.8rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-padding: 50px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 130px 0 80px;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  .custom-shape-divider-bottom svg {
    height: 50px;
  }
  
  .footer {
    padding: 60px 0 30px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-section {
    padding: 120px 0 70px;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .testimonial-item {
    padding: 1.5rem;
  }
  
  .card-image img {
    height: 200px;
  }
}

/* Utility Classes */
.min-vh-75 {
  min-height: 75vh;
}

.bg-overlay {
  position: relative;
}

.bg-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.bg-overlay > * {
  position: relative;
  z-index: 2;
}

/* Анимации */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

/* 3D эффекты */
.card, .btn {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card:hover {
  transform: translateY(-10px) rotateX(5deg);
}

.btn:hover {
  transform: translateY(-3px) rotateX(10deg);
}

html,body{
  overflow-x: hidden;
}