/* ===== CSS Variables ===== */
:root {
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: rgba(34,197,94,0.12);
  --secondary: #0f172a;
  --secondary-mid: #1e293b;
  --bg: #ffffff;
  --bg-muted: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--secondary);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,197,94,0.3); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--secondary); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-primary { background: var(--primary-light); color: var(--primary); border: 1px solid rgba(34,197,94,0.3); }
.badge-outline { background: transparent; border: 1px solid rgba(34,197,94,0.4); color: var(--primary); }

/* ===== Animations ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 1rem; font-weight: 800; color: var(--secondary); line-height: 1; }
.logo-sub { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); transition: color 0.2s; }
.site-nav a:hover { color: var(--primary); }
.header-contacts { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.header-phone { text-align: right; }
.header-phone a { font-weight: 800; font-size: 1.1rem; color: var(--secondary); display: block; }
.header-phone a:hover { color: var(--primary); }
.header-phone span { font-size: 0.7rem; color: var(--text-muted); }
.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--secondary); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1024px) { .site-nav { display: none; } }
@media (max-width: 1024px) {
  .site-nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 80px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 12px 0; z-index: 99; }
  .site-nav.open a { padding: 12px 24px; }
  .nav-toggle { display: block; }
}
@media (max-width: 640px) { .header-contacts .btn { display: none; } .logo-text { display: none; } }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 96px 0 128px;
  background: var(--secondary);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2322c55e' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.hero-title { color: white; margin-bottom: 24px; font-size: clamp(2.4rem, 6vw, 4.8rem); }
.hero-title span { color: var(--primary); }
.hero-desc { color: #94a3b8; font-size: 1.15rem; max-width: 600px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-hint { font-size: 0.85rem; color: #64748b; max-width: 220px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-value { font-size: 2.2rem; font-weight: 900; color: white; }
.stat-label { font-size: 0.85rem; color: #64748b; margin-top: 4px; }
@media (max-width: 640px) { .hero-stats { grid-template-columns: 1fr; gap: 16px; } .hero { padding: 64px 0 80px; } }

/* ===== SECTION COMMON ===== */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--secondary); }
.section-muted { background: var(--bg-muted); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header h2 { color: var(--secondary); margin-bottom: 16px; }
.section-header.light h2 { color: white; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }
.section-header.light p { color: #94a3b8; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}
.service-card:hover { border-color: rgba(34,197,94,0.5); box-shadow: 0 16px 40px rgba(34,197,94,0.08); transform: translateY(-4px); }
.service-icon { width: 64px; height: 64px; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.8rem; transition: transform 0.3s; }
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 { color: var(--secondary); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: all 0.3s ease; }
.review-card:hover { border-color: rgba(34,197,94,0.3); box-shadow: var(--shadow); }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star { color: #fbbf24; font-size: 1.1rem; }
.review-text { font-style: italic; color: var(--text); line-height: 1.7; margin-bottom: 24px; font-size: 0.97rem; }
.review-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border); }
.reviewer-name { font-weight: 700; color: var(--secondary); }
.reviewer-role { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.review-date { font-size: 0.78rem; color: var(--text-muted); }
@media (max-width: 700px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-text h2 { color: var(--secondary); margin-bottom: 20px; }
.why-text > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 40px; line-height: 1.7; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.feature { display: flex; gap: 16px; }
.feature-icon { width: 28px; height: 28px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.feature h4 { color: var(--secondary); font-size: 1rem; margin-bottom: 6px; }
.feature p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.why-visual { position: relative; }
.why-visual-inner { background: var(--secondary); border-radius: var(--radius-lg); aspect-ratio: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.why-card-inner { background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 40px; text-align: center; max-width: 280px; }
.why-card-inner .big-icon { font-size: 4rem; margin-bottom: 16px; }
.why-card-inner h3 { color: white; font-size: 1.5rem; margin-bottom: 10px; }
.why-card-inner p { color: #94a3b8; font-size: 0.875rem; line-height: 1.6; }
.why-blob { position: absolute; bottom: -24px; left: -24px; width: 180px; height: 180px; background: var(--primary); border-radius: 50%; filter: blur(60px); opacity: 0.4; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } .why-visual { display: none; } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }

/* ===== LICENSES ===== */
.licenses-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.license-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 32px; display: flex; gap: 24px; transition: all 0.3s ease; }
.license-card:hover { border-color: rgba(34,197,94,0.4); background: rgba(255,255,255,0.08); }
.license-icon { width: 56px; height: 56px; background: rgba(34,197,94,0.15); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.5rem; }
.license-card h3 { color: white; font-size: 1rem; margin-bottom: 8px; }
.license-card p { color: #94a3b8; font-size: 0.875rem; line-height: 1.6; margin-bottom: 12px; }
@media (max-width: 700px) { .licenses-grid { grid-template-columns: 1fr; } }

/* ===== PROCESS ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 32px; left: 8%; right: 8%; height: 1px; border-top: 2px dashed rgba(34,197,94,0.2); pointer-events: none; }
.step { position: relative; z-index: 1; }
.step-num { width: 64px; height: 64px; background: rgba(34,197,94,0.1); border: 2px solid rgba(34,197,94,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 900; color: var(--primary); margin-bottom: 24px; }
.step h3 { color: var(--secondary); font-size: 1.05rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; }
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } .process-steps::before { display: none; } }
@media (max-width: 580px) { .process-steps { grid-template-columns: 1fr; } }

/* ===== LEAD FORM ===== */
.lead-section { background: var(--bg-muted); }
.lead-wrap { max-width: 980px; margin: 0 auto; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; display: grid; grid-template-columns: 2fr 3fr; }
.lead-info { background: var(--secondary); padding: 48px 40px; display: flex; flex-direction: column; justify-content: space-between; }
.lead-info h3 { color: white; font-size: 1.7rem; margin-bottom: 16px; }
.lead-info > p { color: #94a3b8; line-height: 1.7; font-size: 0.95rem; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-item-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-item-label { font-size: 0.72rem; color: #64748b; margin-bottom: 2px; }
.contact-item a, .contact-item span { font-weight: 700; color: white; font-size: 0.95rem; }
.contact-item a:hover { color: var(--primary); }
.lead-form-wrap { padding: 48px 40px; }
.lead-form-wrap h3 { color: var(--secondary); font-size: 1.4rem; margin-bottom: 8px; }
.lead-form-wrap p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--secondary); margin-bottom: 8px; }
.form-group label .req { color: var(--primary); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }
.form-control.error { border-color: #ef4444; }
.field-error { font-size: 0.78rem; color: #ef4444; margin-top: 4px; display: none; }
.field-error.show { display: block; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea.form-control { min-height: 100px; resize: vertical; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-notice { font-size: 0.78rem; color: var(--text-muted); margin-top: 10px; text-align: center; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success .success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.form-success h3 { color: var(--secondary); margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }
.form-error-msg { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 12px 16px; border-radius: 8px; font-size: 0.875rem; margin-bottom: 16px; display: none; }
@media (max-width: 800px) { .lead-wrap { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } .lead-form-wrap, .lead-info { padding: 32px 24px; } }

/* ===== ARTICLES ===== */
.articles-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.articles-header h2 { color: var(--secondary); }
.articles-header p { color: var(--text-muted); font-size: 1.05rem; margin-top: 12px; }
.articles-header .view-all { color: var(--primary); font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 6px; flex-shrink: 0; transition: gap 0.2s; }
.articles-header .view-all:hover { gap: 10px; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s ease; cursor: pointer; }
.article-card:hover { border-color: rgba(34,197,94,0.4); box-shadow: 0 16px 40px rgba(34,197,94,0.08); transform: translateY(-4px); }
.article-thumb { height: 160px; background: var(--secondary); display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; overflow: hidden; }
.article-thumb::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(34,197,94,0.03) 20px, rgba(34,197,94,0.03) 40px); }
.article-body { padding: 24px; }
.article-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.article-cat { background: var(--primary-light); color: var(--primary); padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.article-date { font-size: 0.75rem; color: var(--text-muted); }
.article-card h3 { color: var(--secondary); font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; transition: color 0.2s; }
.article-card:hover h3 { color: var(--primary); }
.article-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.article-read { font-size: 0.78rem; color: var(--text-muted); }
@media (max-width: 900px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .articles-grid { grid-template-columns: 1fr; } .articles-header { flex-direction: column; align-items: flex-start; } }

/* ===== MAP ===== */
.map-wrap { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 2fr; }
.map-info { padding: 40px; background: var(--card); display: flex; flex-direction: column; gap: 28px; }
.map-info h3 { color: var(--secondary); }
.map-contacts { display: flex; flex-direction: column; gap: 20px; }
.map-contact-item { display: flex; gap: 14px; align-items: flex-start; }
.map-contact-icon { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; margin-top: 2px; font-size: 1.1rem; }
.map-contact-item strong { display: block; font-size: 0.9rem; color: var(--secondary); margin-bottom: 3px; }
.map-contact-item span, .map-contact-item a { font-size: 0.875rem; color: var(--text-muted); }
.map-contact-item a:hover { color: var(--primary); }
.map-iframe { min-height: 400px; }
.map-iframe iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
@media (max-width: 800px) { .map-wrap { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
  font-family: inherit;
}
.faq-question:hover { color: var(--primary); }
.faq-question.open { color: var(--primary); }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s ease; width: 20px; height: 20px; }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-answer.open { max-height: 400px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.7; }

/* ===== FOOTER ===== */
.site-footer { background: var(--secondary); color: #94a3b8; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-brand .footer-logo { font-size: 1.8rem; font-weight: 900; color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link { width: 40px; height: 40px; background: rgba(255,255,255,0.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all 0.2s; }
.social-link:hover { background: var(--primary); color: var(--secondary); transform: translateY(-2px); }
.social-link.tg:hover { background: #2aabee; color: white; }
.social-link.max:hover { background: #0077ff; color: white; }
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 24px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li { font-size: 0.875rem; }
.footer-col ul a { transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-col ul a:hover { color: var(--primary); }
.footer-col address { font-style: normal; display: flex; flex-direction: column; gap: 14px; }
.footer-col address li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; }
.footer-col address .icon { color: var(--primary); flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== MESSENGER WIDGET ===== */
.messenger-widget { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.messenger-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--secondary); border: none; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 6px 24px rgba(34,197,94,0.4); transition: all 0.25s ease; cursor: pointer; }
.messenger-btn:hover { transform: scale(1.1); }
.messenger-links { display: flex; flex-direction: column; gap: 10px; transform-origin: bottom right; }
.messenger-links.hidden { display: none; }
.messenger-link { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 50px; font-weight: 700; font-size: 0.875rem; text-decoration: none; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap; }
.messenger-link:hover { transform: translateX(-4px); box-shadow: var(--shadow-lg); }
.messenger-link.tg { background: #2aabee; color: white; }
.messenger-link.max { background: #0077ff; color: white; }
.messenger-link .msg-icon { font-size: 1.1rem; }

/* ===== ADMIN PAGE ===== */
.admin-header { background: var(--secondary); color: white; padding: 20px 0; margin-bottom: 40px; }
.admin-header .admin-inner { display: flex; justify-content: space-between; align-items: center; }
.admin-title { font-size: 1.3rem; font-weight: 800; }
.admin-back a { color: #94a3b8; font-size: 0.875rem; }
.admin-back a:hover { color: var(--primary); }
.leads-table-wrap { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.leads-table { width: 100%; border-collapse: collapse; }
.leads-table th { background: var(--bg-muted); padding: 14px 16px; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 700; }
.leads-table td { padding: 14px 16px; border-top: 1px solid var(--border); font-size: 0.9rem; color: var(--text); vertical-align: top; }
.leads-table tr:hover td { background: var(--bg-muted); }
.no-leads { text-align: center; padding: 60px 24px; color: var(--text-muted); }

/* ===== UTILS ===== */
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
