/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: #7954cb;
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #64748b;
  color: white;
}

.btn-secondary:hover {
  background-color: #475569;
}

.btn-outline {
  background-color: transparent;
  color: #7954cb;
  border: 2px solid #7954cb;
}

.btn-outline:hover {
  background-color: #7954cb;
  color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Header Styles */
.header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #7954cb;
}

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

.nav-menu a {
  font-weight: 500;
  color: #374151;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #7954cb;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #7954cb;
  transition: width 0.3s ease;
}

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

/* Main Content */
main {
  margin-top: 80px;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 3rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 6rem 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 500px;
  width: 100%;
}

/* Services Section */
.services-section {
  background-color: #f8fafc;
}

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

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.service-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* About Section */
.about-section {
  background-color: white;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Advantages Section */
.advantages-section {
  background-color: #f8fafc;
}

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

.advantage-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.advantage-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.advantage-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.advantage-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  background-color: white;
}

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

.testimonial-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid #7954cb;
}

.testimonial-card p {
  font-style: italic;
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: #7954cb;
}

/* Blog Section */
.blog-section {
  background-color: #f8fafc;
}

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

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.blog-content h3 a {
  color: inherit;
  transition: color 0.3s ease;
}

.blog-content h3 a:hover {
  color: #7954cb;
}

.blog-content p {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  color: #7954cb;
  font-weight: 500;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #1d4ed8;
}

/* FAQ Section */
.faq-section {
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: #6b7280;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Contact Section */
.contact-section {
  background-color: #f8fafc;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-info a {
  color: #7954cb;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #1d4ed8;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  background-color: #e5e7eb;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #7954cb;
  transform: translateY(-2px);
}

.contact-forms {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-form,
.newsletter-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form h3,
.newsletter-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.contact-form input,
.newsletter-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.newsletter-form input:focus {
  outline: none;
  border-color: #7954cb;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: auto;
}

.checkbox-label a {
  color: #7954cb;
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #0d0129;
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #7954cb;
}

.footer-section p,
.footer-section li {
  color: #d1d5db;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-section a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a.active {
  color: #7954cb;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0d0129;
  color: white;
  z-index: 2000;
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  padding: 8px 16px;
  font-size: 14px;
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.cookie-option {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
}

.cookie-option label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
}

.cookie-option span {
  font-size: 14px;
  color: #6b7280;
  font-weight: normal;
  display: block;
  margin-top: 0.5rem;
}

.cookie-modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Legal Pages */
.legal-page .page-header {
  background-color: #f8fafc;
  padding: 4rem 0 2rem;
  text-align: center;
}

.legal-page .page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.legal-page .page-header p {
  font-size: 1.125rem;
  color: #6b7280;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin: 2rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin: 1.5rem 0 1rem;
}

.legal-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #4b5563;
  margin: 1rem 0 0.5rem;
}

.legal-content p {
  color: #4b5563;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin: 1rem 0 1rem 2rem;
}

.legal-content li {
  color: #4b5563;
  margin-bottom: 0.5rem;
  list-style: disc;
}

.legal-content ol li {
  list-style: decimal;
}

.legal-content a {
  color: #7954cb;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #1d4ed8;
}

.cookie-settings-section {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
  text-align: center;
}

/* Services Page */
.services-page .page-header {
  background-color: #f8fafc;
  padding: 4rem 0 2rem;
  text-align: center;
}

.services-page .page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.services-page .page-header p {
  font-size: 1.125rem;
  color: #6b7280;
}

.service-detail {
  margin-bottom: 4rem;
}

.service-detail-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.service-detail-content.reverse {
  flex-direction: row-reverse;
}

.service-detail-text {
  flex: 1;
}

.service-detail-text h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.service-detail-text p {
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-detail-text ul {
  margin-left: 1.5rem;
}

.service-detail-text li {
  color: #4b5563;
  margin-bottom: 0.5rem;
  list-style: disc;
}

.service-detail-image {
  flex: 1;
  text-align: center;
}

.service-detail-image img {
  max-width: 400px;
  width: 100%;
}

.process-section {
  background-color: #f8fafc;
}

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

.process-step {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #7954cb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: #6b7280;
}

.cta-section {
  background-color: #7954cb;
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-content .btn-primary {
  background-color: white;
  color: #7954cb;
}

.cta-content .btn-primary:hover {
  background-color: #f8fafc;
}

/* Blog Article Page */
.blog-page {
  padding-top: 2rem;
}

.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-image {
  width: 100%;
  max-width: 400px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.article-meta h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.article-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: #6b7280;
  font-size: 14px;
}

.article-content {
  line-height: 1.8;
}

.article-intro {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 2rem;
  font-weight: 500;
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin: 2rem 0 1rem;
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin: 1.5rem 0 1rem;
}

.article-content p {
  color: #4b5563;
  margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1rem 2rem;
}

.article-content li {
  color: #4b5563;
  margin-bottom: 0.5rem;
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

.article-cta {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin: 3rem 0;
}

.article-cta h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.article-cta p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Thanks Page */
.thanks-page {
  padding: 4rem 0;
}

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

.thanks-content {
  max-width: 600px;
  margin: 0 auto;
}

.thanks-icon {
  margin-bottom: 2rem;
}

.thanks-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.thanks-message {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.thanks-info {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: left;
}

.thanks-info h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  text-align: center;
}

.thanks-info ul {
  list-style: none;
}

.thanks-info li {
  color: #4b5563;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  line-height: 1.6;
}

.thanks-contact {
  margin-bottom: 2rem;
}

.thanks-contact h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.thanks-contact p {
  color: #4b5563;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.thanks-contact a {
  color: #7954cb;
  text-decoration: underline;
}

.thanks-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.thanks-emergency {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  padding: 2rem;
  border-radius: 10px;
}

.thanks-emergency h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 1rem;
}

.thanks-emergency p {
  color: #7f1d1d;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

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

  .service-detail-content,
  .service-detail-content.reverse {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }

  .thanks-actions {
    flex-direction: column;
    align-items: center;
  }

  .article-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .services-grid,
  .advantages-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article-meta h1 {
    font-size: 2rem;
  }

  .legal-page .page-header h1,
  .services-page .page-header h1 {
    font-size: 2rem;
  }

  .thanks-content h1 {
    font-size: 2rem;
  }
}

/* Кнопка гамбургер */
.menu-toggle {
  position: relative;
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1000;
  padding-left: 32px;
  padding-bottom: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: rgb(40, 4, 82);
  border-radius: 2px;
}

.newsteller__section {
  padding-top: 45px;
  padding-bottom: 45px;
  background: #592fb5;
    background: linear-gradient(167deg, rgba(89, 47, 181, 1) 33%, rgba(57, 143, 196, 1) 63%);
}
.newsteller__section h2{
  text-align: center;
  color: #fff;

}
.newsletter-form{
  width: 70%;
  margin: 0 auto;
}

/* Мобильные стили */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 80px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    padding: 10px 0;
    display: none;
    z-index: 999;
    
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}


