/* Общие цвета и размеры всех страниц */
:root {
  --paper: #fbf8f3;
  --white: #fff;
  --ink: #252d45;
  --muted: #687083;
  --blue: #314eb2;
  --purple: #7257b2;
  --orange: #e68e4a;
  --yellow: #f4d48b;
  --line: #e6e1da;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 'Inter', Arial, sans-serif; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
button, input, textarea { max-width: 100%; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 82px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 650; line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(38px, 4.2vw, 60px); margin-bottom: 26px; }
h2 { font-size: clamp(30px, 3vw, 43px); margin-bottom: 26px; }
h3 { font-size: 23px; letter-spacing: -.025em; margin-bottom: 14px; }
p { color: var(--muted); margin-bottom: 24px; }
em { font-style: normal; color: var(--purple); }
.muted { color: var(--muted); }
.eyebrow { display: block; font-size: 11px; line-height: 1.6; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 22px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-height: 57px; background: var(--blue); color: white; padding: 15px 24px; border: 1px solid var(--blue); border-radius: 8px; font-size: 14px; font-weight: 650; transition: background .18s, transform .18s; }
.button span { font-size: 22px; line-height: 1; }
.button:hover { background: #243e98; transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-secondary { background: transparent; color: var(--blue); border-color: #c6cbe0; }
.button-secondary:hover { background: #eeedf7; }
.text-link { background: none; border: 0; padding: 0; color: var(--blue); display: inline-flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 650; min-height: 44px; }
.text-link:hover { color: var(--purple); }
.skip { position: fixed; top: -100px; left: 20px; background: white; padding: 12px; z-index: 100; }
.skip:focus { top: 10px; }
/* Закреплённая шапка и навигация */
.header { position: sticky; top: 0; z-index: 20; background: rgba(251,248,243,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 94px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; width: 280px; height: auto; object-fit: contain; }
.header .brand { flex-shrink: 0; }
@media (max-width: 600px) { .brand-logo { width: 220px; } }
@media (max-width: 380px) { .brand-logo { width: 190px; } }
.brand-mark { width: 43px; height: 45px; border-radius: 9px 9px 9px 0; background: var(--blue); color: white; font-size: 40px; line-height: 38px; padding-left: 6px; position: relative; font-weight: 600; }
.brand-mark > span { position: absolute; right: -2px; bottom: -2px; color: var(--orange); font-size: 39px; }
.brand strong { display: block; font-size: 17px; font-weight: 750; letter-spacing: .065em; line-height: 1.6; }
.brand small { display: block; font-size: 10px; color: var(--muted); line-height: 1.4; }
.header nav { display: flex; align-items: center; gap: 35px; }
.header nav a { font-size: 14px; padding: 14px 0; }
.header nav a[aria-current] { color: var(--blue); position: relative; }
.header nav a[aria-current]::after { content: ''; position: absolute; bottom: 6px; height: 2px; left: 0; right: 0; background: var(--orange); }
.header-contact { text-align: right; }
.header-contact a { font-size: 17px; font-weight: 700; white-space: nowrap; }
.header-contact small { display: block; font-size: 11px; color: var(--muted); }
.burger, .mobile-contact { display: none !important; }
/* Первый экран и триггеры */
.hero { padding-top: 56px; padding-bottom: 32px; }
.hero-grid { display: grid; grid-template-columns: 1.03fr 1fr; gap: 66px; align-items: center; }
.hero-grid > *, .request-grid > *, .video-grid > * { min-width: 0; }
.hero h1 { line-height: 1.08; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: 7px; vertical-align: 2px; }
.hero-description { font-size: 17px; max-width: 500px; line-height: 1.65; }
.hero-note { font-size: 14px; margin: 15px 0 0; }
.hero-media { position: relative; padding-bottom: 18px; }
.hero-media > img { width: 100%; height: 486px; border-radius: 110px 14px 14px 14px; }
.hero-floating { position: absolute; bottom: 52px; left: -25px; right: 29px; display: flex; gap: 13px; background: #fffcf7; border: 1px solid #eee2d0; border-radius: 12px; padding: 21px 22px; box-shadow: 0 10px 30px #262d4510; }
.hero-floating strong { display: block; font-size: 14px; line-height: 1.5; }
.hero-floating small { color: var(--muted); font-size: 11px; }
.badge-icon { background: #f9e9c8; border-radius: 50%; height: 37px; width: 37px; display: grid; place-items: center; color: #a36d27; flex-shrink: 0; }
.hero-media-label { position: absolute; bottom: -10px; left: 0; font-size: 14px; letter-spacing: .08em; color: var(--muted); }
.hero-triggers { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin-top: 52px; }
.hero-triggers > div { border-right: 1px solid var(--line); }
.hero-triggers strong { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.035em; line-height: 1.4; }
.hero-triggers > div > span { font-size: 12px; color: var(--muted); }
.hero-triggers > a { display: flex; align-items: center; justify-content: space-between; color: var(--blue); padding-left: 12px; }
.hero-triggers > a > span:first-child { font-size: 12px; }
.hero-triggers > a strong { font-size: 18px; }
.circle-arrow { border-radius: 50%; background: var(--yellow); width: 43px; height: 43px; display: grid; place-items: center; font-size: 22px; color: var(--ink); }
.source-note { font-size: 9px; color: #8b8e96; margin: 8px 0 0; }
/* Услуги и композиции разделов */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 35px; }
.section-head h2 { margin-bottom: 0; }
.section-head > p, .section-head > div:last-child > p { font-size: 14px; margin-bottom: 0; }
.section-head > div:last-child > .text-link { margin-top: 12px; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #262d4510; }
.service-image { position: relative; }
.service-image img { width: 100%; height: 224px; }
.service-number { position: absolute; top: 17px; left: 17px; border: 1px solid #ffffffb0; background: #fff9; font-size: 11px; padding: 4px 11px; border-radius: 30px; }
.service-card-content { padding: 27px; }
.service-card h3 { font-size: 23px; }
.service-card p { font-size: 14px; margin-bottom: 18px; }
.service-card .text-link { justify-content: space-between; width: 100%; }
.video-section { background: #f0edf6; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.video-cover { border: 0; padding: 0; background: var(--ink); border-radius: var(--radius); position: relative; overflow: hidden; text-align: left; }
.video-cover img { width: 100%; height: 345px; opacity: .78; }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play > span { width: 76px; height: 76px; background: #fffbf2; border-radius: 50%; display: grid; place-items: center; color: var(--blue); font-size: 23px; padding-left: 4px; box-shadow: 0 0 0 12px #fff2; }
.video-caption { position: absolute; left: 25px; bottom: 22px; color: white; font-size: 13px; }
.video-grid h2 { font-size: 36px; }
.video-grid p { font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); list-style: none; padding: 0; margin: 40px 0 0; gap: 30px; }
.steps li { border-top: 1px solid #d8d4cd; padding-top: 20px; }
.step-number { display: inline-block; color: var(--orange); font-size: 35px; font-weight: 500; margin-bottom: 24px; line-height: 1; }
.steps h3 { font-size: 20px; }
.steps p { font-size: 13px; margin-bottom: 0; }
.trust-section { background: #f4eadc; }
.trust-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 110px; }
.trust-grid > div:first-child > p { max-width: 360px; font-size: 15px; }
.trust-list article { display: flex; gap: 23px; padding: 24px 0; border-bottom: 1px solid #dcd2c7; }
.trust-list article:first-child { padding-top: 0; }
.trust-list article:last-child { border-bottom: 0; padding-bottom: 0; }
.trust-list article > span { color: #9d855f; font-size: 12px; padding-top: 4px; }
.trust-list h3 { font-size: 22px; margin-bottom: 9px; }
.trust-list p { font-size: 14px; margin-bottom: 0; }
/* Контакты, карта и форма */
.contacts-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 25px; }
.contact-panel { background: white; border: 1px solid var(--line); padding: 36px; border-radius: var(--radius); }
.contact-phone { font-size: 25px; font-weight: 650; display: block; line-height: 1.6; letter-spacing: -.035em; }
.contact-divider { height: 1px; background: var(--line); margin: 23px 0; }
.contact-email { font-size: 16px; color: var(--blue); overflow-wrap: anywhere; }
.max-link { display: flex; align-items: center; gap: 10px; font-size: 13px; margin: 18px 0 24px; color: var(--blue); }
.max-icon { background: #7161c9; border-radius: 9px; color: white; width: 29px; height: 29px; display: grid; place-items: center; font-weight: 750; }
.contact-panel p { font-size: 13px; }
.contact-panel strong { color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; background: #eee8df; position: relative; min-height: 420px; }
.map iframe { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.map-label { position: absolute; pointer-events: none; left: 18px; bottom: 18px; background: #fff; box-shadow: 0 5px 20px #0001; padding: 11px 18px; font-size: 12px; border-radius: 8px; }
.request-section { background: #edeaf4; }
.request-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.request-visual { position: relative; }
.request-visual > img { width: 100%; height: 570px; border-radius: 100px 15px 15px 15px; }
.image-label { position: absolute; bottom: 25px; left: 25px; background: #fffcf2df; border-radius: 6px; padding: 10px 17px; font-size: 12px; }
.request-content h2 { font-size: 37px; }
.request-content > p { font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form > label, .form-row > label { display: block; font-size: 12px; font-weight: 650; margin-bottom: 15px; }
label > span { color: var(--purple); }
input:not([type=checkbox]), textarea { width: 100%; display: block; background: #ffffffc9; border: 1px solid #d7d3df; border-radius: 7px; padding: 13px 14px; margin-top: 7px; color: var(--ink); font-size: 14px; }
textarea { resize: vertical; min-height: 100px; }
.consent { display: flex !important; gap: 10px; align-items: start; font-weight: 400 !important; }
.consent input { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; accent-color: var(--blue); }
.consent > span { font-size: 10px; color: var(--muted); }
.consent a { text-decoration: underline; }
.trap { position: absolute; left: -10000px; }
.form-status { font-size: 12px; margin: 13px 0 0; }
.form-status a { color: var(--blue); text-decoration: underline; }
/* Внутренние страницы */
.page-intro { padding-bottom: 48px; }
.page-intro h1 { max-width: 950px; }
.intro-description { max-width: 650px; font-size: 18px; }
.catalog-section { padding-top: 0; }
.catalog-section .service-grid { row-gap: 30px; }
.catalog-cta { background: #f6e9ce; border-radius: var(--radius); padding: 40px; margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.catalog-cta h2 { font-size: 30px; margin-bottom: 10px; }
.catalog-cta p { font-size: 14px; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 35px; }
.breadcrumbs a { color: var(--blue); }
.service-hero { padding-top: 34px; }
.service-hero h1 { font-size: 45px; }
.service-hero-image img { width: 100%; height: 460px; border-radius: 90px 14px 14px 14px; }
.service-body { background: white; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.result-panel { background: #f5f1e9; border-radius: 15px; padding: 35px; }
.result-panel h2 { font-size: 30px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 17px 0 17px 29px; border-bottom: 1px solid var(--line); font-size: 15px; }
.check-list li::before { content: '✓'; color: var(--orange); position: absolute; left: 0; }
.documents { margin-top: 75px; }
.documents .muted { font-size: 13px; margin-top: 20px; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { font-size: 17px; font-weight: 650; cursor: pointer; }
details p { font-size: 14px; margin: 15px 0 0; }
.service-end { margin-top: 45px; text-align: right; }
.about-story { background: #f4eadc; }
.about-story img { height: 420px; width: 100%; border-radius: var(--radius); }
.about-story p { font-size: 15px; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.team-card img { width: 100%; height: 310px; border-radius: 14px; object-position: top; margin-bottom: 20px; }
.team-card h3 { font-size: 21px; }
.team-card p { font-size: 12px; }
.demo-notice { font-size: 12px; color: var(--muted); max-width: 680px; }
.material-note { grid-column: 1/-1; border: 1px solid var(--line); border-radius: 15px; padding: 30px; background: white; }
.material-note p { max-width: 720px; }
.certificate-section { background: #f0edf6; }
.certificate-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.certificate { flex: 0 1 280px; padding: 16px; background: white; border: 0; border-radius: 12px; text-align: left; }
.certificate img { height: 250px; width: 100%; object-fit: contain; margin-bottom: 12px; }
.certificate span { font-size: 11px; }
#document-dialog { width: fit-content; max-width: calc(100% - 30px); padding: 48px 16px 16px; }
#document-dialog .dialog-close { position: sticky; top: 0; display: block; margin: -36px 0 8px auto; z-index: 1; }
.document-zoom { display: block; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.document-preview { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(86vh - 80px); object-fit: contain; }
#document-dialog.document-zoomed { width: min(1100px, calc(100% - 30px)); }
.document-zoomed .document-zoom { width: 100%; min-width: 800px; cursor: zoom-out; }
.document-zoomed .document-preview { width: 100%; max-height: none; }
/* Подвал и доступные всплывающие окна */
.footer { padding: 40px 0 22px; background: var(--paper); }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 32px; }
.footer-top > a:last-child { font-weight: 650; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 21px; font-size: 10px; color: var(--muted); }
.footer-bottom > div { display: flex; gap: 30px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
dialog { width: min(720px, calc(100% - 30px)); border: 1px solid var(--line); border-radius: 18px; padding: 48px; background: var(--paper); color: var(--ink); max-height: 86vh; overflow: auto; }
dialog::backdrop { background: #22283bb0; backdrop-filter: blur(3px); }
body.modal-open { overflow: hidden; }
.dialog-close { position: absolute; top: 12px; right: 12px; background: #eee8df; border: 0; border-radius: 50%; width: 38px; height: 38px; font-size: 26px; }
dialog h2 { font-size: 31px; }
dialog p { font-size: 15px; }
.legal-text p { font-size: 12px; overflow-wrap: anywhere; }
.details-list { display: grid; grid-template-columns: 140px 1fr; gap: 14px; font-size: 14px; }
.details-list dt { color: var(--muted); }
.details-list dd { margin: 0; overflow-wrap: anywhere; }
/* Планшеты и смартфоны вплоть до 320 px */
@media (min-width: 1600px) { .container { width: min(1400px, calc(100% - 120px)); } .hero h1 { font-size: 66px; } .hero-media > img { height: 545px; } }
@media (max-width: 1100px) { .container { width: calc(100% - 48px); } .hero-grid { gap: 35px; } .hero h1 { font-size: 46px; } .header nav { gap: 24px; } .header-contact a { font-size: 15px; } .brand strong { font-size: 15px; } .hero-media > img { height: 450px; } .hero-floating { left: -10px; right: 15px; padding: 16px; } .video-grid, .request-grid { gap: 40px; } .trust-grid { gap: 60px; } .service-card-content { padding: 23px; } .service-image img { height: 190px; } .service-hero h1 { font-size: 38px; } }
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 55px; }
  .header-inner { min-height: 78px; }
  .header-contact { margin-left: auto; }
  .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: 20px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px #0001; }
  .header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .header nav a { padding: 14px 10px; }
  .header nav a[aria-current]::after { display: none; }
  .mobile-contact { display: block !important; border-top: 1px solid var(--line); }
  .burger { display: flex !important; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; border: 1px solid #cdc8d9; background: transparent; border-radius: 7px; padding: 11px; }
  .burger span { height: 2px; width: 20px; background: var(--ink); transition: transform .2s; }
  .burger[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero-grid, .video-grid, .request-grid, .trust-grid, .service-detail-grid, .faq-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero h1 { font-size: 52px; }
  .hero h1 br { display: none; }
  .hero h1 em { display: block; }
  .hero-description { max-width: 600px; }
  .hero-media > img { height: 390px; border-radius: 65px 14px 14px 14px; }
  .hero-floating { left: 20px; right: 20px; }
  .hero-triggers { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-triggers > div:nth-child(2) { border-right: 0; }
  .hero-triggers > a { padding-left: 0; }
  .section-head { align-items: start; gap: 25px; }
  .section-head > p { max-width: 230px; }
  .service-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .services-preview .service-card:last-child { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; }
  .services-preview .service-card:last-child .service-image img { height: 100%; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .trust-grid > div:first-child > p { max-width: 600px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contact-panel { display: block; }
  .map { min-height: 380px; }
  .request-visual > img { height: 310px; border-radius: 60px 15px 15px 15px; object-position: 50% 60%; }
  .catalog-cta { align-items: start; flex-direction: column; }
  .service-hero-image img { height: 380px; }
  .service-hero h1 { font-size: 45px; }
  .team-grid, .certificate-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 540px) {
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 73px; gap: 12px; }
  .header-contact { display: none; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 9px; }
  .brand-mark { width: 35px; height: 38px; font-size: 34px; line-height: 31px; }
  .brand-mark > span { font-size: 32px; }
  .brand { gap: 10px; }
  .section { padding-block: 44px; }
  .hero { padding-top: 31px; padding-bottom: 24px; }
  .eyebrow { font-size: 9px; margin-bottom: 18px; letter-spacing: .1em; }
  h1, .hero h1, .service-hero h1 { font-size: 36px; }
  h2, .video-grid h2, .request-content h2 { font-size: 30px; }
  .hero-description, .intro-description { font-size: 15px; }
  .hero-media > img { height: 295px; border-radius: 50px 12px 12px 12px; }
  .hero-floating { left: 12px; right: 12px; bottom: 39px; gap: 10px; padding: 13px; }
  .hero-floating strong { font-size: 11px; }
  .hero-floating small { font-size: 9px; }
  .badge-icon { width: 30px; height: 30px; }
  .hero-triggers { margin-top: 32px; gap: 22px 16px; }
  .hero-triggers strong { font-size: 25px; }
  .hero-triggers > div > span { font-size: 10px; display: block; padding-right: 8px; }
  .hero-triggers > a strong { font-size: 15px; }
  .circle-arrow { width: 32px; height: 32px; font-size: 19px; flex-shrink: 0; }
  .hero-triggers > a { gap: 8px; }
  .hero-triggers > a > span:first-child { font-size: 10px; }
  .section-head { flex-direction: column; gap: 18px; margin-bottom: 27px; }
  .section-head > p { max-width: none; }
  .section-head > div:last-child > p, .section-head > p { font-size: 13px; }
  .service-grid { grid-template-columns: 1fr; }
  .services-preview .service-card:last-child { display: block; }
  .service-image img, .services-preview .service-card:last-child .service-image img { height: 215px; }
  .service-card-content { padding: 23px; }
  .video-cover img { height: 250px; }
  .video-grid, .request-grid { gap: 30px; }
  .steps { gap: 26px 18px; }
  .steps h3 { font-size: 18px; }
  .steps p { font-size: 12px; }
  .step-number { font-size: 30px; margin-bottom: 18px; }
  .trust-list h3 { font-size: 20px; }
  .trust-list p { font-size: 13px; }
  .trust-list article { gap: 16px; }
  .contact-panel { padding: 25px; }
  .contact-phone { font-size: 24px; }
  .map { min-height: 310px; }
  .request-visual > img { height: 270px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .button { width: 100%; padding-inline: 20px; font-size: 13px; }
  .consent > span { font-size: 11px; }
  .request-content > p { font-size: 14px; }
  .footer-top { align-items: start; flex-direction: column; gap: 25px; }
  .footer-bottom { flex-direction: column; gap: 16px; font-size: 10px; }
  .footer-bottom > div { flex-wrap: wrap; gap: 13px 22px; }
  .catalog-cta { padding: 25px; }
  .catalog-cta h2 { font-size: 26px; }
  .service-hero-image img { height: 280px; border-radius: 50px 12px 12px 12px; }
  .result-panel { padding: 25px; }
  .documents { margin-top: 45px; }
  .check-list li { font-size: 14px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card img { height: 350px; }
  .certificate-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .certificate { padding: 10px; }
  .certificate img { height: 180px; }
  dialog { padding: 42px 22px 25px; }
  dialog h2 { font-size: 26px; }
  .details-list { grid-template-columns: 1fr; gap: 7px; }
  .details-list dd { margin-bottom: 12px; }
  .about-story img { height: 280px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
.zagolovok {  }
.about-founded {font-size:clamp(20px,2.3vw,28px);color:var(--ink);line-height:1.5;}
.about-position {font-size:clamp(17px,2vw,22px);font-weight:400;max-width:850px;}
.about-experience {font-size:23px;font-weight:700;line-height:1.45;}
.service-price {display:block;color:var(--blue);margin-bottom:18px;}
#video-dialog {width:min(960px,calc(100% - 32px));}
#video-dialog video {display:block;width:100%;max-height:70vh;background:#111;border-radius:8px;}

.service-article {max-width:850px;margin-inline:auto;}
.service-article h3 {margin-top:36px;}
.service-final-price {margin-top:40px;padding:30px;background:#eee9f5;border-radius:18px;}
.service-final-price p {margin-bottom:8px;}
@media(max-width:600px){.service-final-price{padding:22px;}}
/* Заказчики: плавный сдвиг логотипов с короткой остановкой. */
.clients-section { background: #fff; }
.clients-section .section-head { align-items: center; }
.clients-section h2 { max-width: 800px; }
.clients-pause { padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 13px; }
.clients-pause[hidden] { display: none; }
.clients-viewport { overflow-x: auto; padding: 6px 0 12px; }
.clients-viewport.is-animated { overflow: hidden; }
.clients-track { display: flex; gap: 24px; width: max-content; padding: 0; margin: 0; list-style: none; }
.client-logo { flex: 0 0 clamp(160px, 17vw, 210px); width: clamp(160px, 17vw, 210px); height: 130px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.client-logo img { width: 100%; height: 86px; object-fit: contain; }
.client-logo[hidden] { display: none; }
.about-facts-section { padding: 12px 0 65px; }
.about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-fact { padding: 8px 30px; border-right: 1px solid var(--line); }
.about-fact:first-child { padding-left: 0; }
.about-fact:last-child { border-right: 0; }
.about-fact dt { font-size: clamp(25px, 2.5vw, 36px); font-weight: 750; line-height: 1.2; color: var(--blue); letter-spacing: -.035em; margin-bottom: 14px; }
.about-fact dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) {
 .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .about-fact { padding: 24px; }
 .about-fact:first-child { padding-left: 24px; }
 .about-fact:nth-child(2) { border-right: 0; }
 .about-fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
 .clients-section .section-head { align-items: start; flex-direction: column; gap: 14px; }
}
@media (max-width: 480px) {
 .about-fact, .about-fact:first-child { padding: 20px 14px; }
 .about-fact dt { font-size: 25px; }
 .about-fact dd { font-size: 13px; }
 .clients-track { gap: 14px; }
 .client-logo { height: 115px; padding: 18px; }
}
