/* ============================================
   TOKENS
============================================ */
:root {
  --bg: #FFFFFF;
  --bg-panel: #F6F7F6;
  --border: #E5E7E5;
  --text: #16181A;
  --text-dim: #6B7269;
  --accent: #4CAF50;
  --accent-dim: #2E7D32;
  --radius: 10px;
  --mono: 'JetBrains Mono', 'Space Mono', monospace;
  --display: 'Manrope', 'Inter Tight', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ============================================
   PARTICLE NETWORK BACKGROUND
============================================ */
#particle-net {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
}

.section-tag {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 48px;
  max-width: 480px;
}

section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary {
  background: var(--accent);
  color: #14100D;
}
.btn-primary:hover { background: #94E86A; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(76, 175, 80, 0.28); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   HEADER
============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 12, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #F3F6F3;
}
.site-header .container {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #F3F6F3;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 76px;
  width: auto;
  display: block;
}
.logo span { color: #7ED957; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #97A39C;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav a:hover { color: #F3F6F3; }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-actions .btn-ghost {
  white-space: nowrap;
  flex-shrink: 0;
  border-color: rgba(255, 255, 255, 0.15);
  color: #F3F6F3;
}
.header-actions .btn-ghost:hover { border-color: #7ED957; color: #7ED957; }

/* ============================================
   NAV WEB DROPDOWN
============================================ */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-web {
  position: absolute;
  top: 100%;
  left: -14px;
  width: 280px;
  height: 150px;
  pointer-events: none;
  z-index: 60;
}
.nav-web-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.web-line {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.3;
  stroke-dasharray: 4 4;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.web-hub {
  fill: #7ED957;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-item:hover .web-line,
.nav-item:hover .web-hub {
  opacity: 1;
}

.web-pill {
  position: absolute;
  display: inline-block;
  background: #121915;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: #97A39C;
  white-space: nowrap;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: scale(0.7) translateY(-6px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, color 0.2s ease;
}
.web-pill:hover {
  border-color: #7ED957;
  color: #F3F6F3;
}
.wp-1 { left: 16px; top: 26px; rotate: -3deg; }
.wp-2 { left: 78px; top: 62px; rotate: 2deg; }
.wp-3 { left: 38px; top: 102px; rotate: -2deg; }

.nav-item:hover .nav-web {
  pointer-events: auto;
}
.nav-item:hover .web-pill {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.nav-item:hover .wp-1 { transition-delay: 0.02s; }
.nav-item:hover .wp-2 { transition-delay: 0.08s; }
.nav-item:hover .wp-3 { transition-delay: 0.14s; }

@media (prefers-reduced-motion: reduce) {
  .web-pill, .web-line, .web-hub { transition: none; }
}
@media (max-width: 860px) {
  .nav-web { display: none; }
}

.nav-toggle { display: none; }

/* ============================================
   HERO
============================================ */
.hero {
  padding-top: 96px;
  padding-bottom: 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; align-items: center; margin-bottom: 40px; }
.hero-cta .hint {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}
.hero-stat .label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ============================================
   AMBIENT GLOW — every card gets a subtle accent outline
============================================ */
.pain-detail-grid,
.about-photo {
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.05), 0 0 22px -6px rgba(76, 175, 80, 0.16);
  transition: box-shadow 0.25s ease;
}

/* ============================================
   RANK WIDGET (hero)
============================================ */
.rank-widget {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.05), 0 0 22px -6px rgba(76, 175, 80, 0.16);
}
.rank-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.rank-header svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.rank-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  text-transform: none;
  color: var(--text-dim);
  letter-spacing: normal;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--border);
}
.rank-row:last-child { border-bottom: none; }
.rank-kw {
  font-size: 14.5px;
  color: var(--text);
}
.rank-pos {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
  flex-shrink: 0;
}
.rank-arrow {
  width: 13px;
  height: 13px;
  color: #16A34A;
}

.rank-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.rank-footer-num {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: #16A34A;
}
.rank-footer-label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
  max-width: 180px;
}
.rank-chart {
  width: 130px;
  height: 34px;
  flex-shrink: 0;
}
.rank-chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 6px rgba(22, 163, 74, 0.5);
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tag-dot { animation: none; opacity: 0.9; }
}
@media (max-width: 860px) {
  .rank-footer { flex-direction: column; align-items: flex-start; }
  .rank-chart { width: 100%; }
}

/* ============================================
   PAIN — pills + expandable detail grid
============================================ */
.pain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.pain-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.pain-pill:hover {
  border-color: var(--accent);
  color: var(--text);
}
.pain-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #14100D;
  font-weight: 700;
}

.pain-detail-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pain-detail-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.pain-detail-grid.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}
.pain-detail-grid.active { display: grid; }
.pain-detail-card {
  background: var(--bg);
  padding: 26px 24px;
  transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.pain-detail-card:hover { background: var(--bg-panel); }
.pdc-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.pdc-text {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
}

.pain-detail-single {
  display: none;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.05), 0 0 22px -6px rgba(76, 175, 80, 0.16);
}
.pain-detail-single.active { display: block; }
.pdc-text-lg {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .pain-detail-grid { grid-template-columns: 1fr 1fr; }
  .pain-detail-grid.cols-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pain-detail-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CASES — tabs + expandable detail
============================================ */
.cases-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 1px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.cases-tabs.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.case-tab {
  background: var(--bg);
  border: none;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  font-family: var(--display);
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.case-tab:hover { background: var(--bg-panel); color: var(--text); }
.case-tab.active {
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.case-tab-name {
  font-weight: 700;
  font-size: 15px;
}
.case-tab.active .case-tab-name { color: var(--accent); }
.case-tab-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
}

.case-detail {
  display: none;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 36px;
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.06), 0 0 26px -8px rgba(76, 175, 80, 0.15);
}
.case-detail.active { display: block; }

.case-detail-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 28px;
}
.case-detail-head h3 {
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 6px 0 14px;
}
.case-detail-head .hl { color: var(--accent); }
.case-detail-sub {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
}
.case-detail-quote {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}
.timelines-quote {
  max-width: 760px;
  font-size: 15.5px;
}
.av-dark-section .timelines-quote {
  border-left-color: var(--av-green);
  color: var(--av-text-dim);
}

/* ============================================
   PRICING TIERS (dedicated service pages)
============================================ */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.pricing-tier {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 28px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.pricing-tier:hover { transform: translateY(-4px); border-color: rgba(126, 217, 87, 0.4); }
.pricing-tier.featured {
  border-color: rgba(126, 217, 87, 0.5);
  box-shadow: 0 0 0 1px rgba(126, 217, 87, 0.2), 0 14px 34px -12px rgba(0, 0, 0, 0.5);
}
.pricing-tier-name {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #97A39C;
  margin-bottom: 12px;
}
.pricing-tier-price {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 800;
  color: #7ED957;
  margin-bottom: 14px;
}
.pricing-tier-price span {
  font-size: 14px;
  font-weight: 400;
  color: #97A39C;
}
.pricing-tier-desc {
  color: #C7CFC9;
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 22px;
  flex-grow: 1;
}
.pricing-tier .av-btn { width: 100%; justify-content: center; }

@media (max-width: 860px) {
  .pricing-tiers { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICE DETAIL PANELS (uslugi overview page)
============================================ */
.light-glass-section {
  position: relative;
  overflow: hidden;
}
.light-glass-section .steps-glow { opacity: 0.5; }
.light-glass-section .container { position: relative; z-index: 1; }

.service-panel {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 36px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.av-dark-section .service-panel {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.service-panel-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-panel-icon svg { width: 32px; height: 32px; }
.service-panel-icon.icon-green { background: #E8F5E9; color: #2E7D32; }
.service-panel-icon.icon-blue { background: #E3F2FD; color: #1565C0; }
.service-panel-icon.icon-purple { background: #F1E9FE; color: #6D28D9; }
.service-panel-icon.icon-orange { background: #FFF1E4; color: #C2560B; }
.service-panel-icon.icon-teal { background: #E1F7F7; color: #0D7C7C; }
.av-dark-section .service-panel-icon { background: rgba(126, 217, 87, 0.14) !important; color: var(--av-green) !important; }

.service-panel-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.av-dark-section .service-panel-num { color: var(--av-text-dim); }
.service-panel h2 { font-size: 26px; margin-bottom: 14px; }
.service-panel-lead {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 640px;
}
.av-dark-section .service-panel-lead { color: var(--av-text-dim); }
.service-panel-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-bottom: 26px;
}
.service-panel-features .feature-item { font-size: 14px; }
.service-panel-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.av-dark-section .service-panel-foot { border-top-color: rgba(255, 255, 255, 0.12); }
.service-panel-price {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
}
.av-dark-section .service-panel-price { color: var(--av-green); }
.av-dark-section .feature-item { color: var(--av-text); }

@media (max-width: 700px) {
  .service-panel { grid-template-columns: 1fr; padding: 26px; }
  .service-panel-features { grid-template-columns: 1fr; }
}

.case-detail-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.case-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 175, 80, 0.22);
}
.case-stat-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.case-stat-value {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
}

.case-chart-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px 8px;
}
.case-chart-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.ct-pill {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 5px 10px;
}
.ct-dots {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.ct-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
}
.case-chart-svg {
  width: 100%;
  height: 180px;
  display: block;
}
.case-chart-area {
  fill: rgba(76, 175, 80, 0.05);
  stroke: none;
}
.case-chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.case-chart-trend {
  stroke: var(--text-dim);
  stroke-width: 1;
  stroke-dasharray: 5 5;
  opacity: 0.6;
}
.case-chart-dot {
  fill: var(--accent);
}
.case-chart-dot.end {
  filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.45));
}

@media (max-width: 860px) {
  .cases-tabs { grid-template-columns: repeat(2, 1fr); }
  .cases-tabs.cols-3 { grid-template-columns: 1fr; }
  .case-detail-top { grid-template-columns: 1fr; }
  .case-detail { padding: 24px; }
}

/* ============================================
   PROCESS
============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  border-top: 2px solid var(--accent);
  padding-top: 20px;
}
.process-step .idx {
  font-family: var(--mono);
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 14px;
}
.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--text-dim);
  font-size: 14.5px;
}

/* ============================================
   GLASS STEPS SECTION
============================================ */
.steps-glass-section {
  position: relative;
  overflow: hidden;
}
.steps-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.steps-glow-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(126, 217, 87, 0.35) 0%, rgba(126, 217, 87, 0) 70%);
  top: -120px;
  left: -80px;
}
.steps-glow-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, rgba(96, 165, 250, 0) 70%);
  bottom: -160px;
  right: -100px;
}
.steps-glass-section .container { position: relative; z-index: 1; }

.glass-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.glass-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.glass-step {
  position: relative;
  border-top: none;
  padding: 24px 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px -12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass-step:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 217, 87, 0.45);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.55), 0 0 24px -8px rgba(126, 217, 87, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.glass-step .idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(126, 217, 87, 0.14);
  border: 1px solid rgba(126, 217, 87, 0.35);
  color: #7ED957;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.glass-step .idx svg { width: 16px; height: 16px; }
.glass-step h3 {
  color: #F3F6F3;
  font-size: 16px;
  margin-bottom: 8px;
}
.glass-step p {
  color: #97A39C;
  font-size: 13.5px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .glass-grid { grid-template-columns: repeat(3, 1fr); }
  .glass-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .glass-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .glass-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FEATURE PANEL (pricing detail content)
============================================ */
.tab-more {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
}

.feature-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-panel-title {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}
.feature-check {
  width: 15px;
  height: 15px;
  color: #16A34A;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-panel .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CONTACT
============================================ */
.contact-section { }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { color: var(--text-dim); font-size: 16px; margin-bottom: 32px; max-width: 400px; }
.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-direct-item {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 14px;
}
.contact-direct-item .label { color: var(--text-dim); }

.form-panel {
  background: linear-gradient(155deg, #171422 0%, #0F1310 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  color: #F3F6F3;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: #97A39C;
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F3F6F3;
  padding: 12px 14px;
  font-family: var(--display);
  font-size: 15px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus { border-color: #7ED957; }
.form-row textarea { resize: vertical; min-height: 90px; }
.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  background: #7ED957 !important;
  color: #14100D !important;
}
.form-note {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #97A39C;
  margin-top: 14px;
  text-align: center;
}
#form-status {
  font-family: var(--mono);
  font-size: 13px;
  margin-top: 14px;
  text-align: center;
  display: none;
}
#form-status.ok { color: var(--accent); display: block; }
#form-status.err { color: #F87171; display: block; }

.audit-bullets { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 20px; }
.audit-note { color: var(--text-dim); font-size: 14px; margin-bottom: 28px; }

/* ============================================
   AUDIENCE
============================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.audience-grid.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}
.audience-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.audience-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.audience-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(76, 175, 80, 0.25);
}
.audience-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #E8F5E9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.audience-icon svg { width: 20px; height: 20px; color: #2E7D32; }
.audience-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
}
.audience-note-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.audience-note p { color: var(--text-dim); font-size: 14.5px; margin: 0; max-width: 420px; }

@media (max-width: 900px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .audience-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .audience-grid { grid-template-columns: 1fr; }
  .audience-note { flex-direction: column; align-items: flex-start; }
  .audience-note .btn { width: 100%; justify-content: center; }
}

/* ============================================
   SERVICES GRID
============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.35);
}
.service-card-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: filter 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.75) 100%);
  transition: background 0.45s ease;
}
.service-card:hover .service-card-bg { filter: blur(8px) brightness(0.55); transform: scale(1.08); }
.service-card:hover::before { background: rgba(0, 0, 0, 0.35); }

.service-card.bg-green .service-card-bg { background-image: url('/assets/img/services/seo.jpg'); }
.service-card.bg-blue .service-card-bg { background-image: url('/assets/img/services/linkbuilding.jpg'); }
.service-card.bg-purple .service-card-bg { background-image: url('/assets/img/services/complex.jpg'); }
.service-card.bg-orange .service-card-bg { background-image: url('/assets/img/services/sites.jpg'); }
.service-card.bg-teal .service-card-bg { background-image: url('/assets/img/services/geo.jpg'); }
.service-card.bg-green2 .service-card-bg { background-image: url('/assets/img/services/ai-content.jpg'); }

.service-card h3 { font-size: 16.5px; margin-bottom: 8px; color: #fff; }
.service-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin 0.4s ease;
}
.service-card:hover p {
  max-height: 120px;
  opacity: 1;
  margin-bottom: 18px;
}
.service-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.4s ease, border 0.4s ease;
}
.service-card:hover .service-card-foot {
  max-height: 60px;
  opacity: 1;
}
.service-card-price { font-family: var(--mono); font-weight: 700; color: #7ED957; font-size: 14px; }
.service-card-more {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #14100D;
  background: #7ED957;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}
.service-card:hover .service-card-more { background: #94E86A; }
.service-card-more:hover { transform: translateX(2px); }

@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ROLE CARDS (how I work)
============================================ */
.role-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 20px;
}
.role-cards.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.role-card-v2 {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.role-card-v2:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(76, 175, 80, 0.25);
}
.role-card-v2 .audience-icon { flex-shrink: 0; }
.role-card-body { display: flex; flex-direction: column; }
.role-card-body span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding-top: 10px;
}
.role-desc {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.35s ease;
}
.role-card-v2:hover .role-desc {
  max-height: 100px;
  opacity: 1;
  margin-top: 8px;
}
.how-i-work-tags { margin-top: 4px; }

@media (max-width: 900px) {
  .role-cards { grid-template-columns: repeat(2, 1fr); }
  .role-cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .role-cards { grid-template-columns: 1fr; }
}

/* ============================================
   ABOUT
============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: center;
  padding: 20px;
}
.about-text p.lead {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 560px;
}
.about-text .pill-group {
  margin-bottom: 28px;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 32px;
}
.about-fact {
  background: var(--bg);
  padding: 20px 24px;
}
.about-fact .num {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
}
.about-fact .label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 260px; }
  .about-facts { grid-template-columns: 1fr; }
}

/* ============================================
   BREADCRUMBS
============================================ */
.breadcrumbs {
  background: #0A0F0C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  position: relative;
  z-index: 1;
}
.breadcrumbs .container {
  padding-top: 14px;
  padding-bottom: 14px;
}
.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-family: var(--mono);
  font-size: 12px;
  color: #97A39C;
}
.breadcrumbs a {
  color: #97A39C;
  transition: color 0.2s ease;
}
.breadcrumbs a:hover { color: var(--accent); }

/* ============================================
   FAQ
============================================ */
.faq-section { }
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  cursor: pointer;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--accent); }
.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer p {
  overflow: hidden;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
  padding-right: 40px;
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-item.open .faq-answer p {
  padding-bottom: 22px;
}
.faq-answer > p {
  min-height: 0;
}

/* ============================================
   TAGS
============================================ */
.tags-section { border-bottom: none; }
.tags-wrap {
  position: relative;
  max-height: 132px;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.tags-wrap.expanded {
  max-height: 2000px;
}
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-chip {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tag-chip:hover {
  border-color: var(--accent);
  color: var(--text);
}
.tags-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--bg) 90%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.tags-wrap.expanded .tags-fade {
  opacity: 0;
}
.tags-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}
.tags-toggle-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tags-toggle.open .tags-toggle-icon {
  transform: rotate(180deg);
}

/* ============================================
   USLUGI PAGE — org scheme, task cards, fit cards, service icon, final cta
============================================ */
.org-scheme-box {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.05), 0 0 22px -6px rgba(76, 175, 80, 0.16);
}
.org-scheme {
  width: 100%;
  height: auto;
  display: block;
}
.org-line {
  stroke: var(--border);
  stroke-width: 1.5;
}
.org-node {
  fill: var(--bg);
  stroke: var(--border);
  stroke-width: 1;
}
.org-node-root {
  fill: var(--accent);
  stroke: var(--accent);
}
.org-text {
  font-family: var(--mono);
  font-size: 15px;
  fill: var(--text);
}
.org-text-root {
  fill: #14100D;
  font-weight: 700;
}

.task-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.task-cards.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.task-card {
  background: var(--bg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.task-card:hover { background: var(--bg-panel); }
.task-card-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.task-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }

.case-stat-card .case-stat-value + .case-stat-label {
  margin-top: 6px;
  margin-bottom: 0;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.fit-card {
  background: var(--bg);
  padding: 26px 24px;
  transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.fit-card:hover { background: var(--bg-panel); }
.fit-situation {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 16px;
  min-height: 66px;
}
.fit-arrow {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 18px;
  margin-bottom: 8px;
}
.fit-service {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.case-stat-card.mini {
  margin-bottom: 16px;
}
.mini-case-link {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  display: inline-block;
}

.final-cta-section { border-bottom: none; }
.final-cta {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.final-cta h2 { margin-bottom: 16px; }
.final-cta p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 32px;
}

@media (max-width: 860px) {
  .task-cards { grid-template-columns: 1fr 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .org-scheme-box { margin-top: 32px; }
}
@media (max-width: 560px) {
  .task-cards { grid-template-columns: 1fr; }
}

/* ============================================
   AV HERO SLIDER (redesign — Александр Веденяпин)
   Изолированная тёмная палитра, не влияет на остальной светлый сайт
============================================ */
.av-hero,
.av-dark-section {
  --av-bg: #0A0F0C;
  --av-bg-2: #121915;
  --av-border: rgba(255, 255, 255, 0.09);
  --av-text: #F3F6F3;
  --av-text-dim: #97A39C;
  --av-green: #7ED957;
  --av-green-dark: #14100D;
  --av-purple: #A78BFA;
  --av-blue: #60A5FA;
}
.av-hero,
.av-dark-section {
  background: var(--av-bg);
  color: var(--av-text);
}

.av-dark-section .eyebrow { color: var(--av-green); }
.av-dark-section h2 { color: var(--av-text); }
.av-dark-section .section-tag { color: var(--av-text-dim); }
.av-dark-section .pain-detail-grid {
  background: var(--av-border);
  border-color: var(--av-border);
}
.av-dark-section .pain-detail-card {
  background: var(--av-bg);
}
.av-dark-section .pain-detail-card:hover { background: var(--av-bg-2); }
.av-dark-section .pdc-title { color: var(--av-text); }
.av-dark-section .pdc-text { color: var(--av-text-dim); }
.av-dark-section .role-card-v2 {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.av-dark-section .role-card-v2:hover {
  border-color: var(--av-green);
  box-shadow: 0 8px 20px -8px rgba(126, 217, 87, 0.3);
}
.av-dark-section .role-card-body span { color: var(--av-text); }
.av-dark-section .role-desc { color: var(--av-text-dim); }
.av-dark-section .audience-icon {
  background: rgba(126, 217, 87, 0.14);
}
.av-dark-section .audience-icon svg { color: var(--av-green); }
.av-dark-section .audience-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--av-text);
}
.av-dark-section .audience-card:hover {
  border-color: var(--av-green);
  box-shadow: 0 8px 20px -8px rgba(126, 217, 87, 0.3);
}
.audience-grid-glass .audience-card {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px -12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.av-dark-section .case-detail-quote {
  border-left-color: var(--av-green);
  color: var(--av-text-dim);
}

.av-hero {
  padding: 56px 0 0;
  overflow: hidden;
  position: relative;
}
.av-hero .container { position: relative; z-index: 1; }

.av-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: stretch;
  padding-bottom: 0;
}

.av-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--av-green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.av-slide-divider { color: var(--av-text-dim); }
#av-slide-tag { color: var(--av-text-dim); text-transform: none; }

.av-hero-text-block {
  min-height: 430px;
}
.av-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--av-text);
  margin-bottom: 20px;
  min-height: 3.5em;
  display: flex;
  align-items: flex-start;
}
.av-hero-sub {
  font-size: 16px;
  color: var(--av-text-dim);
  max-width: 480px;
  margin-bottom: 22px;
  line-height: 1.6;
  min-height: 1.6em;
}

.av-hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  min-height: 116px;
}
.av-hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--av-text);
}
.av-hero-bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid var(--av-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ED957' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.av-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.av-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}
.av-btn-primary {
  background: var(--av-green);
  color: var(--av-green-dark);
  box-shadow: 0 0 24px -4px rgba(76, 175, 80, 0.55);
}
.av-btn-primary:hover { background: #8fe86a; transform: translateY(-1px); }
.av-btn-ghost {
  background: transparent;
  border-color: var(--av-border);
  color: var(--av-text);
}
.av-btn-ghost:hover { border-color: var(--av-green); color: var(--av-green); }

.av-hero-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.av-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--av-border);
  background: var(--av-bg-2);
  color: var(--av-text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.av-arrow:hover { border-color: var(--av-green); color: var(--av-green); }
.av-dots { display: flex; gap: 8px; }
.av-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--av-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}
.av-dot.active {
  background: var(--av-green);
  width: 22px;
  border-radius: 4px;
}

/* Visual side */
.av-hero-visual {
  position: relative;
  min-height: 640px;
}
.av-photo-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.35) 0%, rgba(76, 175, 80, 0) 70%);
  filter: blur(10px);
  z-index: 0;
}
.av-hero-photo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 380px;
  height: auto;
  object-fit: contain;
  filter: saturate(0.97) contrast(1.03) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.av-float-card {
  position: absolute;
  z-index: 2;
  background: rgba(18, 25, 21, 0.92);
  border: 1px solid var(--av-border);
  border-radius: 12px;
  padding: 14px 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  min-width: 168px;
}
.av-float-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--av-text-dim);
  margin-bottom: 4px;
}
.av-float-value {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}
.av-float-value.av-green { color: var(--av-green); }
.av-float-value.av-purple { color: var(--av-purple); }
.av-float-value.av-blue { color: var(--av-blue); }
.av-float-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--av-text-dim);
  margin-bottom: 8px;
}
.av-float-spark, .av-float-bars { width: 100%; height: 20px; display: block; }

.av-float-1 { top: 0; right: -10px; }
.av-float-2 { top: 42%; right: 30px; }
.av-float-3 { bottom: 6%; right: -20px; }

/* Tabs strip */
.av-tabs-wrap {
  background: var(--av-bg-2);
  border-top: 1px solid var(--av-border);
  border-bottom: 1px solid var(--av-border);
}
.av-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.av-tabs::-webkit-scrollbar { display: none; }
.av-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--av-text-dim);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.av-tab svg { width: 15px; height: 15px; flex-shrink: 0; }
.av-tab:hover { color: var(--av-text); }
.av-tab.active {
  color: var(--av-green);
  border-bottom-color: var(--av-green);
}

@media (prefers-reduced-motion: reduce) {
  .av-btn, .av-arrow, .av-dot, .av-tab { transition: none; }
}

@media (max-width: 900px) {
  .av-hero-grid { grid-template-columns: 1fr; padding-bottom: 32px; }
  .av-hero-visual { min-height: 340px; margin-top: 24px; order: -1; }
  .av-hero-photo { width: 220px; height: auto; }
  .av-float-card { min-width: 140px; padding: 10px 12px; }
  .av-float-1 { top: -10px; right: 0; }
  .av-float-2 { top: 46%; right: -6px; }
  .av-float-3 { bottom: -10px; right: 0; }
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  padding: 56px 0 28px;
  background: var(--av-bg, #0A0F0C);
  color: var(--av-text, #F3F6F3);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo { display: inline-block; margin-bottom: 14px; color: var(--av-text, #F3F6F3); }
.footer-tagline {
  font-size: 13.5px;
  color: var(--av-text-dim, #97A39C);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col-title {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--av-text, #F3F6F3);
  margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col a {
  font-size: 13.5px;
  color: var(--av-text-dim, #97A39C);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--av-green, #7ED957); }
.footer-phone {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--av-text, #F3F6F3) !important;
  padding: 0 0 6px !important;
}
.footer-hours {
  font-size: 12.5px;
  color: var(--av-text-dim, #97A39C);
  margin-bottom: 18px;
}
.footer-tg-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 14px;
  background: var(--av-green, #7ED957) !important;
  color: var(--av-green-dark, #14100D) !important;
  border-color: transparent !important;
}
.footer-icons { display: flex; gap: 10px; }
.footer-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--av-text-dim, #97A39C);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-icon-btn svg { width: 17px; height: 17px; }
.footer-icon-btn:hover { border-color: var(--av-green, #7ED957); color: var(--av-green, #7ED957); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-copy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--av-text-dim, #97A39C);
}
.footer-policy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--av-text-dim, #97A39C);
}
.footer-policy:hover { color: var(--av-green, #7ED957); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; row-gap: 20px; }
  .pain-pills { gap: 8px; }
  .cases-tabs { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 64px 0; }
  .site-footer .container { flex-direction: column; gap: 16px; }
}
@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .audit-line { opacity: 1; animation: none; }
  .cursor-blink { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================
   ARTICLES (blog)
============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 26px -12px rgba(76, 175, 80, 0.25);
}
.article-card-cover {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-panel);
}
.article-card-cover-placeholder {
  background: linear-gradient(135deg, #E8F5E9 0%, #E3F2FD 100%);
}
.article-card-body { padding: 20px; }
.article-card-date {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.article-card-title {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.35;
}
.article-card-excerpt {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-more {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* article body typography (текст из Quill-редактора) */
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}
.article-body p { margin-bottom: 22px; }
.article-body h2 {
  font-size: 26px;
  margin: 40px 0 18px;
  line-height: 1.3;
}
.article-body h3 {
  font-size: 20px;
  margin: 32px 0 14px;
}
.article-body ul, .article-body ol {
  margin: 0 0 22px 22px;
}
.article-body li { margin-bottom: 8px; }
.article-body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 24px 0;
  display: block;
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-dim);
  font-style: italic;
}
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body a.btn {
  color: #14100D !important;
  text-decoration: none !important;
}
.article-body a.btn:hover { color: #14100D !important; }

.article-cta {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 26px 28px;
  margin: 8px 0 32px;
}
.article-cta-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.article-cta-text {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.article-end-cta {
  margin-top: 48px;
  padding: 40px;
  border-radius: 20px;
  background: var(--av-bg, #0A0F0C);
  text-align: center;
}
.article-end-cta .eyebrow { color: var(--av-green, #7ED957); justify-content: center; display: flex; }
.article-end-cta h2 { color: var(--av-text, #F3F6F3); font-size: 24px; margin-bottom: 12px; }
.article-end-cta p { color: var(--av-text-dim, #97A39C); margin-bottom: 22px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ============================================
   LEAD MODAL
============================================ */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 8, 6, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lead-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.lead-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(155deg, #171422 0%, #0F1310 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px;
  color: #F3F6F3;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lead-modal-overlay.open .lead-modal {
  transform: translateY(0) scale(1);
}
.lead-modal .eyebrow { color: #7ED957; }
.lead-modal h3 {
  font-size: 22px;
  margin: 6px 0 8px;
}
.lead-modal-sub {
  color: #97A39C;
  font-size: 14px;
  margin-bottom: 24px;
}
.lead-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #97A39C;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lead-modal-close svg { width: 16px; height: 16px; }
.lead-modal-close:hover { border-color: #7ED957; color: #7ED957; }

.lead-modal .form-row { margin-bottom: 16px; }
.lead-modal .form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: #97A39C;
  margin-bottom: 8px;
}
.form-optional { font-weight: 400; opacity: 0.7; }
.lead-modal .form-row input,
.lead-modal .form-row textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F3F6F3;
  padding: 12px 14px;
  font-family: var(--display);
  font-size: 15px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s ease;
}
.lead-modal .form-row input:focus,
.lead-modal .form-row textarea:focus { border-color: #7ED957; }
.lead-modal .form-row textarea { resize: vertical; min-height: 70px; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #7ED957;
  cursor: pointer;
}
.form-consent span {
  font-size: 12.5px;
  line-height: 1.5;
  color: #97A39C;
}
.form-consent a { color: #7ED957; }

.lead-modal .form-submit {
  width: 100%;
  justify-content: center;
  background: #7ED957 !important;
  color: #14100D !important;
}
#lead-modal-status {
  font-family: var(--mono);
  font-size: 13px;
  margin-top: 14px;
  text-align: center;
  display: none;
}
#lead-modal-status.ok { color: #7ED957; display: block; }
#lead-modal-status.err { color: #F87171; display: block; }
.btn.is-success {
  background: #16A34A !important;
  border-color: #16A34A !important;
  color: #fff !important;
  pointer-events: none;
}
.btn.is-error {
  background: #DC2626 !important;
  border-color: #DC2626 !important;
  color: #fff !important;
}

@media (max-width: 520px) {
  .lead-modal { padding: 28px 22px; }
}