:root {
  /* Нейтральная цветовая схема */
  --primary: #4a6fa1;
  --primary-dark: #375782;
  --primary-light: #7b97c0;
  --secondary: #6c757d;
  --accent: #e7975e;
  --accent-dark: #c97b46;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-dark: #343a40;
  --bg-white: #ffffff;
  --border-color: #dee2e6;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  --inset-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05);
  --border-radius: 12px;
  --transition-speed: 0.3s;
  --section-padding: 80px 0;
}

/* Базовые стили */
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

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

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

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

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

.section-title {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: var(--secondary);
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 3rem;
}

/* Нейроморфизм и асимметричный баланс */
.neomorphic {
  border-radius: var(--border-radius);
  background: var(--bg-light);
  box-shadow: 
    8px 8px 16px var(--shadow-color),
    -8px -8px 16px rgba(255, 255, 255, 0.8);
  padding: 30px;
  transition: all var(--transition-speed) ease;
}

.neomorphic:hover {
  box-shadow: 
    10px 10px 20px var(--shadow-color),
    -10px -10px 20px rgba(255, 255, 255, 0.8);
}

.neomorphic-inset {
  border-radius: var(--border-radius);
  background: var(--bg-light);
  box-shadow: var(--inset-shadow);
  padding: 30px;
}

/* Кнопки */
.btn {
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width var(--transition-speed) ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-outline-light:hover {
  background-color: var(--text-light);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Хедер */
.header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  transition: all var(--transition-speed) ease;
  z-index: 1000;
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-dark);
}

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

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: all var(--transition-speed) ease;
  position: relative;
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

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

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  background-color: transparent;
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  animation: fadeInUp 1s ease;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-light);
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

/* Proceso Section */
.proceso .process-content {
  padding: 30px;
  border-radius: var(--border-radius);
  background-color: var(--bg-white);
  box-shadow: var(--box-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proceso .process-content h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

.proceso .process-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.progress-container {
  margin-top: 1.5rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.progress {
  height: 10px;
  border-radius: 50px;
  overflow: hidden;
  background-color: var(--bg-light);
  box-shadow: var(--inset-shadow);
}

.progress-bar {
  background-color: var(--primary);
  transition: width 1.5s cubic-bezier(0.6, 0.2, 0.1, 1);
}

.image-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
}

.image-container:hover {
  transform: translateY(-5px);
}

/* Statistics Section */
.statistics {
  background-color: var(--bg-light);
}

.stat-card {
  text-align: center;
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform var(--transition-speed) ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.stat-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.stat-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Resources Section */
.recursos {
  background-color: var(--bg-white);
}

.resource-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform var(--transition-speed) ease;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.resource-description {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.resource-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  position: relative;
}

.resource-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width var(--transition-speed) ease;
}

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

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

/* Innovation Section */
.innovation {
  background-color: var(--bg-light);
}

.innovation-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.accordion-header {
  margin: 0;
}

.accordion-button {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 20px;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

.accordion-button::after {
  background-size: 15px;
  transition: transform var(--transition-speed) ease;
}

.accordion-body {
  padding: 20px;
  background-color: var(--bg-white);
}

/* Case Studies Section */
.casos {
  background-color: var(--bg-white);
}

.case-study-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-5px);
}

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

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

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

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.case-description {
  color: var(--text-dark);
  margin-bottom: 0;
  flex-grow: 1;
}

/* Team Section */
.equipo {
  background-color: var(--bg-light);
}

.team-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card .card-image {
  overflow: hidden;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

.team-name {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.team-position {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 15px;
}

.team-description {
  color: var(--text-dark);
  margin-bottom: 0;
}

/* Customer Stories Section */
.testimonios {
  background-color: var(--bg-white);
}

.testimonial-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
  position: relative;
  transition: transform var(--transition-speed) ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: var(--box-shadow);
  border: 5px solid var(--bg-white);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
  padding: 0 15px;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  position: absolute;
  font-size: 3rem;
  color: var(--primary-light);
  opacity: 0.3;
}

.testimonial-text::before {
  top: -20px;
  left: -15px;
}

.testimonial-text::after {
  bottom: -40px;
  right: -15px;
  transform: rotate(180deg);
}

.testimonial-author {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.testimonial-location {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Community Section */
.comunidad {
  background-color: var(--bg-light);
}

.community-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
}

.community-image:hover {
  transform: translateY(-5px);
}

.community-content {
  padding: 30px;
  border-radius: var(--border-radius);
  background-color: var(--bg-white);
  box-shadow: var(--box-shadow);
  height: 100%;
}

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

.community-content h3:first-child {
  margin-top: 0;
}

.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* Contact Section */
.contacto {
  background-color: var(--bg-white);
}

.contact-info {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 15px;
  margin-top: 5px;
}

.info-item h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.info-item p {
  color: var(--text-muted);
  margin-bottom: 5px;
}

.contact-form {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
}

.contact-form h3 {
  color: var(--primary);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.contact-form h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.form-control {
  border-radius: 50px;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  transition: all var(--transition-speed) ease;
  box-shadow: var(--inset-shadow);
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(74, 111, 161, 0.25);
}

.form-select {
  border-radius: 50px;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  transition: all var(--transition-speed) ease;
  box-shadow: var(--inset-shadow);
}

.form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(74, 111, 161, 0.25);
}

textarea.form-control {
  border-radius: 20px;
  resize: none;
}

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

.footer-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.footer-title span {
  color: var(--primary-light);
}

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

.footer p {
  color: #aaa;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.social-links a {
  color: var(--text-light);
  transition: color var(--transition-speed) ease;
}

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #aaa;
  transition: color var(--transition-speed) ease;
  position: relative;
}

.footer-links a::before {
  content: '›';
  margin-right: 8px;
  transition: transform var(--transition-speed) ease;
  display: inline-block;
}

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

.footer-links a:hover::before {
  transform: translateX(3px);
}

.footer-contact {
  color: #aaa;
  margin-top: 20px;
}

.footer-contact strong {
  color: var(--primary-light);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 50px;
}

.footer-bottom p {
  margin-bottom: 0;
  color: #777;
}

.footer-bottom i {
  color: #e25555;
}

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

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

.cookie-content p {
  margin: 0;
  color: var(--text-light);
}

.cookie-btn {
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

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

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

.success-content {
  max-width: 600px;
  padding: 50px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.success-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.success-message {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* About, Privacy, Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 50px;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 15px;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Media Queries */
@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .hero-buttons .btn {
    width: 80%;
  }
  
  .community-links {
    flex-direction: column;
  }
  
  .community-links .btn {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
  
  .footer {
    padding-top: 50px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .success-content {
    padding: 30px;
  }
  
  .success-title {
    font-size: 2rem;
  }
}