:root {
  --primary: #0f172a;
  --secondary: #3b82f6;
  --accent: #f59e0b;
  --success: #10b981;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #64748b;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  width: 100%;
  overflow-x: hidden;
  position: relative;
  font-feature-settings: 'cv11', 'ss01';
  font-variation-settings: 'opsz' 32;
}

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

/* Навигация */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  background: rgba(248, 250, 252, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-links a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-links a:hover::before {
  opacity: 0.1;
}

.nav-links a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

/* Hero секция */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(59, 130, 246, 0.6)), url('/hero.webp') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 1rem 2rem;
  width: 100%;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes climbMotion {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  25% { transform: translateY(-8px) rotate(0.5deg); }
  75% { transform: translateY(-5px) rotate(-0.5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
}

.hero-text {
  max-width: 650px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  text-align: center;
}

.hero-text::before {
  content: '🧗‍♂️';
  position: absolute;
  top: -15px;
  right: 25px;
  font-size: 2.5rem;
  animation: climbMotion 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
}

.hero h1 {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: var(--white);
  padding: 1.25rem 2.5rem;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(240, 147, 251, 0.4);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-width: 200px;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(240, 147, 251, 0.6);
}

/* Услуги */
.services {
  padding: 6rem 0;
  background: var(--gray-50);
  width: 100%;
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 6px;
  background: var(--gradient-accent);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 5rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(0.3);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(8deg);
  filter: grayscale(0);
}

.service-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.service-list {
  list-style: none;
}

.service-list li {
  padding: 0.75rem 0;
  color: var(--gray-600);
  position: relative;
  padding-left: 2rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.service-list li::before {
  content: '✨';
  position: absolute;
  left: 0;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-list li {
  color: var(--gray-900);
  transform: translateX(4px);
}

.service-card:hover .service-list li::before {
  transform: scale(1.2) rotate(15deg);
}

/* О компании */
.about {
  padding: 6rem 0;
  background: var(--gradient);
  color: var(--white);
  width: 100%;
  overflow: hidden;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  opacity: 0.95;
  font-size: 1.1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* FAQ с рабочим аккордеоном */
.faq {
  padding: 6rem 0;
  background: var(--white);
  width: 100%;
  overflow: hidden;
}

.faq-container {
  max-width: 900px;
  margin: 4rem auto 0;
}

.faq-item {
  background: var(--white);
  margin-bottom: 1.5rem;
  border-radius: 16px;
  border: 2px solid var(--gray-100);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: var(--gray-200);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.faq-question {
  padding: 2rem;
  background: var(--gray-50);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  width: 100%;
  text-align: left;
}

.faq-item.active .faq-question {
  background: rgba(102, 126, 234, 0.05);
}

.faq-question h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.4;
  flex: 1;
  padding-right: 2rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer p {
  padding: 0 2rem 2rem;
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Контакты */
.contact {
  padding: 6rem 0;
  background: var(--gray-50);
  width: 100%;
  overflow: hidden;
}

.contact-content {
  width: 100%;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--gray-100);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--gray-200);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.contact-card .contact-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: grayscale(0.2);
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  filter: grayscale(0);
  transform: scale(1.1);
}

.contact-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.contact-link {
  display: block;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.contact-link:hover {
  color: var(--accent);
  transform: scale(1.02);
}

.contact-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-cta {
  background: var(--gradient);
  padding: 4rem 3rem;
  border-radius: 24px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.contact-cta h3 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.contact-cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-button.primary {
  background: var(--accent);
  color: var(--white);
  padding: 1.25rem 2.5rem;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.cta-button.primary:hover {
  background: #e49807;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 1.25rem 2.5rem;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.cta-button.secondary:hover {
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.2);
  transform: translateY(-3px);
}

/* Плавающие кнопки */
.floating-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.float-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: floatBtn 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.float-btn:hover::before {
  opacity: 1;
}

@keyframes floatBtn {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.phone-btn {
  background: var(--secondary);
  animation-delay: 0.2s;
}

.phone-btn:hover {
  background: #2563eb;
  transform: scale(1.15) translateY(-2px);
}

.whatsapp-btn {
  background: var(--success);
  animation-delay: 0.6s;
}

.whatsapp-btn:hover {
  background: #059669;
  transform: scale(1.15) translateY(-2px);
}

.footer {
  background: var(--gray-900);
  color: var(--gray-200);
  text-align: center;
  padding: 3rem 0;
  width: 100%;
  font-weight: 500;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray-200);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

/* Анимации при скролле */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 8rem 1rem 3rem;
  }

  .hero-text {
    padding: 2.5rem 2rem;
    margin: 0;
    max-width: 100%;
    border-radius: 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .floating-buttons {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .float-btn {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }

  .container {
    padding: 0 1rem;
  }

  .contact-cta {
    padding: 3rem 2rem;
  }
}

@media (max-width: 480px) {
  .hero-text {
    padding: 2rem 1.5rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    width: 100%;
    max-width: 300px;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .stat-item {
    padding: 1.5rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .faq-question {
    padding: 1.5rem;
  }

  .faq-answer p {
    padding: 0 1.5rem 1.5rem;
  }
}