:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #dbeafe;
  --primary-ink: #1e40af;
  --dark: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, .06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html[lang="ar"] body { font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; line-height: 1.8; }
html[lang="en"] body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
body { background: var(--light); color: var(--slate); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { max-width: 1140px; margin-inline: auto; padding-inline: 20px; }

/* Шапка */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--dark); font-size: 20px; font-weight: 700; font-family: "Inter", system-ui, sans-serif; letter-spacing: -.01em; }
.logo b { color: var(--primary); font-weight: 700; }
.logo-mark { width: 26px; height: 26px; fill: var(--primary); stroke: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { white-space: nowrap; text-decoration: none; color: var(--slate); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--slate); padding: 6px 10px; border-radius: 8px; }
.lang-switch:hover { background: var(--primary-soft); color: var(--primary-ink); }
.lang-switch svg { width: 18px; height: 18px; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 8px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 10px; border: 1px solid var(--primary); transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-ghost { background: var(--white); color: var(--dark); border-color: var(--border); }
.btn-ghost:hover { background: var(--white); border-color: var(--primary); color: var(--primary); }
.btn-light { background: var(--white); color: var(--primary-ink); border-color: var(--white); }
.btn-light:hover { background: var(--primary-soft); border-color: var(--primary-soft); }
.ico-tg { width: 20px; height: 20px; fill: currentColor; stroke: none; }

/* Типографика */
h1, h2, h3, h4 { color: var(--dark); line-height: 1.25; }
h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 19px; font-weight: 600; }
html[lang="ar"] h1, html[lang="ar"] h2 { letter-spacing: 0; line-height: 1.4; }
.lead { font-size: 19px; color: var(--slate); }
.badge { display: inline-block; background: var(--primary-soft); color: var(--primary-ink); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }

/* Первый экран */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero-note { font-size: 14px; color: var(--muted); }


/* Секции */
.section { padding: 88px 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 44px; display: flex; flex-direction: column; gap: 12px; }
.section-head p { font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.card:hover { border-color: #bfdbfe; transform: translateY(-2px); }
.card-ico { width: 46px; height: 46px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 6px; }
.card-ico svg { width: 24px; height: 24px; }

/* Фокус: аналитика команд */
.focus { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.focus-text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-inline-start: 32px; color: var(--dark); }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.focus-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); background: var(--light); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.focus-note svg { width: 20px; height: 20px; flex: none; color: #16a34a; margin-top: 2px; }
.focus-visual { background: var(--light); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 28px; }
.ring-row { display: flex; justify-content: space-between; gap: 12px; }
.ring { --p: 50; width: 104px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--p) * 1%), var(--border) 0); display: grid; place-items: center; position: relative; }
.ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--light); }
.ring span { position: relative; font-size: 11px; font-weight: 600; text-align: center; color: var(--slate); padding: 0 14px; line-height: 1.3; }
.heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.heat i { aspect-ratio: 1; border-radius: 5px; background: rgba(37, 99, 235, var(--o)); }

/* Шаги */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--white); font-weight: 700; display: grid; place-items: center; font-family: "Inter", system-ui, sans-serif; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.principles > div { display: flex; flex-direction: column; gap: 8px; padding-inline-start: 18px; border-inline-start: 3px solid var(--primary); }

/* Призыв */
.cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-ink) 100%); color: #dbeafe; border-radius: 20px; padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: var(--white); margin-bottom: 8px; }
.cta p { max-width: 560px; }

/* Внутренние страницы */
.page-hero { padding: 64px 0 48px; background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%); border-bottom: 1px solid var(--border); }
.page-hero .container { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 860px; margin-inline: auto; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }

.srv-list { display: flex; flex-direction: column; gap: 20px; }
.srv-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 46px 1fr 1fr; gap: 24px; align-items: start; box-shadow: var(--shadow); }
.srv-item .card-ico { margin: 0; }
.srv-item > div:nth-child(2) { display: flex; flex-direction: column; gap: 10px; }
.srv-item h4 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
html[lang="ar"] .srv-item h4 { text-transform: none; letter-spacing: 0; }
.srv-item .checks { gap: 8px; font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split .prose-block { display: flex; flex-direction: column; gap: 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.fact b { color: var(--dark); font-size: 17px; }
.fact span { font-size: 14px; color: var(--muted); }

.faq { max-width: 820px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.faq details[open] { border-color: #bfdbfe; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--dark); font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--primary); line-height: 1; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; }

.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.contact-main { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; box-shadow: var(--shadow); }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-side .fact { gap: 6px; }
.tg-handle { font-family: "Inter", system-ui, sans-serif; font-weight: 600; color: var(--primary-ink); font-size: 18px; }

.prose { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 22px; margin-top: 22px; }
.prose ul { padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose a { color: var(--primary); }
.prose .updated { font-size: 14px; color: var(--muted); }

/* Подвал */
.site-footer { background: var(--dark); color: #94a3b8; padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: var(--white); margin-bottom: 14px; }
.site-footer .logo b { color: #60a5fa; }
.site-footer .logo-mark { fill: #60a5fa; }
.footer-brand p { max-width: 320px; }
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:not(.logo) { text-decoration: none; transition: color .15s; }
.footer-grid a:not(.logo):hover { color: var(--white); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid #1e293b; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #64748b; }

/* Адаптив */
@media (max-width: 1080px) {
  .nav-links { display: none; position: absolute; top: 68px; inset-inline: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 8px 20px 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: 0; }
  .burger { display: flex; }
}
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .principles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .srv-item { grid-template-columns: 46px 1fr; }
  .srv-item > div:nth-child(3) { grid-column: 2; }
}
@media (max-width: 880px) {
  .nav-actions .btn-sm { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-grid, .focus, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 64px 0; }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .cards, .steps, .principles, .facts, .footer-grid { grid-template-columns: 1fr; }
  .ring { width: 88px; }
  .hero-actions .btn { width: 100%; }
  .srv-item { grid-template-columns: 1fr; padding: 24px; }
  .srv-item > div:nth-child(3) { grid-column: auto; }
  .contact-main { padding: 26px; }
}

/* Добавки внутренних страниц */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--light); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--dark); font-family: "Inter", system-ui, sans-serif; }
.company { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.company > div { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.company dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.company dd { color: var(--dark); font-weight: 600; }
.updated { font-size: 14px; color: var(--muted); }
.nf { padding: 120px 0; }
@media (max-width: 1020px) { .company { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .company { grid-template-columns: 1fr; } }

/* Превью дашбордов */
.card-link { text-decoration: none; color: inherit; }
.card-shot { display: block; margin: -12px -12px 8px; border-radius: 9px; overflow: hidden; border: 1px solid var(--border); background: #f6f8fb; aspect-ratio: 1200 / 760; }
.card-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .3s; }
.card-link:hover .card-shot img { transform: scale(1.03); }
.card-more { margin-top: auto; padding-top: 6px; color: var(--primary); font-weight: 600; font-size: 15px; }
html[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }

.srv-rows { display: flex; flex-direction: column; gap: 96px; }
.srv-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; scroll-margin-top: 96px; }
.srv-row:nth-child(even) .srv-copy { order: 2; }
.srv-copy { display: flex; flex-direction: column; gap: 16px; }
.srv-copy h2 { font-size: clamp(24px, 2.6vw, 30px); }
.srv-get { background: var(--white); border: 1px solid var(--border); border-inline-start: 3px solid var(--primary); border-radius: 8px; padding: 12px 16px; font-size: 15px; }
.srv-get b { color: var(--dark); }
.shot { display: flex; flex-direction: column; gap: 10px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .28), 0 0 0 1px rgba(15, 23, 42, .06); }
.shot figcaption { font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 880px) {
  .srv-rows { gap: 64px; }
  .srv-row { grid-template-columns: 1fr; gap: 28px; }
  .srv-row:nth-child(even) .srv-copy { order: 0; }
}

/* Галерея продукта на главной */
.section:not(.section-alt) .focus-visual { background: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gal-item { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 14px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gal-shot { display: block; border-radius: 9px; overflow: hidden; border: 1px solid var(--border); background: #f6f8fb; aspect-ratio: 1200 / 760; }
.gal-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .3s; }
.gal-shot:hover img { transform: scale(1.02); }
.gal-shot:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.gal-item figcaption { display: flex; flex-direction: column; gap: 4px; padding-inline: 6px; }
.gal-item figcaption p { font-size: 15px; }
.shot > a { display: block; }

/* Технологии */
.flow { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; margin-top: 8px; }
.flow li { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; color: var(--dark); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; inset-inline-end: -24px; top: 50%; transform: translateY(-50%); color: var(--primary); font-weight: 700; }
html[dir="rtl"] .flow li:not(:last-child)::after { content: "←"; }
.srv-copy .step-n, .tech-block .step-n { align-self: flex-start; }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tech-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.tech-block h2 { font-size: clamp(21px, 2.2vw, 24px); }
.tech-block .checks { gap: 10px; font-size: 15px; }
.sec-block { max-width: 760px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sec-block > svg { width: 40px; height: 40px; color: #16a34a; }

/* Контакты: почта и форма */
.contact-col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.contact-email { font-size: 15px; color: var(--muted); }
.contact-email a { display: inline-block; color: var(--primary-ink); font-weight: 600; overflow-wrap: anywhere; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.form-card h2 { font-size: clamp(22px, 2.4vw, 26px); }
.lead-form { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; color: var(--dark); font-size: 15px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--dark); background: var(--white); border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--primary); }
.field-check label { flex: 1; font-weight: 400; color: var(--slate); }
.field-check label a { color: var(--primary); }
.field-check .field-err { flex-basis: 100%; }
.field-err:empty, .form-err:empty { display: none; }
.field-err { font-size: 14px; color: #b91c1c; }
.form-err { font-size: 15px; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 12px 14px; overflow-wrap: anywhere; }
.form-why { font-size: 14px; color: var(--muted); }
.lead-form .btn { align-self: flex-start; }
.lead-form .btn:disabled { opacity: .65; cursor: progress; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-done { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.form-done:focus { outline: none; }

@media (max-width: 880px) {
  .tech-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .form-card { padding: 24px 20px; }
  .tech-block { padding: 22px; }
  .lead-form .btn { align-self: stretch; }
}

/* Блок заявки на странице контактов */
.lead-section { background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%); scroll-margin-top: 70px; }
.lead-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.lead-intro { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.lead-intro h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; }
.lead-sub { font-size: 18px; color: var(--slate); }
.lead-steps { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 14px; counter-reset: ls; }
.lead-steps li { counter-increment: ls; display: flex; gap: 14px; align-items: flex-start; color: var(--dark); font-size: 16px; line-height: 1.5; }
.lead-steps li::before { content: counter(ls); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-ink); font-weight: 700; font-size: 14px; display: grid; place-items: center; margin-top: -2px; }
.lead-alt { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.lead-alt-h { font-size: 14px; font-weight: 600; color: var(--muted); }
.lead-alt a { display: inline-flex; align-items: center; gap: 10px; color: var(--dark); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.lead-alt a:hover { color: var(--primary); }
.lead-alt svg { width: 20px; height: 20px; flex: none; fill: var(--primary); }

.lead-section .form-card { padding: 40px; border-radius: 20px; gap: 0; box-shadow: 0 24px 48px -12px rgba(15, 23, 42, .12); }
.lead-section .lead-form { margin-top: 0; gap: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lead-section .field label { font-size: 14px; }
.lead-section .field input[type="text"], .lead-section .field textarea { background: var(--light); border-color: var(--border); padding: 13px 16px; border-radius: 12px; }
.lead-section .field input:focus, .lead-section .field textarea:focus { background: var(--white); }
.lead-section .field textarea { min-height: 130px; }
.lead-section .field-check label { font-size: 14px; line-height: 1.5; }
.lead-section .lead-form .btn { align-self: stretch; padding: 16px 24px; font-size: 17px; border-radius: 12px; }
.lead-section .form-why { text-align: center; margin-top: -8px; }
.lead-section .form-done { padding: 32px; text-align: center; align-items: center; }

@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .lead-section .form-card { padding: 24px 18px; border-radius: 16px; }
}

/* Отзывы */
.rv-card { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.rv-stars { display: flex; gap: 2px; font-size: 18px; line-height: 1; color: var(--border); }
.rv-stars .on { color: #f59e0b; }
.rv-card blockquote { margin: 0; }
.rv-card blockquote p { color: var(--dark); font-size: 16px; line-height: 1.6; }
.rv-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.rv-card figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; background: var(--light); }
.rv-card figcaption span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rv-card figcaption b { color: var(--dark); font-size: 15px; }
.rv-card figcaption small { color: var(--muted); font-size: 14px; }

/* Скриншот в первом экране */
.hero-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #f6f8fb; box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .25); aspect-ratio: 1200 / 760; }
.hero-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Страница продукта */
.area-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.area-nav a { padding: 8px 14px; border: 1px solid var(--border); border-radius: 99px; background: var(--white); color: var(--dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.area-nav a:hover { border-color: var(--primary); color: var(--primary); }
.gal-more { margin-top: 32px; text-align: center; }
section[id] { scroll-margin-top: 80px; }

@media (max-width: 1240px) and (min-width: 1081px) { .nav-links { gap: 20px; } }

/* Карусель отзывов */
.rv-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 24px; margin: -4px -2px 0; outline: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-track:focus-visible { outline: 3px solid var(--primary-soft); border-radius: 16px; }
.rv-track .rv-card { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.rv-card blockquote { flex: 1; }
.rv-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 8px; }
.rv-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, background .15s, opacity .15s; }
.rv-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .rv-btn svg { transform: scaleX(-1); }
.rv-btn:hover:not(:disabled) { border-color: var(--primary); background: var(--primary-soft); }
.rv-btn:disabled { opacity: .35; cursor: default; }
.rv-dots { display: flex; gap: 8px; }
.rv-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--border); transition: width .2s, background .2s; }
.rv-dots i.on { width: 22px; background: var(--primary); }
@media (max-width: 1020px) { .rv-track .rv-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .rv-track .rv-card { flex-basis: 86%; } .rv-track { gap: 14px; } }
