* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 16px; top: -60px; background: #000; color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 16px; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; font-weight: 600; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body); transition: background .2s, color .2s, border-color .2s; }

.ph { position: relative; overflow: hidden; background: var(--ph-bg); aspect-ratio: 4 / 3; }
.ph::before { content: ""; position: absolute; inset: 0; background-image: var(--ph-pattern); background-size: var(--ph-size); }
.ph::after { content: ""; position: absolute; inset: 16% 12%; background: var(--ph-art) center / contain no-repeat; }
.ph .tag { position: absolute; z-index: 1; left: 14px; bottom: 14px; background: var(--tag-bg); color: var(--tag-fg); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 48px 22px 0; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }

.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px var(--font-body); color: var(--ink); background: var(--input-bg); border: 1px solid var(--input-line); border-radius: var(--input-radius); padding: 13px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.form .btn { justify-self: start; }
.form small { color: var(--muted); font-size: 13px; }
.map { border: 0; width: 100%; display: block; }

.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 14px; height: 8px; border-left: 3px solid var(--check); border-bottom: 3px solid var(--check); transform: rotate(-45deg); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; }

.menu-toggle { display: none; cursor: pointer; font: 600 15px var(--font-body); padding: 9px 14px; background: none; }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 16px 24px 24px; }
  .js .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a:not(.btn) { display: block; padding: 10px 0; }
  html:not(.js) .menu-toggle { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .form .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
:root { --ph-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Cpath d='M20 90 H80 V45 H130 V80 H180' fill='none' stroke='%233576b8' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' opacity='.45'/%3E%3Cpath d='M20 100 H90 V55 H120 V90 H180' fill='none' stroke='%23e23d55' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' opacity='.35'/%3E%3Ccircle cx='80' cy='45' r='7' fill='%23fff' stroke='%233576b8' stroke-width='3'/%3E%3Ccircle cx='130' cy='80' r='7' fill='%23fff' stroke='%232a9a55' stroke-width='3'/%3E%3C/svg%3E"); }
:root {
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --ink: #1d2126; --muted: #4a515a; --line: #dfe3e8; --bg: #ffffff; --soft: #f4f6f8; --tint: #eef4fa;
  --blue: #3576b8; --blue-dark: #24578c; --red: #e23d55; --green: #2a9a55;
  --accent: #24578c; --focus: #3576b8; --check: #2a9a55;
  --input-bg: #fff; --input-line: #b9c1ca; --input-radius: 10px;
  --ph-bg: linear-gradient(135deg, #dce8f4, #eef3f8 60%, #f6e6e9);
  --ph-pattern: linear-gradient(rgba(53,118,184,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(53,118,184,.10) 1px, transparent 1px);
  --ph-size: 28px 28px; --tag-bg: rgba(255,255,255,.92); --tag-fg: #4a515a;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.ph { border-radius: 14px; }
.ph .tag { border-radius: 6px; font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark); }
.bars { display: flex; gap: 6px; margin-bottom: 18px; }
.bars span { width: 28px; height: 4px; border-radius: 2px; background: var(--blue); }
.bars span:nth-child(2) { background: var(--red); }
.bars span:nth-child(3) { background: var(--green); }
.btn { border-radius: 999px; }
.btn-primary { background: var(--blue-dark); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.arrow { font-weight: 600; text-decoration: none; color: var(--blue-dark); display: inline-flex; gap: 8px; align-items: center; }
.arrow::after { content: "→"; transition: transform .2s; }
.arrow:hover::after { transform: translateX(4px); }

.topbar { background: var(--soft); font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--ink); text-decoration: underline; }
.topbar .contact { display: flex; gap: 24px; }
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 24px; position: relative; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; background: #fff; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); border-color: var(--blue); }
.nav .btn { padding: 11px 20px; }
.menu-toggle { border: 2px solid var(--line); border-radius: 999px; color: var(--ink); }

.hero { padding: 72px 0 0; }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.08; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.paths { border: 1px solid var(--line); border-radius: 18px; padding: 10px; background: #fff; box-shadow: 0 24px 48px -32px rgba(29,33,38,.35); }
.paths h2 { font-size: 15px; font-family: var(--mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 16px 18px 8px; }
.path { display: grid; grid-template-columns: 12px 1fr auto; gap: 16px; align-items: center; padding: 18px; border-radius: 12px; text-decoration: none; }
.path:hover { background: var(--tint); }
.path .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.path:nth-of-type(2) .dot { background: var(--red); }
.path:nth-of-type(3) .dot { background: var(--green); }
.path strong { display: block; font-size: 1.08rem; }
.path span { color: var(--muted); font-size: 15px; }
.path::after { content: "→"; color: var(--blue-dark); font-weight: 600; }
.hero-media { margin-top: 64px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.hero-media .ph { aspect-ratio: auto; height: 300px; }

section { padding: 96px 0; }
.soft { background: var(--soft); }
.head { max-width: 720px; margin-bottom: 48px; }
.head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 12px 0 14px; }
.head p { color: var(--muted); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }

.scope { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.scope article { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: grid; grid-template-columns: 56px 1fr; gap: 20px; }
.scope .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; }
.scope .ico svg { width: 30px; height: 30px; }
.scope h3 { font-size: 1.25rem; margin-bottom: 8px; }
.scope p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }

.statement { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.statement blockquote { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; border-left: 6px solid var(--blue); padding-left: 28px; }
.statement p { color: var(--muted); }

.timeline { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.timeline .head { position: sticky; top: 120px; }
.timeline ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 40px 36px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline li:nth-child(2)::before { border-color: var(--red); }
.timeline li:nth-child(3)::before { border-color: var(--green); }
.timeline li:nth-child(4)::before { border-color: var(--ink); }
.timeline h3 { font-size: 1.25rem; margin: 6px 0 6px; }
.timeline p { color: var(--muted); }

.rows { display: grid; gap: 24px; }
.row-card { display: grid; grid-template-columns: 420px 1fr; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; background: #fff; transition: box-shadow .2s; }
.row-card:hover { box-shadow: 0 20px 40px -28px rgba(29,33,38,.45); }
.row-card .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.row-card .txt { padding: 32px 36px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.row-card h3 { font-size: 1.4rem; }
.row-card p { color: var(--muted); margin: 0; }
.row-card dl { display: flex; gap: 28px; margin: 6px 0 0; font-size: 14px; flex-wrap: wrap; }
.row-card dt { color: var(--muted); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.row-card dd { margin: 0; font-weight: 600; }

.faq-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq-2 .faq { border-top: 1px solid var(--line); }

.cta { padding: 0 0 96px; }
.soft + .cta { padding-top: 96px; }
.cta-box { background: var(--tint); border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 28px solid rgba(53,118,184,.12); }
.cta-box h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta-box p { color: var(--muted); }
.cta-box .side { display: grid; gap: 12px; justify-items: start; position: relative; z-index: 1; }
.cta-box .tel { font-size: 1.6rem; font-weight: 700; text-decoration: none; }

.page-head { padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 14px; }
.page-head p { color: var(--muted); font-size: 1.12rem; max-width: 42em; }

.with-side { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.side-nav { position: sticky; top: 120px; border-left: 2px solid var(--line); }
.side-nav a { display: block; padding: 10px 0 10px 20px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-weight: 500; }
.side-nav a:hover { color: var(--ink); border-color: var(--blue); }
.service + .service { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--line); }
.service .ph { aspect-ratio: 21 / 9; margin: 20px 0 28px; }
.service h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 10px; }
.service .lead { color: var(--muted); font-size: 1.08rem; }
.service .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.service .for { background: var(--soft); border-radius: 14px; padding: 22px 24px; }
.service .for h3 { font-size: 1rem; margin-bottom: 8px; }
.service .for p { color: var(--muted); font-size: 15px; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 500 15px var(--font-body); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }

.case { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.case .ph.big { aspect-ratio: 16 / 9; margin-bottom: 40px; }
.case h2 { font-size: 1.6rem; margin: 36px 0 12px; }
.case h2:first-of-type { margin-top: 0; }
.case p { color: var(--muted); }
.facts { position: sticky; top: 120px; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 18px; }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 16px; }
.about p { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values article { border-top: 4px solid var(--blue); padding-top: 22px; }
.values article:nth-child(2) { border-color: var(--red); }
.values article:nth-child(3) { border-color: var(--green); }
.values h3 { font-size: 1.2rem; margin-bottom: 8px; }
.values p { color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.person { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; }
.person .ph { aspect-ratio: 1; border-radius: 50%; }
.person .ph::after { inset: 24%; }
.person .ph .tag { display: none; }
.person h3 { font-size: 1.2rem; }
.person .role { color: var(--muted); display: block; margin: 2px 0 10px; }
.person a { display: block; font-weight: 600; text-decoration: none; }
.reg { width: 100%; border-collapse: collapse; }
.reg th, .reg td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); }
.reg th { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); width: 200px; }

.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 8px; }
.faq-group .faq { border-top: 1px solid var(--line); }

.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.contacts article { border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.contacts h2 { font-size: 1.15rem; }
.contacts .role { color: var(--muted); font-size: 15px; display: block; margin-bottom: 12px; }
.contacts a { display: block; font-weight: 600; text-decoration: none; }
.contacts a:hover { color: var(--blue-dark); text-decoration: underline; }
.contacts p { color: var(--muted); }
.contact-main { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-main .form { border: 1px solid var(--line); border-radius: 16px; padding: 36px; }
.contact-main .form h2 { font-size: 1.6rem; }
.contact-main .map { height: 100%; min-height: 520px; border-radius: 16px; }

.footer { background: var(--soft); border-top: 1px solid var(--line); padding: 64px 0 0; font-size: 15px; color: var(--muted); }
.footer .grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer img { height: 56px; width: auto; margin-bottom: 18px; }
.footer h2 { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); font-weight: 500; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .cols { columns: 2; column-gap: 24px; display: block; }
.footer .cols li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .bottom { border-top: 1px solid var(--line); padding: 20px 0; font-size: 14px; }
.footer .bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .js .nav { border-bottom: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .hero .grid, .statement, .timeline, .with-side, .case, .about, .contact-main, .faq-2 { grid-template-columns: 1fr; }
  .timeline .head, .side-nav, .facts { position: static; }
  .side-nav { display: none; }
  .scope, .values, .contacts, .team { grid-template-columns: 1fr; }
  .row-card { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 40px 32px; }
  .hero-media { grid-template-columns: 1fr 1fr; }
  .hero-media .ph:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .topbar .address { display: none; }
  .header .container { height: 74px; }
  .brand img { height: 46px; }
  section { padding: 72px 0; }
  .hero { padding-top: 48px; }
  .hero-media .ph { height: 200px; }
  .scope article { grid-template-columns: 1fr; }
  .service .cols, .gallery, .footer .grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 110px 1fr; }
  .contact-main .form { padding: 24px; }
  .reg th { width: 110px; }
}
