:root {
  /* Пастельная цветовая схема */
  --primary-color: #a8d8ea;
  --primary-dark: #7fb9d9;
  --secondary-color: #e6c0c9;
  --secondary-dark: #d6a4b3;
  --accent-color: #aa96da;
  --accent-dark: #8e7cc3;
  --success-color: #c8e6c9;
  --success-dark: #a5d6a7;
  --warning-color: #fff8e1;
  --warning-dark: #ffecb3;
  --danger-color: #ffcdd2;
  --danger-dark: #ef9a9a;
  
  /* Нейтральные цвета */
  --white: #ffffff;
  --light: #f5f5f5;
  --gray-light: #e0e0e0;
  --gray: #9e9e9e;
  --gray-dark: #616161;
  --dark: #333333;
  --black: #222222;
  
  /* Глассморфизм */
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Типографика */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Source Sans Pro', sans-serif;
  
  /* Размеры и отступы */
  --border-radius-sm: 8px;
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --section-padding: 4.5rem 1.5rem;
}

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

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

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

/* Общие классы */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.15);
}

.bio-shape {
  border-radius: 70% 30% 50% 50% / 50% 40% 60% 50%;
  transition: border-radius 1s ease-in-out;
}

.bio-shape:hover {
  border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
}

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

/* Навигация */
.navbar {
  transition: all 0.4s ease;
  background: var(--glass-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--glass-border);
}

.navbar-item {
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

.navbar-burger:hover {
  background-color: transparent;
}

.navbar-menu.is-active {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Hero секция */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-body {
  padding: 8rem 1.5rem;
  position: relative;
  z-index: 2;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--white) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.5s;
}

.hero .subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.7s;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.9s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Кнопки */
.button {
  font-family: var(--body-font);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.button:hover::after {
  width: 300px;
  height: 300px;
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: transparent;
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.button.is-light {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--dark);
}

.button.is-light:hover {
  background-color: var(--white);
}

.button.is-rounded {
  border-radius: 50px;
}

/* Секция Vision */
#vision .image-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  max-height: 400px;
}

#vision img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

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

#vision .content {
  padding: 2rem;
}

#vision .title {
  color: var(--dark);
}

#vision p {
  margin-bottom: 1.5rem;
}

/* Карточки проектов */
.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-image {
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  height: 220px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.card-content .title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

.card-content .button {
  margin-top: auto;
  align-self: flex-start;
}

/* Insights секция */
#insights .timeline {
  margin-top: 2rem;
}

#insights .timeline-item {
  padding-bottom: 2rem;
}

#insights .timeline-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px var(--primary-color);
  z-index: 1;
}

#insights .timeline-content {
  padding-left: 2.5rem;
}

#insights .timeline-content .heading {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-dark);
}

#insights img {
  border-radius: var(--border-radius);
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

/* Pricing секция */
.pricing-card {
  height: 100%;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

.pricing-card .price {
  font-size: 1.2rem;
  margin: 1.5rem 0;
  font-weight: 600;
}

.pricing-card .price span {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.pricing-card ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 1.5rem;
  text-align: left;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.pricing-card ul li::before {
  content: "✓";
  color: var(--success-dark);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Testimonials */
.testimonial {
  height: 100%;
}

.testimonial .media-left .image {
  margin-right: 1rem;
}

.testimonial .media-content .title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.testimonial .media-content .subtitle {
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.testimonial .content {
  margin-top: 1rem;
}

.testimonial .content p {
  font-style: italic;
  position: relative;
  padding: 0 1rem;
}

.testimonial .content p::before,
.testimonial .content p::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--primary-color);
  font-family: var(--heading-font);
}

/* Team секция */
#equipo .card {
  text-align: center;
}

#equipo .card-image {
  height: 250px;
  margin-bottom: 1rem;
}

#equipo .card-image img {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin: 1.5rem auto;
  border: 5px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#equipo .card-content .title {
  margin-bottom: 0.5rem;
}

#equipo .card-content .subtitle {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* Sustainability секция */
#sostenibilidad img {
  border-radius: var(--border-radius);
  width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#sostenibilidad ul {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

#sostenibilidad ul li {
  margin-bottom: 1rem;
}

/* Awards секция */
#reconocimientos .card {
  padding: 2rem;
  text-align: center;
}

#reconocimientos img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
}

/* Contact секция */
#contacto .field {
  margin-bottom: 1.5rem;
}

#contacto .label {
  font-weight: 600;
}

#contacto .input,
#contacto .textarea,
#contacto .select select {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gray-light);
  transition: all 0.3s ease;
}

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

#contacto img {
  border-radius: var(--border-radius);
  width: 100%;
  height: auto;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 4rem 1.5rem 2rem;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

.footer ul {
  list-style-type: none;
  padding: 0;
}

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

.footer a {
  color: var(--gray-light);
  transition: color 0.3s ease;
}

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

.footer .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer .social-links a {
  color: var(--white);
  margin-right: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.footer .newsletter input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.footer .content.has-text-centered {
  color: var(--gray);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

/* Modal */
.modal-background {
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  max-width: 80vw;
  max-height: 80vh;
}

.modal-content img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.modal-close {
  background-color: var(--white);
}

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

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

.success-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.success-page p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Privacy & Terms pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.privacy-page .content,
.terms-page .content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-page h1,
.terms-page h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.privacy-page h2,
.terms-page h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

.privacy-page p,
.terms-page p {
  margin-bottom: 1.5rem;
}

/* Cookies consent */
#cookieConsent {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

#cookieConsent p {
  margin: 0;
}

#acceptCookies {
  background-color: var(--primary-color);
  transition: background-color 0.3s ease;
}

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

/* Responsive styles */
@media screen and (max-width: 1023px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .hero-body {
    padding: 6rem 1.5rem;
  }
  
  .timeline-marker {
    left: 0;
  }
  
  .card-image {
    height: 200px;
  }
  
  #equipo .card-image {
    height: auto;
  }
}

/* Animations */
@keyframes morphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.morphing-shape {
  animation: morphing 8s ease-in-out infinite;
}

img.morphing-shape {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* Hover animations */
a, button, .card, .glass-card {
  transition: all 0.3s ease-in-out;
}

/* Background shapes */
.bio-shape-bg {
  position: relative;
  overflow: hidden;
}

.bio-shape-bg::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(168, 216, 234, 0.1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: -100px;
  left: -100px;
  z-index: -1;
  animation: morphing 15s ease-in-out infinite alternate;
}

.bio-shape-bg::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: rgba(230, 192, 201, 0.1);
  border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%;
  bottom: -200px;
  right: -200px;
  z-index: -1;
  animation: morphing 20s ease-in-out infinite alternate;
}

/* Read more links */
.read-more {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 600;
  margin-top: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.read-more::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-dark);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

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

.read-more:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
  background-color: var(--accent-dark);
}

/* Parallax effect */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* About page */
.about-page {
  padding-top: 100px;
}

.about-hero {
  padding: 6rem 1.5rem;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../image/about-hero.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.about-hero h1 {
  color: var(--white);
  font-size: 3rem;
}

.about-content {
  padding: 4rem 1.5rem;
}

/* Contacts page */
.contacts-page {
  padding-top: 100px;
}

.contacts-hero {
  padding: 6rem 1.5rem;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../image/contacts-hero.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.contacts-hero h1 {
  color: var(--white);
  font-size: 3rem;
}

.map-container {
  height: 400px;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

/* Additional utilities */
.has-text-primary {
  color: var(--primary-color) !important;
}

.has-text-accent {
  color: var(--accent-color) !important;
}

.has-background-primary-light {
  background-color: rgba(168, 216, 234, 0.2) !important;
}

.has-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.is-centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}