/* ==== MICRO-DEV — общий стиль страниц услуг ==== */
:root { --acc: #C6FF3E; --bg: #0C0E0A; --fg: #EDEFE6; --muted: #A8B29C; --dim: #7A8470; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: 'Manrope', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--acc); color: var(--bg); }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
img { max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--acc); color: var(--bg); padding: 12px 18px; font-family: 'IBM Plex Mono', monospace; }
.skip-link:focus { left: 12px; top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .5; } }
@keyframes gridDrift { from { background-position: 0 0; } to { background-position: 0 64px; } }

.bg-grid { position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(color-mix(in srgb, var(--acc) 4.5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--acc) 4.5%, transparent) 1px, transparent 1px); background-size: 64px 64px; animation: gridDrift 8s linear infinite; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; background: rgba(12,14,10,0.75); backdrop-filter: blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--acc) 14%, transparent); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.logo .dot { display: inline-flex; width: 14px; height: 14px; background: var(--acc); box-shadow: 0 0 18px color-mix(in srgb, var(--acc) 80%, transparent); animation: pulseDot 2.4s ease-in-out infinite; }
.logo .name { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: 0.04em; }
.logo .sub { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--dim); letter-spacing: 0.12em; }
.site-nav { display: flex; align-items: center; gap: 26px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
.site-nav a { color: var(--muted); text-decoration: none; letter-spacing: 0.08em; transition: color .2s; }
.site-nav a:hover { color: var(--acc); }
.nav-cta { color: var(--bg) !important; background: var(--acc); padding: 10px 20px; font-weight: 500; transition: box-shadow .2s, transform .2s; }
.nav-cta:hover { box-shadow: 0 0 28px color-mix(in srgb, var(--acc) 55%, transparent); transform: translateY(-2px); }

main { position: relative; z-index: 2; }

/* Breadcrumbs */
.breadcrumbs { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--dim); letter-spacing: 0.06em; padding-top: 120px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--acc); }
.breadcrumbs span { color: var(--acc); }

/* Sections */
.section { padding: 64px 0; position: relative; }
.eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--acc); letter-spacing: 0.15em; margin: 0 0 18px; }
h1.title { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(30px, 5.2vw, 60px); line-height: 1.05; margin: 0 0 22px; letter-spacing: -0.01em; }
h2.h { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(26px, 3.6vw, 42px); margin: 0 0 28px; }
h3 { font-family: 'Unbounded', sans-serif; font-weight: 600; }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 760px; text-wrap: pretty; }
.prose p { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 820px; text-wrap: pretty; }
.prose strong { color: var(--fg); font-weight: 600; }

/* Chips / tags */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; border: 1px solid color-mix(in srgb, var(--acc) 22%, transparent); padding: 8px 12px; }
.price-tag { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 16px; font-weight: 500; color: var(--acc); border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); padding: 12px 18px; letter-spacing: 0.04em; }

/* Buttons */
.btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'IBM Plex Mono', monospace; font-size: 14px; letter-spacing: 0.08em; padding: 16px 28px; transition: box-shadow .2s, transform .2s, background .2s, border-color .2s; }
.btn-primary { background: var(--acc); color: var(--bg); font-weight: 500; }
.btn-primary:hover { box-shadow: 0 0 32px color-mix(in srgb, var(--acc) 50%, transparent); transform: translateY(-3px); }
.btn-ghost { border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); color: var(--fg); }
.btn-ghost:hover { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 8%, transparent); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: color-mix(in srgb, var(--acc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 16%, transparent); }
.grid .cell { background: var(--bg); padding: 30px 28px; transition: background .3s; }
.grid .cell:hover { background: #11150C; }
.grid .cell .g { font-family: 'IBM Plex Mono', monospace; font-size: 20px; color: var(--acc); }
.grid .cell h3 { font-size: 18px; margin: 16px 0 10px; line-height: 1.3; }
.grid .cell p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; text-wrap: pretty; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.steps .step { border-top: 2px solid var(--acc); padding-top: 22px; }
.steps .num { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 44px; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--acc) 55%, transparent); margin-bottom: 14px; }
.steps h3 { font-size: 17px; margin: 0 0 10px; }
.steps p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.steps .dur { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--acc); margin-top: 14px; letter-spacing: 0.1em; }

/* Case highlight */
.case { border: 1px solid color-mix(in srgb, var(--acc) 22%, transparent); background: color-mix(in srgb, var(--acc) 3%, transparent); padding: 36px 32px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.case .year { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--dim); }
.case h3 { font-size: 20px; margin: 8px 0 12px; }
.case p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 640px; }
.case .metric { text-align: right; }
.case .metric .v { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 40px; color: var(--acc); }
.case .metric .l { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--dim); letter-spacing: 0.1em; margin-top: 6px; }

/* FAQ */
details.faq { border-bottom: 1px solid color-mix(in srgb, var(--acc) 20%, transparent); }
details.faq:first-of-type { border-top: 1px solid color-mix(in srgb, var(--acc) 20%, transparent); }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:hover { color: var(--acc); }
details.faq .q { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 16px; line-height: 1.4; }
details.faq .ic { font-family: 'IBM Plex Mono', monospace; font-size: 22px; color: var(--acc); transition: transform .35s; flex-shrink: 0; }
details.faq[open] .ic { transform: rotate(45deg); }
details.faq .a { margin: 0; padding: 0 4px 24px; max-width: 780px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* Other services links */
.svc-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: color-mix(in srgb, var(--acc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 16%, transparent); }
.svc-links a { background: var(--bg); padding: 22px 24px; text-decoration: none; color: var(--fg); display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .3s; }
.svc-links a:hover { background: #11150C; }
.svc-links a .n { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 15px; }
.svc-links a .ar { color: var(--acc); font-family: 'IBM Plex Mono', monospace; }

/* Form */
.lead-form { border: 1px solid color-mix(in srgb, var(--acc) 25%, transparent); background: color-mix(in srgb, var(--acc) 3%, transparent); padding: 40px; display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.lead-form .lbl { display: flex; flex-direction: column; gap: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.lead-form input, .lead-form textarea { background: var(--bg); border: 1px solid color-mix(in srgb, var(--acc) 25%, transparent); color: var(--fg); padding: 14px 16px; font-family: 'Manrope', sans-serif; font-size: 15px; outline: none; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--acc); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #5E6656; }
.lead-form button { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; background: var(--acc); color: var(--bg); font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 500; letter-spacing: 0.1em; padding: 18px; transition: box-shadow .2s, transform .2s; }
.lead-form button:hover { box-shadow: 0 0 32px color-mix(in srgb, var(--acc) 50%, transparent); transform: translateY(-2px); }
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-2col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.contact-info { font-family: 'IBM Plex Mono', monospace; font-size: 15px; display: flex; flex-direction: column; gap: 14px; font-style: normal; }
.contact-info a { color: var(--fg); text-decoration: none; }
.contact-info a:hover { color: var(--acc); }

/* Footer */
.site-footer { position: relative; z-index: 2; border-top: 1px solid color-mix(in srgb, var(--acc) 20%, transparent); padding: 40px 32px; }
.site-footer .wrap2 { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--dim); letter-spacing: 0.06em; line-height: 1.7; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--acc); }
.online { animation: blink 1.4s step-end infinite; color: var(--acc); white-space: nowrap; }

/* Reveal */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(0.22,1,0.36,1); }
.rv.in { opacity: 1; transform: translateY(0); }

/* Divider label */
.sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.sec-head .n { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--acc); letter-spacing: 0.15em; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .contact-2col { grid-template-columns: 1fr; gap: 40px; }
  .case { grid-template-columns: 1fr; }
  .case .metric { text-align: left; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-header { padding: 12px 16px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .logo .sub { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 12px; }
  .section { padding: 44px 0; }
  .breadcrumbs { padding-top: 92px; }
  .lead-form { padding: 24px 18px; }
  .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto; }
}
