:root {
  --bg-dark: #2b3e50;  --bg-card: #ffffff;  --bg-light: #f4f8fc;  --accent-blue: #3b82f6;
  --soft-cyan: #60a5fa;
  --muted-blue: #4f6bd6;
  --text-light: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-light);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

header {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(43, 62, 80, 0.95);
  backdrop-filter: blur(12px);
  box-sizing: border-box;
}

header.scrolled {
  padding: 12px 40px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--soft-cyan);
  border-radius: 8px;
  color: var(--soft-cyan);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  font-family: inherit;
  flex-shrink: 0;
  z-index: 110;
}

.mobile-toggle:hover {
  background: rgba(96, 165, 250, 0.1);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.nav-overlay.show {
  display: block;
}

.logo {
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--text-light);
}

nav {
  display: flex;
  align-items: center;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--bg-card);
  font-weight: 500;
  transition: color .3s;
}

nav a:hover {
  color: var(--accent-blue);
}

.nav-group + .nav-group {
  margin-left: 20px;
}

/* ====== ВЫПАДАЮЩЕЕ МЕНЮ ====== */
.nav-item.has-dropdown {
  position: relative;
}

.nav-item.has-dropdown > a {
  margin-left: 0;
  cursor: pointer;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-dark);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  display: none;
  z-index: 101;
}

.has-dropdown:hover > .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  margin: 0;
  padding: 10px 18px;
  color: var(--text-muted);
  font-weight: 500;
  border-radius: 0;
  transition: color 0.2s, background 0.2s;
}

.dropdown a:hover {
  background: rgba(96, 165, 250, 0.1);
  color: var(--soft-cyan);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 20px 0;
}

h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.hero-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.hero-text p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.highlight-service {
  background: rgba(96, 165, 250, 0.1);
  border: 2px solid var(--accent-blue);
  padding: 18px 25px;
  border-radius: 8px;
  box-shadow:
    0 0 15px rgba(96, 165, 250, 0.25),
    inset 0 0 10px rgba(96, 165, 250, 0.08);
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  animation: pulse-glow 2.5s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  from { box-shadow: 0 0 10px rgba(96,165,250,0.15), inset 0 0 8px rgba(96,165,250,0.05); }
  to   { box-shadow: 0 0 25px rgba(96,165,250,0.35), inset 0 0 15px rgba(96,165,250,0.1); }
}

.image-placeholder {
  width: 100%;
  height: 360px;
  background-color: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-style: italic;
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* --- Сетка услуг --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform .35s cubic-bezier(.22,1,.36,1),
              box-shadow .35s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: var(--accent-blue);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.45;
  transition: opacity .35s ease;
  pointer-events: none;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-blue),
    var(--soft-cyan),
    #64748b,
    var(--soft-cyan),
    var(--accent-blue)
  );
  background-size: 300% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  animation: gradient-slide 1.5s linear infinite;
  pointer-events: none;
}

@keyframes gradient-slide {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12),
              0 0 15px rgba(96, 165, 250, 0.15);
}

.service-card:hover::before { opacity: 0; }
.service-card:hover::after  { opacity: 1; }

.service-card h3 {
  margin-top: 0;
  font-size: 20px;
  color: var(--text-main);
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.service-card .image-placeholder {
  position: relative;
  z-index: 1;
}

.service-card.tily-work::before { opacity: 0.8; }
.service-card.tily-work {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
              0 0 15px rgba(183, 198, 139, 0.15);
}

.main-focus-section {
  background: var(--bg-card);
  border: 2px solid var(--accent-blue);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1),
              0 0 25px rgba(96, 165, 250, 0.15);
}

.main-focus-section > p {
  color: var(--text-main);
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.focus-carousel {
  margin-top: 30px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-style: italic;
  background-color: #f8fafc;
  border-right: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-focus-title {
  font-size: 32px;
  margin-bottom: 15px;
  text-transform: uppercase;
  background: linear-gradient(
    90deg,
    #3b82f6,
    #60a5fa,
    #4f6bd6,
    #60a5fa,
    #3b82f6
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  animation: gradient-slide 4s linear infinite;
}

.neon-badge {
  display: inline-block;
  background: var(--accent-blue);
  color: #ffffff;
  padding: 8px 22px;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  box-shadow:
    0 0 8px rgba(59, 130, 246, 0.4),
    0 0 20px rgba(96, 165, 250, 0.3),
    inset 0 0 8px rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

footer {
  text-align: center;
  padding: 40px 20px 20px 20px;
  color: var(--text-muted);
  border-top: 1px solid #cbd5e1;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 20px;
}
.footer-col h4 {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-blue); }
.footer-col p { margin-bottom: 6px; font-size: 0.9rem; }
.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #cbd5e1;
  max-width: 1200px;
  margin: 0 auto;
}

#works {
  margin-bottom: 80px;
}

.works-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.works-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  aspect-ratio: 1 / 1;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, filter .35s ease;
  filter: brightness(0.88);
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: var(--accent-blue);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.3;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 2;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-blue),
    var(--soft-cyan),
    #64748b,
    var(--soft-cyan),
    var(--accent-blue)
  );
  background-size: 300% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  animation: gradient-slide 1.5s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.gallery-item:hover::before { opacity: 0; }
.gallery-item:hover::after  { opacity: 1; }

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1);
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
}

.lightbox {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-wrap {
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.17, 0.67, 0.12, 1);
}

.lightbox.open .lightbox-img-wrap {
  transform: scale(1);
}

.lightbox-img-wrap img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.open .lightbox-img-wrap img {
  opacity: 1;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 10001;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease 0.15s, background 0.2s;
}

.lightbox.open .lightbox-close { opacity: 1; }
.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: none;
  font-size: 36px;
  width: 48px;
  height: 64px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s, opacity 0.3s ease 0.15s;
  user-select: none;
  opacity: 0;
}

.lightbox.open .lightbox-arrow { opacity: 1; }
.lightbox-arrow:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
}

.lightbox.open .lightbox-counter { opacity: 1; }

.seo-accordion-section {
  margin-top: 60px;
  padding: 40px 20px;
}

.seo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding-bottom: 24px;
  border-bottom: 1px solid #cbd5e1;
}

.seo-title {
  font-size: 28px;
  margin: 0;
  color: var(--text-main);
}

.seo-toggle {
  background: none;
  border: none;
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.seo-toggle:hover {
  color: var(--soft-cyan);
}

.toggle-icon {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.seo-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.seo-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease;
  color: var(--text-muted);
}

.seo-body[aria-hidden="false"] {
  opacity: 1;
  overflow: visible;
}

.seo-body p {
  margin: 0 0 18px 0;
  line-height: 1.6;
}

.seo-body[aria-hidden="false"] {
  max-height: 500px;
  opacity: 1;
}

.faq-section { margin: 60px 0; }
.accordion-group { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #cbd5e1; }

.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  transition: color .3s ease;
}

.faq-toggle:hover { color: var(--accent-blue); }
.faq-title { flex: 1; padding-right: 16px; }

.faq-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease;
  color: var(--text-muted);
}

.faq-body p { margin: 0 0 18px 0; line-height: 1.6; }
.faq-body[aria-hidden="false"] { max-height: 300px; opacity: 1; }
.faq-toggle .toggle-icon { transition: transform 0.3s ease; }
.faq-toggle[aria-expanded="true"] .toggle-icon { transform: rotate(180deg); }

.steps-section { margin: 60px 0; }

.steps-list {
  list-style: none;
  margin: 30px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.steps-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--accent-blue);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
  position: relative;
}

.steps-list li:not(:last-child)::after {
  content: '\2192';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-blue);
  font-size: 24px;
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
  z-index: 2;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.step-content h3 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.3;
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
}

.steps-list li {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.steps-list li:nth-child(even) {
  transform: translateX(60px);
}

.steps-list li.step-visible {
  opacity: 1;
  transform: translateX(0);
}

.benefits-section { margin: 60px 0; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.benefit-card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  border: 2px solid var(--accent-blue);
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.08),
              0 0 25px rgba(96, 165, 250, 0.1);
}

.benefit-icon { font-size: 2rem; margin-bottom: 12px; }
.benefit-card h3 { font-size: 16px; color: var(--text-main); margin-bottom: 6px; }
.benefit-card p { font-size: 14px; color: var(--text-muted); }

.price-guide {
  background: linear-gradient(180deg, #f4f8fc 0%, #eef2ff 100%);
  border-top: 3px solid var(--accent-blue);
  border-bottom: 3px solid var(--accent-blue);
  padding: 60px 20px;
}

.price-guide-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.price-guide-header {
  text-align: center;
  margin-bottom: 30px;
}

.price-guide-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--accent-blue);
  border-radius: 50px;
  color: #685640;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}.price-guide-title {
  font-size: 28px;
  color: var(--accent-blue);
  margin: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-blue);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.price-card-value {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 8px;
  text-shadow: none;
}

.price-card-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 500;
}

.price-note {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  margin: 22px 0 0;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-consultation {
  text-align: center;
  margin: 60px 0;
  padding: 60px 20px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background-image: url('images/zvonok.jpg');
  background-size: cover;
  background-position: center;
  border: 2px solid var(--accent-blue);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25),
              0 0 25px rgba(59, 130, 246, 0.15);
}

.cta-consultation::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  z-index: 0;
}

.cta-consultation > * {
  position: relative;
  z-index: 1;
}

.cta-contacts {
  text-align: center;
  margin: 60px 0;
  padding: 40px 20px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 2px solid var(--accent-blue);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2),
              0 0 25px rgba(59, 130, 246, 0.1);
}

.contact-info { margin: 20px 0; }

.contact-info p {
  font-size: 18px;
  color: var(--text-main);
  margin: 8px 0;
}

.neon-btn {
  display: inline-block;
  position: relative;
  margin-top: 16px;
  padding: 14px 40px;
  background: var(--accent-blue);
  border: 2px solid var(--accent-blue);
  border-radius: 50px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  overflow: visible;
  z-index: 1;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow:
    0 0 10px rgba(59, 130, 246, 0.3),
    0 4px 12px rgba(59, 130, 246, 0.2);
}

.neon-btn::before,
.neon-btn::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50px;
  border: 2px solid var(--soft-cyan);
  opacity: 0;
  pointer-events: none;
}

.neon-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 20px rgba(59, 130, 246, 0.4),
    0 8px 24px rgba(96, 165, 250, 0.3);
  background: var(--muted-blue);
  border-color: var(--soft-cyan);
}

.neon-btn:hover::before {
  animation: btn-ripple 1.2s ease-out infinite;
}

.neon-btn:hover::after {
  animation: btn-ripple 1.2s ease-out 0.6s infinite;
}

@keyframes btn-ripple {
  0%   { transform: scale(1);    opacity: 0.5; }
  100% { transform: scale(1.35); opacity: 0;   }
}

footer .contact-info p { font-size: 16px; color: var(--text-muted); }
footer .neon-btn { margin-top: 10px; margin-bottom: 24px; }

.neon-btn-large {
  padding: 24px 60px;
  font-size: 22px;
  border-radius: 60px;
}

/* Стили footer-nav перенесены в .footer-col */

@media (max-width: 600px) {
  .steps-list li:not(:last-child)::after {
    content: '\2193';
    right: 50%;
    top: auto;
    bottom: -20px;
    transform: translateX(50%);
  }
}

@media (min-width: 769px) {
  .neon-btn-large {
    padding: 18px 80px;
    font-size: 28px;
    line-height: 1.2;
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px 16px;
  }

  .logo {
    font-size: 18px;
    flex-shrink: 0;
  }

  h1 { font-size: 24px; }
  h2 { font-size: 22px; }
  .main-focus-title { font-size: 22px; }
  .price-guide-title { font-size: 22px; }
  .hero-text h2 { font-size: 22px; }
  .works-title { font-size: 22px; }

  .hero-section { grid-template-columns: 1fr; }

  .mobile-toggle {
    display: block;
    width: auto;
    min-width: 80px;
    max-width: 120px;
    box-sizing: border-box;
  }

    nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: var(--bg-dark);
    border-left: 1px solid var(--border-dark);
    padding: 80px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    display: flex;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 105;
    overflow-y: auto;
    box-sizing: border-box;
    margin: 0;
  }

  nav.open {
    transform: translateX(0);
  }

  nav a {
    margin: 0;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 8px;
    transition: background 0.2s ease;
  }

  nav a:hover {
    background: rgba(59, 130, 246, 0.1);
  }

  .nav-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-group + .nav-group {
    margin-left: 0;
  }

  .nav-item.has-dropdown {
    margin-left: 0;
  }

.dropdown {
  position: static;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0 0 0 20px;
  display: block;
  background: transparent;
}

.dropdown a {
  padding: 10px 16px;
  font-size: 15px;
}

  .carousel-slide { flex: 0 0 100%; height: 300px; }

  .steps-list li:not(:last-child)::after {
    content: '\2193';
    right: 50%;
    top: auto;
    bottom: -20px;
    transform: translateX(50%);
  }

  .cta-consultation { background-image: none; background: var(--bg-card); }
  .cta-consultation::before { display: none; }

  .neon-btn-large {
    padding: 14px 20px;
    font-size: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .carousel-slide {
    flex: 0 0 calc(100% / 2);
    height: 300px;
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc(100% / 3);
    height: 320px;
  }
}
	  
/* ====== КУКИ-БАННЕР ====== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: rgba(30, 41, 59, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  padding: 18px 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-text {
  color: var(--bg-light);
  font-size: 14px;
  line-height: 1.5;
  max-width: 800px;
  text-align: center;
}
.cookie-banner-text a {
  color: var(--accent-blue);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 800px;
  width: 100%;
  justify-content: center;
}
.cookie-banner .btn {
  display: inline-block;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.cookie-banner .btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
}
.cookie-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.4);
}
.cookie-banner .btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.cookie-banner .btn-outline:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* ====== КНОПКА «ВВЕРХ» ====== */
.scroll-top-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-dark);
  color: var(--text-light);
  border: 1px solid var(--accent-blue);
  border-radius: 50%;
  font-family: inherit;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}
.scroll-top-fab:hover {
  background: var(--accent-blue);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.5);
}
.scroll-top-fab.hidden {
  transform: translateY(100px) scale(0.8);
  opacity: 0;
  pointer-events: none;
}
body.cookie-visible .scroll-top-fab { bottom: 180px; }

@media (max-width: 768px) {
  .scroll-top-fab {
    bottom: 76px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  body.cookie-visible .scroll-top-fab { bottom: 200px; }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
  }
  .cookie-banner-text {
    font-size: 13px;
    text-align: center;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  .cookie-banner .btn {
    margin: 0;
    flex: 1;
    min-width: 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 769px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}