:root {
  /* Основная цветовая схема (дополнительная) */
  --primary-color: #0057a8; /* Основной синий YPF */
  --primary-dark: #00458a;
  --primary-light: #2b78c5;
  --primary-bg: #f0f7ff;
  
  --secondary-color: #e63c30; /* Дополнительный красный YPF */
  --secondary-dark: #c82f25;
  --secondary-light: #ff5a4f;
  --secondary-bg: #fff7f6;
  
  --accent-color: #ffd100; /* Акцентный жёлтый */
  --accent-dark: #e5bb00;
  --accent-light: #ffe14d;
  
  --success-color: #38b44a;
  --warning-color: #f89406;
  --info-color: #3498db;
  
  /* Нейтральные цвета */
  --black: #222222;
  --dark-gray: #444444;
  --gray: #777777;
  --light-gray: #e0e0e0;
  --lightest-gray: #f8f8f8;
  --white: #ffffff;
  
  /* Тени для нейроморфизма */
  --neumorph-light: rgba(255, 255, 255, 0.8);
  --neumorph-dark: rgba(0, 0, 0, 0.1);
  
  /* Радиусы */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  
  /* Размеры шрифтов */
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-md: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 1.875rem;
  --font-4xl: 2.25rem;
  --font-5xl: 3rem;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Основные стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: var(--lightest-gray);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h2 {
  font-size: var(--font-4xl);
  margin-bottom: 2rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

h3 {
  font-size: var(--font-2xl);
  color: var(--primary-color);
}

p {
  margin-bottom: 1rem;
}

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

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

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

/* Нейроморфический эффект для контейнеров */
.neumorph {
  border-radius: var(--radius-lg);
  background: var(--lightest-gray);
  box-shadow: 
    8px 8px 16px var(--neumorph-dark),
    -8px -8px 16px var(--neumorph-light);
  transition: all var(--transition-medium);
}

.neumorph:hover {
  box-shadow: 
    12px 12px 24px var(--neumorph-dark),
    -12px -12px 24px var(--neumorph-light);
  transform: translateY(-5px);
}

.neumorph-inset {
  border-radius: var(--radius-lg);
  background: var(--lightest-gray);
  box-shadow: 
    inset 6px 6px 12px var(--neumorph-dark),
    inset -6px -6px 12px var(--neumorph-light);
}

/* Стили кнопок */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  border: none;
  box-shadow: 
    4px 4px 8px var(--neumorph-dark),
    -4px -4px 8px var(--neumorph-light);
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 
    6px 6px 12px var(--neumorph-dark),
    -6px -6px 12px var(--neumorph-light);
}

.btn:active,
button:active,
input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: 
    inset 4px 4px 8px var(--neumorph-dark),
    inset -4px -4px 8px var(--neumorph-light);
}

.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-accent {
  background-color: var(--accent-color);
  color: var(--black);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: var(--black);
}

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

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

/* Header и навигация */
header {
  padding: 1rem 0;
  transition: all var(--transition-medium);
  z-index: 1000;
}

header.scrolled {
  background-color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a {
  color: var(--dark-gray);
  margin-left: 1.5rem;
  position: relative;
}

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

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-medium);
}

.navbar a:hover::after {
  width: 100%;
}

.mobile-menu-button {
  display: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }
  
  .mobile-menu-button {
    display: block;
  }
  
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    margin: 0;
  }
}

/* Hero секция */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
  text-align: center;
}

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

#hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Анимация частиц */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* About Us секция */
#sobre-nosotros {
  padding: 6rem 0;
  background-color: var(--primary-bg);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 
    10px 10px 20px var(--neumorph-dark),
    -10px -10px 20px var(--neumorph-light);
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  flex: 1;
  min-width: 200px;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 
    5px 5px 10px var(--neumorph-dark),
    -5px -5px 10px var(--neumorph-light);
  transition: all var(--transition-medium);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    8px 8px 16px var(--neumorph-dark),
    -8px -8px 16px var(--neumorph-light);
}

.stat-card .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-card .text {
  color: var(--gray);
  font-size: 0.9rem;
}

/* History секция */
#historia {
  padding: 6rem 0;
  background-color: var(--secondary-bg);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 3rem auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 45%;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 55%;
}

.timeline-content {
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 
    5px 5px 10px var(--neumorph-dark),
    -5px -5px 10px var(--neumorph-light);
}

.timeline-date {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

.timeline-item:nth-child(odd)::after {
  right: -10px;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

@media (max-width: 768px) {
  .timeline::after {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 30px;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item::after {
    left: 20px;
  }
  
  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after {
    left: 20px;
  }
}

/* Behind the Scenes секция */
#entre-bastidores {
  padding: 6rem 0;
  background-color: var(--white);
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-medium);
  box-shadow: 
    5px 5px 10px var(--neumorph-dark),
    -5px -5px 10px var(--neumorph-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    8px 8px 16px var(--neumorph-dark),
    -8px -8px 16px var(--neumorph-light);
}

.feature-card h4 {
  color: var(--primary-color);
  margin-top: 1rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-bg);
  color: var(--primary-color);
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Portfolio/Showcase секция */
#portfolio {
  padding: 6rem 0;
  background-color: var(--lightest-gray);
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 
    5px 5px 10px var(--neumorph-dark),
    -5px -5px 10px var(--neumorph-light);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 
    10px 10px 20px var(--neumorph-dark),
    -10px -10px 20px var(--neumorph-light);
}

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

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

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

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

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-content p {
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  transition: all var(--transition-fast);
}

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

.read-more::after {
  content: '→';
  position: relative;
  top: 0;
  right: -5px;
  transition: all var(--transition-fast);
}

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

/* Clientele секция */
#clientes {
  padding: 6rem 0;
  background-color: var(--primary-bg);
}

.testimonial {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 
    5px 5px 10px var(--neumorph-dark),
    -5px -5px 10px var(--neumorph-light);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-name {
  font-weight: 600;
  color: var(--black);
}

.client-role {
  font-size: 0.9rem;
  color: var(--gray);
}

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

.stat-box {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 
    5px 5px 10px var(--neumorph-dark),
    -5px -5px 10px var(--neumorph-light);
  text-align: center;
}

.stat-box .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Blog секция */
#blog {
  padding: 6rem 0;
  background-color: var(--white);
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 
    5px 5px 10px var(--neumorph-dark),
    -5px -5px 10px var(--neumorph-light);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    8px 8px 16px var(--neumorph-dark),
    -8px -8px 16px var(--neumorph-light);
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.blog-date {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.blog-excerpt {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

/* Contact секция */
#contacto {
  padding: 6rem 0;
  background-color: var(--primary-bg);
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-form {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 
    8px 8px 16px var(--neumorph-dark),
    -8px -8px 16px var(--neumorph-light);
}

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

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  background-color: var(--lightest-gray);
  box-shadow: inset 2px 2px 5px var(--neumorph-dark), inset -2px -2px 5px var(--neumorph-light);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 87, 168, 0.2), inset 2px 2px 5px var(--neumorph-dark), inset -2px -2px 5px var(--neumorph-light);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* Footer секция */
footer {
  background-color: var(--black);
  color: var(--light-gray);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 1.5rem;
}

.footer-about {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.footer-heading {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

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

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray);
  transition: color var(--transition-fast);
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

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

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

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--gray);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--white);
}

/* Cookie Consent */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(34, 34, 34, 0.95);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
  display: none;
}

#cookie-consent p {
  margin-bottom: 1rem;
}

#accept-cookies {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

#accept-cookies:hover {
  background-color: var(--primary-dark);
}

/* Success page */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--primary-bg);
}

.success-icon {
  font-size: 5rem;
  color: var(--success-color);
  margin-bottom: 2rem;
}

.success-message {
  max-width: 600px;
  margin-bottom: 2rem;
}

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

.success-message p {
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

/* Privacy and Terms pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 4rem;
}

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

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

.page-content h2:after {
  left: 0;
  transform: none;
}

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

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

.page-content li {
  margin-bottom: 0.5rem;
}

/* Responsive styles */
@media (max-width: 991px) {
  h1 {
    font-size: var(--font-4xl);
  }
  
  h2 {
    font-size: var(--font-3xl);
  }
  
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: var(--font-3xl);
  }
  
  h2 {
    font-size: var(--font-2xl);
  }
  
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  #hero h1 {
    font-size: 2.5rem;
  }
  
  #hero p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: var(--font-2xl);
  }
  
  h2 {
    font-size: var(--font-xl);
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  #hero h1 {
    font-size: 2rem;
  }
  
  .stat-card {
    min-width: 100%;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

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

.animate-fadeIn {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.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-5 {
  margin-bottom: 1.5rem;
}

.mb-6 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.5rem;
}

.mt-6 {
  margin-top: 2rem;
}
#mobile-menu-button{
  display: none!important;
}