   * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html {
      scroll-behavior: smooth;
    }
  body {
  background-color: #0a0d25;
  background-image: radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.05), transparent 25%),
                    radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.05), transparent 25%),
                    repeating-linear-gradient(45deg, rgba(255,255,255,0.01) 0, rgba(255,255,255,0.01) 2px, transparent 2px, transparent 4px);
  background-blend-mode: screen;
}
 #services .container {
  max-width: 100%;
  padding: 60px 40px;
}

    h1, h2, h3, h4 {
      margin-bottom: 16px;
    }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    p { font-size: 1rem; color: #ccc; }

    header {
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      z-index: 1000;
      background: #0d0f2d;
      border-bottom: 1px solid #222;
    }
    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .nav-logo {
      font-weight: 700;
      font-size: 1.2rem;
      color: #0ff;
      text-shadow: 0 0 5px #0ff;
    }
    nav a {
      margin-left: 20px;
      text-decoration: none;
      color: #4fc3f7;
      font-weight: 500;
      transition: transform 0.3s ease, opacity 0.3s ease, text-shadow 0.3s;
      text-shadow: 0 0 5px #0ff;
    }
    nav a {
  font-size: 1.05rem;
  letter-spacing: 0.9px;
}
    nav a:hover {
      transform: scale(1.05);
      text-shadow: 0 0 10px #0ff;
    }
    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      z-index: 1001;
    }
    .menu-toggle span {
      height: 3px;
      width: 24px;
      background: #0ff;
      margin-bottom: 5px;
      border-radius: 3px;
      transition: all 0.3s ease;
      box-shadow: 0 0 5px #0ff;
    }
    .menu-toggle.open span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.open span:nth-child(2) {
      opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
    .nav-links {
      display: flex;
      transition: none;
    }
    @media (max-width: 768px) {
      .menu-toggle {
        display: flex;
      }
      .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: radial-gradient(circle at center, rgba(0,255,255,0.2), rgba(13,15,45,0.9));
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        box-shadow: inset 0 0 60px rgba(0,255,255,0.2);
        padding-top: 100px;
        align-items: center;
        gap: 30px;
        z-index: 1000;
        clip-path: circle(0% at 90% 10%);
        opacity: 0;
        transition: clip-path 0.6s ease-in-out, opacity 0.4s ease-in-out;
        pointer-events: none;
      }.nav-links a {
  display: block;
  width: 80%;
  padding: 16px 20px;
  font-size: 1.25rem;
  text-align: center;
  color: #0ff;
  text-shadow: 0 0 6px rgba(0,255,255,0.6);
  border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(0,255,255,0.1), transparent);
  box-shadow: 0 0 10px rgba(0,255,255,0.2), inset 0 0 15px rgba(0,255,255,0.1);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-links a:hover {
  background: radial-gradient(ellipse at center, rgba(0,255,255,0.2), transparent);
  box-shadow: 0 0 20px rgba(0,255,255,0.4), inset 0 0 25px rgba(0,255,255,0.15);
}

      .nav-links a {
        color: #0ff;
        text-shadow: 0 0 5px #0ff;
      }
      .nav-links.active {
        clip-path: circle(150% at 90% 10%);
        opacity: 1;
        pointer-events: all;
      }
    }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  height: 32px;
  animation: logoPulse 4s ease-in-out infinite;
  filter: drop-shadow(0 0 4px #4fc3f7) drop-shadow(0 0 8px #4fc3f7);
}
.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(90deg, #4fc3f7, #42a5f5, #7e57c2, #4fc3f7);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(79,195,247,0.6);
}
.mobile-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(0,0,0,0.3);
      z-index: 999;
    }
    .mobile-overlay.show {
      display: block;
    }

nav a::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #4fc3f7, #42a5f5, #7e57c2, #4fc3f7);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
nav a:hover::before {
  opacity: 1;
}
nav a:hover::before {
  opacity: 1;
}
.hero {
  background: linear-gradient(180deg, #f4f6f8 0%, #ffffff 100%);
  position: relative;
  padding: 140px 20px 120px;
  text-align: center;
  overflow: hidden;
}

/* SVG или имитация свечения — необязательный элемент */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.03);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}
.hero h1 {
  font-size: 2.4rem;
}
.btn-primary {
  background: #000;
  color: #fff;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
}

.btn-primary:hover {
  background: #111;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
}

.section-blue-gradient {
  background: linear-gradient(135deg, #eef6fc, #dbefff);
  color: #0f1a2c;
  padding: 80px 20px;
}

.section-blue-gradient h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #003366;
  text-shadow: 0 0 3px rgba(0, 51, 102, 0.2);
}

.section-blue-gradient .step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #002a4d;
}

.section-blue-gradient .step p {
  color: #1e2b3c;
  line-height: 1.6;
}
.section-mint-gradient {
  background: linear-gradient(135deg, #e9fdf5, #ccf2e7);
  color: #153328;
  padding: 80px 20px;
}

.section-mint-gradient h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #136b5c;
  text-shadow: 0 0 3px rgba(19, 107, 92, 0.15);
}

.section-mint-gradient .step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #145244;
}

.section-mint-gradient .step p {
  color: #1f3f37;
  line-height: 1.6;
}
/* ===== Section: Silver Gradient ===== */
.section-silver-gradient {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0); /* светлый нейтральный градиент */
  color: #1a1a1a;
  padding: 80px 20px;
}

/* Заголовок секции */
.section-silver-gradient h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2a2a2a;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Заголовки карточек */
.section-silver-gradient .service-card h3 {
  font-size: 1.1rem;
  color: #1c1c1c;
  margin: 10px 0;
}

/* Текст в карточках */
.section-silver-gradient .service-card p {
  color: #333;
}

/* Микро-заголовки */
.section-silver-gradient .micro-heading {
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* Кнопки */
.section-silver-gradient .btn-secondary {
  background: #1a1a1a;
  color: #fff;
  padding: 10px 20px;
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.section-silver-gradient .btn-secondary:hover {
  background: #333;
}
.section-sky-gradient {
  background: linear-gradient(135deg, #f0f8ff, #e6f2ff);
  color: #1a1a1a;
  padding: 80px 20px;
}

.section-sky-gradient h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #004080;
  text-shadow: 0 0 3px rgba(0, 64, 128, 0.2);
}
section h1 {
  font-size: 2.4rem;
}

.projects-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card-minimal {
  background: #ffffff;
  border: 1px solid #dce6f6;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 85, 255, 0.08);
  transition: transform 0.3s ease;
  text-align: center;
}

.project-card-minimal:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 85, 255, 0.15);
}

.project-card-minimal img.thumb {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-card-minimal h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #002244;
}

.project-card-minimal p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 15px;
}

.project-card-minimal .btn-outline {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #002244;
  color: #002244;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.project-card-minimal .btn-outline:hover {
  background-color: #002244;
  color: #fff;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  color: #0ff;
  border: 1px solid rgba(0,255,255,0.3);
  background: rgba(0,255,255,0.05);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 15px rgba(0,255,255,0.1), inset 0 0 25px rgba(0,255,255,0.03);
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: rgba(0,255,255,0.1);
  box-shadow: 0 0 25px rgba(0,255,255,0.3), inset 0 0 30px rgba(0,255,255,0.08);
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
  margin: 40px auto 0;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
.step {
  background: radial-gradient(ellipse at center, rgba(0,255,255,0.02), rgba(10, 15, 45, 0.7));
  border-radius: 16px;
  padding: 30px 40px;
  box-shadow: 0 0 20px rgba(0,255,255,0.08), inset 0 0 25px rgba(0,255,255,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
}
.step h3 {
  color: #0ff;
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(0,255,255,0.4);
}
.step p {
  color: #ccc;
  font-size: 1rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  width: 100%;
}

.service-card {
  background: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  transition: all 0.3s ease;
}

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

.service-card .icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.service-card .icon img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.1));
}

.service-card h3 {
  color: #1c1c1c;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-card p {
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
}

.service-card .micro-heading {
  color: #777;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.steps {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.step {
  background: radial-gradient(ellipse at center, rgba(0,255,255,0.02), rgba(10, 15, 45, 0.7));
  border-radius: 16px;
  padding: 30px 40px;
  box-shadow: 0 0 20px rgba(0,255,255,0.08), inset 0 0 25px rgba(0,255,255,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step h3 {
  color: #0ff;
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(0,255,255,0.4);
}
.step p {
  color: #ccc;
  font-size: 1rem;
}
.micro-heading {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #4fc3f7;
  margin-bottom: 8px;
  display: block;
  text-align: center;
  opacity: 0.7;
}
.service-card:hover .micro-heading {
  opacity: 1;
  color: #0ff;
}
.icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,255,0.05), rgba(0,255,255,0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(0,255,255,0.1);
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}
.card-content {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
}
.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  width: 100%;
}

.service-card {
  background: linear-gradient(145deg, #ffffff, #f5f8ff);
  border: 1px solid #e0e6f0;
  box-shadow: 0 8px 20px rgba(0, 85, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 85, 255, 0.12);
}

.service-card .icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.service-card .icon img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px rgba(0, 85, 255, 0.3));
}

.service-card h3 {
  color: #003366;
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-shadow: 0 0 3px rgba(0, 51, 102, 0.1);
}

.service-card p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}

.service-card .micro-heading {
  color: #5577aa;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.5px;
}

a.btn-outline {
  display: inline-block;
  margin-top: auto;
  padding: 8px 20px;
  border: 1px solid rgba(0,255,255,0.2);
  border-radius: 8px;
  color: #0ff;
  background: transparent;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 0.95rem;
}
a.btn-outline:hover {
  background: rgba(0,255,255,0.05);
  box-shadow: 0 0 10px rgba(0,255,255,0.2);
}

/* Секция */
.section-lavender {
  background: linear-gradient(135deg, #eef3fb, #f0ecfa);
  color: #1e1e2f;
  padding: 80px 20px;
}

.section-lavender h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #3a2d6b;
  text-shadow: 0 0 4px rgba(58, 45, 107, 0.1);
}

/* Слайдер */
.testimonial-slider {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  transform: scale(0.98);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.testimonial.active {
  opacity: 1;
  position: relative;
  z-index: 1;
  transform: scale(1);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  background: #8f6ddf;
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 56px;
  font-weight: 600;
  text-align: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 10px rgba(143, 109, 223, 0.3);
}

.testimonial p {
  font-style: italic;
  color: #333;
  font-size: 1rem;
  margin-bottom: 15px;
}

.testimonial .author {
  font-weight: 600;
  font-size: 0.9rem;
  color: #555;
}

.testimonial-dots {
  text-align: center;
  margin-top: 40px;
}

.testimonial-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #aaa;
  border-radius: 50%;
  margin: 0 5px;
  opacity: 0.5;
  transition: 0.3s ease;
  cursor: pointer;
}

.testimonial-dots .dot.active {
  opacity: 1;
  background: #8f6ddf;
  box-shadow: 0 0 6px rgba(143, 109, 223, 0.4);
}

.footer {
  background: #0a0d25;
  color: #fff;
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: start;
}
.logo-icon {
  height: 32px;
  animation: logoPulse 4s ease-in-out infinite;
  filter: drop-shadow(0 0 4px #4fc3f7) drop-shadow(0 0 8px #4fc3f7);
}


.footer-nav-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.footer-btn {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #00f0ff;
  border-radius: 10px;
  background: transparent;
  color: #00f0ff;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.footer-btn:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
}
.footer-contacts p {
  line-height: 1.6;
}

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

/* Секция CTA с мятным градиентом */
.section-mint {
  background: linear-gradient(135deg, #e1fdf6, #d1f1ec);
  color: #102b2b;
  padding: 80px 20px;
  text-align: center;
}

/* Контейнер */
.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Заголовок */
.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0d3b3b;
  margin-bottom: 20px;
  text-shadow: 0 0 5px rgba(0,0,0,0.05);
}

/* Подзаголовок */
.cta-subtitle {
  font-size: 1.1rem;
  color: #2b4d4d;
  margin-bottom: 30px;
}

/* Кнопка — используем уже существующий класс */
.center-btn {
  display: inline-block;
  text-align: center;
}

/* Если btn-primary не стилизован — дублируй: */
.btn-primary {
  background: #f4f6f8;        /* Светлый фон */
  color: #111;                /* Почти чёрный текст для контраста */
  border: 2px solid #ccc;     /* Контур для визуальной чёткости */
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  background: #e0e3e6;        /* Чуть темнее при наведении */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ✅ Только этот блок изменён: фон светлый, текст тёмный */
.modal {
  background: #f8faff; /* был #111 */
  color: #111;          /* был white */
  padding: 40px;
  border-radius: 16px;
  max-width: 720px;
  width: 90%;
  position: relative;
  transition: transform 0.6s;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  color: #000; /* чёрная крестик кнопка на светлом фоне */
  cursor: pointer;
}

.main-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.main-services,
.sub-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sub-services {
  display: none;
  margin-top: 15px;
}

.service-btn,
.sub-services button {
  background: transparent;
  color: #000;
  border: 2px solid #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-btn:hover,
.sub-services button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.service-btn.active,
.sub-services button.active {
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3), 0 0 6px #000 inset;
}



/* Скрыть на десктопе */
@media (min-width: 769px) {
  .back-btn {
    display: none !important;
  }
}

/* Показать и стилизовать на мобильных */
@media (max-width: 768px) {
  .back-btn {
    display: inline-block;
    margin-top: 20px;
    background: #000; /* Чёрный фон */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .back-btn:hover {
    background: #222; /* Чуть светлее при наведении */
  }
}


.form-fields input,
.form-fields textarea {
  width: 100%;
  padding: 10px;
  background: #f4f6f8; /* был #222 */
  border: 1px solid #ccc; /* был #444 */
  border-radius: 8px;
  color: #000; /* был #fff */
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (max-width: 768px) {
  .desktop-sub {
    display: none !important;
  }

  #mobileSubCategories {
    display: none;
  }

  #mobileSubCategories.active {
    display: block;
  }
}

#orderForm .btn-primary {
  background: #000; /* Чёрный фон */
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: center;
  display: inline-block;
}

#orderForm .btn-primary:hover {
  background: #222; /* Темно-серый при наведении */
}
#orderForm .btn-primary {
  background: #000; /* Чёрный фон */
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: center;
  display: inline-block;
}

#orderForm .btn-primary:hover {
  background: #222; /* Темно-серый при наведении */
}
.faq-section {
  background: #f4f6f8;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #111;
}


.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 24px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  display: none;
}
.faq-answer {
  display: none;
  padding: 10px 0;
  color: #444;
}

.faq-question {
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: left;
  width: 100%;
  cursor: pointer;
  padding: 12px 0;
  border-bottom: 1px solid #ccc;
}
.faq-section {
  background: #f4f6f8;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
  border-top: 1px solid #ddd; /* для визуального отделения */
}
/* === Process — compact cards (чистая версия) === */
:root{
  --card-bg: rgba(255,255,255,0.6);
  --card-stroke: rgba(255,255,255,0.55);
  --shadow: 0 8px 22px rgba(13,35,85,.16);
  --shadow-hover: 0 14px 30px rgba(13,35,85,.24);
  --text-main: #0f2242;
  --text-muted: #27436e;
  --accent: #0ea5e9;
  --accent-2: #2563eb;
  --badge-bg: linear-gradient(135deg,#0ea5e9,#2563eb);
}

/* Фон секции */
.section-blue-gradient{
  background: radial-gradient(1200px 600px at 50% -100px,
              rgba(255,255,255,.65),
              rgba(207,224,244,.4) 40%,
              rgba(187,208,236,.35) 65%,
              rgba(160,190,230,.3) 100%);
  padding: clamp(40px, 6vw, 72px) 0; /* чуть меньше отступы секции */
  color: var(--text-main);
}

/* Заголовок секции */
.section-blue-gradient h2{
  text-align: center;
  font-size: clamp(26px, 3.1vw, 36px);
  letter-spacing: .2px;
  margin: 0 0 clamp(22px, 3.5vw, 36px);
  color: #0c1b33;
}

/* Сетка карточек */
.steps-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(12px, 2vw, 20px);              /* меньше интервал */
}
@media (max-width: 900px){
  .steps-grid{ grid-template-columns: 1fr; }
}

/* Карточка — компактная */
.step-card{
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;                       /* было 18–20 */
  border-radius: 12px;                      /* чуть меньше радиус */
  background: var(--card-bg);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  outline: 1px solid var(--card-stroke);
  transition: transform .28s ease, box-shadow .28s ease;
  /* ВАЖНО: никакой фиксированной высоты */
}

/* Hover/Focus */
.step-card:hover,
.step-card:focus-within{
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Верхняя строка: номер + иконка */
.step-top{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;                       /* было 10px */
}
.step-badge{
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;                /* было 36px */
  border-radius: 50%;
  background: var(--badge-bg);
  color: #fff;
  font-weight: 700;
  font-size: 13px;                          /* было 16px */
  box-shadow: 0 5px 12px rgba(14,165,233,.30);
}
.step-icon{
  width: 30px; height: 30px;                /* было 42px */
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(37,99,235,.22));
}

/* Заголовок карточки */
.step-card h3{
  margin: 4px 0 6px;                        /* компактнее */
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.28;
  color: #0d2a55;
}

/* Текст карточки */
.step-card p{
  margin: 0;
  font-size: clamp(13px, 1.6vw, 14px);
  line-height: 1.45;                        /* плотнее межстрочный */
  color: var(--text-muted);
  max-width: 62ch;
}

/* Доступность */
.step-card:focus-within{
  outline: 2px solid rgba(14,165,233,.6);
  outline-offset: 2px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .step-card{ transition: none; }
}
