:root {
  --color-bg: #0d0d1a;
  --color-bg-alt: #151529;
  --color-card: #1a1a33;
  --color-card-hover: #202040;
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-secondary: #10b981;
  --color-accent: #f59e0b;
  --color-text: #f8f9fa;
  --color-text-secondary: #b8bcc8;
  --color-border: #2a2a4a;
  --color-surface: #181835;
  --color-gradient: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
  --color-gradient-alt: linear-gradient(135deg, #10b981 0%, #f59e0b 100%);
  
  --font-primary: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Inter', system-ui, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.centered-section .container > * {
  margin-left: auto;
  margin-right: auto;
}

.centered-section .hero-inner,
.centered-section .about-inner {
  text-align: left;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-text);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-text);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-gradient);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--color-gradient);
  color: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-bg);
}

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

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--border-radius);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  min-height: 240px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-gradient);
  opacity: 0.05;
}

.photo-placeholder--large {
  min-height: 400px;
}

.photo-placeholder--product {
  min-height: 280px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  border-bottom: none;
}

.photo-placeholder--gallery {
  min-height: 300px;
  aspect-ratio: 4/3;
}

.photo-placeholder--map {
  min-height: 400px;
  height: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(13, 13, 26, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.logo-link:hover {
  color: var(--color-text);
  transform: scale(1.05);
}

.logo-icon {
  filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

.brand-name {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gradient);
  transition: width 0.3s ease;
}

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

.nav-menu a:hover::after {
  width: 100%;
}

.hero {
  padding: 10rem 0 6rem;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
  z-index: -1;
}

.hero .container {
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-content {
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-visual {
  position: relative;
  animation: fadeInUp 1s ease-out 0.6s both;
  max-width: 600px;
  width: 100%;
}

.about {
  padding: 6rem 0;
  background: var(--color-bg-alt);
  position: relative;
}

.about .container {
  text-align: center;
}

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-visual {
  max-width: 600px;
  width: 100%;
}

.about-content h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-content p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
}

.services {
  padding: 6rem 0;
  background: var(--color-bg);
}

.services .container {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  background: var(--color-card-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.service-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.service-icon svg {
  filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

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

.service-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.products {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}

.products .container {
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover::before {
  opacity: 0.05;
}

.product-info {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.product-info h3 {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.product-info p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.product-duration {
  display: inline-block;
  background: var(--color-gradient);
  color: var(--color-bg);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.product-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.product-info .btn {
  width: 100%;
  justify-content: center;
}

.how-it-works {
  padding: 6rem 0;
  background: var(--color-bg);
}

.how-it-works .container {
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-gradient);
  color: var(--color-bg);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.step-number::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: var(--color-gradient);
  opacity: 0.3;
  animation: pulse 2s infinite;
}

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

.step-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.advantages {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}

.advantages .container {
  text-align: center;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.advantage-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
  transition: left 0.5s ease;
}

.advantage-card:hover {
  background: var(--color-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.advantage-card:hover::before {
  left: 100%;
}

.advantage-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.advantage-icon svg {
  filter: drop-shadow(0 0 10px rgba(78, 205, 196, 0.3));
}

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

.advantage-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.gallery {
  padding: 6rem 0;
  background: var(--color-bg);
}

.gallery .container {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover::before {
  opacity: 0.2;
}

.faq {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}

.faq .container {
  text-align: center;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-card);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 1rem;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

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

.faq-answer p {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.contacts {
  padding: 6rem 0;
  background: var(--color-bg);
}

.contacts .container {
  max-width: 1200px;
}

.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contacts-info h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--color-card);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: var(--color-card-hover);
  transform: translateX(8px);
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.3));
}

.contact-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-item a {
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 500;
}

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

.contact-item > div > span:last-child {
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 500;
}

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-gradient);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  flex: 1;
  max-width: 300px;
}

.footer-description {
  color: var(--color-text-secondary);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-content {
  display: flex;
  gap: 3rem;
  flex: 2;
}

.footer-section {
  flex: 1;
}

.footer-section h4 {
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact p {
  color: var(--color-text-secondary);
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  text-align: center;
}

.footer-links a {
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gradient);
  transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom p {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    gap: 2rem;
  }
  
  .about-inner {
    gap: 3rem;
  }
  
  .contacts-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-content {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 300px;
  }

  .nav-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .about,
  .services,
  .products,
  .how-it-works,
  .advantages,
  .gallery,
  .faq,
  .contacts {
    padding: 4rem 0;
  }

  .section-title {
    margin-bottom: 3rem;
  }

  .services-grid,
  .products-grid,
  .steps-grid,
  .advantages-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    gap: 1rem;
    align-items: center;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  .footer-content {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 1rem 0;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

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

  .product-info {
    padding: 1.5rem;
  }

  .contact-item {
    padding: 1rem;
  }

  .faq-question {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .faq-answer-content {
    padding: 0 1.5rem 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}