/* lsc-aik.ru — стили сайта по макетам 2026-10-27 (тёмно-синий #0C3A90, сиреневые #DFE0EF/#CCCEE5, фон #F2F3F8) */
@font-face { font-family: "Onest"; src: url("/site/onest-var.woff") format("woff"); font-weight: 100 900; font-display: swap; }
:root {
  --blue: #0C3A90; --blue-2: #1749a8; --blue-3: #0a2f75; --ink: #0f1d3a; --text: #2b3550; --muted: #5d6784; --line: #e3e6f0;
  --bg: #f2f3f8; --lilac: #dfe0ef; --lilac-2: #cccee5; --white: #fff; --ok: #1f7a4d; --bad: #b42318;
  --r: 16px; --r-sm: 10px; --shadow: 0 1px 2px rgba(12, 58, 144, .06), 0 8px 24px rgba(12, 58, 144, .07);
  --wrap: 1200px; --font: "Onest", "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-2); }
:focus-visible { outline: 3px solid rgba(23, 73, 168, .45); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }
h1, h2, h3, h4 { color: var(--blue); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 2.8vw, 34px); }
h3 { font-size: 20px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 10px; border: 0;
  background: var(--blue); color: #fff; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--blue-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--lilac-2); }
.btn.ghost:hover { background: var(--white); }
.btn svg { width: 18px; height: 18px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.more::after { content: "→"; }

/* ---------- шапка ---------- */
.top { background: var(--white); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line); }
.top-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 24px; }
.top-in > .brand { grid-column: 1; padding: 14px 0; }
.top-in > nav { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--line); }
.top-in > .top-act { grid-column: 3; grid-row: 1; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue); flex: 0 0 auto; }
.brand img { width: 64px; height: auto; display: block; }
.brand span { font-weight: 400; font-size: 21px; line-height: 1.12; letter-spacing: -.01em; }
.nav { display: flex; gap: 8px; justify-content: center; margin: 0; padding: 6px 0; }
.nav > li { position: relative; list-style: none; }
.nav a.nl { display: flex; align-items: center; gap: 6px; white-space: nowrap; padding: 10px 16px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav a.nl:hover, .nav a.nl[aria-current] { background: var(--bg); color: var(--blue); }
.nav .has > a.nl::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.sub { position: absolute; left: 0; top: 100%; min-width: 290px; padding: 8px; margin: 0; list-style: none; background: var(--white); border-radius: 12px; box-shadow: var(--shadow), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.nav li.has:hover .sub, .nav li.has:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.sub a:hover { background: var(--bg); color: var(--blue); }
.top-act { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; }
.phone svg { width: 18px; height: 18px; color: var(--blue); }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--bg); color: var(--blue); cursor: pointer; }
.burger svg { width: 24px; height: 24px; }

/* ---------- первый экран и полоса внутренних страниц ---------- */
.hero { background: #e9eef8 url("/site/hero.webp") center right / cover no-repeat; }
.hero-in { min-height: 480px; display: flex; flex-direction: column; justify-content: center; padding: 56px 24px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); max-width: 640px; margin-bottom: 14px; }
.hero p { font-size: clamp(17px, 1.6vw, 21px); color: #3c4766; max-width: 560px; margin: 0 0 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: #3c4766; font-size: 15px; }
.facts li + li::before { content: "•"; margin-right: 18px; color: var(--blue); }
.band { background: #e9eef8 url("/site/inner.webp") center right / cover no-repeat; }
.band-in { padding: 28px 24px 34px; }
.band h1 { margin: 6px 0 0; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin: 0 8px; opacity: .6; }

/* ---------- секции ---------- */
.sec { padding: 56px 0 8px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-h h2 { margin: 0; }
.cards { display: grid; gap: 18px; }
.c4 { grid-template-columns: repeat(4, 1fr); }
.c3 { grid-template-columns: repeat(3, 1fr); }
.c2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); }
.svc { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 26px 18px 24px; text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 16.5px; line-height: 1.3; transition: transform .15s, box-shadow .15s; min-height: 170px; justify-content: center; }
.svc:hover { transform: translateY(-3px); color: var(--blue); box-shadow: 0 2px 4px rgba(12, 58, 144, .06), 0 16px 32px rgba(12, 58, 144, .12); }
.ico { width: 72px; height: 72px; border-radius: 50%; background: #eceef7; display: grid; place-items: center; flex: 0 0 auto; }
.ico img { width: 44px; height: 44px; }
.news-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s; }
.news-card:hover { transform: translateY(-3px); color: var(--blue); }
.news-card .pic { aspect-ratio: 16 / 7; background: #dfe6f4 url("/site/news.webp") center / cover; }
.news-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card time { color: var(--muted); font-size: 14px; }
.news-card b { font-weight: 600; font-size: 18px; line-height: 1.35; }
.news-card .src { color: var(--muted); font-size: 13.5px; margin-top: auto; }
.qa { display: flex; gap: 16px; padding: 22px 24px; text-decoration: none; color: var(--text); }
.qa .q-ico { width: 44px; height: 44px; border-radius: 50%; background: #eceef7; color: var(--blue); display: grid; place-items: center; font-weight: 700; flex: 0 0 auto; font-size: 20px; }
.qa b { display: block; color: var(--ink); font-size: 17px; line-height: 1.35; margin-bottom: 6px; }
.qa p { margin: 0; color: var(--muted); font-size: 15px; }
a.qa:hover b { color: var(--blue); }

/* ---------- внутренние страницы ---------- */
.layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding-top: 32px; padding-bottom: 56px; align-items: start; }
.layout.wide { grid-template-columns: 1fr; }
.side { padding: 22px 16px; position: sticky; top: 100px; }
.side h2 { font-size: 24px; margin: 0 8px 12px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li + li { border-top: 1px solid var(--line); }
.side a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15.5px; line-height: 1.3; }
.side a:hover { color: var(--blue); background: var(--bg); }
.side a[aria-current] { background: var(--blue); color: #fff; }
.side a[aria-current] .ico { background: rgba(255, 255, 255, .14); }
.side a[aria-current] .ico img { filter: brightness(0) invert(1); }
.side .ico { width: 42px; height: 42px; }
.side .ico img { width: 26px; height: 26px; }
.side ul ul { margin: 2px 0 6px 14px; }
.side ul ul a { font-size: 14.5px; padding: 7px 10px; }
.main { padding: 36px 44px 40px; min-width: 0; }
.lead { font-size: 18.5px; color: #4a5676; margin: -4px 0 26px; }
.text { color: var(--text); overflow-wrap: anywhere; }
.text > :first-child { margin-top: 0; }
.text h2 { font-size: 26px; margin-top: 1.4em; }
.text h3 { font-size: 20px; margin-top: 1.3em; }
.text p, .text ul, .text ol { margin: 0 0 1em; }
.text li { margin-bottom: .35em; }
.text img { border-radius: 10px; }
.text blockquote { margin: 1.2em 0; padding: 14px 20px; border-left: 4px solid var(--blue); background: var(--bg); border-radius: 0 10px 10px 0; }
.text table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
.text td, .text th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.text th { background: var(--bg); color: var(--ink); text-align: left; }
.meta { color: var(--muted); font-size: 14.5px; margin: -6px 0 18px; }
.source { margin-top: 28px; padding: 14px 18px; background: var(--bg); border-radius: 10px; font-size: 15px; }
.cta { margin-top: 34px; display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--r); background: #eceef7; flex-wrap: wrap; }
.cta div { flex: 1; min-width: 220px; }
.cta b { display: block; color: var(--blue); font-size: 20px; margin-bottom: 4px; }
.cta p { margin: 0; color: var(--muted); }
.kids { margin-top: 26px; }
.kids .svc { flex-direction: row; text-align: left; justify-content: flex-start; min-height: 0; padding: 18px 20px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list a { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 16px 4px; text-decoration: none; color: var(--ink); }
.list a:hover b { color: var(--blue); }
.list time { color: var(--muted); font-size: 14.5px; }
.list b { font-weight: 600; line-height: 1.4; }
.list small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 4px; line-height: 1.45; }
.years { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.years a, .years span { padding: 7px 14px; border-radius: 999px; background: var(--bg); color: var(--ink); text-decoration: none; font-size: 14.5px; }
.years span[aria-current] { background: var(--blue); color: #fff; }
.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; background: var(--bg); color: var(--ink); text-decoration: none; }
.pager span[aria-current] { background: var(--blue); color: #fff; }
.note { padding: 14px 18px; background: #fff7e6; border-radius: 10px; color: #6b4a00; font-size: 15px; margin-bottom: 22px; }

/* ---------- вопрос-ответ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 400px; gap: 24px; padding-top: 32px; padding-bottom: 56px; align-items: start; }
.faq-item { padding: 24px 26px; margin-bottom: 18px; }
.faq-item .qa { padding: 0; }
.faq-item .ans { margin: 14px 0 0 60px; padding-top: 14px; border-top: 1px solid var(--line); }
.faq-item .who { margin: 10px 0 0 60px; color: var(--muted); font-size: 14px; }
.ask { padding: 26px; position: sticky; top: 100px; background: #f7f8fc; }
.ask h2 { margin-bottom: 4px; }
.f { display: block; margin: 0 0 14px; }
.f span { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 6px; font-weight: 500; }
.f input, .f textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--lilac-2); border-radius: 10px; padding: 11px 14px; }
.f input:focus, .f textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(12, 58, 144, .14); }
.f textarea { min-height: 130px; resize: vertical; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin: 6px 0 16px; }
.chk input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: 0 0 auto; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 12px; font-size: 15px; }
.form-msg.err { color: var(--bad); }
.form-msg.ok { color: var(--ok); background: #e9f6ef; padding: 12px 14px; border-radius: 10px; }
.ask .alt { text-align: center; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; color: var(--muted); font-size: 14.5px; }
.ask .alt .phone { font-size: 20px; margin-top: 4px; }

/* ---------- контакты, карта сайта ---------- */
.contact { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.contact li { display: flex; gap: 14px; align-items: flex-start; }
.contact .ico { width: 46px; height: 46px; color: var(--blue); }
.contact .ico svg { width: 22px; height: 22px; }
.contact b { display: block; color: var(--ink); }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--r); background: var(--bg); display: block; }
.map-link { display: inline-block; margin-top: 10px; }
.sitemap ul { list-style: none; padding-left: 18px; margin: 4px 0; }
.sitemap > ul { padding-left: 0; }
.sitemap li { margin: 6px 0; }

/* ---------- подвал ---------- */
.foot { background: var(--blue); color: #dfe6f7; margin-top: 40px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 28px; align-items: center; padding: 30px 24px; }
.foot-in > div + div { border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 28px; }
.foot .brand { color: #fff; }
.foot .brand img { width: 56px; }
.foot .brand span { font-size: 19px; }
.foot a { color: #fff; }
.foot .row { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.foot .row svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.foot .row b { color: #fff; font-weight: 600; font-size: 17px; }
.foot .row a { text-decoration: none; }
.foot .row a:hover { text-decoration: underline; }
.foot small { display: block; color: #b9c6e6; font-size: 13.5px; }
.foot .links { display: grid; gap: 6px; font-size: 14.5px; }
.copy { background: var(--blue-3); color: #9fb0d8; font-size: 13.5px; }
.copy .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.copy a { color: #c7d3f0; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 70px 24px 80px; }
.nf .big { font-size: 96px; font-weight: 800; color: var(--lilac-2); line-height: 1; }

/* ---------- планшет и телефон ---------- */
@media (max-width: 1100px) {
  .nav a.nl { padding: 10px 10px; font-size: 15px; }
}
@media (max-width: 960px) {
  .burger { display: grid; place-items: center; }
  .nav { display: none; position: fixed; inset: 76px 0 0; background: var(--white); flex-direction: column; justify-content: flex-start; padding: 12px 16px 40px; overflow-y: auto; margin: 0; gap: 0; }
  body.menu .nav { display: flex; }
  body.menu { overflow: hidden; }
  .nav > li { border-bottom: 1px solid var(--line); }
  .nav a.nl { padding: 15px 6px; font-size: 18px; }
  .nav .has > a.nl::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 10px 10px; min-width: 0; display: none; }
  .nav li.open .sub { display: block; }
  .top-in { min-height: 76px; column-gap: 12px; }
  .top-in > nav { border: 0; }
  .top-act .btn { display: none; }
  .top-act { margin-left: auto; gap: 10px; }
  .phone span { display: none; }
  .phone { width: 46px; height: 46px; justify-content: center; border-radius: 10px; background: var(--bg); }
  .c4 { grid-template-columns: repeat(2, 1fr); }
  .c3 { grid-template-columns: 1fr; }
  .layout, .faq-grid { grid-template-columns: 1fr; }
  .side, .ask { position: static; }
  .layout .side { order: 2; }
  .foot-in { grid-template-columns: 1fr; gap: 18px; }
  .foot-in > div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .brand img { width: 48px; }
  .brand span { font-size: 16px; }
  .hero { background-image: url("/site/hero-m.webp"); background-position: 70% center; }
  .hero-in { min-height: 0; padding: 36px 16px 40px; }
  .hero-in::before { content: none; }
  .band-in { padding: 20px 16px 24px; }
  .main { padding: 24px 18px 28px; }
  .c2 { grid-template-columns: 1fr; }
  .svc { min-height: 150px; padding: 20px 12px; font-size: 15px; }
  .ico { width: 60px; height: 60px; }
  .ico img { width: 36px; height: 36px; }
  .list a { grid-template-columns: 1fr; gap: 4px; }
  .faq-item { padding: 18px; }
  .faq-item .ans, .faq-item .who { margin-left: 0; }
  .sec { padding-top: 40px; }
  .cta { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .foot, .copy, .side, .ask, .cta, .burger { display: none !important; } body { background: #fff; } .card { box-shadow: none; } }
