:root {
  --primary-color-1: #d8bcf9; /* Light purple */
  --primary-color-2: #a8e6cf; /* Mint green */
  --primary-color-3: #fdceb9; /* Peach */
  --primary-color-4: #f7d9eb; /* Light pink */
  --primary-color-5: #dcedc2; /* Light green */
  
  --light-shade-1: #ffffff;
  --dark-shade-1: #333333;
  
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden; /* Предотвращение горизонтальной прокрутки */
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-shade-1);
  line-height: 1.6;
  overflow-x: hidden; /* Дублируем для совместимости */
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-bg {
  background-color: var(--light-shade-1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

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

/* Header */
.header {
  background-color: var(--light-shade-1);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: var(--light-shade-1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--primary-color-1);
}

.mobile-nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--light-shade-1);
  max-width: 100%;
  padding: 30px 0;
}

.hero-content h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: var(--light-shade-1);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-image {
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.hero-image img {
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.about-text {
  flex: 1;
  padding-right: 50px;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
}

.about-feature {
  flex: 1 0 46%;
  margin: 2%;
  padding: 30px;
  background: var(--light-shade-1);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.about-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-feature h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color-1);
}

/* Services Section */
.services {
  background-color: rgba(216, 188, 249, 0.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-item {
  background: var(--light-shade-1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.service-image {
  height: 200px;
  overflow: hidden;
}

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

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

.service-content {
  padding: 30px;
}

.service-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color-1);
}

.service-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color-2);
  margin-bottom: 15px;
}

.service-features {
  margin-top: 20px;
}

.service-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color-3);
}

/* Features Section */
.features {
  position: relative;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-item {
  display: flex;
  padding: 30px;
  background: var(--light-shade-1);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.feature-icon {
  flex-shrink: 0;
  font-size: 40px;
  color: var(--primary-color-1);
  margin-right: 20px;
}

.feature-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Price Plan Section */
.priceplan {
  background-color: rgba(216, 188, 249, 0.05);
}

.priceplan-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.price-item {
  flex: 1;
  max-width: 350px;
  background: var(--light-shade-1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
  padding: 40px 30px;
}

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

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

.price-item h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color-1);
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color-2);
  margin-bottom: 20px;
}

.price span {
  font-size: 16px;
  font-weight: 400;
}

.price-features {
  margin: 25px 0;
  text-align: left;
}

.price-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color-3);
  font-weight: 700;
}

/* Team Section */
.team {
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-member {
  background: var(--light-shade-1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.team-image {
  height: 300px;
  overflow: hidden;
}

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

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

.team-content {
  padding: 20px;
  text-align: center;
}

.team-content h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.team-content p {
  color: var(--primary-color-1);
  font-weight: 500;
}

/* Reviews Section */
.reviews {
  background-color: rgba(216, 188, 249, 0.05);
}

.reviews-swiper {
  overflow: hidden;
  padding: 30px 0;
}

.review-item {
  background: var(--light-shade-1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 20px 10px;
  transition: var(--transition);
}

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

.review-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.review-text::before,
.review-text::after {
  content: '"';
  font-size: 50px;
  color: var(--primary-color-1);
  opacity: 0.3;
  position: absolute;
}

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

.review-text::after {
  bottom: -40px;
  right: -15px;
}

.review-author {
  display: flex;
  align-items: center;
}

.review-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.review-author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

/* Core Info Section */
.coreinfo {
  position: relative;
}

.coreinfo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.coreinfo-item {
  padding: 30px;
  background: var(--light-shade-1);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
}

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

.coreinfo-icon {
  font-size: 40px;
  color: var(--primary-color-1);
  margin-bottom: 20px;
}

.coreinfo-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Contact Section */
.contact {
  position: relative;
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-form {
  flex: 1;
}

.contact-form form {
  background: var(--light-shade-1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color-1);
}

textarea.form-control {
  height: 120px;
  resize: none;
}

.service-select {
  margin-bottom: 20px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.checkbox-group input {
  margin-right: 10px;
}

.btn {
  padding: 12px 30px;
  background: var(--primary-color-1);
  border: none;
  border-radius: 5px;
  color: var(--dark-shade-1);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: var(--primary-color-3);
  transform: translateY(-3px);
}

.contact-info {
  flex: 1;
  padding: 30px;
  background: rgba(216, 188, 249, 0.1);
  border-radius: 10px;
}

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

.contact-info-icon {
  font-size: 24px;
  color: var(--primary-color-1);
  margin-right: 15px;
}

/* Blog Section */
.blog {
  background-color: rgba(216, 188, 249, 0.05);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-item {
  background: var(--light-shade-1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

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

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

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

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.blog-content p {
  margin-bottom: 15px;
}

.blog-link {
  font-weight: 500;
  color: var(--primary-color-1);
  transition: var(--transition);
}

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

/* Footer */
.footer {
  background-color: var(--dark-shade-1);
  color: var(--light-shade-1);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-logo {
  font-family: var(--font-secondary);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-desc {
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

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

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

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

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-color-1);
}

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

/* Decorative Elements */
.shape {
  position: absolute;
  z-index: -1;
}

.shape-1 {
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--primary-color-1);
  opacity: 0.1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-2 {
  bottom: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
  background: var(--primary-color-2);
  opacity: 0.1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

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

/* Additional pages */
.page-header {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.page-title {
  position: relative;
  z-index: 1;
  color: var(--light-shade-1);
  text-align: center;
}

.page-title h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

/* Space page */
#space {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(216, 188, 249, 0.05);
}
