/* ==============================================================
   site_16 — Signal | JetBrains Mono + Inter | #7C3AED / #6B7280
   Light theme · Tech · Digital networks · Matrix effect
   ============================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary:      #5B21B6;
  --primary-dark: #4C1D95;
  --accent:       #7C3AED;
  --accent-mid:   #8B5CF6;
  --accent-light: #DDD6FE;
  --bg:           #FFFFFF;
  --bg-alt:       #F5F3FF;
  --bg-subtle:    #FAFAFA;
  --text:         #111827;
  --text-light:   #374151;
  --muted:        #6B7280;
  --border:       #E5E7EB;
  --border-light: #F3F4F6;
  --dark:         #0F0A1E;
  --white:        #FFFFFF;
  --success:      #059669;
  --danger:       #DC2626;
  --mono:         'JetBrains Mono', 'Consolas', monospace;
  --sans:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:       4px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --shadow-sm:    0 1px 4px rgba(124,58,237,0.06);
  --shadow:       0 4px 20px rgba(124,58,237,0.10);
  --shadow-lg:    0 16px 48px rgba(124,58,237,0.18);
  --container:    1200px;
  --transition:   220ms cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; max-width: 100vw; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
h1,h2,h3,h4 { font-family: var(--sans); font-weight: 700; line-height: 1.15; color: var(--text); letter-spacing: -0.02em; }
h1 { font-size: clamp(28px, 4.2vw, 52px); }
h2 { font-size: clamp(22px, 3vw, 38px); margin-bottom: 12px; }
h3 { font-size: clamp(15px, 1.7vw, 19px); }
p { color: var(--text-light); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; position: relative; }

/* Mono accent label */
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.section-title { font-size: clamp(22px,3vw,38px); font-weight: 700; color: var(--text); margin-bottom: 12px; }
.section-subtitle { color: var(--muted); font-size: 16px; margin-bottom: 48px; max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-family: var(--sans); font-size: 15px; font-weight: 600; border: 2px solid transparent; border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition); white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(124,58,237,0.40); }
.btn-ghost { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.90); border-color: rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.60); color: var(--white); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); transition: box-shadow var(--transition); }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(124,58,237,0.10); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; color: inherit; }
.logo:hover { color: inherit; }
.logo__mark { width: 38px; height: 38px; background: var(--accent); color: var(--white); font-family: var(--mono); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); flex-shrink: 0; letter-spacing: -0.05em; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-weight: 700; font-size: 15px; color: var(--text); }
.logo__tag { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.header-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-nav a { padding: 6px 14px; font-size: 14px; font-weight: 500; color: var(--muted); border-radius: var(--radius-md); transition: all var(--transition); white-space: nowrap; }
.header-nav a:hover { color: var(--accent); background: var(--bg-alt); }
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; }
.header-phone__num { font-weight: 700; font-size: 15px; color: var(--text); font-family: var(--mono); }
.header-phone__hint { font-size: 11px; color: var(--muted); }
.header-phone:hover .header-phone__num { color: var(--accent); }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--accent); font-size: 20px; margin-left: auto; }

/* Hero — dark with matrix rain effect via CSS */
.hero {
  background: #0F0A1E;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
/* Matrix grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
/* Glow */
.hero::after {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.20) 0%, transparent 65%);
  pointer-events: none;
}

/* Animated matrix columns */
.hero-matrix {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.matrix-col {
  position: absolute;
  top: 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(124,58,237,0.25);
  animation: matrix-fall linear infinite;
  white-space: nowrap;
  writing-mode: vertical-lr;
  letter-spacing: 0.1em;
}
@keyframes matrix-fall {
  from { transform: translateY(-100%); }
  to   { transform: translateY(110vh); }
}

.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: var(--accent-mid); background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.30); padding: 5px 12px; border-radius: var(--radius-md); margin-bottom: 20px; }
.dot { width: 6px; height: 6px; background: var(--accent-mid); border-radius: 50%; display: inline-block; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero__text h1 { color: var(--white); margin-bottom: 20px; }
.hero__text h1 span { color: var(--accent-mid); }
.hero__sub { color: rgba(255,255,255,0.65); font-size: 16px; line-height: 1.65; margin-bottom: 36px; max-width: 500px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__metrics { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(124,58,237,0.20); }
.hero__metric-num { font-size: 26px; font-weight: 700; color: var(--white); line-height: 1; font-family: var(--mono); }
.hero__metric-label { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 4px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.05em; }
.hero__visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero__visual-blob { position: absolute; inset: -20%; background: radial-gradient(ellipse at center, rgba(124,58,237,0.15) 0%, transparent 65%); pointer-events: none; }
.hero__visual svg { width: 100%; max-width: 480px; height: auto; }

/* Pains */
.pains { background: var(--bg-subtle); }
.pains__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.pain { background: var(--bg); border: 1px solid var(--border); padding: 24px; border-radius: var(--radius-lg); transition: all var(--transition); }
.pain:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--accent-mid); }
.pain__icon { width: 44px; height: 44px; background: var(--bg-alt); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 18px; margin-bottom: 16px; }
.pain h3 { font-family: var(--mono); font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--accent); letter-spacing: -0.02em; }
.pain p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Services — mono titles */
.services { background: var(--bg); }
.services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service { background: var(--bg); border: 1px solid var(--border); padding: 28px; border-radius: var(--radius-lg); display: flex; flex-direction: column; transition: all var(--transition); position: relative; overflow: hidden; }
.service::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: transparent; transition: background var(--transition); }
.service:hover { border-color: var(--accent-mid); box-shadow: var(--shadow); }
.service:hover::before { background: linear-gradient(90deg, var(--accent), var(--accent-mid)); }
.service__visual { width: 56px; height: 56px; color: var(--accent); margin-bottom: 20px; flex-shrink: 0; }
.service__visual svg { width: 56px; height: 56px; }
.service__body { flex: 1; display: flex; flex-direction: column; }
.service__body h3 { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 10px; letter-spacing: -0.02em; line-height: 1.3; }
.service__desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.service__features { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; flex: 1; }
.service__features li { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-left: 18px; position: relative; }
.service__features li::before { content: '>'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.service__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto; }
.service__price { font-size: 13px; color: var(--muted); }
.service__price strong { font-size: 16px; font-weight: 700; color: var(--text); font-family: var(--mono); }
.service__btn { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent); }
.service__btn:hover { color: var(--primary); }

/* Advantages */
.advantages { background: #0F0A1E; position: relative; overflow: hidden; }
.advantages::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px); background-size: 32px 32px; }
.advantages .section-label { color: var(--accent-mid); }
.advantages .section-title { color: var(--white); }
.advantages .section-subtitle { color: rgba(255,255,255,0.50); }
.advantages__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; position: relative; }
.advantage { background: rgba(124,58,237,0.06); border: 1px solid rgba(124,58,237,0.20); border-radius: var(--radius-lg); padding: 28px 24px; transition: all var(--transition); }
.advantage:hover { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.45); }
.advantage__num { font-family: var(--mono); font-size: clamp(26px,4vw,40px); font-weight: 700; color: var(--accent-mid); line-height: 1; margin-bottom: 8px; }
.advantage h3 { color: var(--white); font-size: 15px; margin-bottom: 8px; }
.advantage p { color: rgba(255,255,255,0.45); font-size: 14px; line-height: 1.55; }

/* Steps */
.steps { background: var(--bg-subtle); }
.steps__list { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; counter-reset: step-counter; position: relative; }
.steps__list::after { content: ''; position: absolute; top: 28px; left: calc(10% + 14px); right: calc(10% + 14px); height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 6px, transparent 6px, transparent 12px); }
.step { padding: 0 12px; position: relative; text-align: center; }
.step::before { content: counter(step-counter, decimal-leading-zero); counter-increment: step-counter; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--bg); border: 1.5px solid var(--accent-mid); border-radius: var(--radius-md); font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--accent); margin: 0 auto 20px; position: relative; z-index: 1; }
.step h3 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Portfolio */
.portfolio { background: var(--bg); }
.portfolio__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.portfolio-item { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.portfolio-item:hover { border-color: var(--accent-mid); box-shadow: var(--shadow); }
.portfolio-item__visual { height: 220px; background: linear-gradient(135deg, #1A1033, #2D1B69); display: flex; align-items: center; justify-content: center; color: var(--accent-mid); position: relative; overflow: hidden; }
.portfolio-item__visual svg { width: 80px; height: 80px; opacity: 0.30; }
.portfolio-item__label { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--white); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-md); font-family: var(--mono); }
.portfolio-item__body { padding: 20px 24px; }
.portfolio-item__body h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.portfolio-item__meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.portfolio-item__result { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--success); background: rgba(5,150,105,0.08); padding: 3px 10px; border-radius: var(--radius-md); }
.portfolio-item__result::before { content: '✓'; }

/* Reviews */
.reviews { background: var(--bg-alt); }
.reviews__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.review { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all var(--transition); }
.review:hover { border-color: var(--accent-mid); box-shadow: var(--shadow-sm); }
.review__stars { color: #F59E0B; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.review__text { font-size: 14px; line-height: 1.7; color: var(--text-light); margin-bottom: 20px; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 40px; height: 40px; background: var(--accent); color: var(--white); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; font-family: var(--mono); }
.review__meta { display: flex; flex-direction: column; line-height: 1.3; }
.review__meta strong { font-size: 14px; color: var(--text); }
.review__meta span { font-size: 12px; color: var(--muted); }

/* Form */
.form-section { background: #0F0A1E; padding: 88px 0; position: relative; overflow: hidden; }
.form-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(124,58,237,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(124,58,237,0.07) 1px, transparent 1px); background-size: 32px 32px; }
.form-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; position: relative; z-index: 1; }
.form-section__text h2 { color: var(--white); margin-bottom: 16px; }
.form-section__lead { color: rgba(255,255,255,0.65); font-size: 16px; line-height: 1.65; margin-bottom: 28px; }
.form-section__perks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.form-section__perks li { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,0.65); padding-left: 22px; position: relative; }
.form-section__perks li::before { content: '>'; position: absolute; left: 0; color: var(--accent-mid); font-weight: 700; }
.form-card { background: var(--bg); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.form-card__sub { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group textarea { width: 100%; padding: 11px 14px; font-family: var(--sans); font-size: 15px; color: var(--text); background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-md); outline: none; resize: vertical; transition: border-color var(--transition), box-shadow var(--transition); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,58,237,0.12); }
.form-policy { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-policy a { color: var(--accent); }
.form-success { text-align: center; padding: 24px 0; }
.form-success__icon { width: 56px; height: 56px; background: rgba(5,150,105,0.08); border: 2px solid var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--success); margin: 0 auto 16px; }
.form-success h3 { color: var(--text); margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--muted); }
#form-error { color: var(--danger); font-size: 13px; margin-top: 8px; padding: 8px 12px; background: rgba(220,38,38,0.06); border-radius: var(--radius-md); border-left: 3px solid var(--danger); }

/* FAQ */
.faq { background: var(--bg-subtle); }
.faq__list { display: flex; flex-direction: column; gap: 4px; max-width: 820px; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: border-color var(--transition); }
.faq-item.is-open, .faq-item:hover { border-color: var(--accent-mid); }
.faq-item__q { width: 100%; text-align: left; padding: 18px 24px; background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item__q::after { content: '+'; font-family: var(--mono); font-size: 20px; color: var(--accent); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.is-open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 320ms ease; }
.faq-item__a-inner { padding: 0 24px 20px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* SEO */
.seo-text { background: var(--bg); border-top: 1px solid var(--border); padding: 72px 0; }
.seo-text__inner { max-width: 820px; }
.seo-text__inner h2 { font-size: 22px; color: var(--text); margin-bottom: 20px; }
.seo-text__inner p { font-size: 15px; line-height: 1.75; color: var(--muted); margin-bottom: 16px; }
.seo-text__inner strong { color: var(--text); }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer-col h4 { color: var(--white); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.40); }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.40); margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent-mid); }
.footer-contacts { list-style: none; }
.footer-contacts li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.40); margin-bottom: 10px; }
.footer-contacts li i { color: var(--accent-mid); width: 14px; flex-shrink: 0; margin-top: 2px; }
.footer-contacts a { display: inline; color: rgba(255,255,255,0.65); margin: 0; }
.footer-contacts a:hover { color: var(--accent-mid); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(124,58,237,0.15); font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom a { color: rgba(255,255,255,0.25); }
.footer-bottom a:hover { color: var(--accent-mid); }

/* Popup */
.popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 300ms ease; }
.popup-overlay.is-visible { opacity: 1; pointer-events: all; }
.popup { background: var(--bg); border-radius: var(--radius-lg); padding: 44px; max-width: 440px; width: 100%; position: relative; text-align: center; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.popup::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-mid)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.popup__close { position: absolute; top: 14px; right: 14px; background: none; border: none; cursor: pointer; font-size: 24px; color: var(--muted); padding: 4px; transition: color var(--transition); font-family: var(--mono); }
.popup__close:hover { color: var(--danger); }
.popup__icon { width: 52px; height: 52px; background: var(--bg-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 20px; margin: 0 auto 16px; }
.popup__title { color: var(--text); margin-bottom: 10px; }
.popup__text { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.popup__btn { width: 100%; }
.popup__note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 12px; }

/* Messenger */
.messenger-buttons { position: fixed; bottom: 28px; right: 28px; display: flex; flex-direction: column; gap: 10px; z-index: 90; }
.messenger-btn { width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,0.25); transition: transform var(--transition); font-size: 13px; font-weight: 700; }
.messenger-btn:hover { transform: scale(1.08); color: var(--white); }
.messenger-btn svg { width: 24px; height: 24px; }
.messenger-btn--tg { background: #229ED9; }
.messenger-btn--max { background: var(--accent); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1100px) { .pains__grid { grid-template-columns: repeat(2,1fr); } .services__grid { grid-template-columns: repeat(2,1fr); } .footer-grid { grid-template-columns: repeat(2,1fr); } .steps__list { grid-template-columns: repeat(3,1fr); } .steps__list::after { display: none; } }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { display: none; } .advantages__grid { grid-template-columns: repeat(2,1fr); } .form-section__grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .header-cta .btn { display: none; }
  .header-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 16px 24px; gap: 2px; box-shadow: var(--shadow); }
  .header-nav.is-open { display: flex; }
  .header-nav a { padding: 12px 16px; }
  .header-phone__hint { display: none; }
  .burger { display: flex; }
  .hero { padding: 100px 0 60px; }
  .pains__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .advantages__grid { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) { .container { padding: 0 16px; } .steps__list { grid-template-columns: 1fr; } .hero__actions { flex-direction: column; } .hero__actions .btn { width: 100%; } }
