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

:root {
  --black: #0a0a0a;
  --dark: #141414;
  --gray-900: #1a1a1a;
  --gray-800: #252525;
  --gray-700: #333;
  --gray-500: #666;
  --gray-400: #888;
  --gray-300: #aaa;
  --white: #f0f0f0;
  --accent: #ff6b1a;
  --accent-dark: #e05500;
  --accent-glow: rgba(255, 107, 26, 0.15);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* === HEADER === */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 2rem;
  transition: all 0.4s ease;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

header.scrolled {
  background: rgba(10, 10, 10, 0.95);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--black);
  letter-spacing: 1px;
}

.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--white);
}

nav { display: flex; align-items: center; gap: 2rem; }

nav a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

nav a:hover, nav a.active { color: var(--white); }

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

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

.header-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.header-phone {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: opacity 0.3s;
}

.header-phone-mobile {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.3s;
}

.header-phone:hover, .header-phone-mobile:hover { opacity: 0.8; color: var(--accent); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1100;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 107, 26, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-radius: 8px;
  border: 1px solid var(--gray-700);
  transition: all 0.3s;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(255, 107, 26, 0.05);
}

/* === SECTIONS === */
section { padding: 6rem 2rem; }

.section-header {
  max-width: 1400px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 2px;
  line-height: 1.1;
}

/* === PAGE HERO (for service pages) === */
.page-hero {
  padding-top: 120px;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255, 107, 26, 0.06), transparent),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(255, 107, 26, 0.03), transparent);
}

.page-hero-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.8rem;
}

.breadcrumbs a {
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.3s;
}

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

.breadcrumbs span { color: var(--gray-700); }

.breadcrumbs .current { color: var(--gray-300); }

.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.page-hero h1 .accent { color: var(--accent); }

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 700px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.page-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* === SERVICE CONTENT === */
.service-content {
  padding: 5rem 2rem;
}

.service-content-inner {
  max-width: 900px;
  margin: 0 auto;
}

.service-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  color: var(--white);
}

.service-content h2:first-child { margin-top: 0; }

.service-content p {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.service-content ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-content ul li {
  color: var(--gray-300);
  font-size: 0.93rem;
  line-height: 1.7;
  padding: 0.4rem 0 0.4rem 1.8rem;
  position: relative;
}

.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* === PRICE TABLE === */
.price-table {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.price-table table { width: 100%; border-collapse: collapse; }

.price-table thead th {
  background: var(--gray-800);
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 400;
}

.price-table tbody td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
  color: var(--gray-300);
}

.price-table tbody tr { background: var(--gray-900); }
.price-table tbody tr:hover { background: rgba(255, 107, 26, 0.05); }
.price-table tbody tr:last-child td { border-bottom: none; }

.price-val { color: var(--accent); font-weight: 700; }

.price-note {
  max-width: 900px;
  margin: 1.5rem auto 0;
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* === SERVICE CARDS === */
.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2.5rem 2rem;
  background: var(--gray-900);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  text-decoration: none;
  color: var(--white);
  display: block;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { border-color: rgba(255, 107, 26, 0.2); transform: translateY(-4px); }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.service-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.2rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === ADVANTAGES === */
.adv-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.adv-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.4s;
}

.adv-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(255, 107, 26, 0.08);
}

.adv-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--accent-glow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.adv-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.adv-card p { color: var(--gray-400); font-size: 0.85rem; line-height: 1.6; }

/* === CTA === */
.cta-section { background: var(--dark); padding: 6rem 2rem; }

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.08), rgba(255, 107, 26, 0.02));
  border: 1px solid rgba(255, 107, 26, 0.15);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.1), transparent);
  border-radius: 50%;
}

.cta-inner h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  position: relative;
}

.cta-inner p { color: var(--gray-400); margin-bottom: 2rem; font-size: 1rem; position: relative; }

.cta-contacts {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.3s;
}

.cta-contact-item:hover { color: var(--accent); }

.cta-contact-item .icon-circle {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* === FOOTER === */
footer {
  background: var(--dark);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.8rem; color: var(--gray-500); }

.footer-links { display: flex; gap: 1.5rem; }

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

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

.social-links { display: flex; gap: 0.8rem; }

.social-link {
  width: 40px; height: 40px;
  background: var(--gray-800);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
}

.social-link:hover { background: var(--accent); transform: translateY(-2px); }

/* === FLOATING TELEGRAM === */
.floating-tg {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #2AABEE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(42, 171, 238, 0.4);
  transition: all 0.3s;
  animation: floatPulse 3s ease-in-out infinite;
}

.floating-tg:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(42, 171, 238, 0.6); }
.floating-tg svg { width: 28px; height: 28px; fill: white; }

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

/* === MOBILE MENU === */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  backdrop-filter: blur(20px);
}

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

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 3px;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--accent); }

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* === RELATED SERVICES === */
.related-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

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

@media (max-width: 768px) {
  nav { display: none; }
  .burger { display: flex; }
  .header-phones { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 1.5rem; }
  .cta-inner { padding: 3rem 1.5rem; }
  .cta-contacts { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .floating-tg { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .floating-tg svg { width: 24px; height: 24px; }
  .page-hero h1 { font-size: 2.5rem; }
  .related-grid { grid-template-columns: 1fr; }
  .price-table { overflow-x: auto; }
}
