:root {
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  --accent-500: #f59e0b;
  --green-500: #10b981;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --border-light: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --radius: 1rem;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.gradient {
  background: linear-gradient(135deg, var(--primary-600), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: 70px;
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
}

.logo-icon { font-size: 1.6rem; }
.logo-text span:first-child { color: var(--primary-600); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--primary-600); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-600);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -8px var(--primary-600);
}

.btn-outline {
  background: transparent;
  color: var(--primary-600);
  border: 2px solid var(--primary-600);
}
.btn-outline:hover {
  background: var(--primary-600);
  color: white;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent-500);
  color: white;
}
.btn-accent:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(37,99,235,0.12);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-700);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== SECTION ===== */
.section { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.section-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* ===== ADVANTAGES ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.advantage-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  text-align: center;
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}

.advantage-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.advantage-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.advantage-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-primary);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-600);
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.service-link {
  color: var(--primary-600);
  font-weight: 600;
  text-decoration: none;
}
.service-link:hover { text-decoration: underline; }

/* ===== GEOGRAPHY ===== */
.geo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.geo-tag {
  padding: 0.5rem 1.2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.geo-tag:hover {
  background: var(--primary-600);
  color: white;
  border-color: var(--primary-600);
  transform: translateY(-2px);
}

/* ===== CASES ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-card {
  background: var(--bg-primary);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-result {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-500);
  margin-bottom: 0.5rem;
}
.case-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.case-city {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.case-detail {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== COMPARISON TABLE ===== */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: var(--bg-secondary);
  font-weight: 600;
}
.comparison-table .highlight {
  color: var(--primary-600);
  font-weight: 700;
}
.comparison-table tr:last-child td { border-bottom: none; }

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-primary);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.review-header { margin-bottom: 0.5rem; }
.review-name {
  font-weight: 700;
  font-size: 1.05rem;
}
.review-company {
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.review-stars {
  color: var(--accent-500);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.review-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  background: var(--bg-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-secondary); }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-600);
  transition: transform 0.3s;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FORM ===== */
.form-section { padding: 5rem 0; }

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.form-content h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.75rem; }
.form-content p { font-size: 1.1rem; opacity: 0.9; }

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: rgba(255,255,255,0.8);
}
.form-group input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input::placeholder { color: rgba(255,255,255,0.5); }
.form-group input:focus {
  outline: none;
  border-color: white;
  background: rgba(255,255,255,0.15);
}

.form-consent {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}
.form-consent a { color: white; }

/* ===== SEO TEXT ===== */
.seo-text { padding: 3rem 0; background: var(--bg-secondary); }

.seo-article {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.seo-article h2 { font-size: 1.8rem; color: var(--text-primary); margin-bottom: 1.5rem; }
.seo-article h3 { font-size: 1.3rem; color: var(--text-primary); margin: 1.5rem 0 0.75rem; }
.seo-article p { margin-bottom: 1rem; }
.seo-article ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.seo-article li { margin-bottom: 0.4rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}
.footer h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.4rem; }
.footer ul a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer ul a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ===== FLOAT TG ===== */
.float-tg {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 30px -6px rgba(42,171,238,0.5);
  transition: all 0.3s;
}
.float-tg:hover { transform: translateY(-3px) scale(1.03); }
.float-tg svg { width: 1.4rem; height: 1.4rem; }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary-600);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 25px -6px var(--primary-600);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s;
  pointer-events: none;
}
.scroll-top.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.scroll-top:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats { max-width: 500px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-wrapper { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    gap: 1rem;
  }
  .nav.open { display: flex; }
  .burger { display: flex; }

  .hero { padding: 100px 0 50px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-text { font-size: 1rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; padding: 1.5rem; }

  .section { padding: 3rem 0; }
  .section-header h2 { font-size: 1.8rem; }

  .advantages-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .comparison-table { min-width: 400px; font-size: 0.85rem; }
  .comparison-table th,
  .comparison-table td { padding: 0.75rem 1rem; }

  .float-tg span { display: none; }
  .float-tg { padding: 0.7rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.25rem; }
  .stat-number { font-size: 2rem; }
  .geo-tag { font-size: 0.8rem; padding: 0.4rem 0.9rem; }
  .form-group input { font-size: 0.9rem; }
}
.logo-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  flex-shrink: 0;
}