:root {
  /* Основная палитра */
  --primary-color: #002b7f; /* YPF синий */
  --primary-light: #1c4db1;
  --primary-dark: #001a54;
  --secondary-color: #e6e6e6;
  --accent-color: #ff8800;
  --accent-light: #ffa333;
  --accent-dark: #cc6d00;
  
  /* Нейтральная палитра */
  --neutral-100: #ffffff;
  --neutral-200: #f5f5f5;
  --neutral-300: #e0e0e0;
  --neutral-400: #cccccc;
  --neutral-500: #9e9e9e;
  --neutral-600: #757575;
  --neutral-700: #424242;
  --neutral-800: #333333;
  --neutral-900: #212121;
  
  /* Гласморфизм */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --glass-blur: 10px;
  
  /* Типографика */
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Скругления */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Размеры контейнера */
  --container-padding: 1.5rem;
}

/* ===== ОСНОВНЫЕ СТИЛИ ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--neutral-800);
  background-color: var(--neutral-200);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

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

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

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

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

.section {
  padding: 4rem 1.5rem;
}

.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

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

/* ===== ГЛАСМОРФИЗМ ===== */
.glassmorphism-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px var(--glass-shadow);
  padding: 2rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glassmorphism-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.glassmorphism-button {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
}

.glassmorphism-button:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.glassmorphism-input, 
.glassmorphism-textarea, 
.glassmorphism-select {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--neutral-800);
  transition: all var(--transition-fast);
}

.glassmorphism-input:focus, 
.glassmorphism-textarea:focus, 
.glassmorphism-select:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(0, 43, 127, 0.2);
}

/* ===== ЗАГОЛОВКИ И ТЕКСТЫ ===== */
.title {
  margin-bottom: 1.5rem;
}

.title.is-1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.title.is-2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.title.is-2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-sm);
}

.subtitle {
  color: var(--neutral-600);
  margin-bottom: 1.5rem;
}

.has-text-white {
  color: var(--neutral-100) !important;
}

.has-text-centered {
  text-align: center;
}

/* ===== HEADER ===== */
.navbar {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-normal);
}

.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-item {
  font-family: var(--heading-font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-800);
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary-color);
  background: transparent !important;
}

.navbar-burger {
  color: var(--neutral-800);
}

@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
}

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

.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 5rem 1.5rem;
}

.hero .title, 
.hero .subtitle, 
.hero-description {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.scroll-down-arrow {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0 auto;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-down-arrow span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 2px solid var(--neutral-100);
  border-bottom: 2px solid var(--neutral-100);
  transform: rotate(-45deg);
  animation: scroll 2s infinite;
  box-sizing: border-box;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ===== MISSION SECTION ===== */
#mission .content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
}

#mission figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

#mission img {
  transition: transform var(--transition-normal);
}

#mission figure:hover img {
  transform: scale(1.05);
}

/* ===== HISTORY SECTION ===== */
.timeline-container {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

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

.timeline::before {
  content: '';
  position: absolute;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-light), var(--primary-dark));
  top: 0;
  bottom: 0;
  left: 50px;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  background-color: var(--primary-color);
  border-radius: 50%;
  left: 50px;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border: 4px solid var(--neutral-100);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.timeline-content {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 30px;
  position: relative;
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--neutral-100);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== STATISTICS SECTION ===== */
.stat-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.stat-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 1rem;
}

.stat-description {
  font-size: 0.9rem;
  color: var(--neutral-600);
  line-height: 1.5;
}

/* ===== SUSTAINABILITY SECTION ===== */
.sustainability-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sustainability-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sustainability-feature img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.sustainability-feature h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* ===== PRICING SECTION ===== */
.pricing-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pricing-highlighted {
  border: 2px solid var(--primary-color);
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-header {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
}

.pricing-header img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.currency {
  font-size: 1.5rem;
  margin-right: 0.25rem;
  vertical-align: top;
}

.period {
  font-size: 1rem;
  color: var(--neutral-600);
  margin-left: 0.25rem;
}

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

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-footer {
  padding: 0 2rem 2rem;
}

/* ===== RESOURCES SECTION ===== */
.resources-container {
  padding: 2rem;
}

.resource-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.resource-item h3 {
  color: var(--neutral-100);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.resource-item p {
  color: var(--neutral-200);
  margin-bottom: 1.5rem;
}

/* ===== WORKSHOPS SECTION ===== */
.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

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

/* ===== PROJECTS SECTION ===== */
#projects .card {
  background: rgba(255, 255, 255, 0.1);
}

#projects .card-content h3 {
  color: var(--neutral-100);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#projects .card-content p {
  color: var(--neutral-200);
}

/* ===== CAREERS SECTION ===== */
.career-positions {
  margin-top: 3rem;
}

.career-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.career-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.career-card h5 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.career-card p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
}

.contact-info {
  padding-right: 2rem;
}

.contact-info h3, 
.contact-info h4 {
  color: var(--neutral-100);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--neutral-200);
  margin-bottom: 0.75rem;
}

.contact-address {
  margin-top: 2rem;
}

.social-links {
  margin-top: 2rem;
}

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

.social-links a {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  transition: all var(--transition-fast);
}

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

form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  color: var(--neutral-100);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.input,
.textarea,
.select select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--neutral-100);
}

.input:focus,
.textarea:focus,
.select select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 1px var(--primary-light);
}

.checkbox {
  color: var(--neutral-200);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--neutral-900);
  color: var(--neutral-300);
  padding: 4rem 1.5rem 2rem;
}

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

.footer-tagline {
  font-size: 1.1rem;
  color: var(--neutral-400);
  margin-bottom: 1.5rem;
}

.footer-title {
  color: var(--neutral-100);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

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

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

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

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

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

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

.footer-social a {
  color: var(--neutral-400);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--neutral-100);
}

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

.footer-bottom p {
  color: var(--neutral-500);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== MODAL ===== */
.modal-content {
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.modal-header h3 {
  margin-bottom: 0;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--neutral-700);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--primary-color);
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(33, 33, 33, 0.95);
  color: var(--neutral-100);
  padding: 1rem;
  z-index: 9999;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-content p {
  margin-bottom: 0;
  margin-right: 1rem;
}

#accept-cookies {
  white-space: nowrap;
}

/* ===== ADDITIONAL PAGES ===== */
.about-page, 
.privacy-page, 
.terms-page, 
.contacts-page {
  padding-top: 100px;
}

.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

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

.success-content {
  max-width: 600px;
}

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

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

/* Счетчик для статистики */
@keyframes count {
  from {
    content: "0";
  }
  to {
    content: attr(data-count);
  }
}

/* ===== МЕДИА ЗАПРОСЫ ===== */
@media screen and (max-width: 768px) {
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .pricing-highlighted {
    transform: translateY(0);
  }
  
  .contact-info {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .title.is-1 {
    font-size: 3rem;
  }
}